mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
* Applying patch file changes to hpcore runtime after patch file change detection. * Removing unl sync functionality. * Removing subjecting unl changeset to consensus.
25 lines
469 B
C++
25 lines
469 B
C++
#ifndef _HP_UNL_
|
|
#define _HP_UNL_
|
|
|
|
#include "pchheader.hpp"
|
|
#include "p2p/p2p.hpp"
|
|
|
|
/**
|
|
* Manages the UNL public keys of this node.
|
|
*/
|
|
namespace unl
|
|
{
|
|
|
|
size_t count();
|
|
std::set<std::string> get();
|
|
std::string get_json();
|
|
bool exists(const std::string &bin_pubkey);
|
|
int init();
|
|
void update_json_list();
|
|
std::string calculate_hash(const std::set<std::string> &new_list);
|
|
void update_unl_changes_from_patch();
|
|
|
|
} // namespace unl
|
|
|
|
#endif
|