solana/cli/tests
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
..
fixtures Deploy error is buffer is too small (#20358) 2021-10-01 02:47:26 +00:00
nonce.rs separates durable nonce and blockhash domains 2022-06-04 12:39:31 +00:00
program.rs Add size_of const fns for upgradeable loader states (#25131) 2022-05-11 22:22:59 +08:00
request_airdrop.rs nit: Traceable balance checks (#22462) 2022-01-13 09:09:22 -08:00
stake.rs separates durable nonce and blockhash domains 2022-06-04 12:39:31 +00:00
transfer.rs separates durable nonce and blockhash domains 2022-06-04 12:39:31 +00:00
vote.rs nit: Traceable balance checks (#22462) 2022-01-13 09:09:22 -08:00