What is the accepted methodology of checking the integrity of a chain?
If I poll my Geth/Parity node for block data using web3.js how can I confirm that the data returned is not going to be subject to a later reorganisation?
Is it simply a case of implementing some self-checking. I.E. fetching the block data again x hours in the future, and confirming the hashes etc match. If so, what are considered 'safe' parameters for stating that a block is definitely part of the chain?
Tools such as block explorers need to be fetching new data 'as close to as it happens' as possible so that they can present useful and insightful data, yet it is completely plausible that the data at the head of the chain could change.