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 Jack Grigg
parent 5aa165d557
commit fe5cef0555
2 changed files with 18 additions and 8 deletions

View File

@@ -514,7 +514,7 @@ bool InvalidateBlock(CValidationState& state, CBlockIndex *pindex);
/** 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) */