Change user-agents
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -145,7 +145,7 @@ namespace WalletWasabi.Gui
var addrManTask = InitializeAddressManagerBehaviorAsync();
var blocksFolderPath = Path.Combine(DataDir, $"Blocks{Network}");
- var connectionParameters = new NodeConnectionParameters();
+ var connectionParameters = new NodeConnectionParameters{ UserAgent = "/Satoshi:0.18.0/" };
if (Config.UseTor.Value)
{

MODIFY
WalletWasabi/Services/WalletService.cs
WalletWasabi/Services/WalletService.cs
@@ -781,7 +781,8 @@ namespace WalletWasabi.Services
handshakeTimeout.CancelAfter(TimeSpan.FromSeconds(10));
var nodeConnectionParameters = new NodeConnectionParameters() {
ConnectCancellation = handshakeTimeout.Token,
- IsRelay = false
+ IsRelay = false,
+ UserAgent = $"/Wasabi:{Constants.ClientVersion}/"
};
// If an onion was added must try to use Tor.

Change user-agents