follow us on twitter . like us on facebook . follow us on instagram . subscribe to our youtube channel . announcements on telegram channel . ask urgent question ONLY . Subscribe to our reddit . Altcoins Talks Shop Shop


This is an Ad. Advertised sites are not endorsement by our Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise Here Ads bidding Bidding Open

Author Topic: Ethereum transaction : what is Nonce ?  (Read 11584 times)

Offline admin

  • Administrator
  • Legendary
  • *****
  • Activity: 2029
  • points:
    46275
  • Karma: 768
  • dev@
  • Trade Count: (0)
  • Referrals: 14
  • Last Active: Today at 05:44:34 PM
    • View Profile

  • Total Badges: 31
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Fourth year Anniversary
Ethereum transaction : what is Nonce ?
« on: December 17, 2017, 01:09:45 AM »
What is Nonce?

In Ethereum, every transaction has a nonce. The nonce is the order of transactions sent from a given address.

Each time you send a transaction, the nonce increases by 1.

 There are rules about what transactions are valid transactions and the nonce is used to enforce some of these rules. Specifically:

    Transactions must be in Order: You cannot have a transaction with a nonce of 1 mined before one with a nonce of 0.

    No Skipping! You cannot have a transaction with a nonce of 2 mined if you have not already sent transactions with a nonce of 1 and 0.



Why?

This field prevents double-spends as the nonce is the order the transactions go in. In order for a double-spend to be "successful", you typically...

    Send a transaction to one party

    Wait for it to register

    Collect something in return from this first transaction

    Quickly send another transaction with a high gas price

    Have this second transaction mined first, therefore invalidating the first transaction.

This is why exchanges wait for you to have a certain number of confirmations before allowing you to trade freshly-deposited funds.
In Ethereum, the above is not possible

In Ethereum, this method of "double-spending" is not possible because each transaction has a nonce included with it. Even if you attempt to do the above, it will not work as the second transaction (nonce of 3) cannot be mined before the first transaction (nonce of 2).


At your service.

Altcoins Talks - Cryptocurrency Forum

Ethereum transaction : what is Nonce ?
« on: December 17, 2017, 01:09:45 AM »

For Monthly biddings Check Here


Offline Paul3322

  • 1st Step
  • *
  • Activity: 2
  • points:
    127
  • Karma: 0
  • Trade Count: (0)
  • Referrals: 1
  • Last Active: February 15, 2019, 10:42:40 AM
    • View Profile

  • Total Badges: 7
    Badges: (View All)
    First Post Sixth year Anniversary Fifth year Anniversary
Re: Ethereum transaction : what is Nonce ?
« Reply #1 on: February 22, 2018, 10:19:29 AM »
Amazing coin! :o :o :o :o

Offline sergio444

  • Baby Steps
  • *
  • Activity: 23
  • points:
    356
  • Karma: 0
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: May 05, 2018, 10:14:50 AM
    • View Profile

  • Total Badges: 8
    Badges: (View All)
    Topic Starter 10 Posts First Post
Re: Ethereum transaction : what is Nonce ?
« Reply #2 on: March 30, 2018, 01:48:31 AM »
Very informative! Ethereum is really more than a coin. there are a lot to know about how ethereum blockchain works.

Offline RianDrops

  • Redemption
  • Full Member
  • *
  • *
  • Activity: 182
  • points:
    178
  • Karma: -3
  • Altcoinstalks.com supporter from the Philippines.
  • Trade Count: (0)
  • Referrals: 3
  • Last Active: August 15, 2018, 10:10:20 AM
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Poll Voter Poll Starter
Re: Ethereum transaction : what is Nonce ?
« Reply #3 on: March 31, 2018, 04:46:03 PM »
WOah. Finally I know this. Thanks for sharing this admin.
▄▄▄████████▄▄▄
▄▄██████████████████▄▄
▄████████████████████████▄
▄████████████████▄▄██▄▄██████▄
██████████████████▀████▀████████
████████████████▄█▀██████▀████████
███████████████▀▀█▄██████▄█████████
██████████████▄█████▄████▄██████████
████████████████████▀▀██▀▀███████████
██████████████████████████████████████
███████████████████████████████████
█████████████████████████████████████
████████████████████████████████████
███████████████████████████████████
███████████████████████████████
█████████████████████████████
▀█████████████████████████
▀█████████████████████▀
▀▀████████████████▀▀
▀▀▀████████▀▀▀
Smarter
Than Crypto
||ANN
BOUNTY
Medium
Reddit
Facebook
Twitter
Telegram
WEB

Offline rhegs27

  • Full Member
  • *
  • Activity: 153
  • points:
    1
  • Karma: 1
  • Trade Count: (0)
  • Referrals: 2
  • Last Active: April 27, 2020, 06:29:41 AM
    • View Profile

  • Total Badges: 11
    Badges: (View All)
    Topic Starter 100 Posts 50 Posts
Re: Ethereum transaction : what is Nonce ?
« Reply #4 on: April 18, 2018, 10:41:08 AM »
great coin finally  :)

Offline kriptopoulin

  • Baby Steps
  • *
  • Activity: 21
  • points:
    604
  • Karma: -1
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: March 20, 2023, 10:25:20 AM
    • View Profile

  • Total Badges: 7
    Badges: (View All)
    Signature One year Anniversary Karma
Re: Ethereum transaction : what is Nonce ?
« Reply #5 on: March 01, 2022, 12:55:38 PM »
Thanks for the amazing information.It would be really appreaciated.
I am a crypto trader for the last 5 years.The Moon channel has been extremely helpful in this regard.
If you're looking to invest in crypto,visit The Moon channel to stay ahead of all the latest news on cryptocurrency.
https://www.youtube.com/@themoon

 

ETH & ERC20 Tokens Donations: 0x2143F7146F0AadC0F9d85ea98F23273Da0e002Ab
BNB & BEP20 Tokens Donations: 0xcbDAB774B5659cB905d4db5487F9e2057b96147F
BTC Donations: bc1qjf99wr3dz9jn9fr43q28x0r50zeyxewcq8swng
BTC Tips for Moderators: 1Pz1S3d4Aiq7QE4m3MmuoUPEvKaAYbZRoG
Powered by SMFPacks Social Login Mod