templates updated

This commit is contained in:
moneroexamples 2016-04-14 08:31:19 +08:00
parent 61902d9448
commit 890ce36121
3 changed files with 11 additions and 11 deletions

View File

@ -170,8 +170,8 @@ namespace xmreg {
{"timestamp" , timestamp_str},
{"age" , age_str},
{"hash" , blk_hash_str},
{"block_reward", fmt::format("{:0.4f} ({:0.4f})",
XMR_AMOUNT(coinbase_tx[1]),
{"block_reward", fmt::format("{:0.4f}/{:0.4f}",
XMR_AMOUNT(coinbase_tx[1] - sum_fees),
XMR_AMOUNT(sum_fees))},
{"notx" , fmt::format("{:d}", blk.tx_hashes.size())},
{"xmr_inputs" , fmt::format("{:0.2f}",

View File

@ -15,13 +15,13 @@
<table class="center">
<tr>
<td>height</td>
<td>Age (h:m:s)</td>
<td>age [h:m:s]</td>
<td>block hash</td>
<td>reward (fees)</td>
<td>no_of_txs</td>
<td>reward/fees</td>
<td>txs</td>
<td>inputs/outputs</td>
<td>mixin_range</td>
<td>size [kbytes]</td>
<td>mixins</td>
<td>size [kB]</td>
</tr>
{{#blocks}}
<tr>

View File

@ -5,12 +5,12 @@
<table class="center">
<tr>
<td>Age (h:m:s)</td>
<td>tx hash</td>
<td>tx fee</td>
<td>age [h:m:s]</td>
<td>transaction hash</td>
<td>fee</td>
<td>inputs/outputs</td>
<td>mixin</td>
<td>size [kbytes]</td>
<td>size [kB]</td>
</tr>
{{#mempooltxs}}
<tr>