wormhole/solana/agent
Leo 4f306fdb8b solana/agent: always submit signature verify transactions
The first transaction acquires a pseudo-lock by setting
initial_creation = true, which will fail if a signature account
already exists. However, this is unsafe since the operation
consists of multiple operations and is not atomic - if the first
validator fails to submit a full set of signature transactions,
other guardians will not retry submitting signature verification txs.

We disable this mechanism to never set initial_creation, which
causes guardians to spend more fees in exchange for fault tolerance.

Instead of failing with an AlreadyExists error, duplicate transactions
will now succeed as a no-op and all nodes will attempt to submit
the full series of signature transactions.

Co-authored-by: Hendrik Hofstadt <hendrik@nexantic.com>
Change-Id: I0c418497f19cc97c9ae7a11b206035d6e70c1b66
2021-05-31 13:33:47 +00:00
..
src solana/agent: always submit signature verify transactions 2021-05-31 13:33:47 +00:00
.dockerignore Update devnet and Solana program 2020-08-16 13:21:39 +02:00
Cargo.lock solana: add uncommitted Cargo.lock files 2020-10-28 22:47:12 +01:00
Cargo.toml Fix *.so copy in solana-devnet, correct crate feature for cli+agent (#198) 2021-04-08 12:47:35 +02:00
build.rs Add builds for protos and the Solana agent 2020-08-15 22:15:26 +02:00