Feature: RBF and UX improvement to fee bumping

This commit is contained in:
nicolas.dorier
2025-01-29 19:26:22 +09:00
parent 7355be48ee
commit 2911771f19
26 changed files with 1229 additions and 187 deletions

View File

@@ -30,7 +30,7 @@ namespace BTCPayServer.Models.WalletViewModels
public class AmountViewModel
{
public bool Positive { get; set; }
public string BalanceChange { get; set; }
public StringAmounts BalanceChange { get; set; }
}
public AmountViewModel ReplacementBalanceChange { get; set; }
public bool HasErrors => Inputs.Count == 0 || Inputs.Any(i => !string.IsNullOrEmpty(i.Error));