mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
adding some code that might be useful later
This commit is contained in:
parent
ad2defbab7
commit
ea0a518af7
1 changed files with 6 additions and 1 deletions
|
@ -2730,7 +2730,7 @@ public:
|
||||||
"Its prefix is: {:s}",
|
"Its prefix is: {:s}",
|
||||||
data_prefix);
|
data_prefix);
|
||||||
|
|
||||||
cout << msg << endl;
|
cerr << msg << endl;
|
||||||
|
|
||||||
return string(msg);
|
return string(msg);
|
||||||
}
|
}
|
||||||
|
@ -2739,6 +2739,11 @@ public:
|
||||||
crypto::hash tx_prefix_hash_from_blob;
|
crypto::hash tx_prefix_hash_from_blob;
|
||||||
cryptonote::transaction tx_from_blob;
|
cryptonote::transaction tx_from_blob;
|
||||||
|
|
||||||
|
// std::stringstream ss;
|
||||||
|
// ss << tx_data_blob;
|
||||||
|
// binary_archive<false> ba(ss);
|
||||||
|
// serialization::serialize(ba, tx_from_blob);
|
||||||
|
|
||||||
if (!cryptonote::parse_and_validate_tx_from_blob(tx_data_blob,
|
if (!cryptonote::parse_and_validate_tx_from_blob(tx_data_blob,
|
||||||
tx_from_blob,
|
tx_from_blob,
|
||||||
tx_hash_from_blob,
|
tx_hash_from_blob,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue