In the context of a fully indexed, non-pruned Bitcoin Core node, I am exploring the duration and persistence of data related to disconnected blocks and their contained transactions due to a blockchain reorganization. Specifically, my query revolves around whether such data is retained indefinitely on disk by default, or if it is subject to any expiration or automatic deletion after a certain period.
Additionally, I am interested in understanding the usability of RPC methods, such as getblock
and gettransaction
, with respect to retrieving information about blocks and transactions that have become disconnected due to reorganization events. Is it always possible to utilize these methods to access data about such entities, or are there circumstances or timeframes post-reorganization that could limit this capability?