python script updated

devel
moneroexamples 5 years ago
parent 370f28b02e
commit cbbf1f9270

@ -34,7 +34,7 @@
"wallet_import" : "wallet_import" :
{ {
"_comment": "if fee is 0, then importing is free. fee is in base 1e12, e.g., 0.1 xmr is 0.1 x 1e12 = 100000000000", "_comment": "if fee is 0, then importing is free. fee is in base 1e12, e.g., 0.1 xmr is 0.1 x 1e12 = 100000000000",
"fee" : 100000000000, "fee" : 0,
"testnet" : "testnet" :
{ {
"address" : "9tzmPMTViHYM3z6NAgQni1Qm1Emzxy5hQFibPgWD3LVTAz91yok5Eni1pH6zKhBHzpTU15GZooPHSGHXFvFuXEdmEG2sWAZ", "address" : "9tzmPMTViHYM3z6NAgQni1Qm1Emzxy5hQFibPgWD3LVTAz91yok5Eni1pH6zKhBHzpTU15GZooPHSGHXFvFuXEdmEG2sWAZ",

@ -16,7 +16,6 @@ import monero
# openmonero backend url # openmonero backend url
om_url = "http://127.0.0.1:1984/" om_url = "http://127.0.0.1:1984/"
#om_url = "http://139.162.60.17:1984/"
async def make_request(url, payload=""): async def make_request(url, payload=""):

@ -46,7 +46,8 @@ CurrentBlockchainStatus::monitor_blockchain()
break; break;
} }
OMVLOG1 << "PoolQueue size: " //OMVLOG1 << "PoolQueue size: "
OMINFO << "PoolQueue size: "
<< TP::DefaultThreadPool::queueSize(); << TP::DefaultThreadPool::queueSize();
update_current_blockchain_height(); update_current_blockchain_height();

Loading…
Cancel
Save