ArkEcosystem / AIPs

ARK Improvement Proposals
26 stars 25 forks source link

AIP - Add Nonces to prevent replay attacks #46

Closed Jarunik closed 5 years ago

Jarunik commented 5 years ago

Add nonces to transactions in order to prevent replay attacks.

As soon as there is a transaction with a bigger nonce then the previous transaction in the pool becomes invalid.

That prevents attacks where you can store the transaction and later replay it even if the sender issued a replacement transaction.

With nonces you can replace unforged transactions while being sure that the old unforged yet signed transactions are invalidated.

kristjank commented 5 years ago

The aip for this is in progress for a while now.