Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: dadadum on October 02, 2023, 09:50:29 PM



Title: Is there a database of all known nonce
Post by: dadadum on October 02, 2023, 09:50:29 PM
Hi was long away, but my interest come back. I ask myself if there is a database or a file, where all the known nonce are in.

I read some ago, one was posting a short list of nonce, but i can't find it anymore.


Title: Re: Is there a database of all known nonce
Post by: nc50lc on October 03, 2023, 05:04:20 AM
Do you mean each block's nonce?
If yes, there is a list but it's not posted here in Bitcointalk. The list is created and maintained by user: LoyceV (link to profile (https://bitcointalk.org/index.php?action=profile;u=459836))
Link: https://loyce.club/blockdata/nonce.txt (https://loyce.club/blockdata/nonce.txt)

What will you do with the info, by the way?


Title: Re: Is there a database of all known nonce
Post by: pooya87 on October 03, 2023, 05:17:26 AM
Do you mean each block's nonce?
Based on OP's post history I'm assuming they mean the ephemeral key used during signing operation, in which case considering how it is impossible to know the "nonce" by having the signature there can't be a database the way OP thinks. There are only a handful of cases where a weak key was used and it was revealed.


Title: Re: Is there a database of all known nonce
Post by: NotATether on October 03, 2023, 12:10:52 PM
Do you mean each block's nonce?
Based on OP's post history I'm assuming they mean the ephemeral key used during signing operation, in which case considering how it is impossible to know the "nonce" by having the signature there can't be a database the way OP thinks. There are only a handful of cases where a weak key was used and it was revealed.

I was going to say maybe OP can just get a list of all known broadcasted transactions and then deserialize them, but that does not include the nonce, which is supposed to be secret by design.

Even if OP wanted to make up a bunch of values for the nonce, that is not possible because it is practically a 256-bit value so searching it is as pseudo-random as trying to find a private key.


Title: Re: Is there a database of all known nonce
Post by: ElDalmatino on October 04, 2023, 02:45:09 PM
Hmm i just start here but maybe OP wanna try generate something, reply from OP would be nice.


Title: Re: Is there a database of all known nonce
Post by: pooya87 on October 05, 2023, 05:13:58 AM
I was going to say maybe OP can just get a list of all known broadcasted transactions and then deserialize them, but that does not include the nonce, which is supposed to be secret by design.
Even if it were possible, such a database would be massive since there has been almost a billion transactions[1] recorded in bitcoin blockchain and considering many transactions usually consist of more than one input you'll have a 40-60 GB database with 1.5 to 2 billion entries.

[1] https://www.blockchain.com/charts/n-transactions-total