Thank you Filip, that was very clearly explained.
No, a hard fork is just a change of rules where you change a rule that was invalid before the fork. ex increasing the blocksize to 2mb (wich is invalid before the fork) while stale blocks are Blocks which were successfully mined but which arenāt included on the current blockchain.
So stale blocks are valid they are just not part off the blockchain anymore
Hello,
Any tips on uploading atom.
Do I need github?
D
Yes, github is a good place to put your code online.
Thank you for your reply.
Have managed to download a text editor called sublime text.
Now onto HTML.
Have a great weekend.
D
@filip Great lesson on Accidental forks. I was curious on a stale block when the transactions are returned to the mempool. Many/most of the transactions could most likely be included in the actual block that was accepted by the network. What happens to those transactions (from the stale block) when they are returned to the mempool but were already spent (those included in the valid block)? My guess would be that they would show as spent and be disregarded by the mempool?
Really enjoying the academy!
yes, all nodes will eventually sync with the true state of the blockchain.
Yes you are correct. For a more step by step picture, you can read this: https://bitcoin.stackexchange.com/questions/92694/how-does-bitcore-handle-transactions-in-orphan-block-situation
Hi filip, what happens with the compensation for the miner who gets left with the stale block?
do they get a reward also? they receive it and lose it right away?
thanks
they donāt recieve a blockreward. This is also the reason that miners need to wait for 100blocks until they canāt spend this.
Hi Filip
Related question to this,
WRT āthis is one of the reasons you should wait 6 confirmations.ā Are there any 6-block confirmation Algorithms installed in current wallets to prevent the tx cancellation accident by slate block?
Yes, a lot of wallets wonāt let you spend your money unless you got more than 6 confirmations. Almost every wallet will display a warning when you are receiving money that the money you are receiving is āprocessingā or āin holdā while itās confirmations is lower than 6. Itās very very common.
Hey Filip, So is bitcoin cash a fork that was caused by miners or nodes who didnāt update from bitcoin?
consensus rules were expanded, (bigger blocksize) by a part of the community (blocksize debate) wich has split the community so miners could choose wich chain they want to mine and use. (Aug, 1 2017)
Thank you for your answer.
Excellent explanation of hard forks and soft forks. Thank you!
Thanks Filip for all the good information on forks!
I believe he said you donāt lose your money, but your transaction is removed from the stale block and re-added back to the mempool.
I saw a video on youtube by Hayden Otto (Bcash supporter) doing just that. I guess thatās why BTC is not good for payment if bad actors figure it out.
@filip
Question about stale blocks transaction. When the block drops, do the transactions become invalid, or do they go back to the mempool?