You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
support sub-sat fee rates in CAT-21 mint (port of PR #14)
Bitcoin Core now accepts sub-sat fee rates (e.g. 0.5 sat/vB).
Three changes to the cat21-mint component:
1. Fix BigInt crash: BigInt(vsize * feeRate) throws when result
is fractional. Now uses Math.ceil() to round up to nearest sat.
2. Remove fullNumberValidator: users can now enter decimal fee rates.
3. Fix fee check toggle: was hardcoded to floor=1 (broken when
recommended fee < 1). Now toggles between recommended and 0.
Our Bitcoin node (v30.2.0) already relays sub-sat txs (default
minrelaytxfee=1 sat/kvB = 0.001 sat/vB). No node config change needed.
<div*ngIf="cfeeRate.hasError('required')">Please enter a value!</div>
65
-
<div*ngIf="cfeeRate.hasError('min')">Enter at least a value of {{ minRequiredFee }} sat/vB! If you are really sure that you want a fee rate that is lower than the recommended rate, switch to Expert mode and deactivate the check.</div>
<div*ngIf="cfeeRate.hasError('min')">Enter at least a value of {{ minRequiredFee }} sat/vB! If you are really sure that you want a fee rate that is lower than the recommended rate, scroll down and deactivate the check.</div>
67
66
</div>
68
67
69
68
</div>
@@ -105,7 +104,8 @@ <h2 class="mt-2 mb-4">Mint a CAT-21 Ordinal</h2>
105
104
We automatically select your largest UTXO, but feel free to select a different one if you like:
106
105
</p>
107
106
108
-
<a*ngIf="minRequiredFee != 1" href="javascript:void(0)" (click)="updateMinRequiredFee(1)">⚠️ Click here to disable the required fee rate check (do you know what you are doing!?)</a>
107
+
<a*ngIf="minRequiredFee != 0" href="javascript:void(0)" (click)="updateMinRequiredFee(0)">⚠️ Click here to disable the required fee rate check.</a>
108
+
<span*ngIf="minRequiredFee == 0">⚠️ Required fee rate check disabled. You can enter any value!</span>
109
109
110
110
<divclass="mt-4 pl-2 pr-2 pt-1 pb-1 shape-border" *ngFor="let x of paymentOutputs$ | async"
111
111
[ngClass]="{ selected: x === this.selectedPaymentOutput }">
0 commit comments