2020-05-23 21:13:18 +02:00
|
|
|
using BTCPayServer.Client.Models;
|
2018-08-30 11:50:39 +09:00
|
|
|
using BTCPayServer.Lightning;
|
|
|
|
using BTCPayServer.Lightning.JsonConverters;
|
2018-02-26 00:48:12 +09:00
|
|
|
using BTCPayServer.Services.Invoices;
|
2019-01-27 13:06:55 +09:00
|
|
|
using NBitcoin;
|
2018-02-26 00:48:12 +09:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
namespace BTCPayServer.Payments.Lightning
|
|
|
|
{
|
2024-10-16 16:25:16 +09:00
|
|
|
public class LightningLikePaymentData
|
2018-02-26 00:48:12 +09:00
|
|
|
{
|
2023-04-10 11:07:03 +09:00
|
|
|
|
2019-01-27 13:06:55 +09:00
|
|
|
[JsonConverter(typeof(NBitcoin.JsonConverters.UInt256JsonConverter))]
|
|
|
|
public uint256 PaymentHash { get; set; }
|
2023-04-10 11:07:03 +09:00
|
|
|
|
2023-01-13 09:29:41 +01:00
|
|
|
[JsonConverter(typeof(NBitcoin.JsonConverters.UInt256JsonConverter))]
|
|
|
|
public uint256 Preimage { get; set; }
|
2018-02-26 00:48:12 +09:00
|
|
|
}
|
|
|
|
}
|