Lower sanity check to 1s/vb
MODIFY
WalletWasabi.Backend/Controllers/BlockchainController.cs
WalletWasabi.Backend/Controllers/BlockchainController.cs
@@ -77,7 +77,7 @@ namespace WalletWasabi.Backend.Controllers
foreach (int target in confirmationTargetsInts)
{
- // 1. Use the sanity check that under 2 satoshi per bytes should not be displayed.
+ // 1. Use the sanity check that under 1 satoshi per bytes should not be displayed.
// 2. Use the RPCResponse.Blocks output to avoid redundant RPC queries.
// 3. Use caching.
var conservativeResponse = await GetEstimateSmartFeeAsync(target, EstimateSmartFeeMode.Conservative);
@@ -85,8 +85,8 @@ namespace WalletWasabi.Backend.Controllers
var conservativeFee = conservativeResponse.FeeRate.FeePerK.Satoshi / 1000;
var economicalFee = economicalResponse.FeeRate.FeePerK.Satoshi / 1000;
- conservativeFee = Math.Max(conservativeFee, 2);
- economicalFee = Math.Max(economicalFee, 2);
+ conservativeFee = Math.Max(conservativeFee, 1);
+ economicalFee = Math.Max(economicalFee, 1);
feeEstimations.Add(target, new FeeEstimationPair() { Conservative = conservativeFee, Economical = economicalFee });
}

MODIFY
WalletWasabi.Tests/RegTests.cs
WalletWasabi.Tests/RegTests.cs
@@ -736,7 +736,7 @@ namespace WalletWasabi.Tests
Assert.Single(res2.OuterWalletOutputs);
Assert.Equal(scp, res2.OuterWalletOutputs.Single().ScriptPubKey);
Assert.Single(res2.InnerWalletOutputs);
- Assert.True(res2.Fee > new Money(2 * 100)); // since there is a sanity check of 2sat/b in the server
+ Assert.True(res2.Fee > new Money(1 * 100)); // since there is a sanity check of 1sat/b in the server
Assert.InRange(res2.FeePercentOfSent, 0, 1);
Assert.Single(res2.SpentCoins);
Assert.Equal(key.GetP2wpkhScript(), res2.SpentCoins.Single().ScriptPubKey);

Lower sanity check to 1s/vb