mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
checking for conection does not work yet as intended. remming it out.
This commit is contained in:
parent
c388078432
commit
c5c3fed647
2 changed files with 9 additions and 9 deletions
16
src/page.h
16
src/page.h
|
@ -62,14 +62,14 @@ namespace xmreg {
|
||||||
index(uint64_t page_no = 0, bool refresh_page = false)
|
index(uint64_t page_no = 0, bool refresh_page = false)
|
||||||
{
|
{
|
||||||
|
|
||||||
bool is_connected = rpc.check_connection();
|
// bool is_connected = rpc.check_connection();
|
||||||
|
//
|
||||||
cout << "check connection: " << is_connected << endl;
|
// cout << "check connection: " << is_connected << endl;
|
||||||
|
//
|
||||||
if (!is_connected)
|
// if (!is_connected)
|
||||||
{
|
// {
|
||||||
return "Connection to the Monero demon does not exist or was lost!";
|
// return "Connection to the Monero demon does not exist or was lost!";
|
||||||
}
|
// }
|
||||||
|
|
||||||
//get current server timestamp
|
//get current server timestamp
|
||||||
server_timestamp = std::time(nullptr);
|
server_timestamp = std::time(nullptr);
|
||||||
|
|
|
@ -23,7 +23,7 @@ namespace xmreg
|
||||||
class rpccalls
|
class rpccalls
|
||||||
{
|
{
|
||||||
string deamon_url {"http:://127.0.0.1:18081"};
|
string deamon_url {"http:://127.0.0.1:18081"};
|
||||||
uint64_t timeout_time {20000};
|
uint64_t timeout_time {200000};
|
||||||
|
|
||||||
epee::net_utils::http::url_content url;
|
epee::net_utils::http::url_content url;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue