what happens to spent bitcoins gained from a block of a soon to be dropped chain as a result of a fork?

0

lets say i gained bitcoins for mining a block and then spent them on a transaction, then later the chain im using gets replaced because of a longer chain. assuming the block difference is up to where i got my spent bitcoins, what will happen to the transactions and coins i gained and spent from mining in my dropped chain?

artemis

Posted 2017-11-17T16:23:49.987

Reputation: 3

Answers

1

all coinbase transactions are timelocked from when they are mined, so they are not spendable for a few days i believe. by that time, the block is near impossible to reverse and you can spend the new coins.

Sean Byrne

Posted 2017-11-17T16:23:49.987

Reputation: 26

Correct, they are not mature until 100 blocks have been mined on topMeshCollider 2017-11-17T17:33:00.897