neoneo-go/pkg/core/mempool
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
..
feer.go [#2442] English Check 2022-05-04 19:48:27 +03:00
mem_pool.go core: check signers of on-chained conflict during new tx verification 2023-07-21 17:27:47 +03:00
mem_pool_test.go mempool: adjust the rule of conflicting transaction ranking 2023-06-01 13:33:21 +03:00
subscriptions.go *: adjust subscription-related doc 2023-01-17 17:11:19 +03:00
subscriptions_test.go core: distinguish notarypool/mempool metrics 2023-04-13 18:40:19 +03:00