versionbits: docstrings for BIP9Info
This commit is contained in:
1 parent
7565563bc7
commit
60950f77c3
1 file changed
+6
@@ -48,11 +48,17 @@ struct BIP9Stats {
|
|||||||
|
|
||||||
/** Detailed status of an enabled BIP9 deployment */
|
/** Detailed status of an enabled BIP9 deployment */
|
||||||
struct BIP9Info {
|
struct BIP9Info {
|
||||||
|
/** Height at which current_state started */
|
||||||
int since{0};
|
int since{0};
|
||||||
|
/** String representing the current state */
|
||||||
std::string current_state{};
|
std::string current_state{};
|
||||||
|
/** String representing the next block's state */
|
||||||
std::string next_state{};
|
std::string next_state{};
|
||||||
|
/** For states where signalling is applicable, information about the signalling */
|
||||||
std::optional<BIP9Stats> stats;
|
std::optional<BIP9Stats> stats;
|
||||||
|
/** Which blocks signalled; empty if signalling is not applicable */
|
||||||
std::vector<bool> signalling_blocks;
|
std::vector<bool> signalling_blocks;
|
||||||
|
/** Height at which the deployment is active, if known. May be in the future. */
|
||||||
std::optional<int> active_since;
|
std::optional<int> active_since;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user