From 72198238479d022c97e4213bd714e5d74a406736 Mon Sep 17 00:00:00 2001 From: nymkappa <1612910616@pm.me> Date: Sun, 14 Apr 2024 00:10:15 +0900 Subject: [PATCH] [accelerator] remove simple mode from tx page --- .../accelerate-preview.component.html | 233 +++++-------- .../accelerate-preview.component.scss | 57 ---- .../accelerate-preview.component.ts | 318 ++++-------------- .../transaction/transaction.component.html | 8 +- .../transaction/transaction.component.scss | 7 - .../transaction/transaction.component.ts | 6 - 6 files changed, 145 insertions(+), 484 deletions(-) diff --git a/frontend/src/app/components/accelerate-preview/accelerate-preview.component.html b/frontend/src/app/components/accelerate-preview/accelerate-preview.component.html index 637eaee1d..9851b9bd0 100644 --- a/frontend/src/app/components/accelerate-preview/accelerate-preview.component.html +++ b/frontend/src/app/components/accelerate-preview/accelerate-preview.component.html @@ -14,7 +14,6 @@ -@if (!processingPayment) {
Boost rate | -- {{ maxRateOptions[selectFeeRateIndex].rate | number : '1.0-0' }} - | -sat/vB | -
- Boost fee - | -- {{ maxRateOptions[selectFeeRateIndex].fee | number }} - | -
- sats
- |
-
Next block market rate | -- {{ estimate.targetFeeRate | number : '1.0-0' }} - | -sat/vB | -
- Estimated extra fee required - | -- {{ math.max(0, estimate.nextBlockFee - estimate.txSummary.effectiveFee) | number }} - | -
- sats
- |
-
Next block market rate | ++ {{ estimate.targetFeeRate | number : '1.0-0' }} + | +sat/vB | +
+ Estimated extra fee required + | ++ {{ math.max(0, estimate.nextBlockFee - estimate.txSummary.effectiveFee) | number }} + | +
+ sats
+ |
+
- Total cost - | -- - {{ maxCost | number }} - - | -
- sats
-
- |
-
- Estimated acceleration cost - | -- - {{ estimate.cost + estimate.mempoolBaseFee + estimate.vsizeFee | number }} - - | -
- sats
- |
-
- |
- ||
- Maximum acceleration cost - | -- - {{ maxCost | number }} - - | -
- sats
-
- |
-
- |
- ||
+ Estimated acceleration cost + | ++ + {{ estimate.cost + estimate.mempoolBaseFee + estimate.vsizeFee | number }} + + | +
+ sats
+ |
+
+ |
+ ||
+ Maximum acceleration cost + | ++ + {{ maxCost | number }} + + | +
+ sats
+
+ |
+
+ |
+ ||
@@ -279,25 +230,13 @@ - |