* Add TPU client for sending txs to the current leader tpu port
* Update tpu_client.rs
(cherry picked from commit 75b8434b76)
Co-authored-by: Justin Starry <justin@solana.com>
* Add --sort argument to `solana validators`
(cherry picked from commit b66faf7e80)
* Add line numbers to `solana validators` output
(cherry picked from commit 818c3198c1)
* Print the header as a footer when there's a large number of validators to show
(cherry picked from commit 1824b5a2ce)
* Add --number argument
(cherry picked from commit f14cf3ed1a)
* Prefix current validators with nbsp for easier sed-ing
(cherry picked from commit 568438aa6f)
Co-authored-by: Michael Vines <mvines@gmail.com>
* Fix block-with-limit when not finalized blocks found
* Enable confirmed commitment in getInflationReward
* Use get_inflation_rewards in cli
* Line up rewards output
* Add range validator
* Change cli epoch arg -> num epochs
* Add solana inflation rewards subcommand
* Consolidate epoch rewards meta
(cherry picked from commit bb9d2fd07a)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Faucet: repurpose cap and slice args to apply to single IPs (#16381)
* Single use stmt
* Log request IP
* Switch cap and slice to apply per IP
* Use SOL in logs, error msgs
* Use thiserror instead of overloading io::Error
* Return memo transaction for requests that exceed per-request-cap
* Handle faucet memos in cli
* Add some docs, esp about memo transaction
* Use SOL symbol & standardize memo
Co-authored-by: Michael Vines <mvines@gmail.com>
* Differentiate faucet tx-length errors
* Populate signature in cli airdrop memo case
Co-authored-by: Michael Vines <mvines@gmail.com>
(cherry picked from commit 03d3ae1cb9)
# Conflicts:
# Cargo.lock
# client/Cargo.toml
# faucet/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
* issue #10831: added --with-memo option to all cli commands that submit (#16291)
* issue #10831: added --with-memo option to all cli commands that submit
transactions. Also, improve the block command to show UTF-8 string instead
of integer values for memo program data.
* Fixed tests and changed some syntax according to feedback.
* Use spl_memo id (all versions where applicable) instead of hardcoding id.
* Update Cargo.toml in programs/bpf.
* Update formatting via cargo fmt.
* Update to use spl_memo version 3.0.1, which simplifies package imports
(cherry picked from commit 364af3a3e0)
# Conflicts:
# cli-output/Cargo.toml
# cli/Cargo.toml
* Fix conflicts
Co-authored-by: bji <bryan@ischo.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
* Update blockstore method to allow return of unfinalized signature
* Support confirmed sigs in getConfirmedSignaturesForAddress2
* Add deprecated comments
* Update docs
* Enable confirmed transaction-history in cli
* Return real confirmation_status; fill in not-yet-finalized block time if possible
(cherry picked from commit da27acabcc)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* transfer now requires --allow-unfunded-recipient if the recipient doesn't exist
(cherry picked from commit 3dff5c9dee)
* Avoid RPC in `--sign-only` mode
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
(cherry picked from commit 6271665ba6)
Co-authored-by: Michael Vines <mvines@gmail.com>
* Add rpc_client api for getRecentPerformanceSamples
* Prep fn for variable avg slot time
* Use recent-perf-samples to more-accurately estimate epoch completed times
* Spell out average
(cherry picked from commit 3726358f51)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* add catchup average speed and remaining time
* code style and improve average time remaining calculation
* code style
* remove instant time remaining
* negative speed perceives better
* Some little improves and comments of catchup avg and eta
* format code of catchup avg and eta
* fix copy-paste error