Add unit tests for chain syncing (#87)

This commit is contained in:
Lee *!* Clagett
2024-01-22 14:17:20 -05:00
committed by Lee *!* Clagett
parent c400c9ef8a
commit e477c174e2
11 changed files with 939 additions and 16 deletions

View File

@@ -513,6 +513,13 @@ namespace rpc
raise_abort_process();
}
void* context::zmq_context() const
{
if (ctx == nullptr)
return nullptr;
return ctx->comm.get();
}
std::string const& context::daemon_address() const
{
if (ctx == nullptr)