Bitcoin Forum
April 24, 2024, 06:49:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Skeptical question  (Read 183 times)
pesci (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 4


View Profile
August 22, 2021, 07:58:30 PM
Last edit: August 22, 2021, 08:12:36 PM by pesci
Merited by o_e_l_e_o (4)
 #1

If a nefarious miner tries to reward herself 10000 bitcoins after finding a correct PoW for her copy of the block, what is to prevent her from doing so ?

Is there some central place where the current correct reward is to be found so that everyone knows for certain what it is e.g. https://somewebsite.com/current_reward.xml ?

When a reward values changes, but not everyone hears about it, there are bound to be miners who submit valid PoW and blocks whose reward is out of sync with the larger consensus. How is that discrepancy dealt with?

E.g. a miner submits a valid PoW for their block but rewards herself 25 BTC instead of 12.5. Does that miner get a chance to fix her mistake?
1713984540
Hero Member
*
Offline Offline

Posts: 1713984540

View Profile Personal Message (Offline)

Ignore
1713984540
Reply with quote  #2

1713984540
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713984540
Hero Member
*
Offline Offline

Posts: 1713984540

View Profile Personal Message (Offline)

Ignore
1713984540
Reply with quote  #2

1713984540
Report to moderator
Upgrade00
Legendary
*
Offline Offline

Activity: 2016
Merit: 2170


Professional Community manager


View Profile WWW
August 22, 2021, 08:23:42 PM
Merited by o_e_l_e_o (4), pooya87 (2), ABCbits (1), mk4 (1)
 #2

If a nefarious miner tries to reward herself 10000 bitcoins after finding a correct PoW for her copy of the block, what is to prevent her from doing so ?
Consensus and protocol. Such a transaction would not be verified.

When a reward values changes, but not everyone hears about it, there are bound to be miners who submit valid PoW and blocks whose reward is out of sync with the larger consensus. How is that discrepancy dealt with?
The consensus rule, nodes verify everything to make sure the network is functioning smoothly, if someone requests something which is not in the current protocol, it would be promptly rejected by the nodes.
Halving events are very much anticipated and it's unlikely majority of nodes would forget when it occurs.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
hatshepsut93
Legendary
*
Offline Offline

Activity: 2954
Merit: 2145



View Profile
August 22, 2021, 08:35:41 PM
 #3

E.g. a miner submits a valid PoW for their block but rewards herself 25 BTC instead of 12.5. Does that miner get a chance to fix her mistake?


A block with reward different from the current correct reward can not be valid. Doesn't matter if it's 1 Bitcoin more or even 1 satoshi less, if it's not precisely what it needs to be, such block is invalid. When a node tries to send invalid block to peers, they reject it and don't propagate it any further. This is why it's important to have a big decentralized network of nodes. If miners controlled all the nodes, like in a scenario that emerges from big block forks, then they could change the rules as they want, and users would only have 2 options - accept the rules or stop using Bitcoin at all.

.BEST.CHANGE..███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
BlackHatCoiner
Legendary
*
Online Online

Activity: 1498
Merit: 7263


Farewell, Leo


View Profile
August 22, 2021, 08:44:31 PM
 #4

E.g. a miner submits a valid PoW for their block but rewards herself 25 BTC instead of 12.5. Does that miner get a chance to fix her mistake?
If they reward themselves an invalid amount of Bitcoins, then it's not a valid proof of work, because it does not satisfy the conditions that are agreed. In your case, if a miner chose to reward himself 25 BTC instead of 12.5, he'd have to redo the proof of work in order for the block to be considered valid. (assuming 12.5 BTC is currently the correct reward)

Doesn't matter if it's 1 Bitcoin more or even 1 satoshi less, if it's not precisely what it needs to be, such block is invalid.
Actually, it can be less than the standard block reward. One could simply choose to be rewarded with 5.25 BTC and bring that 1 BTC out of circulation. It's their decision as it's their money; it really doesn't differ much from the OP_RETURN.

For more information: https://bitcointalk.org/index.php?topic=5342114.msg57215743#msg57215743

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
pooya87
Legendary
*
Offline Offline

Activity: 3430
Merit: 10498



View Profile
August 23, 2021, 05:04:06 AM
 #5

You have to first realize that everything in bitcoin is decentralized and is enforced by the nodes. So when an individual (like you) runs a node they are enforcing certain rules known as consensus rules. When they receive a transaction in their mempool or a new block that a miner has mined they verify everything about them with these rules. If they break any of those rules (like having a reward more than what is allowed) they simply reject that block or transaction as invalid.

When a reward values changes, but not everyone hears about it,
Again things are decentralized, everyone computes the block reward on their own with the same rules. The rule is that block reward starts from 50 and is cut in half every 210000 blocks. So for example when a node receives block #1534 they know its reward is 50BTC and when they receive block #697123 they know its reward is 6.25BTC and so on.

Quote
E.g. a miner submits a valid PoW for their block but rewards herself 25 BTC instead of 12.5. Does that miner get a chance to fix her mistake?
Reward is claimed as the output of the first transaction in each block which is known as coinbase transaction. This tx (and anything else about the block) can not change after the hash (that is used in PoW) was computed otherwise the hash will change.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18507


View Profile
August 23, 2021, 08:02:43 PM
 #6

A block with reward different from the current correct reward can not be valid. Doesn't matter if it's 1 Bitcoin more or even 1 satoshi less, if it's not precisely what it needs to be, such block is invalid.
This is not accurate.

The constraint set by the protocol is that if you sum all the outputs in a block (including the coinbase transaction), that number must be less than or equal to the sum of all the inputs in a block plus the block reward. This effectively sets an upper limit on how much a miner can reward themselves for finding a block, being the block reward plus the total fees. However, there is no lower limit. Miners are free to claim 1 satoshi less, 1 bitcoin less, or indeed, no reward at all, if they so choose. This has happened many times in the past, usually by mistake, but has resulted in the irreversible loss of a few dozen bitcoin.
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!