SON conn. pool
This commit is contained in:
parent
75e6f9abd5
commit
54a7e5b757
3 changed files with 2 additions and 2 deletions
|
|
@ -245,6 +245,7 @@ bool bitcoin_rpc_client::walletpassphrase(const std::string &passphrase, uint32_
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t bitcoin_rpc_client::ping(rpc_connection &conn) const {
|
uint64_t bitcoin_rpc_client::ping(rpc_connection &conn) const {
|
||||||
|
ilog("!!!bitcoin_rpc_client::ping() ${url}", ("url", get_connection_url(conn)));
|
||||||
return std::numeric_limits<uint64_t>::max();
|
return std::numeric_limits<uint64_t>::max();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -122,6 +122,7 @@ std::string ethereum_rpc_client::eth_get_transaction_receipt(const std::string &
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t ethereum_rpc_client::ping(rpc_connection &conn) const {
|
uint64_t ethereum_rpc_client::ping(rpc_connection &conn) const {
|
||||||
|
ilog("!!!ethereum_rpc_client::ping() ${url}", ("url", get_connection_url(conn)));
|
||||||
return std::numeric_limits<uint64_t>::max();
|
return std::numeric_limits<uint64_t>::max();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -113,9 +113,7 @@ std::string hive_rpc_client::get_last_irreversible_block_num() {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t hive_rpc_client::ping(rpc_connection &conn) const {
|
uint64_t hive_rpc_client::ping(rpc_connection &conn) const {
|
||||||
|
|
||||||
ilog("!!!hive_rpc_client::ping() ${url}", ("url", get_connection_url(conn)));
|
ilog("!!!hive_rpc_client::ping() ${url}", ("url", get_connection_url(conn)));
|
||||||
|
|
||||||
const std::string reply = send_post_request(conn, "database_api.get_dynamic_global_properties", "", debug_rpc_calls);
|
const std::string reply = send_post_request(conn, "database_api.get_dynamic_global_properties", "", debug_rpc_calls);
|
||||||
if (!reply.empty()) {
|
if (!reply.empty()) {
|
||||||
std::stringstream ss(reply);
|
std::stringstream ss(reply);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue