void wait( const fc::microseconds& timeout_us ) { _probe_complete_promise->wait( timeout_us ); }
void wait() { _probe_complete_promise->wait(); }
void on_connection_closed(graphene::net::peer_connection* originating_peer) override { _done = true; _probe_complete_promise->set_value(); }
void block_applied(const block_summary& summary) override { if (summary.block_data.block_num >= _block_number) _completion_promise->set_value(); }