Bitcoin Forum
May 24, 2024, 07:55:45 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help me find the Nonce  (Read 896 times)
toodamntired (OP)
Sr. Member
****
Offline Offline

Activity: 471
Merit: 250


View Profile
May 21, 2015, 03:17:38 PM
 #1

Okay, learning day today and I am on BlockChain and looking through transactions of mine. I know what the nonce is, but where do you find the transaction number with the nonce? I click on sending address, receiving address, transaction... but where is the nonce?

DannyHamilton
Legendary
*
Offline Offline

Activity: 3402
Merit: 4656



View Profile
May 21, 2015, 04:00:33 PM
 #2

I know what the nonce is

No, you clearly don't.

but where do you find the transaction number with the nonce? I click on sending address, receiving address, transaction... but where is the nonce?

Transactions don't have a nonce.  Blocks have a nonce.
altcoinex
Sr. Member
****
Offline Offline

Activity: 293
Merit: 250


Director - www.cubeform.io


View Profile WWW
May 21, 2015, 05:16:35 PM
 #3

Okay, learning day today and I am on BlockChain and looking through transactions of mine. I know what the nonce is, but where do you find the transaction number with the nonce? I click on sending address, receiving address, transaction... but where is the nonce?

As Danny said, I don't think you have the understanding you think you do as your question doesn't quite make sense. Please see https://en.bitcoin.it/wiki/Nonce for more information.

If you are looking at a transaction on blockchain.info, lets say:
https://blockchain.info/tx/2655e808a5445adf617b4fac2efe80e3e06b80b0e05d29543c82cd7a17334cdc

On that page you will see under Summary a field "Included In Blocks" which in the case has the value: "357441 ( 2015-05-21 15:52:37 + 1 minutes )".
If you click the block number the link will take you to block #357441:
https://blockchain.info/block/000000000000000007a46ebad951268d449e7d85eadd16173166a2a635229b19

If you look under Summary for that block, you will see the Nonce field, in this case: Nonce    3957544771.

So, the transaction linked above was in block 357441 which has a nonce of 3957544771. The TX however does not have a nonce, just a block number referencing the block its in, in which that block has a nonce.


                                     ╓╢╬╣╣╖
                                   ┌║██████║∩
                                   ]█████████
                                    ╜██████╝`
                                      ╙╜╜╜`
                                   ╓╥@@@@@@╥╓
         ╓╖@@╖,                 ,@║██████████╢@,                 ,╓@@╖╓
       ╓╢██████╢.              ╓╢███████████████╖               ║╢█████║╓
       ║█████████    ,,╓╓,,   ┌║█████████████████┐   ,,╓╓,,    ]█████████
       └╢██████║` ╓╢║██████╢║∩``╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙`»╢╢██████╢║╖  ║███████╜
         "╜╜╜╜` ╖╢█████████╣╜                      └╢██████████@ `╜╜╜╜╜
               ║██████████╜                          ╙╢██████████
              ┌█████████╜                              ╙╢█████████
              └███████╨`                                 ╜████████
               ║████╨╜                                    `╢█████
                ╙╢╣╜                                        └╢█╜
                ,,                                            ,,
             ╓@║██┐                                          ┌██║@╓
            ╢██████                                          ]█████H
           ╢███████∩                                        ┌████████
  ╓@@@@╓   █████████                                        ║████████`  ╓@@@@╖
╓╢██████║. █████████∩                                      ┌█████████ ,║███████╖
██████████ └█████████                                      ██████████ ]█████████
`║██████╜`  └╢████████                                    ┌███████╣╜   ╙██████╨`
  `╙╜╜╙`      `╙╨╢████                                    █████╝╜`       `╙╜╜`
                      ]@╓                              ╓╖H
                      ███╢║@╓,                    ,╓@╢╢███`
                      ████████╢@╖╓.           ╓╖@║████████`
                      ]███████████╢║@╓,  ,╓@╢╢████████████
                       ╙╢█████████████╨` ╜██████████████╜
                         ╙╝╢███████║╜`    `╜║████████╝╜`
                     ,╓@@@╓  `²╙``             `╙²`  ╓@@@╖,
                    ║╢█████╢H                      ╓╢██████H
                    █████████                      █████████`
                    ╙╢██████╜                      ╙╢██████╜
                      └╨╩╝┘                          └╨╩╝╜
WINFLOW.
██
██
██
██
██
██
██
██
██
██
██
██
██
..
██
██
██
██
██
██
██
██
██
██
██
██
██
.
toodamntired (OP)
Sr. Member
****
Offline Offline

