Reward in case of fork

0

Hi I would like to ask you guys for some details about getting reward from minning block when there is a fork - two miners get different blocks at the same time. Both of these block will have the coinbase transaction. Does it means that both of users wallets will have information about this transaction? If yes what will happen when both users will quickly go to bitcoin's ATM and take fiat currency from this reward?

Konrad

Posted 2019-03-29T10:05:17.390

Reputation: 11

Answers

1

Does it means that both of users wallets will have information about this transaction?

Both miners will see their own coinbase outputs in their wallet software, yes. However, the two coinbase transactions will be separate.

If yes what will happen when both users will quickly go to bitcoin's ATM and take fiat currency from this reward?

They cannot do this. Coinbase outputs are immature, and unspendable, for 100 blocks. After 100 blocks, a fork should ideally be resolved already. If it is not resolved, then only the miner on the same side of the fork as the ATM operator will be able to access his coins, as the ATM will not be aware of the coins on the other side of the fork.

Raghav Sood

Posted 2019-03-29T10:05:17.390

Reputation: 10 897

Thanks, so one more question, what will happen that we have this fork and in one block we send for example 10 BTC to someone else and this person will immediately go to the ATM (which will be in the same side as our destination address which right now get the money), pickup the money and after few block this chain will be depracated (there will be other longer chain?Konrad 2019-03-29T10:50:30.223

@Konrad simply: the user will have the money, but the ATM operator will no longer have the BTC payment. This is why waiting for a few confirmations is highly recommended, especially for larger payments.chytrik 2019-03-29T19:33:34.267

I don't understand, what does it mean that "the ATM operator will no longer have the BTC payment", so it will be possible to cash out money or not? :)Konrad 2019-04-02T05:06:21.063