* 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>
* Upgrade to Rust v1.49.0
(cherry picked from commit cbffab7850)
# Conflicts:
# core/src/crds_value.rs
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com>
* Add convenience function to create a snapshot archive out of any Bank
(cherry picked from commit dd5a2ef05f)
* Add solana-test-validator --warp-slot argument
(cherry picked from commit bf1943e489)
Co-authored-by: Michael Vines <mvines@gmail.com>
* Expose not-found bigtable error
* Add custom rpc error for bigtable data not found
* Return custom rpc error when bigtable block is not found
* Generalize long-term storage
(cherry picked from commit 71e9958e06)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Configure bigtable's timeout when read-only
* Review comments
* Apply nits (thanks!)
Co-authored-by: Michael Vines <mvines@gmail.com>
* Timeout in the streamed decoding as well
Co-authored-by: Michael Vines <mvines@gmail.com>
(cherry picked from commit dcaa025822)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
* Add optimistically_confirmed field to TransactionStatus
* Update docs
* Convert new field to confirmation_status
* Update docs to confirmationStatus
* Update variants
* Update docs
* Just Confirmed
(cherry picked from commit 9a89689ad3)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>