aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/bootstrap_daemon.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-01-21bootstrap_daemon: proxy configuration supportxiphon1-2/+19
2020-11-17rpc: skip non-synced bootstrap daemons in --no-sync mode tooxiphon1-5/+5
2020-02-28daemon: auto public nodes - cache and prioritize most stable nodesxiphon1-11/+29
2019-09-07bootstrap_daemon: resolve CID 203915 (UNCAUGHT_EXCEPT)anonimal1-1/+1
The issue is triggered by the captured `this` in RPC server, which passes reference to throwable `core_rpc_server`: `core_rpc_server.cpp:164: m_bootstrap_daemon.reset(new bootstrap_daemon([this]{ return get_random_public_node(); }));` The solution is to simply remove noexcept from the remaining `bootstrap_daemon` constructors because noexcept is false in this context. >"An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::asio::invalid_service_owner>>" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate()."
2019-08-27daemon: automatic public nodes discovering and bootstrap daemon switchingxiphon1-0/+95