Activity: 471
Merit: 250


View Profile
May 21, 2015, 07:21:04 PM
 #4

I see now. I guess i was not clear... I know what a Nonce is in the sense it is additional numbers that are added... but never knew where to find them or where they were attached.

Thanks for the help.

maheshmahi
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
May 26, 2015, 06:30:09 PM
 #5

Can someone will me to clarify me.... Actually what is nonce and what is relation between a nice and transaction number
DannyHamilton
Legendary
*
Offline Offline

Activity: 3402
Merit: 4656



View Profile
May 26, 2015, 06:38:47 PM
 #6

Can someone will me to clarify me.... Actually what is nonce and what is relation between a nice and transaction number

A nonce is a number in the block header that is used in the proof-of-work to modify the contents of the block header while searching for a hash value that is lower than the current target.

There is no relation between the nonce and any transaction number.
altcoinex
Sr. Member
****
Offline Offline

Activity: 293
Merit: 250


Director - www.cubeform.io


View Profile WWW
May 26, 2015, 06:49:45 PM
 #7

Can someone will me to clarify me.... Actually what is nonce and what is relation between a nice and transaction number

If you ready my post above, the answer should be there. You can read all about what a nonce is here: https://en.bitcoin.it/wiki/Nonce
Also, as this thread is about and answered already, the only relation between a nonce and a transaction is a transaction is included in a block, and a block has a nonce. There is no direct relation between nonce and transaction.

When a block is made, the Block Header is hashed, this hash has to be lower then the current Target. The target is a 256 bit number engineered to allow for a valid Block Hash to occur roughly every 10 minutes. The lower the Target gets, the harder it is to produce a valid hash. When you hash the block header, it produces a value based on the data being hashed. This value is the same if the data inside is the same, but if any part of the data changes, the hash is entirely different. When miners are hashing the headers, if the hash is not lower than the target, they increase the nonce (which is included in the block header, and its purpose is exactly this, to change the resulting hash) then hash again producing a different hash (with the same set of transaction details, etc), and repeat this until the hash beats the target.


                                     ╓╢╬╣╣╖
                                   ┌║██████║∩
                                   ]█████████
                                    ╜██████╝`
                                      ╙╜╜╜`
                                   ╓╥@@@@@@╥╓
         ╓╖@@╖,                 ,@║██████████╢@,                 ,╓@@╖╓
       ╓╢██████╢.              ╓╢███████████████╖               ║╢█████║╓
       ║█████████    ,,╓╓,,   ┌║█████████████████┐   ,,╓╓,,    ]█████████
       └╢██████║` ╓╢║██████╢║∩``╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙`»╢╢██████╢║╖  ║███████╜
         "╜╜╜╜` ╖╢█████████╣╜                      └╢██████████@ `╜╜╜╜╜
               ║██████████╜                          ╙╢██████████
              ┌█████████╜                              ╙╢█████████
              └███████╨`                                 ╜████████
               ║████╨╜                                    `╢█████
                ╙╢╣╜                                        └╢█╜
                ,,                                            ,,
             ╓@║██┐                                          ┌██║@╓
            ╢██████                                          ]█████H
           ╢███████∩                                        ┌████████
  ╓@@@@╓   █████████                                        ║████████`  ╓@@@@╖
╓╢██████║. █████████∩                                      ┌█████████ ,║███████╖
██████████ └█████████                                      ██████████ ]█████████
`║██████╜`  └╢████████                                    ┌███████╣╜   ╙██████╨`
  `╙╜╜╙`      `╙╨╢████                                    █████╝╜`       `╙╜╜`
                      ]@╓                              ╓╖H
                      ███╢║@╓,                    ,╓@╢╢███`
                      ████████╢@╖╓.           ╓╖@║████████`
                      ]███████████╢║@╓,  ,╓@╢╢████████████
                       ╙╢█████████████╨` ╜██████████████╜
                         ╙╝╢███████║╜`    `╜║████████╝╜`
                     ,╓@@@╓  `²╙``             `╙²`  ╓@@@╖,
                    ║╢█████╢H                      ╓╢██████H
                    █████████                      █████████`
                    ╙╢██████╜                      ╙╢██████╜
                      └╨╩╝┘                          └╨╩╝╜
WINFLOW.
██
██
██
██
██
██
██
██
██
██
██
██
██
..
██
██
██
██
██
██
██
██
██
██
██
██
██
.
maheshmahi
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
May 27, 2015, 01:10:36 AM
 #8

Thanks a lot... It was really helpful
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!