Add an RPC call and daemon command to get info on hard fork voting
This commit is contained in:
@@ -160,6 +160,9 @@ namespace cryptonote
|
||||
void set_show_time_stats(bool stats) { m_show_time_stats = stats; }
|
||||
|
||||
HardFork::State get_hard_fork_state() const;
|
||||
uint8_t get_current_hard_fork_version() const { return m_hardfork.get_current_version(); }
|
||||
uint8_t get_ideal_hard_fork_version() const { return m_hardfork.get_ideal_version(); }
|
||||
bool get_hard_fork_voting_info(uint8_t version, uint32_t &window, uint32_t &votes, uint32_t &threshold, uint8_t &voting) const;
|
||||
|
||||
BlockchainDB& get_db()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user