From 69e881a5978dce53357b36db577ea6fd9d1f076e Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Tue, 18 Jun 2019 11:41:13 -0400 Subject: [PATCH] Add description of NextBlockIsParameterTransition --- src/dynafed.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dynafed.h b/src/dynafed.h index 3c13443f05..8db3288dbd 100644 --- a/src/dynafed.h +++ b/src/dynafed.h @@ -6,7 +6,8 @@ #include #include - +/* Returns true if the next block would be the first block of an epoch with new + * parameters. It also returns the parameter set that is being transitioned to. */ bool NextBlockIsParameterTransition(const CBlockIndex* pindexPrev, const Consensus::Params& consensus, DynaFedParamEntry& winning_entry); /* Compute the next block's enforced parameters */