Moving shitcoin code in shitcoin folder

This commit is contained in:
nicolas.dorier 2019-09-30 17:51:47 +09:00
parent d66b111121
commit 3a0328d0be
No known key found for this signature in database
GPG key ID: 6618763EF09186FE
60 changed files with 66 additions and 66 deletions

View file

@ -21,7 +21,7 @@ using OpenIddict.EntityFrameworkCore.Models;
using System.Net;
using BTCPayServer.Authentication;
using BTCPayServer.Authentication.OpenId;
using BTCPayServer.Monero;
using BTCPayServer.Shitcoins.Monero;
using BTCPayServer.PaymentRequest;
using BTCPayServer.Services.Apps;
using BTCPayServer.Storage;

View file

@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Monero.Payments;
using BTCPayServer.Shitcoins.Monero.Payments;
using BTCPayServer.Services.Invoices;
using Newtonsoft.Json.Linq;

View file

@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace BTCPayServer.Monero.Configuration
namespace BTCPayServer.Shitcoins.Monero.Configuration
{
public class MoneroLikeConfiguration
{

View file

@ -2,14 +2,14 @@ using System;
using System.Linq;
using BTCPayServer.Configuration;
using BTCPayServer.Contracts;
using BTCPayServer.Monero.Configuration;
using BTCPayServer.Monero.Payments;
using BTCPayServer.Monero.Services;
using BTCPayServer.Shitcoins.Monero.Configuration;
using BTCPayServer.Shitcoins.Monero.Payments;
using BTCPayServer.Shitcoins.Monero.Services;
using BTCPayServer.Payments;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace BTCPayServer.Monero
namespace BTCPayServer.Shitcoins.Monero
{
public static class MoneroLikeExtensions
{

View file

@ -1,6 +1,6 @@
using BTCPayServer.Contracts;
namespace BTCPayServer.Monero
namespace BTCPayServer.Shitcoins.Monero
{
public class MoneroStoreNavExtension: IStoreNavExtension
{

View file

@ -1,6 +1,6 @@
using BTCPayServer.Payments;
namespace BTCPayServer.Monero.Payments
namespace BTCPayServer.Shitcoins.Monero.Payments
{
public class MoneroLikeOnChainPaymentMethodDetails : IPaymentMethodDetails
{

View file

@ -1,9 +1,9 @@
using BTCPayServer.Data;
using BTCPayServer.Monero.Utils;
using BTCPayServer.Shitcoins.Monero.Utils;
using BTCPayServer.Payments;
using BTCPayServer.Services.Invoices;
namespace BTCPayServer.Monero.Payments
namespace BTCPayServer.Shitcoins.Monero.Payments
{
public class MoneroLikePaymentData : CryptoPaymentData
{

View file

@ -6,16 +6,16 @@ using BTCPayServer.Data;
using BTCPayServer.Lightning;
using BTCPayServer.Models;
using BTCPayServer.Models.InvoicingModels;
using BTCPayServer.Monero.RPC.Models;
using BTCPayServer.Monero.Services;
using BTCPayServer.Monero.Utils;
using BTCPayServer.Shitcoins.Monero.RPC.Models;
using BTCPayServer.Shitcoins.Monero.Services;
using BTCPayServer.Shitcoins.Monero.Utils;
using BTCPayServer.Payments;
using BTCPayServer.Rating;
using BTCPayServer.Services.Invoices;
using BTCPayServer.Services.Rates;
using NBitcoin;
namespace BTCPayServer.Monero.Payments
namespace BTCPayServer.Shitcoins.Monero.Payments
{
public class MoneroLikePaymentMethodHandler : PaymentMethodHandlerBase<MoneroSupportedPaymentMethod, MoneroLikeSpecificBtcPayNetwork>
{

View file

@ -4,7 +4,7 @@ using BTCPayServer.Services.Invoices;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace BTCPayServer.Monero.Payments
namespace BTCPayServer.Shitcoins.Monero.Payments
{
public class MoneroPaymentType: PaymentType
{

View file

@ -1,6 +1,6 @@
using BTCPayServer.Payments;
namespace BTCPayServer.Monero.Payments
namespace BTCPayServer.Shitcoins.Monero.Payments
{
public class MoneroSupportedPaymentMethod : ISupportedPaymentMethod
{

View file

@ -7,7 +7,7 @@ using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace BTCPayServer.Monero.RPC
namespace BTCPayServer.Shitcoins.Monero.RPC
{
public class JsonRpcClient
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class CreateAccountRequest
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class CreateAccountResponse
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class CreateAddressRequest
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class CreateAddressResponse
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class GetAccountsRequest
{

View file

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class GetAccountsResponse
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public class GetFeeEstimateRequest
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public class GetFeeEstimateResponse
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class GetHeightResponse
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public class GetTransferByTransactionIdRequest
{

View file

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class GetTransferByTransactionIdResponse
{

View file

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class GetTransfersRequest
{

View file

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class GetTransfersResponse
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class Info
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class MakeUriRequest
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class MakeUriResponse
{

View file

@ -2,7 +2,7 @@ using System;
using System.Globalization;
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
internal class ParseStringConverter : JsonConverter
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class Peer
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class SubaddrIndex
{

View file

@ -1,6 +1,6 @@
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class SubaddressAccount
{

View file

@ -1,7 +1,7 @@
using System.Collections.Generic;
using Newtonsoft.Json;
namespace BTCPayServer.Monero.RPC.Models
namespace BTCPayServer.Shitcoins.Monero.RPC.Models
{
public partial class SyncInfoResponse
{

View file

@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Mvc;
namespace BTCPayServer.Monero.RPC
namespace BTCPayServer.Shitcoins.Monero.RPC
{
[Route("[controller]")]
public class MoneroLikeDaemonCallbackController : Controller

View file

@ -1,4 +1,4 @@
namespace BTCPayServer.Monero.RPC
namespace BTCPayServer.Shitcoins.Monero.RPC
{
public class MoneroEvent
{

View file

@ -2,11 +2,11 @@ using System;
using System.Threading;
using System.Threading.Tasks;
using BTCPayServer.Logging;
using BTCPayServer.Monero.Configuration;
using BTCPayServer.Shitcoins.Monero.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace BTCPayServer.Monero.Services
namespace BTCPayServer.Shitcoins.Monero.Services
{
public class MoneroLikeSummaryUpdaterHostedService: IHostedService
{
@ -63,4 +63,4 @@ namespace BTCPayServer.Monero.Services
return Task.CompletedTask;
}
}
}
}

View file

@ -6,10 +6,10 @@ using System.Threading;
using System.Threading.Tasks;
using BTCPayServer.Data;
using BTCPayServer.Events;
using BTCPayServer.Monero.Configuration;
using BTCPayServer.Monero.Payments;
using BTCPayServer.Monero.RPC;
using BTCPayServer.Monero.RPC.Models;
using BTCPayServer.Shitcoins.Monero.Configuration;
using BTCPayServer.Shitcoins.Monero.Payments;
using BTCPayServer.Shitcoins.Monero.RPC;
using BTCPayServer.Shitcoins.Monero.RPC.Models;
using BTCPayServer.Payments;
using BTCPayServer.Services.Invoices;
using Microsoft.Extensions.Hosting;
@ -17,7 +17,7 @@ using Microsoft.Extensions.Logging;
using NBitcoin;
using NBXplorer;
namespace BTCPayServer.Monero.Services
namespace BTCPayServer.Shitcoins.Monero.Services
{
public class MoneroListener : IHostedService
{

View file

@ -3,12 +3,12 @@ using System.Collections.Concurrent;
using System.Collections.Immutable;
using System.Net.Http;
using System.Threading.Tasks;
using BTCPayServer.Monero.Configuration;
using BTCPayServer.Monero.RPC;
using BTCPayServer.Monero.RPC.Models;
using BTCPayServer.Shitcoins.Monero.Configuration;
using BTCPayServer.Shitcoins.Monero.RPC;
using BTCPayServer.Shitcoins.Monero.RPC.Models;
using NBitcoin;
namespace BTCPayServer.Monero.Services
namespace BTCPayServer.Shitcoins.Monero.Services
{
public class MoneroRPCProvider
{

View file

@ -8,10 +8,10 @@ using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Data;
using BTCPayServer.Models;
using BTCPayServer.Monero.Configuration;
using BTCPayServer.Monero.Payments;
using BTCPayServer.Monero.RPC.Models;
using BTCPayServer.Monero.Services;
using BTCPayServer.Shitcoins.Monero.Configuration;
using BTCPayServer.Shitcoins.Monero.Payments;
using BTCPayServer.Shitcoins.Monero.RPC.Models;
using BTCPayServer.Shitcoins.Monero.Services;
using BTCPayServer.Payments;
using BTCPayServer.Security;
using BTCPayServer.Services.Stores;
@ -20,7 +20,7 @@ using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace BTCPayServer.Monero.UI
namespace BTCPayServer.Shitcoins.Monero.UI
{
[Route("stores/{storeId}/monerolike")]
[Authorize(AuthenticationSchemes = Policies.CookieAuthentication)]

View file

@ -1,6 +1,6 @@
using System;
namespace BTCPayServer.Monero.UI
namespace BTCPayServer.Shitcoins.Monero.UI
{
public class MoneroPaymentViewModel
{

View file

@ -1,6 +1,6 @@
using System.Globalization;
namespace BTCPayServer.Monero.Utils
namespace BTCPayServer.Shitcoins.Monero.Utils
{
public class MoneroMoney
{

View file

@ -1,6 +1,6 @@
@using BTCPayServer.Controllers
@using BTCPayServer.Views.Stores
@model BTCPayServer.Monero.UI.MoneroLikeStoreController.MoneroLikePaymentMethodViewModel
@model BTCPayServer.Shitcoins.Monero.UI.MoneroLikeStoreController.MoneroLikePaymentMethodViewModel
@{
Layout = "../Shared/_NavLayout.cshtml";

View file

@ -1,5 +1,5 @@
@using BTCPayServer.Views.Stores
@model BTCPayServer.Monero.UI.MoneroLikeStoreController.MoneroLikePaymentMethodListViewModel
@model BTCPayServer.Shitcoins.Monero.UI.MoneroLikeStoreController.MoneroLikePaymentMethodListViewModel
@{
Layout = "../Shared/_NavLayout.cshtml";

View file

@ -1,6 +1,6 @@
@using BTCPayServer.Controllers
@using BTCPayServer.Monero.Configuration
@using BTCPayServer.Monero.UI
@using BTCPayServer.Shitcoins.Monero.Configuration
@using BTCPayServer.Shitcoins.Monero.UI
@inject SignInManager<ApplicationUser> SignInManager;
@inject MoneroLikeConfiguration MoneroLikeConfiguration;
@{

View file

@ -1,7 +1,7 @@
@using System.Globalization
@using BTCPayServer.Controllers
@using BTCPayServer.Monero.Payments
@using BTCPayServer.Monero.UI
@using BTCPayServer.Shitcoins.Monero.Payments
@using BTCPayServer.Shitcoins.Monero.UI
@model IEnumerable<BTCPayServer.Services.Invoices.PaymentEntity>
@{