* Plumb allow-dead-slots to ledger-tool verify
* ledger-tool cleanup and add some useful missing args
Print root slots and how many unrooted past last root.
(cherry picked from commit bbae23358c)
Co-authored-by: sakridge <sakridge@gmail.com>
* Limit getProgramAccounts memcpy filter string to 128 bytes
(cherry picked from commit 65f1afe5e1)
* Limit the number of getProgramAccounts filters
(cherry picked from commit 4b0114b991)
Co-authored-by: Michael Vines <mvines@gmail.com>
* add validator flag no-accounts-db-index-hashing (#15350)
* add validator flag no_accounts_db_index_hashing
* add validator flag no_accounts_db_index_hashing
(cherry picked from commit ba02452d75)
# Conflicts:
# runtime/src/accounts_background_service.rs
* fix merge error
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com>
* fill in timing gaps in replay_stage
* add replay_stage bank_count metric
* formatting
* handle another gap
* cleanup wait_receive_time to be more straightforward
(cherry picked from commit 935dfdf0f6)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
rocksdb compaction can cause long stalls, so
make it more configurable to try and reduce those stalls
and also to coordinate between multiple nodes to not induce
stall at the same time.
(cherry picked from commit 5b8f046c67)
Co-authored-by: sakridge <sakridge@gmail.com>
* introduce get largest accounts cache
* remove cache size and change hash key
* remove eq and hash derivation from commitment config
* add slot to the cache
(cherry picked from commit 4013f91dbe)
Co-authored-by: Josh <josh.hundley@gmail.com>
* calculate hash from store instead of index (#15034)
* calculate hash from store instead of index
* restore update hash in abs
(cherry picked from commit 600ff0d915)
* fix merge conflict (#15085)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
* Add validator flag to opt in to cpi and logs storage (#14922)
* Add validator flag to opt in to cpi and logs storage
* Default TestValidator to opt-in; allow using in multinode-demo
* No clone
Co-authored-by: Carl Lin <carl@solana.com>
(cherry picked from commit cbb8b79a60)
* TestValidator store cpi and logs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
* Deprecate commitment variants (#14797)
* Deprecate commitment variants
* Add new CommitmentConfig builders
* Add helpers to avoid allowing deprecated variants
* Remove deprecated transaction-status code
* Include new commitment variants in runtime commitment; allow deprecated as long as old variants persist
* Remove deprecated banks code
* Remove deprecated variants in core; allow deprecated in rpc/rpc-subscriptions for now
* Heavier hand with rpc/rpc-subscription commitment
* Remove deprecated variants from local-cluster
* Remove deprecated variants from various tools
* Remove deprecated variants from validator
* Update docs
* Remove deprecated client code
* Add new variants to cli; remove deprecated variants as possible
* Don't send new commitment variants to old clusters
* Retain deprecated method in test_validator_saves_tower
* Fix clippy matches! suggestion for BPF solana-sdk legacy compile test
* Refactor node version check to handle commitment variants and transaction encoding
* Hide deprecated variants from cli help
* Add cli App comments
(cherry picked from commit ffa5c7dcc8)
* Fix 1.5 stake-o-matic
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
Following d6d76219b, staked nodes computed from vote accounts are
already cached in runtime::Stakes, so the caching in retransmit_stage is
redundant.
(cherry picked from commit e1021d9f83)
Co-authored-by: behzad nouri <behzadnouri@gmail.com>