* Add stake programming documentation
We had some questions about stake programming documentation, and there
wasn't a place that contained information about the stake-o-matic and
other stake development in one place. This adds a page with that
information.
* Update docs/src/staking/stake-programming.md
Co-authored-by: Eric Williams <eric@solana.com>
* Update docs/src/staking/stake-programming.md
Co-authored-by: Eric Williams <eric@solana.com>
* Update docs/src/staking/stake-programming.md
Co-authored-by: Eric Williams <eric@solana.com>
* Update docs/src/staking/stake-programming.md
Co-authored-by: Eric Williams <eric@solana.com>
* Update docs/src/staking/stake-programming.md
Co-authored-by: Eric Williams <eric@solana.com>
* Apply suggestions from code review
* Remove trailing whitespace
Co-authored-by: Eric Williams <eric@solana.com>
(cherry picked from commit b37dbed479)
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
* Avoid tmp snapshot backlog in SnapshotPackagerService under high load (#14516)
(cherry picked from commit a95675a7ce)
# Conflicts:
# core/src/validator.rs
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com>
* Bail on all CPI errors (#14500)
* Bail on all CPI errors
* whitespace
(cherry picked from commit ec48631fc5)
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com>
* Report correct program id (#14486)
(cherry picked from commit 9d53eca6e3)
# Conflicts:
# programs/bpf_loader/src/lib.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com>
record_labels returns all the possible labels for a record identified by
a pubkey, used in updating timestamp of crds values:
https://github.com/solana-labs/solana/blob/1792100e2/core/src/crds_value.rs#L560-L577https://github.com/solana-labs/solana/blob/1792100e2/core/src/crds.rs#L240-L251
The code relies on CrdsValueLabel to be limited to a small deterministic
set of possible values for a fixed pubkey. As we expand crds values to
include duplicate shreds, this limits what the duplicate proofs can be
keyed by in the table.
In addition the computation of these labels is inefficient and will
become more so as duplicate shreds and more types of crds values are
added. An alternative is to maintain an index of all crds values
associated with a pubkey.
(cherry picked from commit c2b7115031)
Co-authored-by: behzad nouri <behzadnouri@gmail.com>
* Update tmpfs partition guidance to include swap
(cherry picked from commit 68a84cf581)
* Update docs/src/running-validator/validator-start.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
(cherry picked from commit 9bb08ce75e)
Co-authored-by: Michael Vines <mvines@gmail.com>
* Introduce rpc url monikers for cli
* Use https:// and support initials as well
(cherry picked from commit 54a5876c48)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
* Upgradeable programs needs program account's address as program id (#14417)
(cherry picked from commit 0619805806)
# Conflicts:
# programs/bpf_loader/src/lib.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com>
* docs: Use "msg!" instead of "info!"
* Update docs/src/developing/deployed-programs/developing-rust.md
Co-authored-by: Michael Vines <mvines@gmail.com>
* Fix typo / format
Co-authored-by: Michael Vines <mvines@gmail.com>
(cherry picked from commit a41b5137f6)
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>