* Return sysvars via syscalls (#16422)
(cherry picked from commit fa83f3bd73)
* bad merge
* Fix branch diffs
* nudge
Co-authored-by: Jack May <jack@solana.com>
* docker: Expose all ports in Dockerfile, add back localnet.sh
* Add documentation for where to find containers
* Obliterate script
(cherry picked from commit 448d5be79f)
Co-authored-by: Jon Cinque <jon.cinque@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>
* feat: introduce get_inflation_reward rpc call
* fix: style suggestions
* fix: more style changes and match how other rpc functions are defined
* feat: get reward for a single epoch
* feat: default to the most recent epoch
* fix: don't factor out get_confirmed_block
* style: introduce from impl for RpcEncodingConfigWrapper
* style: bring commitment into variable
* feat: support multiple pubkeys for get_inflation_reward
* feat: add get_inflation_reward to rpc client
* feat: return rewards in order
* fix: rename pubkeys to addresses
* docs: introduce jsonrpc docs for get_inflation_reward
* style: early return in map (not sure which is more idiomatic)
* fix: call the rpc client function args addresses as well
* fix: style
* fix: filter out only addresses we care about
* style: make this more idiomatic
* fix: change rpc client epoch to optional and include some docs edits
* feat: filter out rent rewards in get_inflation_reward
* feat: add option epoch config param to get_inflation_reward
* feat: rpc client get_inflation_reward takes epoch instead of config and some filter staking and voting rewards
(cherry picked from commit e501fa5f0b)
Co-authored-by: Josh <josh.hundley@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>
* cluster-info: Don't subtract non-shred spies from node count
(cherry picked from commit b6b08706b9)
* cluster-info: Get rid of some integer math while we're here
(cherry picked from commit b71875df61)
Co-authored-by: Trent Nelson <trent@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>
* merkle-tree: Add Xargo.toml
(cherry picked from commit a1d9b53cd7)
* merkle-tree: Get `Hash` et. al from program instead of sdk
(cherry picked from commit ddc0a16cec)
* merkle-tree: Use `matches` crate when targeting eBPF
(cherry picked from commit a44c32694f)
Co-authored-by: Trent Nelson <trent@solana.com>
* Fixup iterator method (#16357)
(cherry picked from commit 1a13d22984)
* Only get Blockstore::last_root once (#16362)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Tests are timing out because the bank hit the MaxTickHeight and
will not process the transactions.
(cherry picked from commit 96ccc40f0a)
Co-authored-by: sakridge <sakridge@gmail.com>