add mempool reffresh time to mempool.html
This commit is contained in:
parent
5aad31c420
commit
888e81de93
|
@ -826,7 +826,8 @@ namespace xmreg
|
|||
// initalise page tempate map with basic info about mempool
|
||||
mstch::map context {
|
||||
{"mempool_size" , total_no_of_mempool_tx}, // total no of mempool txs
|
||||
{"show_cache_times" , show_cache_times}
|
||||
{"show_cache_times" , show_cache_times},
|
||||
{"mempool_refresh_time" , MempoolStatus::mempool_refresh_time}
|
||||
};
|
||||
|
||||
context.emplace("mempooltxs" , mstch::array());
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<h2 style="margin-bottom: 0px">
|
||||
Memory pool
|
||||
</h2>
|
||||
<h4 style="font-size: 14px; margin-top: 0px">(no of txs: {{mempool_size}}, size: {{mempool_size_kB}} kB)</h4>
|
||||
<h4 style="font-size: 14px; margin-top: 0px">(no of txs: {{mempool_size}}; size: {{mempool_size_kB}} kB; refreshed every {{ mempool_refresh_time }} seconds)</h4>
|
||||
<div class="center">
|
||||
|
||||
<table class="center" style="width:80%">
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
{{#no_results}}
|
||||
<h4 style="margin-bottom:2px">Nothing in the blockchain has been found that matches the search term :-(</h4>
|
||||
<h5 style="margin:2px">Note: there might be 10 block delay between what can be searchable (e.g., key images)</h5>
|
||||
<h5 style="margin:2px">Note: there might be some delay when newest txs become searchable</h5>
|
||||
{{/no_results}}
|
||||
|
||||
{{#to_many_results}}
|
||||
|
|
Loading…
Reference in New Issue