mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
checking what's happening with mempool json
This commit is contained in:
parent
29ff8f7838
commit
9a8712dd43
2 changed files with 8 additions and 3 deletions
|
@ -4347,6 +4347,11 @@ private:
|
||||||
{
|
{
|
||||||
transaction tx;
|
transaction tx;
|
||||||
|
|
||||||
|
if (_tx_info.id_hash != "edb1e71c24a6a3c1ce101d68c7525d6422c09d8bfe4a8f74adeb04f118211072")
|
||||||
|
continue;
|
||||||
|
|
||||||
|
cout << "\n\n\n_tx_info.id_hash:" << _tx_info.id_hash << endl;
|
||||||
|
|
||||||
if (!xmreg::make_tx_from_json(_tx_info.tx_json, tx))
|
if (!xmreg::make_tx_from_json(_tx_info.tx_json, tx))
|
||||||
{
|
{
|
||||||
cerr << "Cant make tx from _tx_info.tx_json" << endl;
|
cerr << "Cant make tx from _tx_info.tx_json" << endl;
|
||||||
|
|
|
@ -1023,7 +1023,7 @@ make_tx_from_json(const string& json_str, transaction& tx)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//cout << "\n\n j.dump()" << j.dump(4) << endl;
|
cout << "\n\n j.dump()" << j.dump(4) << endl;
|
||||||
|
|
||||||
// get version and unlock time from json
|
// get version and unlock time from json
|
||||||
tx.version = j["version"].get<size_t>();
|
tx.version = j["version"].get<size_t>();
|
||||||
|
@ -1248,9 +1248,9 @@ make_tx_from_json(const string& json_str, transaction& tx)
|
||||||
} // j.find("rctsig_prunable") != j.end()
|
} // j.find("rctsig_prunable") != j.end()
|
||||||
|
|
||||||
|
|
||||||
//cout << "\nreconstructed: \n" << j.dump(4) << endl;
|
|
||||||
|
|
||||||
//cout << "From reconstructed tx: " << obj_to_json_str(tx) << endl;
|
|
||||||
|
cout << "From reconstructed tx: " << obj_to_json_str(tx) << endl;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue