Is there any way to detect blockchain fork using bitcoind and RPC? I would like to suspend accepting incoming transactions during blockchain forks longer than or close to my level of required confirmations (i.e. 6). AFAIK client has to track all branches so this information is available in it. I think it could be important failsafe measure especially in light of ongoing discussion about replacing transactions with new ones with higher fee.