* 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>
* Repurpose warp-timestamp feature for general bump
* Change max_allowable_drift to 50%
* Fill in PR#
* Fix rpc test setup
(cherry picked from commit b0e6e29527)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* limits number of crds values associated with a pubkey (#14467)
(cherry picked from commit 766195dded)
* updates smallvec
Co-authored-by: behzad nouri <behzadnouri@gmail.com>
* Minor help improvements
(cherry picked from commit 04bf5ce830)
* Bind RPC and faucet to 0.0.0.0
(cherry picked from commit 0b23abd479)
Co-authored-by: Michael Vines <mvines@gmail.com>