Bitcoin full node and query server

May 17, 2021

View in context in the libbitcoin Slack #general mirror.

evoskuil21:32
It is possible that you could get two reorgs very close together, and end up completing the processing of the first one sent after competing processing of the second. This should be considered normal behavior and would simply appear like a reorg in the other direction. It’s even possible that the tracked chain could get shorter under this circumstance, and that a block you believe to be confirmed is actually unconfirmed. this would be resolved by the next reorg and is normal behavior, despite being rare. Race conditions are the nature of asynchronous programming.