Esempio n. 1
0
 void on_connection_closed(graphene::net::peer_connection* originating_peer) override
 {
   _done = true;
   _probe_complete_promise->set_value();
 }
Esempio n. 2
0
 void block_applied(const block_summary& summary) override
 {
    if (summary.block_data.block_num >= _block_number)
       _completion_promise->set_value();
 }