mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
block info added
This commit is contained in:
parent
a61e35d4a2
commit
05f032ee36
1 changed files with 4 additions and 0 deletions
|
@ -1883,6 +1883,9 @@ show_ringmemberstx_jsonhex(string const& tx_hash_str)
|
|||
tx_json["hash"] = tx_hash_str;
|
||||
tx_json["hex"] = tx_hex;
|
||||
tx_json["nettype"] = static_cast<size_t>(nettype);
|
||||
tx_json["is_ringct"] = (tx.version > 1);
|
||||
tx_json["rct_type"] = tx.rct_signatures.type;
|
||||
|
||||
tx_json["_comment"] = "Just a placeholder for some comment if needed later";
|
||||
|
||||
// add placeholder for sender and recipient details
|
||||
|
@ -1960,6 +1963,7 @@ show_ringmemberstx_jsonhex(string const& tx_hash_str)
|
|||
tx_json["block"] = epee::string_tools
|
||||
::buff_to_hex_nodelimer(complete_block_data_str);
|
||||
|
||||
tx_json["block_version"] = json {blk.major_version, blk.minor_version};
|
||||
|
||||
tx_json["inputs"] = json::array();
|
||||
|
||||
|
|
Loading…
Reference in a new issue