Skip to content

Commit 37f90ba

Browse files
committed
Add description of NextBlockIsParameterTransition
1 parent d9387cb commit 37f90ba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/dynafed.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
#include <chainparams.h>
77
#include <primitives/block.h>
88

9-
9+
/* Returns true if the next block would be the first block of an epoch with new
10+
* parameters. It also returns the parameter set that is being transitioned to. */
1011
bool NextBlockIsParameterTransition(const CBlockIndex* pindexPrev, const Consensus::Params& consensus, DynaFedParamEntry& winning_entry);
1112

1213
/* Compute the next block's enforced parameters */

0 commit comments

Comments
 (0)