#ifndef _HP_UNL_ #define _HP_UNL_ #include "pchheader.hpp" #include "p2p/p2p.hpp" #include "usr/usr.hpp" /** * Manages the UNL public keys of this node. */ namespace unl { size_t count(); const std::set get(); const std::string get_json(); bool exists(const std::string &bin_pubkey); int init(); void update_unl_changes_from_patch(); void update_roundtime_stats(const std::list &proposals); uint32_t get_majority_roundtime(); bool update_unl_list(const std::set &new_list); const std::string prepare_json_list(const std::set &new_list); } // namespace unl #endif