solana/cli/src
behzad nouri 5ee157f43d separates durable nonce and blockhash domains
AdvanceNonceAccount instruction updates nonce to blockhash. This makes it
possible that a durable transaction is executed twice both as a normal
transaction and a nonce transaction if it uses blockhash (as opposed to nonce)
for its recent_blockhash field.

The commit prevents this double execution by separating nonce and blockhash
domains; when advancing nonce account, blockhash is hashed with a fixed string.
As a result a blockhash cannot be a valid nonce value; and if transaction was
once executed as a normal transaction it cannot be re-executed as a durable
transaction again and vice-versa.
2022-06-04 12:39:31 +00:00
..
checks.rs cli: Speed up fee check on program deployment (#25718) 2022-06-02 11:54:26 +02:00
clap_app.rs
cli.rs
cluster_query.rs Find epoch start slot for estimated time elapsed (#25491) 2022-05-24 17:13:47 -06:00
feature.rs
inflation.rs
lib.rs
main.rs
memo.rs
nonce.rs separates durable nonce and blockhash domains 2022-06-04 12:39:31 +00:00
program.rs cli: Speed up fee check on program deployment (#25718) 2022-06-02 11:54:26 +02:00
spend_utils.rs
stake.rs
test_utils.rs
validator_info.rs
vote.rs
wallet.rs