* 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>
* 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>
* 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>
* 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>
* core: Update stale error message
(cherry picked from commit 82f61c0c4a)
* validator: Add experimental flag to select PoH pinned core
(cherry picked from commit fe667db910)
Co-authored-by: Trent Nelson <trent@solana.com>
* Update entrypoint contact info even when shred version adoption is not requested
(cherry picked from commit 3373082ffa)
* Multiple entrypoint support
(cherry picked from commit ace360ade2)
Co-authored-by: Michael Vines <mvines@gmail.com>
* Clean up Cargo.toml
(cherry picked from commit d2af09a647)
* Prevent multiple test-validators from using the same ledger directory
(cherry picked from commit f3272db7f7)
* Add --reset flag to allow for easy ledger reset
(cherry picked from commit 00c46c528e)
Co-authored-by: Michael Vines <mvines@gmail.com>
* Adds a CLI option to the validator to enable just-in-time compilation of BPF.
* Refactoring to use bpf_loader_program instead of feature_set to pass JIT flag from the validator CLI to the executor.
The --rpc-pubsub-enable-vote-subscription flag may be used to enable it.
The current vote subscription is problematic because it emits a
notification for *every* vote, so hundreds a second in a real cluster.
Critically it's also missing information about *who* is voting,
rendering all those notifications practically useless.
Until these two issues can be resolved, the vote subscription is not
much more than a potential DoS vector.