diff --git a/src/page.h b/src/page.h index 6091479..b2ec71e 100644 --- a/src/page.h +++ b/src/page.h @@ -938,6 +938,7 @@ namespace xmreg { static_cast(txd.size) / 1024.0)}, {"tx_fee" , fmt::format("{:0.12f}", XMR_AMOUNT(txd.fee))}, {"blk_timestamp" , blk_timestamp}, + {"blk_timestamp_uint" , blk.timestamp}, {"delta_time" , age.first}, {"inputs_no" , txd.input_key_imgs.size()}, {"has_inputs" , !txd.input_key_imgs.empty()}, @@ -1953,7 +1954,7 @@ namespace xmreg { txd.mixin_no = get_mixin_no(tx); txd.fee = 0; - + if (!coinbase && tx.vin.size() > 0) { // check if not miner tx diff --git a/src/templates/tx.html b/src/templates/tx.html index e2231d2..f8ce16b 100644 --- a/src/templates/tx.html +++ b/src/templates/tx.html @@ -27,8 +27,11 @@ + + +
Block: {{blk_height}}Timestamp: {{blk_timestamp_uint}} Timestamp [UCT]: {{blk_timestamp}} Age [y:d:h:m:s]: {{delta_time}}
Fee: {{tx_fee}} Tx size: {{tx_size}} kB