Specify ProtocolCapabilities
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -183,7 +183,8 @@ namespace WalletWasabi.Gui
requirements: new NodeRequirement
{
RequiredServices = NodeServices.Network,
- MinVersion = Constants.ProtocolVersion_WITNESS_VERSION
+ MinVersion = Constants.ProtocolVersion_WITNESS_VERSION,
+ MinProtocolCapabilities = Constants.MinProtocolCapabilities
});
Nodes.ConnectedNodes.Add(Node.Connect(Network.RegTest, new IPEndPoint(IPAddress.Loopback, 18444)));
@@ -196,7 +197,8 @@ namespace WalletWasabi.Gui
new NodeRequirement
{
RequiredServices = NodeServices.Network,
- MinVersion = Constants.ProtocolVersion_WITNESS_VERSION
+ MinVersion = Constants.ProtocolVersion_WITNESS_VERSION,
+ MinProtocolCapabilities = Constants.MinProtocolCapabilities
});
RegTestMemPoolServingNode = null;

MODIFY
WalletWasabi.Tests/P2pTests.cs
WalletWasabi.Tests/P2pTests.cs
@@ -85,7 +85,8 @@ namespace WalletWasabi.Tests
new NodeRequirement
{
RequiredServices = NodeServices.Network,
- MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION
+ MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION,
+ MinProtocolCapabilities = Helpers.Constants.MinProtocolCapabilities
});
KeyManager keyManager = KeyManager.CreateNew(out _, "password");

MODIFY
WalletWasabi.Tests/RegTests.cs
WalletWasabi.Tests/RegTests.cs
@@ -406,7 +406,8 @@ namespace WalletWasabi.Tests
requirements: new NodeRequirement
{
RequiredServices = NodeServices.Network,
- MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION
+ MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION,
+ MinProtocolCapabilities = Helpers.Constants.MinProtocolCapabilities
});
nodes.ConnectedNodes.Add(RegTestFixture.BackendRegTestNode.CreateNodeClient());
@@ -641,7 +642,8 @@ namespace WalletWasabi.Tests
requirements: new NodeRequirement
{
RequiredServices = NodeServices.Network,
- MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION
+ MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION,
+ MinProtocolCapabilities = Helpers.Constants.MinProtocolCapabilities
});
nodes.ConnectedNodes.Add(RegTestFixture.BackendRegTestNode.CreateNodeClient());
@@ -1083,7 +1085,8 @@ namespace WalletWasabi.Tests
requirements: new NodeRequirement
{
RequiredServices = NodeServices.Network,
- MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION
+ MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION,
+ MinProtocolCapabilities = Helpers.Constants.MinProtocolCapabilities
});
nodes.ConnectedNodes.Add(RegTestFixture.BackendRegTestNode.CreateNodeClient());
@@ -1253,7 +1256,8 @@ namespace WalletWasabi.Tests
requirements: new NodeRequirement
{
RequiredServices = NodeServices.Network,
- MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION
+ MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION,
+ MinProtocolCapabilities = Helpers.Constants.MinProtocolCapabilities
});
nodes.ConnectedNodes.Add(RegTestFixture.BackendRegTestNode.CreateNodeClient());
@@ -1424,7 +1428,8 @@ namespace WalletWasabi.Tests
requirements: new NodeRequirement
{
RequiredServices = NodeServices.Network,
- MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION
+ MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION,
+ MinProtocolCapabilities = Helpers.Constants.MinProtocolCapabilities
});
nodes.ConnectedNodes.Add(RegTestFixture.BackendRegTestNode.CreateNodeClient());
@@ -2692,7 +2697,8 @@ namespace WalletWasabi.Tests
requirements: new NodeRequirement
{
RequiredServices = NodeServices.Network,
- MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION
+ MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION,
+ MinProtocolCapabilities = Helpers.Constants.MinProtocolCapabilities
});
nodes.ConnectedNodes.Add(RegTestFixture.BackendRegTestNode.CreateNodeClient());
@@ -2700,7 +2706,8 @@ namespace WalletWasabi.Tests
requirements: new NodeRequirement
{
RequiredServices = NodeServices.Network,
- MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION
+ MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION,
+ MinProtocolCapabilities = Helpers.Constants.MinProtocolCapabilities
});
nodes2.ConnectedNodes.Add(RegTestFixture.BackendRegTestNode.CreateNodeClient());

Specify ProtocolCapabilities