Replace satoshi/byte & /bytes by sat/byte & /byte
MODIFY
WalletWasabi.Backend/Controllers/BlockchainController.cs
WalletWasabi.Backend/Controllers/BlockchainController.cs
@@ -85,7 +85,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. To correct possible rounding errors.
+ // 1. Use the sanity check that under 2 satoshi per byte should not be displayed. To correct possible rounding errors.
// 2. Use the RPCResponse.Blocks output to avoid redundant RPC queries.
// 3. Use caching.
var conservativeResponse = await GetEstimateSmartFeeAsync(target, EstimateSmartFeeMode.Conservative);

MODIFY
WalletWasabi/Backend/Models/FeeEstimationPair.cs
WalletWasabi/Backend/Models/FeeEstimationPair.cs
@@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations;
namespace WalletWasabi.Backend.Models
{
/// <summary>
- /// Satoshi per bytes.
+ /// Satoshi per byte.
/// </summary>
public class FeeEstimationPair
{

MODIFY
WalletWasabi/Extensions/RPCClientExtensions.cs
WalletWasabi/Extensions/RPCClientExtensions.cs
@@ -104,11 +104,11 @@ namespace NBitcoin.RPC
private static EstimateSmartFeeResponse SimulateRegTestFeeEstimation(int confirmationTarget, EstimateSmartFeeMode estimateMode)
{
- int satoshiPerBytes = estimateMode == EstimateSmartFeeMode.Conservative
+ int satoshiPerByte = estimateMode == EstimateSmartFeeMode.Conservative
? (Constants.SevenDaysConfirmationTarget + 1 + 6 - confirmationTarget) / 7
: (Constants.SevenDaysConfirmationTarget + 1 + 5 - confirmationTarget) / 7; // Economical
- Money feePerK = Money.Satoshis(satoshiPerBytes * 1000);
+ Money feePerK = Money.Satoshis(satoshiPerByte * 1000);
FeeRate feeRate = new FeeRate(feePerK);
var resp = new EstimateSmartFeeResponse { Blocks = confirmationTarget, FeeRate = feeRate };
return resp;

MODIFY
WalletWasabi/Models/AllFeeEstimate.cs
WalletWasabi/Models/AllFeeEstimate.cs
@@ -16,7 +16,7 @@ namespace WalletWasabi.Models
public EstimateSmartFeeMode Type { get; }
/// <summary>
- /// int: fee target, decimal: satoshi/bytes
+ /// int: fee target, decimal: satoshi/byte
/// </summary>
[JsonProperty]
public Dictionary<int, int> Estimations { get; }

MODIFY
WalletWasabi/Models/ChaumianCoinJoin/CcjRound.cs
WalletWasabi/Models/ChaumianCoinJoin/CcjRound.cs
@@ -1075,7 +1075,7 @@ namespace WalletWasabi.Models.ChaumianCoinJoin
Logger.LogInfo<CcjRound>($"Round ({RoundId}): Network Fee: {networkFee.ToString(false, false)} BTC.");
Logger.LogInfo<CcjRound>($"Round ({RoundId}): Coordinator Fee: {SignedCoinJoin.Outputs.SingleOrDefault(x => x.ScriptPubKey == Constants.GetCoordinatorAddress(Network).ScriptPubKey)?.Value?.ToString(false, false) ?? "0"} BTC.");
FeeRate feeRate = SignedCoinJoin.GetFeeRate(spentCoins);
- Logger.LogInfo<CcjRound>($"Round ({RoundId}): Network Fee Rate: {feeRate.FeePerK.ToDecimal(MoneyUnit.Satoshi) / 1000} satoshi/byte.");
+ Logger.LogInfo<CcjRound>($"Round ({RoundId}): Network Fee Rate: {feeRate.FeePerK.ToDecimal(MoneyUnit.Satoshi) / 1000} sat/byte.");
Logger.LogInfo<CcjRound>($"Round ({RoundId}): Number of inputs: {SignedCoinJoin.Inputs.Count}.");
Logger.LogInfo<CcjRound>($"Round ({RoundId}): Number of outputs: {SignedCoinJoin.Outputs.Count}.");
Logger.LogInfo<CcjRound>($"Round ({RoundId}): Serialized Size: {SignedCoinJoin.GetSerializedSize() / 1024} KB.");

Replace satoshi/byte & /bytes by sat/byte & /byte