Skip to content

Commit ca3a1e6

Browse files
committed
[Validation] Remove unused DisconnectBlock function definition.
1 parent 544b6bc commit ca3a1e6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/validation.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,6 @@ bool ReadBlockFromDisk(CBlock& block, const CBlockIndex* pindex);
323323

324324
/** Functions for validating blocks and updating the block tree */
325325

326-
/** Undo the effects of this block (with given index) on the UTXO set represented by coins.
327-
* In case pfClean is provided, operation will try to be tolerant about errors, and *pfClean
328-
* will be true if no problems were found. Otherwise, the return value will be false in case
329-
* of problems. Note that in any case, coins may be modified. */
330-
bool DisconnectBlock(CBlock& block, CValidationState& state, CBlockIndex* pindex, CCoinsViewCache& coins, bool* pfClean = NULL);
331-
332326
/** Apply the effects of this block (with given index) on the UTXO set represented by coins */
333327
bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pindex, CCoinsViewCache& coins, bool fJustCheck, bool fAlreadyChecked = false);
334328

0 commit comments

Comments
 (0)