diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-04-04 12:59:23 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-04-04 12:59:23 -0500 |
commit | 0150a480fd108d3c04b4926a7c3e3b9a3dc59bec (patch) | |
tree | e917b158d9538c53c3d8842b52a2287833a2f82d /src/rpc/core_rpc_server.h | |
parent | Merge pull request #6356 (diff) | |
parent | daemon: auto public nodes - cache and prioritize most stable nodes (diff) | |
download | monero-0150a480fd108d3c04b4926a7c3e3b9a3dc59bec.tar.xz |
Merge pull request #6357
42a7a4d daemon: auto public nodes - cache and prioritize most stable nodes (xiphon)
Diffstat (limited to 'src/rpc/core_rpc_server.h')
-rw-r--r-- | src/rpc/core_rpc_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.h b/src/rpc/core_rpc_server.h index d82ab6af4..3c404bbd8 100644 --- a/src/rpc/core_rpc_server.h +++ b/src/rpc/core_rpc_server.h @@ -267,7 +267,7 @@ private: //utils uint64_t get_block_reward(const block& blk); bool fill_block_header_response(const block& blk, bool orphan_status, uint64_t height, const crypto::hash& hash, block_header_response& response, bool fill_pow_hash); - boost::optional<std::string> get_random_public_node(); + std::map<std::string, bool> get_public_nodes(uint32_t credits_per_hash_threshold = 0); bool set_bootstrap_daemon(const std::string &address, const std::string &username_password); bool set_bootstrap_daemon(const std::string &address, const boost::optional<epee::net_utils::http::login> &credentials); enum invoke_http_mode { JON, BIN, JON_RPC }; |