Start creating wallet independent services
MODIFY
WalletWasabi.Tests/P2pTests.cs
WalletWasabi.Tests/P2pTests.cs
@@ -23,7 +23,6 @@ namespace WalletWasabi.Tests
{
public class P2pTests : IClassFixture<SharedFixture>
{
- public const uint ProtocolVersion_WITNESS_VERSION = 70012;
private SharedFixture SharedFixture { get; }
public P2pTests(SharedFixture sharedFixture)
@@ -86,7 +85,7 @@ namespace WalletWasabi.Tests
new NodeRequirement
{
RequiredServices = NodeServices.Network,
- MinVersion = ProtocolVersion_WITNESS_VERSION
+ MinVersion = Helpers.Constants.ProtocolVersion_WITNESS_VERSION
});
KeyManager keyManager = KeyManager.CreateNew(out _, "password");

MODIFY
WalletWasabi/Helpers/Constants.cs
WalletWasabi/Helpers/Constants.cs
@@ -4,6 +4,8 @@ namespace WalletWasabi.Helpers
{
public static class Constants
{
+ public const uint ProtocolVersion_WITNESS_VERSION = 70012;
+
public const int P2wpkhInputSizeInBytes = 41;
public const int P2pkhInputSizeInBytes = 146;
public const int OutputSizeInBytes = 33;

Start creating wallet independent services