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}, {"timestamp" , timestamp_str},
{"age" , age_str}, {"age" , age_str},
{"hash" , blk_hash_str}, {"hash" , blk_hash_str},
{"block_reward", fmt::format("{:0.4f} ({:0.4f})", {"block_reward", fmt::format("{:0.4f}/{:0.4f}",
XMR_AMOUNT(coinbase_tx[1]), XMR_AMOUNT(coinbase_tx[1] - sum_fees),
XMR_AMOUNT(sum_fees))}, 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}",

View File

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

View File

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