From 4aff7b3e3b9d2b6f4c9ef4dd42886ee8cc2b0003 Mon Sep 17 00:00:00 2001 From: Dan Janosik Date: Wed, 6 Dec 2017 10:50:41 -0500 Subject: [PATCH] clean up some mempool page confusion --- views/mempool.pug | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/views/mempool.pug b/views/mempool.pug index 8e9de61..0f1f38d 100644 --- a/views/mempool.pug +++ b/views/mempool.pug @@ -15,6 +15,8 @@ block content h1 Mempool Info hr + p Data from RPC command + a(href="https://bitcoin.org/en/developer-reference#getmempoolinfo") getmempoolinfo table(class="table") tr th(class="table-active properties-header") Transaction Count @@ -22,7 +24,7 @@ block content tr - var scales = [ {val:1000000000, name:"GB"}, {val:1000000, name:"MB"}, {val:1000, name:"kB"} ]; - var scaleDone = false; - th(class="table-active properties-header") Size + th(class="table-active properties-header") Tx Size td(class="monospace") span #{getmempoolinfo.bytes.toLocaleString()} bytes each item in scales @@ -34,7 +36,7 @@ block content tr - var scales = [ {val:1000000000, name:"GB"}, {val:1000000, name:"MB"}, {val:1000, name:"kB"} ]; - var scaleDone = false; - th(class="table-active properties-header") Size + th(class="table-active properties-header") Total Size td(class="monospace") span #{getmempoolinfo.usage.toLocaleString()} bytes each item in scales