rename blacklisted
MODIFY
WalletWasabi/CoinJoin/Coordinator/Coordinator.cs
WalletWasabi/CoinJoin/Coordinator/Coordinator.cs
@@ -130,7 +130,7 @@ public class Coordinator : IDisposable
if (CoinVerifier is { })
{
- CoinVerifier.CoinBlackListed += CoinVerifier_CoinBlackListedAsync;
+ CoinVerifier.CoinBlacklisted += CoinVerifier_CoinBlackListedAsync;
}
}
@@ -476,7 +476,7 @@ public class Coordinator : IDisposable
if (CoinVerifier is { })
{
- CoinVerifier.CoinBlackListed -= CoinVerifier_CoinBlackListedAsync;
+ CoinVerifier.CoinBlacklisted -= CoinVerifier_CoinBlackListedAsync;
}
foreach (CoordinatorRound round in Rounds)

MODIFY
WalletWasabi/WabiSabi/Backend/Banning/CoinVerifier.cs
WalletWasabi/WabiSabi/Backend/Banning/CoinVerifier.cs
@@ -29,7 +29,7 @@ public class CoinVerifier
WabiSabiConfig = wabiSabiConfig;
}
- public event EventHandler<Coin>? CoinBlackListed;
+ public event EventHandler<Coin>? CoinBlacklisted;
// This should be much bigger than the possible input-reg period.
private TimeSpan AbsoluteScheduleSanityTimeout { get; } = TimeSpan.FromDays(2);
@@ -229,7 +229,7 @@ public class CoinVerifier
// We got a definetive answer.
if (shouldBan)
{
- CoinBlackListed?.SafeInvoke(this, coin);
+ CoinBlacklisted?.SafeInvoke(this, coin);
}
else
{

MODIFY
WalletWasabi/WabiSabi/Backend/Rounds/Arena.cs
WalletWasabi/WabiSabi/Backend/Rounds/Arena.cs
@@ -47,7 +47,7 @@ public partial class Arena : PeriodicRunner
if (CoinVerifier is not null)
{
- CoinVerifier.CoinBlackListed += CoinVerifier_CoinBlackListed;
+ CoinVerifier.CoinBlacklisted += CoinVerifier_CoinBlacklisted;
}
}
@@ -641,7 +641,7 @@ public partial class Arena : PeriodicRunner
return coordinatorScriptPubKey;
}
- private void CoinVerifier_CoinBlackListed(object? _, Coin coin)
+ private void CoinVerifier_CoinBlacklisted(object? _, Coin coin)
{
// For logging reason Prison needs the roundId.
var roundState = RoundStates.FirstOrDefault(rs => rs.CoinjoinState.Inputs.Any(input => input.Outpoint == coin.Outpoint));
@@ -655,7 +655,7 @@ public partial class Arena : PeriodicRunner
{
if (CoinVerifier is not null)
{
- CoinVerifier.CoinBlackListed -= CoinVerifier_CoinBlackListed;
+ CoinVerifier.CoinBlacklisted -= CoinVerifier_CoinBlacklisted;
}
base.Dispose();
}

rename blacklisted