1017c4851a
backport new column families from master to 1.6 ( #18743 )
...
* backporting bank_hash and program_costs column families from master to 1.6 for rocksdb backward compatibility
* missed a line to allow dead code
* include code for purge
v1.6.19
2021-07-17 10:59:42 -06:00
d7b381c90c
Bump version to v1.6.19
2021-07-17 08:57:44 +00:00
870a7e8458
CI Tweaks (backport #18738 ) ( #18741 )
...
* ci: fix typo
(cherry picked from commit 96a7cedaca
)
* ci: suppress cargo tree output
(cherry picked from commit 59cd0556ef
)
Co-authored-by: Trent Nelson <trent@solana.com >
v1.6.18
2021-07-17 07:08:28 +00:00
6f661dd8a9
excludes private ip addresses ( #18739 )
...
(cherry picked from commit e316586516
)
# Conflicts:
# core/src/broadcast_stage.rs
# core/src/cluster_info.rs
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-07-17 03:48:07 +00:00
2e6d03c41f
Use rustup default profile ( #18727 ) ( #18730 )
...
(cherry picked from commit 2ec81f627d
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-07-16 21:13:39 +00:00
3dbdaa5341
Bump version to v1.6.18
2021-07-16 09:57:58 +00:00
8f3ce5fc57
Cli configurable validators (backport #18630 ) ( #18665 )
...
* rpc: more params for `GetVoteAccountsConfig`
(cherry picked from commit bf90ea282a
)
# Conflicts:
# docs/src/developing/clients/jsonrpc-api.md
* cli: allow returning more `solana validators`
(cherry picked from commit a4a24b6531
)
# Conflicts:
# Cargo.lock
# cli/Cargo.toml
# cli/src/cluster_query.rs
Co-authored-by: Trent Nelson <trent@solana.com >
v1.6.17
2021-07-16 07:45:49 +00:00
49ac17a595
nonce: Unify NonceError
with SystemError
2021-07-16 01:35:38 -06:00
63d7fdb4bd
Gate libsecp256k1 update (backport #18656 ) ( #18700 )
...
* hijack secp256k1 enablement feature plumbing for libsecp256k1 upgrade
* Bump libsecp256k1 to v0.5.0
* gate libsecp256k1 upgrade to v0.5.0
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-16 03:34:13 +00:00
e15721f22d
Drop default_on_eof attribute from Reward struct
...
(cherry picked from commit 33718e5fb4
)
2021-07-14 12:33:25 -07:00
17177a41c7
Cli: expose last valid block height ( #18620 ) ( #18626 )
...
* Add Fees struct to client
* Add complete RpcClient::get_fees methods
* Switch cli to last_valid_block_height
(cherry picked from commit 8ad4ffdee5
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-07-13 07:18:42 +00:00
84f0234151
rebase
2021-07-12 18:16:25 -07:00
b629291848
Record vote account commission with voting/staking rewards and surface in RPC
...
(cherry picked from commit 4098af3b5b
)
# Conflicts:
# docs/src/developing/clients/jsonrpc-api.md
# runtime/src/bank.rs
2021-07-12 18:16:25 -07:00
240895d387
storage-proto: Rework source generation ( #18583 )
...
(cherry picked from commit 899b09872b
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-11 03:11:13 +00:00
50d510e4c7
Update ouroboros [fix potential UB] (backport #18567 ) ( #18572 )
...
* chore: bump ouroboros from 0.5.1 to 0.9.3 (#18189 )
* chore: bump ouroboros from 0.5.1 to 0.9.3
Bumps [ouroboros](https://github.com/joshua-maros/ouroboros ) from 0.5.1 to 0.9.3.
- [Release notes](https://github.com/joshua-maros/ouroboros/releases )
- [Commits](https://github.com/joshua-maros/ouroboros/commits )
---
updated-dependencies:
- dependency-name: ouroboros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
* Api changes
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
* CI: Ignore inconsistent_struct_constructor lint
This lint was introduced at `warning`, which is an excessively high
level for cosmetics, and later demoted to `pedantic`
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-10 21:06:42 +00:00
868e757d9d
CI: Make BPF test suite a first-class citizen (backport #18535 ) ( #18570 )
...
* CI: Extricate BPF tests from stable-perf
(cherry picked from commit 1eab0773af
)
* CI: Dump BPF assembly listings and upload as artifact
(cherry picked from commit f1996ca0f3
)
# Conflicts:
# ci/test-stable.sh
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-10 19:24:27 +00:00
92b2b8dae7
Add storage-proto build.rs and readme (backport #18353 ) ( #18561 )
...
* Add storage-proto build.rs and readme (#18353 )
* Use build.rs for storage-proto generation
* Add readme
* Single use statements
(cherry picked from commit c2e7d39154
)
# Conflicts:
# Cargo.lock
# storage-proto/build-proto/Cargo.lock
# storage-proto/build-proto/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-07-09 22:12:01 +00:00
a53fe7b779
Bump prost, prost-types, and tonic (backport #18537 ) ( #18557 )
...
* Bump prost, prost-types, and tonic (#18537 )
* Bump prost+tonic and accommodate generated service changes
* Unignore advisory
* Fixup .proto error list
(cherry picked from commit 761de8b1a3
)
# Conflicts:
# Cargo.lock
# storage-bigtable/Cargo.toml
# storage-proto/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-07-09 19:37:51 +00:00
a9d6b90e9a
Show grcov version as well ( #18549 ) ( #18550 )
...
(cherry picked from commit a5b91ef4c3
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-07-09 12:54:51 +00:00
88c5d6b10c
featurize_policy_update (backport #18492 ) ( #18501 )
...
* featurize_policy_update (#18492 )
(cherry picked from commit ccdf93e2b8
)
# Conflicts:
# runtime/benches/message_processor.rs
# runtime/src/message_processor.rs
* fix conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2021-07-08 22:21:37 +00:00
9891cc6a17
Remove dead solana airdrop parameters ( #18520 ) ( #18523 )
...
(cherry picked from commit f39ffa69f6
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-07-08 22:03:13 +00:00
d18a08471e
Temporarily ignore prost-types advisory (backport #18525 ) ( #18526 )
...
* Temporarily ignore prost-types audit (#18525 )
(cherry picked from commit 6188283ba6
)
* Bump tokio
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-07-08 14:04:06 -06:00
50393adadd
Record parent slot to reconstruct fork tree from influxdb ( #18482 ) ( #18487 )
...
(cherry picked from commit d69f469b83
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-07-08 02:53:08 +00:00
1be989c5d2
adds fallback logic if retransmit multicast fails (backport #17714 ) ( #18498 )
...
* adds fallback logic if retransmit multicast fails (#17714 )
In retransmit-stage, based on the packet.meta.seed and resulting
children/neighbors, each packet is sent to a different set of peers:
https://github.com/solana-labs/solana/blob/708bbcb00/core/src/retransmit_stage.rs#L421-L457
However, current code errors out as soon as a multicast call fails,
which will skip all the remaining packets:
https://github.com/solana-labs/solana/blob/708bbcb00/core/src/retransmit_stage.rs#L467-L470
This can exacerbate packets loss in turbine.
This commit:
* keeps iterating over retransmit packets for loop even if some
intermediate sends fail.
* adds a fallback to UdpSocket::send_to if multicast fails.
Recent discord chat:
https://discord.com/channels/428295358100013066/689412830075551748/849530845052403733
(cherry picked from commit be957f25c9
)
# Conflicts:
# core/src/cluster_info.rs
* removes backport merge conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-07-07 22:36:32 +00:00
6bc914989b
Update verify policy (backport #18459 ) ( #18490 )
...
* Update verify policy (#18459 )
(cherry picked from commit 44289e6728
)
# Conflicts:
# runtime/src/message_processor.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-07-07 18:45:58 +00:00
9a7ea1229b
Add vote/stake checked instructions (backport #18345 ) ( #18456 )
...
* Add vote/stake checked instructions
(cherry picked from commit ee219ffa47
)
# Conflicts:
# programs/stake/src/stake_instruction.rs
# sdk/program/src/stake/instruction.rs
# sdk/src/feature_set.rs
* Fix set-lockup custodian index
(cherry picked from commit 544f62c92f
)
* Add parsing for new stake instructions; clean up confusing test args
(cherry picked from commit 9b302ac0b5
)
# Conflicts:
# transaction-status/src/parse_stake.rs
* Add parsing for new vote instructions
(cherry picked from commit 39bac256ab
)
* Add VoteInstruction::AuthorizeChecked test
(cherry picked from commit b8ca2250fd
)
* Add Stake checked tests
(cherry picked from commit 74e89a3e3e
)
# Conflicts:
# programs/stake/src/stake_instruction.rs
* Fix conflicts and accommodate old apis in backport
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-07-07 03:14:54 +00:00
d8a2de1fd9
Remove obsolete stake-monitor command (backport #18020 ) ( #18461 )
...
* Remove obsolete stake-monitor command
(cherry picked from commit f859a39b86
)
# Conflicts:
# Cargo.lock
# scripts/cargo-install-all.sh
# stake-monitor/Cargo.toml
# stake-monitor/src/lib.rs
* Fix conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-07-07 01:13:48 +00:00
6859516126
sdk: add is_interactive()
method Signer
trait
...
(cherry picked from commit 2af5ec4f57
)
2021-07-06 11:13:53 -07:00
57b69b5804
Cli: expose --with-memo
to nonce and stake commands (backport #18404 ) ( #18409 )
...
* Cli: expose `--with-memo` to nonce and stake commands (#18404 )
* Fmt memo_arg
* Add --with-memo to nonce and stake cli commands
(cherry picked from commit 1dd730d685
)
# Conflicts:
# cli/src/stake.rs
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-07-05 00:34:36 +00:00
9a5a9ff633
SDK: Add test for illegal Pubkey::create_with_seed
owners ( #18401 )
...
(cherry picked from commit 216983c50e
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-03 01:10:39 +00:00
06b1c980d4
Bump version to v1.6.17 ( #18393 )
2021-07-02 19:40:37 +00:00
86c26f8432
Revert "Clean up build warning"
...
This reverts commit 17a173ebb5
.
(cherry picked from commit d269975784
)
v1.6.16
2021-07-01 19:09:08 -07:00
78d44ae215
More detailed voting timings in replay stage ( #18229 ) ( #18246 )
...
(cherry picked from commit 5d08bf9aa3
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-07-01 14:10:04 +00:00
31dc79a4f9
Bump version to v1.6.16
2021-06-30 22:53:51 -06:00
5c2dab8055
solana validators
output now includes average skip rate
...
(cherry picked from commit 52290dbd35
)
v1.6.15
2021-06-30 17:54:17 -07:00
0ecd7e5c90
Fixed an issue doing the set_roots repeatedly for the same set. Instead doing the per chunks. ( #18314 ) ( #18336 )
...
(cherry picked from commit a67d26a1e8
)
Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com >
2021-06-30 23:49:38 +00:00
df8cf37b89
test-validator: hold rent constant with --slots-per-epoch
( #18317 )
...
(cherry picked from commit 02b14caa5f
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-06-30 08:30:39 +00:00
56a4fc3dd2
Use timeout to allow RpcClient to retry initial transaction confirmation (backport #18311 ) ( #18315 )
...
* Use timeout to allow RpcClient to retry initial transaction confirmation (#18311 )
* Tidying: relocate function
* Use proper helper method for RpcClient commitment
* Add RpcClientConfig
* Add configurable confirm_transaction_initial_timeout
* Use default 5s timeout for initial tx confirmation
(cherry picked from commit 9d4428d3d8
)
* Fixup deprecated method
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-06-30 04:51:11 +00:00
5380623f32
tx-status: Don't assume a memo instruction succeeded ( #18287 )
...
(cherry picked from commit 7babf28ef7
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-06-29 03:02:03 +00:00
313e8bddd4
Cli epoch-info: generate epoch-completed time from block times ( #18258 ) ( #18284 )
...
* Generate epoch-completed time from block times
* Add annotation when block times not available
(cherry picked from commit f2b0d562b0
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-06-28 23:17:29 +00:00
7d68c44307
Don't update if already an executable ( #18252 )
...
(cherry picked from commit 2fbedd834f
)
# Conflicts:
# runtime/src/message_processor.rs
Co-authored-by: Jack May <jack@solana.com >
2021-06-27 19:21:02 +00:00
6b9a529cda
Bump borsh from 0.8.1 to 0.9.0 (backport #18230 ) ( #18237 )
...
* Bump borsh from 0.8.1 to 0.9.0 (#18230 )
(cherry picked from commit 7ed2cf30a5
)
# Conflicts:
# programs/bpf/Cargo.lock
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-06-25 23:10:01 +00:00
12eea11f93
Add entrypoint to run CI locally (backport #18131 ) ( #18216 )
...
* ci: use versioned cargo wrapper for crate ordering
(cherry picked from commit 554002b73c
)
* ci: nvidia persistence mode isn't a hard requirement
(cherry picked from commit f213e48067
)
* sdk: ensure `ld` can find criterion when running BPF tests
(cherry picked from commit 7ee39fcb0f
)
* ci: give localnet nodes a more time to startup
(cherry picked from commit 278a241db3
)
* ci: add downstream build wrapper
(cherry picked from commit 761e324982
)
* ci: add wrapper script for running ci locally
Linux only for now
(cherry picked from commit 0bc38153ca
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-06-25 05:18:15 +00:00
d2a0445fff
Update README.md ( #18191 ) ( #18194 )
...
(cherry picked from commit 3362ac06b5
)
Co-authored-by: Hao-Cher Hong <rax333j@gmail.com >
2021-06-24 15:47:05 +00:00
232ba8473d
fix build broken by 37f618f
2021-06-23 01:43:11 -06:00
a455c8a5af
ci: isolate release builds
2021-06-23 06:02:39 +00:00
07865a97ce
Add metrics for rpc send-transaction failures (backport #18156 ) ( #18163 )
...
* Add metrics for rpc send-tx failures (#18156 )
(cherry picked from commit 64cff8c5a1
)
# Conflicts:
# core/src/rpc.rs
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-06-23 00:00:10 -06:00
37f618fc62
programs/config: Disallow duplicate signers
2021-06-22 23:04:24 -06:00
86ff6f82f8
chore(pubkey): remove dead code ( #18161 )
...
(cherry picked from commit 755b7c7aee
)
Co-authored-by: hrls <viktor.kharitonovich@gmail.com >
2021-06-23 03:12:30 +00:00
57baf7f79b
Add memory operation syscalls (backport #16447 ) ( #18149 )
...
* Add memory operation syscalls (#16447 )
(cherry picked from commit 2b50529265
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/rust/sysvar/tests/lib.rs
# programs/bpf/tests/programs.rs
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-06-22 19:57:51 +00:00