hardfork
time_t forked_time;
time_t update_time;
uint64_t window_size;
uint8_t default_threshold_percent;
uint8_t original_version;
uint64_t original_version_till_height;
std::vector<Params> heights;
std::deque<uint8_t> versions; /* rolling window of the last N blocks' versions */
unsigned int last_versions[256]; /* count of the block versions in the last N blocks */
uint32_t current_fork_index;
add_fork
init
check
check_for_height
add
reorganize_from_block_height
reorganize_from_chain_height
get_state
get
get_ideal_version
get_ideal_version
get_next_version
get_current_version
get_earliest_ideal_height_for_version
get_voting_info
get_window_size
get_block_version
do_check
do_check_for_height
get_voted_fork_index
get_effective_version
rescan_from_block_height
Last updated
Was this helpful?