monero/src/rpc
anonimal d099658522
bootstrap_daemon: resolve CID 203915 (UNCAUGHT_EXCEPT)
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-09-07 00:29:09 +00:00
..
bootstrap_daemon.cpp bootstrap_daemon: resolve CID 203915 (UNCAUGHT_EXCEPT) 2019-09-07 00:29:09 +00:00
bootstrap_daemon.h bootstrap_daemon: resolve CID 203915 (UNCAUGHT_EXCEPT) 2019-09-07 00:29:09 +00:00
CMakeLists.txt daemon: automatic public nodes discovering and bootstrap daemon switching 2019-08-27 12:01:49 +00:00
core_rpc_server_commands_defs.h wallet, rpc: add a release field to get_version 2019-08-26 19:28:25 +00:00
core_rpc_server_error_codes.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
core_rpc_server.cpp Merge pull request #5799 2019-09-04 09:27:02 -05:00
core_rpc_server.h daemon: automatic public nodes discovering and bootstrap daemon switching 2019-08-27 12:01:49 +00:00
daemon_handler.cpp Merge pull request #5487 2019-08-14 15:26:55 -05:00
daemon_handler.h Merge pull request #5207 2019-03-24 19:33:36 +02:00
daemon_messages.cpp Merge pull request #5207 2019-03-24 19:33:36 +02:00
daemon_messages.h Merge pull request #5207 2019-03-24 19:33:36 +02:00
daemon_rpc_version.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
instanciations.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
message_data_structs.h Make difficulty 128 bit instead of 64 bit 2019-03-24 21:03:19 +00:00
message.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
message.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
rpc_args.cpp Add IPv6 support 2019-07-31 20:04:57 -04:00
rpc_args.h Add IPv6 support 2019-07-31 20:04:57 -04:00
rpc_handler.cpp rpc: work around a GCC 7.4.0 (at least) bug 2019-06-12 22:27:07 +00:00
rpc_handler.h rpc: improve get_output_distribution 2019-04-25 16:49:29 +00:00
zmq_server.cpp zmq: MacPorts latest fix 2019-07-01 23:13:55 -04:00
zmq_server.h Update 2019 copyright 2019-03-05 22:05:34 +01:00