SON conn. pool
This commit is contained in:
parent
aab2dac1c2
commit
863e8a0d91
1 changed files with 0 additions and 12 deletions
|
|
@ -67,7 +67,6 @@ public:
|
||||||
void send_sidechain_transactions(sidechain_type sidechain);
|
void send_sidechain_transactions(sidechain_type sidechain);
|
||||||
void settle_sidechain_transactions(sidechain_type sidechain);
|
void settle_sidechain_transactions(sidechain_type sidechain);
|
||||||
|
|
||||||
void schedule_rpc_client_selection();
|
|
||||||
void rpc_client_selection();
|
void rpc_client_selection();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
@ -162,15 +161,6 @@ peerplays_sidechain_plugin_impl::~peerplays_sidechain_plugin_impl() {
|
||||||
} catch (fc::exception &e) {
|
} catch (fc::exception &e) {
|
||||||
edump((e.to_detail_string()));
|
edump((e.to_detail_string()));
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
if (_rpc_client_selection_task.valid())
|
|
||||||
_rpc_client_selection_task.cancel_and_wait(__FUNCTION__);
|
|
||||||
} catch (fc::canceled_exception &) {
|
|
||||||
//Expected exception. Move along.
|
|
||||||
} catch (fc::exception &e) {
|
|
||||||
edump((e.to_detail_string()));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void peerplays_sidechain_plugin_impl::plugin_set_program_options(
|
void peerplays_sidechain_plugin_impl::plugin_set_program_options(
|
||||||
|
|
@ -337,8 +327,6 @@ void peerplays_sidechain_plugin_impl::plugin_startup() {
|
||||||
plugin.database().applied_block.connect([&](const signed_block &b) {
|
plugin.database().applied_block.connect([&](const signed_block &b) {
|
||||||
on_applied_block(b);
|
on_applied_block(b);
|
||||||
});
|
});
|
||||||
|
|
||||||
schedule_rpc_client_selection();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void peerplays_sidechain_plugin_impl::plugin_shutdown() {
|
void peerplays_sidechain_plugin_impl::plugin_shutdown() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue