Rename IArenaRequestHandler as IWabiSabiApiRequestHandler
MODIFY
WalletWasabi.Backend/Controllers/WabiSabiController.cs
WalletWasabi.Backend/Controllers/WabiSabiController.cs
@@ -12,7 +12,7 @@ namespace WalletWasabi.Backend.Controllers
[ExceptionTranslate]
[Route("[controller]")]
[Produces("application/json")]
- public class WabiSabiController : ControllerBase, IArenaRequestHandler
+ public class WabiSabiController : ControllerBase, IWabiSabiApiRequestHandler
{
private ArenaRequestHandler handler;

RENAME
WalletWasabi/WabiSabi/Backend/PostRequests/IArenaRequestHandler.cs
WalletWasabi/WabiSabi/Backend/PostRequests/IWabiSabiApiRequestHandler.cs
@@ -4,7 +4,7 @@ using WalletWasabi.WabiSabi.Models;
namespace WalletWasabi.WabiSabi.Backend.PostRequests
{
- public interface IArenaRequestHandler
+ public interface IWabiSabiApiRequestHandler
{
Task<InputRegistrationResponse> RegisterInputAsync(InputRegistrationRequest request, CancellationToken cancellationToken);

MODIFY
WalletWasabi/WabiSabi/Client/ArenaClient.cs
WalletWasabi/WabiSabi/Client/ArenaClient.cs
@@ -21,7 +21,7 @@ namespace WalletWasabi.WabiSabi.Client
CredentialIssuerParameters vsizeCredentialIssuerParameters,
CredentialPool amountCredentialPool,
CredentialPool vsizeCredentialPool,
- IArenaRequestHandler requestHandler,
+ IWabiSabiApiRequestHandler requestHandler,
WasabiRandom random)
{
AmountCredentialClient = new WabiSabiClient(amountCredentialIssuerParameters, random, ProtocolConstants.MaxAmountPerAlice, amountCredentialPool);
@@ -29,7 +29,7 @@ namespace WalletWasabi.WabiSabi.Client
RequestHandler = requestHandler;
}
- public ArenaClient(WabiSabiClient amountCredentialClient, WabiSabiClient vsizeCredentialClient, IArenaRequestHandler requestHandler)
+ public ArenaClient(WabiSabiClient amountCredentialClient, WabiSabiClient vsizeCredentialClient, IWabiSabiApiRequestHandler requestHandler)
{
AmountCredentialClient = amountCredentialClient;
VsizeCredentialClient = vsizeCredentialClient;
@@ -38,7 +38,7 @@ namespace WalletWasabi.WabiSabi.Client
public WabiSabiClient AmountCredentialClient { get; }
public WabiSabiClient VsizeCredentialClient { get; }
- public IArenaRequestHandler RequestHandler { get; }
+ public IWabiSabiApiRequestHandler RequestHandler { get; }
public async Task<uint256> RegisterInputAsync(
Money amount,

MODIFY
WalletWasabi/WabiSabi/Client/WabiSabiHttpApiClient.cs
WalletWasabi/WabiSabi/Client/WabiSabiHttpApiClient.cs
@@ -13,7 +13,7 @@ using WalletWasabi.WabiSabi.Models.Serialization;
namespace WalletWasabi.WabiSabi.Client
{
- public class WabiSabiHttpApiClient : IArenaRequestHandler
+ public class WabiSabiHttpApiClient : IWabiSabiApiRequestHandler
{
private IHttpClient _client;

Rename IArenaRequestHandler as IWabiSabiApiRequestHandler