Bitcoin Core 29.99.0
P2P Digital Currency
Public Attributes | List of all members
BIP9Stats Struct Reference

Display status of an in-progress BIP9 softfork. More...

#include <versionbits.h>

Public Attributes

uint32_t period {0}
 Length of blocks of the BIP9 signalling period. More...
 
uint32_t threshold {0}
 Number of blocks with the version bit set required to activate the softfork. More...
 
uint32_t elapsed {0}
 Number of blocks elapsed since the beginning of the current period. More...
 
uint32_t count {0}
 Number of blocks with the version bit set since the beginning of the current period. More...
 
bool possible {false}
 False if there are not enough blocks left in this period to pass activation threshold. More...
 

Detailed Description

Display status of an in-progress BIP9 softfork.

Definition at line 36 of file versionbits.h.

Member Data Documentation

◆ count

uint32_t BIP9Stats::count {0}

Number of blocks with the version bit set since the beginning of the current period.

Definition at line 44 of file versionbits.h.

◆ elapsed

uint32_t BIP9Stats::elapsed {0}

Number of blocks elapsed since the beginning of the current period.

Definition at line 42 of file versionbits.h.

◆ period

uint32_t BIP9Stats::period {0}

Length of blocks of the BIP9 signalling period.

Definition at line 38 of file versionbits.h.

◆ possible

bool BIP9Stats::possible {false}

False if there are not enough blocks left in this period to pass activation threshold.

Definition at line 46 of file versionbits.h.

◆ threshold

uint32_t BIP9Stats::threshold {0}

Number of blocks with the version bit set required to activate the softfork.

Definition at line 40 of file versionbits.h.


The documentation for this struct was generated from the following file: