Bitcoin Forum
May 05, 2024, 07:51:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question about mining & WHEN to guess nonce  (Read 142 times)
crackingcrypto.com (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 6


View Profile
September 19, 2019, 05:33:27 PM
Merited by hugeblack (1)
 #1

I don't understand how if miners are constantly guessing a nonce that is together with the tx list of their potential block, prev tx hash, etc, a solution that must be constantly changing whenever they add a tx to their potential block. I can see that once a block is full, it makes sense in my head to now start guessing the nonce to combine with the current list of txs hash, however if blocks are not filling up, it just makes no sense to me how miners decide when to guess a nonce that includes the list of txs they picked up…surely they need a static list of txs in order to make guessing effective? Thank you in advance!
1714895484
Hero Member
*
Offline Offline

Posts: 1714895484

View Profile Personal Message (Offline)

Ignore
1714895484
Reply with quote  #2

1714895484
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
bitmover
Legendary
*
Offline Offline

Activity: 2296
Merit: 5920


bitcoindata.science


View Profile WWW
September 19, 2019, 05:39:00 PM
 #2

Miners are trying to find the nonce just as the last block has been created.
There is no problem in instantly finding a nonce, and creating a block with zero transactions inside (the only downside would be to lose the transaction fees, but it is worth anyway, because they will win the 12.5 btc for creating a block).

I wrote about this in more detail in this thread
summary on Proof of Work

surely they need a static list of txs in order to make guessing effective?

Miners are trying to find nonce at an absurd rate of hashes per second. They are updating their candidate block with the mempool at every second, and using their hashing power to find the nonce everytime. Every second counts. They are literally running to find the nonce and create the block, no matter how many transactions are on the mempool. It makes almost no difference for them, because the reward for finding the block is enormous.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
lightningmelo
Copper Member
Member
**
Offline Offline

Activity: 70
Merit: 22


View Profile WWW
September 19, 2019, 05:41:43 PM
Merited by odolvlobo (1), hugeblack (1)
 #3

There is no right answer for a valid nonce, it's completely random. So mathematically speaking it doesn't matter if you're constantly rebuilding your blocks and starting to guess nonces all over again for a brand new block.

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!