Skip to content

Commit 60950f7

Browse files
committed
versionbits: docstrings for BIP9Info
1 parent 7565563 commit 60950f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/versionbits.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,17 @@ struct BIP9Stats {
4848

4949
/** Detailed status of an enabled BIP9 deployment */
5050
struct BIP9Info {
51+
/** Height at which current_state started */
5152
int since{0};
53+
/** String representing the current state */
5254
std::string current_state{};
55+
/** String representing the next block's state */
5356
std::string next_state{};
57+
/** For states where signalling is applicable, information about the signalling */
5458
std::optional<BIP9Stats> stats;
59+
/** Which blocks signalled; empty if signalling is not applicable */
5560
std::vector<bool> signalling_blocks;
61+
/** Height at which the deployment is active, if known. May be in the future. */
5662
std::optional<int> active_since;
5763
};
5864

0 commit comments

Comments
 (0)