About the nonce value of the Ethereum account (External Account & contract account)

Source: Internet
Author: User
Brief introduction

The nonce value exists primarily because it is account-based and differs from the Utxo-based bitcoin. Nonce values are primarily used to prevent replay attacks. An external account is sent a nonce plus one per transaction. Each contract account creates a nonce plus one. The value of the nonce is the same as when the contract calls the other contract for internal invocation. the number of rules used in a nonce when the nonce is too small (less than the nonce value previously used in the transaction), the trade is rejected outright. When the nonce is too large, the trade is in the queue, which is why the problem we described above, when sending a larger nonce value, and then the nonce to start the nonce to that value, then the transaction can still be executed. When the transaction is in the queue and the Geth client is stopped, the trade in the queue is cleared. a deeper understanding

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.