From 2b55ee1e07ec89ad910f918934e6f10eb262e997 Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 12 Jan 2021 16:41:54 +0700 Subject: [PATCH] Adding CoreRPC "Minimum fee" to the dashboard fixes #171 --- .../app/dashboard/dashboard.component.html | 12 +- frontend/src/locale/messages.xlf | 823 +++++++++--------- 2 files changed, 430 insertions(+), 405 deletions(-) diff --git a/frontend/src/app/dashboard/dashboard.component.html b/frontend/src/app/dashboard/dashboard.component.html index a78092376..7b4816361 100644 --- a/frontend/src/app/dashboard/dashboard.component.html +++ b/frontend/src/app/dashboard/dashboard.component.html @@ -149,6 +149,10 @@
+ + + +
@@ -158,9 +162,15 @@ +
+
Minimum fee
+

+ {{ mempoolInfoData.value.memPoolInfo.mempoolminfee * 100000 | number : '1.1-1' }} sat/vB () +

+
Mempool size
-

+

{{ mempoolBlocksData.size | bytes }} () {{ i }} block {{ i }} blocks diff --git a/frontend/src/locale/messages.xlf b/frontend/src/locale/messages.xlf index 2e2c67cc3..4ef6c7312 100644 --- a/frontend/src/locale/messages.xlf +++ b/frontend/src/locale/messages.xlf @@ -2,6 +2,26 @@ + + Confidential + + src/app/components/amount/amount.component.html + 6 + + + src/app/components/address/address.component.html + 132 + + + src/app/components/transactions-list/transactions-list.component.html + 214 + + + src/app/components/asset/asset.component.html + 143 + + shared.confidential + Transaction: @@ -288,6 +308,10 @@ src/app/dashboard/dashboard.component.html 117 + + src/app/dashboard/dashboard.component.html + 168 + sat/vB shared.sat-vbyte @@ -420,7 +444,7 @@ src/app/dashboard/dashboard.component.html - 165 + 175 shared.block @@ -440,10 +464,93 @@ src/app/dashboard/dashboard.component.html - 166 + 176 shared.blocks + + Address: + + src/app/components/address/address.component.ts + 71 + + + + Address + + src/app/components/address/address.component.html + 2 + + + src/app/bisq/bisq-address/bisq-address.component.html + 2 + + shared.address + + + Total received + + src/app/components/address/address.component.html + 20 + + + src/app/bisq/bisq-address/bisq-address.component.html + 20 + + address.total-received + + + Total sent + + src/app/components/address/address.component.html + 24 + + + src/app/bisq/bisq-address/bisq-address.component.html + 24 + + + src/app/bisq/bisq-blocks/bisq-blocks.component.html + 14 + + address.total-sent + + + Balance + + src/app/components/address/address.component.html + 28 + + + src/app/bisq/bisq-address/bisq-address.component.html + 28 + + address.balance + + + of transaction + + src/app/components/address/address.component.html + 48 + + X of X Address Transaction + + + of transactions + + src/app/components/address/address.component.html + 49 + + X of X Address Transactions (Plural) + + + Error loading address data. + + src/app/components/address/address.component.html + 113 + + address.error.loading-address-data + Coinbase @@ -597,31 +704,27 @@ sat shared.sat - - Confidential + + TXID, block height, hash or address - src/app/components/transactions-list/transactions-list.component.html - 214 + src/app/components/search-form/search-form.component.html + 4 + search-form.searchbar-placeholder + + + Search - src/app/components/amount/amount.component.html - 6 + src/app/components/search-form/search-form.component.html + 7 - - src/app/components/address/address.component.html - 116 - - - src/app/components/asset/asset.component.html - 143 - - shared.confidential + search-form.search-title Block : src/app/components/block/block.component.ts - 98 + 105 @@ -678,14 +781,14 @@ src/app/components/block/block.component.html 31 - - src/app/components/latest-blocks/latest-blocks.component.html - 13 - src/app/components/mempool-block/mempool-block.component.html 32 + + src/app/components/latest-blocks/latest-blocks.component.html + 13 + src/app/dashboard/dashboard.component.html 81 @@ -742,6 +845,10 @@ src/app/components/fees-box/fees-box.component.html 18 + + src/app/dashboard/dashboard.component.html + 168 + Transaction fee tooltip @@ -822,204 +929,10 @@ Error loading block data. src/app/components/block/block.component.html - 169 + 176 block.error.loading-block-data - - Address: - - src/app/components/address/address.component.ts - 64 - - - - Address - - src/app/components/address/address.component.html - 2 - - - src/app/bisq/bisq-address/bisq-address.component.html - 2 - - shared.address - - - Total received - - src/app/components/address/address.component.html - 20 - - - src/app/bisq/bisq-address/bisq-address.component.html - 20 - - address.total-received - - - Total sent - - src/app/components/address/address.component.html - 24 - - - src/app/bisq/bisq-address/bisq-address.component.html - 24 - - - src/app/bisq/bisq-blocks/bisq-blocks.component.html - 14 - - address.total-sent - - - Balance - - src/app/components/address/address.component.html - 28 - - - src/app/bisq/bisq-address/bisq-address.component.html - 28 - - address.balance - - - of transaction - - src/app/components/address/address.component.html - 48 - - X of X Address Transaction - - - of transactions - - src/app/components/address/address.component.html - 49 - - X of X Address Transactions (Plural) - - - Error loading address data. - - src/app/components/address/address.component.html - 105 - - address.error.loading-address-data - - - TXID, block height, hash or address - - src/app/components/search-form/search-form.component.html - 4 - - search-form.searchbar-placeholder - - - Search - - src/app/components/search-form/search-form.component.html - 7 - - search-form.search-title - - - Blocks - - src/app/components/latest-blocks/latest-blocks.component.ts - 37 - - - src/app/components/api-docs/api-docs.component.html - 75 - - - - Blocks - - src/app/components/latest-blocks/latest-blocks.component.html - 2 - - - src/app/components/master-page/master-page.component.html - 32 - - - src/app/components/master-page/master-page.component.html - 43 - - - src/app/bisq/bisq-blocks/bisq-blocks.component.ts - 35 - - - src/app/bisq/bisq-blocks/bisq-blocks.component.html - 2 - - latest-blocks.blocks - - - Height - - src/app/components/latest-blocks/latest-blocks.component.html - 9 - - - src/app/dashboard/dashboard.component.html - 78 - - - src/app/bisq/bisq-blocks/bisq-blocks.component.html - 12 - - - src/app/bisq/bisq-transactions/bisq-transactions.component.html - 22 - - latest-blocks.height - - - Mined - - src/app/components/latest-blocks/latest-blocks.component.html - 11 - - - src/app/dashboard/dashboard.component.html - 79 - - latest-blocks.mined - - - Transactions - - src/app/components/latest-blocks/latest-blocks.component.html - 12 - - - src/app/components/master-page/master-page.component.html - 29 - - - src/app/components/mempool-block/mempool-block.component.html - 28 - - - src/app/bisq/bisq-blocks/bisq-blocks.component.html - 15 - - - src/app/bisq/bisq-transactions/bisq-transactions.component.ts - 77 - - - src/app/bisq/bisq-transactions/bisq-transactions.component.html - 2 - - latest-blocks.transactions - multisig of @@ -1036,105 +949,16 @@ address-labels.upper-layer-peg-out - - API - - src/app/components/master-page/master-page.component.html - 56 - - - src/app/components/api-docs/api-docs.component.ts - 24 - - master-page.api - About + + src/app/components/about/about.component.ts + 37 + src/app/components/master-page/master-page.component.html 59 - - src/app/components/about/about.component.ts - 38 - - master-page.about - - - Offline - - src/app/components/master-page/master-page.component.html - 7 - - master-page.offline - - - Reconnecting... - - src/app/components/master-page/master-page.component.html - 8 - - master-page.reconnecting - - - Layer 2 Networks - - src/app/components/master-page/master-page.component.html - 19 - - master-page.layer2-networks-header - - - Stats - - src/app/components/master-page/master-page.component.html - 35 - - master-page.stats - - - Dashboard - - src/app/components/master-page/master-page.component.html - 40 - - master-page.dashboard - - - Graphs - - src/app/components/master-page/master-page.component.html - 46 - - - src/app/components/statistics/statistics.component.ts - 55 - - master-page.graphs - - - TV view - - src/app/components/master-page/master-page.component.html - 49 - - - src/app/components/television/television.component.ts - 27 - - master-page.tvview - - - Assets - - src/app/components/master-page/master-page.component.html - 53 - - - src/app/assets/assets.component.ts - 40 - - master-page.assets About the project @@ -1280,6 +1104,17 @@ about.sponsor.sponsor-completed + + Graphs + + src/app/components/statistics/statistics.component.ts + 55 + + + src/app/components/master-page/master-page.component.html + 46 + + Loading graphs... @@ -1312,6 +1147,134 @@ statistics.transaction-vbytes-per-second + + API + + src/app/components/master-page/master-page.component.html + 56 + + + src/app/components/api-docs/api-docs.component.ts + 24 + + master-page.api + + + Offline + + src/app/components/master-page/master-page.component.html + 7 + + master-page.offline + + + Reconnecting... + + src/app/components/master-page/master-page.component.html + 8 + + master-page.reconnecting + + + Layer 2 Networks + + src/app/components/master-page/master-page.component.html + 19 + + master-page.layer2-networks-header + + + Transactions + + src/app/components/master-page/master-page.component.html + 29 + + + src/app/components/mempool-block/mempool-block.component.html + 28 + + + src/app/components/latest-blocks/latest-blocks.component.html + 12 + + + src/app/bisq/bisq-blocks/bisq-blocks.component.html + 15 + + + src/app/bisq/bisq-transactions/bisq-transactions.component.ts + 77 + + + src/app/bisq/bisq-transactions/bisq-transactions.component.html + 2 + + master-page.transactions + + + Blocks + + src/app/components/master-page/master-page.component.html + 32 + + + src/app/components/master-page/master-page.component.html + 43 + + + src/app/components/latest-blocks/latest-blocks.component.html + 2 + + + src/app/bisq/bisq-blocks/bisq-blocks.component.ts + 35 + + + src/app/bisq/bisq-blocks/bisq-blocks.component.html + 2 + + master-page.blocks + + + Stats + + src/app/components/master-page/master-page.component.html + 35 + + master-page.stats + + + Dashboard + + src/app/components/master-page/master-page.component.html + 40 + + master-page.dashboard + + + TV view + + src/app/components/master-page/master-page.component.html + 49 + + + src/app/components/television/television.component.ts + 27 + + master-page.tvview + + + Assets + + src/app/components/master-page/master-page.component.html + 53 + + + src/app/assets/assets.component.ts + 40 + + master-page.assets + Waiting for blocks... @@ -1337,7 +1300,7 @@ src/app/dashboard/dashboard.component.html - 170 + 180 Unconfirmed count dashboard.unconfirmed @@ -1350,7 +1313,7 @@ src/app/dashboard/dashboard.component.html - 162 + 172 Mempool size dashboard.mempool-size @@ -1363,7 +1326,7 @@ src/app/dashboard/dashboard.component.html - 183 + 193 footer.backend-is-synchronizing @@ -1375,7 +1338,7 @@ src/app/dashboard/dashboard.component.html - 187 + 197 vB/s shared.vbytes-per-second @@ -1384,21 +1347,21 @@ Next block src/app/components/mempool-block/mempool-block.component.ts - 72 + 71 Stack of mempool blocks src/app/components/mempool-block/mempool-block.component.ts - 74 + 73 Mempool block src/app/components/mempool-block/mempool-block.component.ts - 76 + 75 @@ -1537,6 +1500,107 @@ asset.error.loading-asset-data + + Identified by payout address: '' + + src/app/components/miner/miner.component.ts + 42 + + + + Identified by coinbase tag: '' + + src/app/components/miner/miner.component.ts + 52 + + + + Unknown + + src/app/components/miner/miner.component.html + 10 + + miner.tag.unknown-miner + + + Low priority + + src/app/components/fees-box/fees-box.component.html + 4 + + + src/app/components/fees-box/fees-box.component.html + 27 + + fees-box.low-priority + + + Medium priority + + src/app/components/fees-box/fees-box.component.html + 10 + + + src/app/components/fees-box/fees-box.component.html + 31 + + fees-box.medium-priority + + + High priority + + src/app/components/fees-box/fees-box.component.html + 16 + + + src/app/components/fees-box/fees-box.component.html + 35 + + fees-box.high-priority + + + Blocks + + src/app/components/latest-blocks/latest-blocks.component.ts + 39 + + + src/app/components/api-docs/api-docs.component.html + 75 + + + + Height + + src/app/components/latest-blocks/latest-blocks.component.html + 9 + + + src/app/dashboard/dashboard.component.html + 78 + + + src/app/bisq/bisq-blocks/bisq-blocks.component.html + 12 + + + src/app/bisq/bisq-transactions/bisq-transactions.component.html + 22 + + latest-blocks.height + + + Mined + + src/app/components/latest-blocks/latest-blocks.component.html + 11 + + + src/app/dashboard/dashboard.component.html + 79 + + latest-blocks.mined + Registered assets @@ -1629,64 +1693,6 @@ Asset data load error - - Identified by payout address: '' - - src/app/components/miner/miner.component.ts - 42 - - - - Identified by coinbase tag: '' - - src/app/components/miner/miner.component.ts - 52 - - - - Unknown - - src/app/components/miner/miner.component.html - 10 - - miner.tag.unknown-miner - - - Low priority - - src/app/components/fees-box/fees-box.component.html - 4 - - - src/app/components/fees-box/fees-box.component.html - 27 - - fees-box.low-priority - - - Medium priority - - src/app/components/fees-box/fees-box.component.html - 10 - - - src/app/components/fees-box/fees-box.component.html - 31 - - fees-box.medium-priority - - - High priority - - src/app/components/fees-box/fees-box.component.html - 16 - - - src/app/components/fees-box/fees-box.component.html - 35 - - fees-box.high-priority - Latest blocks @@ -1703,7 +1709,7 @@ src/app/dashboard/dashboard.component.html - 172 + 182 dashboard.latest-blocks.transaction-count @@ -1775,11 +1781,20 @@ dashboard.collapse + + Minimum fee + + src/app/dashboard/dashboard.component.html + 166 + + Minimum fee title + dashboard.minimumfee + Incoming transactions src/app/dashboard/dashboard.component.html - 180 + 190 dashboard.incoming-transactions @@ -1787,7 +1802,7 @@ Difficulty adjustment src/app/dashboard/dashboard.component.html - 196 + 206 dashboard.difficulty-adjustment @@ -2335,133 +2350,140 @@ Just now src/app/components/time-since/time-since.component.ts - 49 + 56 year ago src/app/components/time-since/time-since.component.ts - 58 + 65 month ago src/app/components/time-since/time-since.component.ts - 59 + 66 week ago src/app/components/time-since/time-since.component.ts - 60 + 67 day ago src/app/components/time-since/time-since.component.ts - 61 + 68 hour ago src/app/components/time-since/time-since.component.ts - 62 + 69 min ago src/app/components/time-since/time-since.component.ts - 65 + 72 minute ago src/app/components/time-since/time-since.component.ts - 67 + 74 sec ago src/app/components/time-since/time-since.component.ts - 70 + 77 second ago src/app/components/time-since/time-since.component.ts - 72 + 79 years ago src/app/components/time-since/time-since.component.ts - 76 + 83 months ago src/app/components/time-since/time-since.component.ts - 77 + 84 weeks ago src/app/components/time-since/time-since.component.ts - 78 + 85 days ago src/app/components/time-since/time-since.component.ts - 79 + 86 hours ago src/app/components/time-since/time-since.component.ts - 80 + 87 mins ago src/app/components/time-since/time-since.component.ts - 83 + 90 minutes ago src/app/components/time-since/time-since.component.ts - 85 + 92 secs ago src/app/components/time-since/time-since.component.ts - 88 + 95 seconds ago src/app/components/time-since/time-since.component.ts - 90 + 97 + + + + Address: + + src/app/bisq/bisq-address/bisq-address.component.ts + 39 @@ -2575,13 +2597,6 @@ BSQ token market cap - - Address: - - src/app/bisq/bisq-address/bisq-address.component.ts - 39 - - Confirmed