@@ -350,10 +352,10 @@
Coordinator runner
Coinjoins
-
Enable Discrete payments - Coming soon
+
Enable Discreet payments - Coming soon
-
+
@if (ViewBag.DiscoveredCoordinators is List
discoveredCoordinators)
{
@@ -364,6 +366,7 @@
}
+
@section PageFootContent {
}
diff --git a/Plugins/BTCPayServer.Plugins.Wabisabi/Views/_ViewImports.cshtml b/Plugins/BTCPayServer.Plugins.Wabisabi/Views/_ViewImports.cshtml
index 3ee3edb..cf06ff9 100644
--- a/Plugins/BTCPayServer.Plugins.Wabisabi/Views/_ViewImports.cshtml
+++ b/Plugins/BTCPayServer.Plugins.Wabisabi/Views/_ViewImports.cshtml
@@ -3,4 +3,7 @@
@addTagHelper *, BTCPayServer.Abstractions
@addTagHelper *, BTCPayServer.TagHelpers
@addTagHelper *, BTCPayServer.Views.TagHelpers
-@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
\ No newline at end of file
+@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
+
+@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
+@addTagHelper *, BTCPayServer
\ No newline at end of file
diff --git a/Plugins/BTCPayServer.Plugins.Wabisabi/WabisabiPlugin.cs b/Plugins/BTCPayServer.Plugins.Wabisabi/WabisabiPlugin.cs
index 6300d37..04be45c 100644
--- a/Plugins/BTCPayServer.Plugins.Wabisabi/WabisabiPlugin.cs
+++ b/Plugins/BTCPayServer.Plugins.Wabisabi/WabisabiPlugin.cs
@@ -1,41 +1,25 @@
using System;
-using System.Buffers;
-using System.Collections.Concurrent;
using System.Collections.Generic;
-using System.Linq;
-using System.Net.Http;
-using System.Text;
using System.Threading;
using System.Threading.Tasks;
using BTCPayServer.Abstractions.Contracts;
using BTCPayServer.Abstractions.Models;
using BTCPayServer.Abstractions.Services;
+using BTCPayServer.Client.Models;
using BTCPayServer.Common;
-using BTCPayServer.Data.Data;
using BTCPayServer.Payments;
-using BTCPayServer.Payments.PayJoin;
using BTCPayServer.PayoutProcessors;
using BTCPayServer.Services.Stores;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.Mvc.Controllers;
-using Microsoft.AspNetCore.Mvc.Formatters;
-using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
-using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
-using Microsoft.Extensions.ObjectPool;
-using Microsoft.Extensions.Options;
using NBitcoin;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Serialization;
using WalletWasabi.Backend.Controllers;
using WalletWasabi.Logging;
using WalletWasabi.WabiSabi.Client;
-using WalletWasabi.WabiSabi.Models.Serialization;
using LogLevel = WalletWasabi.Logging.LogLevel;
namespace BTCPayServer.Plugins.Wabisabi;
@@ -131,7 +115,7 @@ public class WabisabiPlugin : BaseBTCPayServerPlugin
return new[] {new PaymentMethodId("BTC", PaymentTypes.BTCLike)};
}
- public Task ConstructProcessor(PayoutProcessorData settings)
+ public Task ConstructProcessor(Data.PayoutProcessorData settings)
{
return Task.FromResult(new ShellSerice());
}
diff --git a/Plugins/BTCPayServer.Plugins.Wabisabi/WabisabiService.cs b/Plugins/BTCPayServer.Plugins.Wabisabi/WabisabiService.cs
index 9bf6b2b..b897366 100644
--- a/Plugins/BTCPayServer.Plugins.Wabisabi/WabisabiService.cs
+++ b/Plugins/BTCPayServer.Plugins.Wabisabi/WabisabiService.cs
@@ -1,15 +1,11 @@
-using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Abstractions.Contracts;
-using BTCPayServer.Client;
-using BTCPayServer.Data.Data;
+using BTCPayServer.Data;
using BTCPayServer.PayoutProcessors;
using BTCPayServer.Services;
-using Microsoft.Extensions.Caching.Memory;
using Newtonsoft.Json.Linq;
-using WalletWasabi.WabiSabi.Client;
namespace BTCPayServer.Plugins.Wabisabi
{
diff --git a/Plugins/BTCPayServer.Plugins.Wabisabi/WabisabiStoreController.cs b/Plugins/BTCPayServer.Plugins.Wabisabi/WabisabiStoreController.cs
index 9778b0b..bc7b656 100644
--- a/Plugins/BTCPayServer.Plugins.Wabisabi/WabisabiStoreController.cs
+++ b/Plugins/BTCPayServer.Plugins.Wabisabi/WabisabiStoreController.cs
@@ -91,6 +91,7 @@ namespace BTCPayServer.Plugins.Wabisabi
var actualCommand = pieces[0];
var commandIndex = pieces.Length > 1 ? pieces[1] : null;
var coordinator = pieces.Length > 2 ? pieces[2] : null;
+ vm.AnonymitySetTarget = Math.Max(2, vm.AnonymitySetTarget);
var coord = vm.Settings.SingleOrDefault(settings => settings.Coordinator == coordinator);
ModelState.Clear();
diff --git a/submodules/btcpayserver b/submodules/btcpayserver
index 99299ba..e6a157a 160000
--- a/submodules/btcpayserver
+++ b/submodules/btcpayserver
@@ -1 +1 @@
-Subproject commit 99299ba06fba954bced3e4c36fa823b39fa48f0c
+Subproject commit e6a157a1016a0b9600a6c44c6a1f394a5a80ea69
diff --git a/submodules/walletwasabi b/submodules/walletwasabi
index 77021fc..1123357 160000
--- a/submodules/walletwasabi
+++ b/submodules/walletwasabi
@@ -1 +1 @@
-Subproject commit 77021fc2cab35f19194b20bb2e8db2996c99a6a1
+Subproject commit 112335770901a5e1d1eb484451243626bb0dae51