Skip to content

Commit 69e881a

Browse files
committed
Add description of NextBlockIsParameterTransition
1 parent a7bb36f commit 69e881a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)