If identical copies of a signed transaction are sent twice to an ico contract and both go through, would both transactions be executed or would the second copy be rejected as a duplicate ?
You are viewing a single comment's thread from:
If identical copies of a signed transaction are sent twice to an ico contract and both go through, would both transactions be executed or would the second copy be rejected as a duplicate ?
Each address has a nonce, a number that begins at zero and is incremented after every processed transaction.
Each transaction also has a nonce. Part of signing the transaction requires the address to have exactly the same nonce of the transaction. This forces all transactions to occur in the order sent, and also prevents a duplicate transactions.