Add option to show recommeded fee on checkout invoice

Address #1036
This commit is contained in:
Umar Bolatov
2019-10-07 21:06:12 -07:00
parent e68d76b56d
commit c908301b84
17 changed files with 70 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ namespace BTCPayServer.Data
MonitoringExpiration = 1440;
PaymentTolerance = 0;
RequiresRefundEmail = true;
ShowRecommendedFee = true;
}
[Obsolete("Use NetworkFeeMode instead")]
@@ -39,6 +40,8 @@ namespace BTCPayServer.Data
public bool RequiresRefundEmail { get; set; }
public bool ShowRecommendedFee { get; set; }
CurrencyPair[] _DefaultCurrencyPairs;
[JsonProperty("defaultCurrencyPairs", ItemConverterType = typeof(CurrencyPairJsonConverter))]
public CurrencyPair[] DefaultCurrencyPairs