dump backend version where it was forgotten
MODIFY
WalletWasabi.Backend/README.md
WalletWasabi.Backend/README.md
## HTTP
Requests and Responses are JSON.
- Requests have the following format: `/api/v2/{coin}/{controller}/`.
+ Requests have the following format: `/api/v3/{coin}/{controller}/`.
Currently supported coins: `btc`.
- For example requesting fees: `GET /api/v2/btc/offchain/exchange-rates`.
+ For example requesting fees: `GET /api/v3/btc/offchain/exchange-rates`.
### Controller: Blockchain, Coin: BTC

MODIFY
WalletWasabi.Backend/Startup.cs
WalletWasabi.Backend/Startup.cs
@@ -13,6 +13,7 @@ using WalletWasabi.Interfaces;
using WalletWasabi.Backend.Middlewares;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using NBitcoin;
+using WalletWasabi.Helpers;
namespace WalletWasabi.Backend
{
@@ -62,7 +63,7 @@ namespace WalletWasabi.Backend
// Enable middleware to serve swagger-ui (HTML, JS, CSS, etc.), specifying the Swagger JSON endpoint.
app.UseSwaggerUI(c =>
{
- c.SwaggerEndpoint("/swagger/v2/swagger.json", "Wasabi Wallet API V2");
+ c.SwaggerEndpoint($"/swagger/v{Constants.BackendMajorVersion}/swagger.json", "Wasabi Wallet API V2");
});
// So to correctly handle HEAD requests.

MODIFY
WalletWasabi/Services/CcjClient.cs
WalletWasabi/Services/CcjClient.cs
@@ -551,7 +551,7 @@ namespace WalletWasabi.Services
CcjClientRound roundRegistered = State.GetSingleOrDefaultRound(aliceClient.RoundId);
if (roundRegistered is null)
{
- // If our SatoshiClient doesn't yet know about the round because of the dealy create it.
+ // If our SatoshiClient doesn't yet know about the round because of the dealy, create it.
// Make its state as it'd be the same as our assumed round was, except the roundId and registeredPeerCount, it'll be updated later.
roundRegistered = new CcjClientRound(CcjRunningRoundState.CloneExcept(inputRegistrableRound.State, aliceClient.RoundId, registeredPeerCount: 1));
State.AddOrReplaceRound(roundRegistered);

dump backend version where it was forgotten