remove caches from html template
This commit is contained in:
parent
ad91f74acd
commit
143018b5aa
1
main.cpp
1
main.cpp
|
@ -41,6 +41,7 @@ struct jsonresponse: public crow::response
|
||||||
int
|
int
|
||||||
main(int ac, const char* av[])
|
main(int ac, const char* av[])
|
||||||
{
|
{
|
||||||
|
|
||||||
// get command line options
|
// get command line options
|
||||||
xmreg::CmdLineOptions opts {ac, av};
|
xmreg::CmdLineOptions opts {ac, av};
|
||||||
|
|
||||||
|
|
|
@ -700,7 +700,6 @@ index2(uint64_t page_no = 0, bool refresh_page = false)
|
||||||
|
|
||||||
uint64_t tx_i {0};
|
uint64_t tx_i {0};
|
||||||
|
|
||||||
// this vector will go into block_tx cache
|
|
||||||
// tx_hash , txd_map
|
// tx_hash , txd_map
|
||||||
vector<pair<crypto::hash, mstch::node>> txd_pairs;
|
vector<pair<crypto::hash, mstch::node>> txd_pairs;
|
||||||
|
|
||||||
|
|
|
@ -111,14 +111,3 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{{#show_cache_times}}
|
|
||||||
<div class="center">
|
|
||||||
<h6 style="margin-top: 1px;color:#949490">
|
|
||||||
Tx details construction time: {{construction_time_total}} s
|
|
||||||
<br/>
|
|
||||||
includes {{construction_time_cached}} s from block cache ({{cache_hits}} hits)
|
|
||||||
and {{construction_time_non_cached}} s from non cache ({{cache_misses}} misses)
|
|
||||||
</h6>
|
|
||||||
</div>
|
|
||||||
{{/show_cache_times}}
|
|
||||||
|
|
|
@ -300,18 +300,4 @@
|
||||||
{{/with_ring_signatures}}
|
{{/with_ring_signatures}}
|
||||||
{{/have_raw_tx}}
|
{{/have_raw_tx}}
|
||||||
|
|
||||||
|
|
||||||
{{#show_cache_times}}
|
|
||||||
<div class="center">
|
|
||||||
{{#construction_time}}
|
|
||||||
<h6 style="margin-top: 1px;color:#949490">
|
|
||||||
Tx details construction time: {{construction_time}} s
|
|
||||||
{{#from_cache}}
|
|
||||||
<br/>Tx read from the tx cache
|
|
||||||
{{/from_cache}}
|
|
||||||
</h6>
|
|
||||||
{{/construction_time}}
|
|
||||||
</div>
|
|
||||||
{{/show_cache_times}}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue