Build Tumbler API skeleton
MODIFY
HiddenWallet.ChaumianCoinJoin.Tumbler/Controllers/TumblerController.cs
HiddenWallet.ChaumianCoinJoin.Tumbler/Controllers/TumblerController.cs
@@ -4,6 +4,7 @@ using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using HiddenWallet.SharedApi.Models;
+using HiddenWallet.ChaumianCoinJoin.Tumbler.Models;
namespace HiddenWallet.ChaumianCoinJoin.Tumbler.Controllers
{
@@ -29,5 +30,89 @@ namespace HiddenWallet.ChaumianCoinJoin.Tumbler.Controllers
return new ObjectResult(new FailureResponse { Message = ex.Message, Details = ex.ToString() });
}
}
+
+ [Route("inputs")]
+ [HttpPost]
+ public IActionResult Inputs(InputsRequest request)
+ {
+ try
+ {
+ throw new NotImplementedException();
+ }
+ catch (Exception ex)
+ {
+ return new ObjectResult(new FailureResponse { Message = ex.Message, Details = ex.ToString() });
+ }
+ }
+
+ [Route("input-registration-status")]
+ [HttpGet]
+ public IActionResult InputRegistrationStatus()
+ {
+ try
+ {
+ throw new NotImplementedException();
+ }
+ catch (Exception ex)
+ {
+ return new ObjectResult(new FailureResponse { Message = ex.Message, Details = ex.ToString() });
+ }
+ }
+
+ [Route("connection-confirmation")]
+ [HttpPost]
+ public IActionResult ConnectionConfirmation(ConnectionConfirmationRequest request)
+ {
+ try
+ {
+ throw new NotImplementedException();
+ }
+ catch (Exception ex)
+ {
+ return new ObjectResult(new FailureResponse { Message = ex.Message, Details = ex.ToString() });
+ }
+ }
+
+ [Route("output")]
+ [HttpPost]
+ public IActionResult Output(OutputRequest request)
+ {
+ try
+ {
+ throw new NotImplementedException();
+ }
+ catch (Exception ex)
+ {
+ return new ObjectResult(new FailureResponse { Message = ex.Message, Details = ex.ToString() });
+ }
+ }
+
+ [Route("coinjoin")]
+ [HttpGet]
+ public IActionResult CoinJoin()
+ {
+ try
+ {
+ throw new NotImplementedException();
+ }
+ catch (Exception ex)
+ {
+ return new ObjectResult(new FailureResponse { Message = ex.Message, Details = ex.ToString() });
+ }
+ }
+
+ [Route("signature")]
+ [HttpPost]
+ public IActionResult Signature(SignatureRequest request)
+ {
+ try
+ {
+ throw new NotImplementedException();
+ }
+ catch (Exception ex)
+ {
+ return new ObjectResult(new FailureResponse { Message = ex.Message, Details = ex.ToString() });
+ }
+ }
}
}

Build Tumbler API skeleton