neoneo-go/pkg
Anna Shaleva ee4b8f883b core: check signers of on-chained conflict during new tx verification
During new transaction verification if there's an on-chain conflicting
transaction, we should check the signers of this conflicting transaction.
If the signers intersect with signers of the incoming transaction, then
the conflict is treated as valid and verification for new incoming
transaction should fail. Otherwise, the conflict is treated as the
malicious attack attempt and will not be taken into account;
verification for the new incoming transaction should continue.

This commint implements the scheme described at
https://github.com/neo-project/neo/pull/2818#issuecomment-1632972055,
thanks to @shargon for digging.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-07-21 17:27:47 +03:00
..
compiler compiler: disallow named types redeclaration via contract config 2023-05-31 15:53:43 +03:00
config config: do not allow negative validators count 2023-04-13 13:43:14 +03:00
consensus *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
core core: check signers of on-chained conflict during new tx verification 2023-07-21 17:27:47 +03:00
crypto *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
encoding *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
interop interop/util: Drop unused import 2023-04-22 16:36:49 +04:00
io *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neorpc neorpc: adjust the way SignerWithWitness is marshalled 2023-07-20 10:33:50 +03:00
neotest cli: fetch extended evet types from contract config 2023-05-31 15:53:41 +03:00
network network: forbid Notary contract to be a sender of main transaction 2023-07-20 10:56:48 +03:00
rpcclient smartcontract: drop standard events before RPC binging generation 2023-05-31 15:53:43 +03:00
services neorpc: adjust SignerWithWitness scopes parsing 2023-07-20 10:33:48 +03:00
smartcontract rpcbinding: call scriptFor* as method 2023-06-05 18:31:34 +03:00
util *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
vm core: fix formatted error on transaction verification 2023-07-21 13:50:20 +03:00
wallet Merge pull request #2725 from nspcc-dev/move-cli-tests 2022-10-06 13:43:39 +07:00