removeForReorg calls once-per-disconnect-> once-per-reorg

This commit is contained in:
Matt Corallo
2015-09-09 16:31:20 -07:00
committed by Suhas Daftuar
parent 474b84a741
commit bb8ea1f630
2 changed files with 15 additions and 9 deletions

View File

@@ -467,7 +467,7 @@ bool InvalidateBlock(CValidationState& state, const Consensus::Params& consensus
/** Remove invalidity status from a block and its descendants. */
bool ReconsiderBlock(CValidationState& state, CBlockIndex *pindex);
/** The currently-connected chain of blocks. */
/** The currently-connected chain of blocks (protected by cs_main). */
extern CChain chainActive;
/** Global variable that points to the active CCoinsView (protected by cs_main) */