|
|
@ -220,7 +220,7 @@ namespace xmreg {
|
|
|
|
{"block_reward", fmt::format("{:0.4f}/{:0.4f}",
|
|
|
|
{"block_reward", fmt::format("{:0.4f}/{:0.4f}",
|
|
|
|
XMR_AMOUNT(coinbase_tx[1] - sum_fees),
|
|
|
|
XMR_AMOUNT(coinbase_tx[1] - sum_fees),
|
|
|
|
XMR_AMOUNT(sum_fees))},
|
|
|
|
XMR_AMOUNT(sum_fees))},
|
|
|
|
{"fees" , fmt::format("{:0.4f}", XMR_AMOUNT(sum_fees))},
|
|
|
|
{"fees" , fmt::format("{:0.3f}", XMR_AMOUNT(sum_fees))},
|
|
|
|
{"notx" , fmt::format("{:d}", blk.tx_hashes.size())},
|
|
|
|
{"notx" , fmt::format("{:d}", blk.tx_hashes.size())},
|
|
|
|
{"xmr_inputs" , fmt::format("{:0.2f}",
|
|
|
|
{"xmr_inputs" , fmt::format("{:0.2f}",
|
|
|
|
XMR_AMOUNT(sum_xmr_in_out[0]))},
|
|
|
|
XMR_AMOUNT(sum_xmr_in_out[0]))},
|
|
|
@ -314,7 +314,7 @@ namespace xmreg {
|
|
|
|
{"timestamp" , xmreg::timestamp_to_str(_tx_info.receive_time)},
|
|
|
|
{"timestamp" , xmreg::timestamp_to_str(_tx_info.receive_time)},
|
|
|
|
{"age" , age_str},
|
|
|
|
{"age" , age_str},
|
|
|
|
{"hash" , fmt::format("{:s}", _tx_info.id_hash)},
|
|
|
|
{"hash" , fmt::format("{:s}", _tx_info.id_hash)},
|
|
|
|
{"fee" , fmt::format("{:0.4f}", XMR_AMOUNT(_tx_info.fee))},
|
|
|
|
{"fee" , fmt::format("{:0.3f}", XMR_AMOUNT(_tx_info.fee))},
|
|
|
|
{"xmr_inputs" , fmt::format("{:0.2f}", XMR_AMOUNT(sum_inputs))},
|
|
|
|
{"xmr_inputs" , fmt::format("{:0.2f}", XMR_AMOUNT(sum_inputs))},
|
|
|
|
{"xmr_outputs" , fmt::format("{:0.2f}", XMR_AMOUNT(sum_outputs))},
|
|
|
|
{"xmr_outputs" , fmt::format("{:0.2f}", XMR_AMOUNT(sum_outputs))},
|
|
|
|
{"mixin" , fmt::format("{:d}", mixin_numbers.at(0) - 1)},
|
|
|
|
{"mixin" , fmt::format("{:d}", mixin_numbers.at(0) - 1)},
|
|
|
|