mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Change RPC unl_default to unl_load & unl_network and add UNL bootstrapping.
This commit is contained in:
@@ -131,6 +131,8 @@ private:
|
||||
bool getSeedNodes(const NewcoinAddress& naNodePublic, seedNode& dstSeedNode);
|
||||
void setSeedNodes(const seedNode& snSource, bool bNext);
|
||||
|
||||
void validatorsResponse(const boost::system::error_code& err, std::string strResponse);
|
||||
|
||||
public:
|
||||
UniqueNodeList(boost::asio::io_service& io_service);
|
||||
|
||||
@@ -148,6 +150,10 @@ public:
|
||||
|
||||
bool nodeInUNL(const NewcoinAddress& naNodePublic);
|
||||
|
||||
void nodeBootstrap();
|
||||
bool nodeLoad();
|
||||
void nodeNetwork();
|
||||
|
||||
Json::Value getUnlJson();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user