Author

Topic: Question on code Re:block reward (Read 560 times)

sr. member
Activity: 378
Merit: 250
Knowledge could but approximate existence.
September 05, 2015, 07:18:54 PM
#8
Writcoin[™] . . . defines a blockbase™ transaction as being any coinbase transaction with only one, unspendable output.

One's efforts would prove fruitless within the network referenced above.
legendary
Activity: 2548
Merit: 1054
CPU Web Mining 🕸️ on webmining.io
September 03, 2015, 05:02:56 AM
#7
They will be immediately rejected and become orphans

The second you mine a block with different parameters that is accepted by other nodes running the same code, you are on your own fork
legendary
Activity: 1218
Merit: 1000
September 03, 2015, 03:27:17 AM
#6
The answer lies in consensus. Unless the network agrees with your changes, they will be rejected.
Code changed software will be rejected by others and its user are mining altcoins!
legendary
Activity: 1008
Merit: 1007
September 03, 2015, 03:12:31 AM
#5
The answer lies in consensus. Unless the network agrees with your changes, they will be rejected.
legendary
Activity: 996
Merit: 1013
September 03, 2015, 03:10:11 AM
#4
Every block that's mined has to be validated by peers. If it doesn't pass validation, then other miners won't build blocks on top of it. Obviously changing coinbase reward might be something that makes a block fail validation.

Thanks, that makes sense.

If anyone can point me to the files that contain the code, that does this magic. I'd appreciate it.

https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L1799-L1804
legendary
Activity: 1806
Merit: 1828
September 02, 2015, 07:59:21 PM
#3
Every block that's mined has to be validated by peers. If it doesn't pass validation, then other miners won't build blocks on top of it. Obviously changing coinbase reward might be something that makes a block fail validation.

Thanks, that makes sense.

If anyone can point me to the files that contain the code, that does this magic. I'd appreciate it.
legendary
Activity: 3136
Merit: 1116
September 02, 2015, 07:40:01 PM
#2
Every block that's mined has to be validated by peers. If it doesn't pass validation, then other miners won't build blocks on top of it. Obviously changing coinbase reward might be something that makes a block fail validation.
legendary
Activity: 1806
Merit: 1828
September 02, 2015, 07:08:26 PM
#1
I'm just curious, exactly what code in BTC and it's many clones, prevents someone from changing the block reward code, compile their own wallet, and mine at a higher reward?  I'm probably missing something very fundamental here, but the only stupid question is one that isn't asked. Cheesy




Jump to: