Tags: zhuhj89/solana
Tags
Add memory operation syscalls (backport solana-labs#16447) (solana-la… …bs#17648) * Add memory operation syscalls (solana-labs#16447) (cherry picked from commit 2b50529) # Conflicts: # programs/bpf/Cargo.lock * Resolve conflicts Co-authored-by: Jack May <jack@solana.com>
Purge expired BlockHeight data from blockstore (backport solana-labs#… …17634) (solana-labs#17640) * Purge expired BlockHeight data from blockstore (solana-labs#17634) * Purge expired BlockHeight data from blockstore * Also call compact_storage and add comment.... (cherry picked from commit 96cdbfd) # Conflicts: # ledger/src/blockstore_db.rs * Fix conflict Co-authored-by: Ryo Onodera <ryoqun@gmail.com> Co-authored-by: Tyera Eulberg <tyera@solana.com>
docs: Add inner instruction and cross-program invocation (solana-labs… …#17476) (solana-labs#17479) (cherry picked from commit a032303) Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
Fix a bug in input deserialization in the C SDK (solana-labs#17217) (s… …olana-labs#17249) When the input contains more accounts than the user has requested to be deserialized, and one of the excess ones is a dup, the input pointer is not adjusted correctly. Compare the lines added by this commit to line 401: "input += 7; // padding". Since the input data layout does not depend on the number of accounts the user wants to deserialize, this adjustment by 7 bytes must happen in both branches. (cherry picked from commit e02b4e1) Co-authored-by: Christian Machacek <39452430+machacekch@users.noreply.github.com>
makes turbine peer computation consistent between broadcast and retra… …nsmit (solana-labs#14910) (solana-labs#16653) get_broadcast_peers is using tvu_peers: https://github.com/solana-labs/solana/blob/84e52b606/core/src/broadcast_stage.rs#L362-L370 which is potentially inconsistent with retransmit_peers: https://github.com/solana-labs/solana/blob/84e52b606/core/src/cluster_info.rs#L1332-L1345 Also, the leader does not include its own contact-info when broadcasting shreds: https://github.com/solana-labs/solana/blob/84e52b606/core/src/cluster_info.rs#L1324 but on the retransmit side, slot leader is removed only _after_ neighbors and children are computed: https://github.com/solana-labs/solana/blob/84e52b606/core/src/retransmit_stage.rs#L383-L384 So the turbine broadcast tree is different between the two stages. This commit: * Removes retransmit_peers. Broadcast and retransmit stages will use tvu_peers consistently. * Retransmit stage removes slot leader _before_ computing children and neighbors. (cherry picked from commit 570fd3f) Co-authored-by: behzad nouri <behzadnouri@gmail.com>
CLI BIP32 prep: `KeypairUrl` refactor (backport solana-labs#16592) (s… …olana-labs#16605) * clap-utils: Rename KeypairUrl to SignerSource (cherry picked from commit 09dcc9e) * clap-utils: Reduce SignerSource's visibility (cherry picked from commit c5ab3ba) * clap-utils: Use `uriparse` crate to parse `SignerSource` (cherry picked from commit 5d1ef5d) * clap-utils: Add explicit schemes for `ask` and `file` `SignerSource`s (cherry picked from commit 6444f0e) Co-authored-by: Trent Nelson <trent@solana.com>
PreviousNext