From 60950f77c35e54e2884cfc14ab67623f3e325099 Mon Sep 17 00:00:00 2001 From: Anthony Towns Date: Fri, 14 Mar 2025 13:38:53 +1000 Subject: [PATCH] versionbits: docstrings for BIP9Info --- src/versionbits.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/versionbits.h b/src/versionbits.h index 2bb64acfa2..b3d82e2aac 100644 --- a/src/versionbits.h +++ b/src/versionbits.h @@ -48,11 +48,17 @@ struct BIP9Stats { /** Detailed status of an enabled BIP9 deployment */ struct BIP9Info { + /** Height at which current_state started */ int since{0}; + /** String representing the current state */ std::string current_state{}; + /** String representing the next block's state */ std::string next_state{}; + /** For states where signalling is applicable, information about the signalling */ std::optional stats; + /** Which blocks signalled; empty if signalling is not applicable */ std::vector signalling_blocks; + /** Height at which the deployment is active, if known. May be in the future. */ std::optional active_since; };