mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
refactoring: remove unused chainActive
This commit is contained in:
@@ -435,9 +435,6 @@ bool InvalidateBlock(CValidationState& state, const CChainParams& chainparams, C
|
||||
/** Remove invalidity status from a block and its descendants. */
|
||||
void ResetBlockFailureFlags(CBlockIndex* pindex) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
|
||||
|
||||
/** The currently-connected chain of blocks (protected by cs_main). */
|
||||
extern CChain& chainActive;
|
||||
|
||||
/** @returns the most-work chain. */
|
||||
CChain& ChainActive();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user