2020-07-29 18:55:28 +09:00
|
|
|
#if ALTCOINS
|
2019-10-02 22:41:53 -05:00
|
|
|
namespace BTCPayServer.Services.Altcoins.Monero.RPC
|
2019-09-30 10:32:43 +02:00
|
|
|
{
|
|
|
|
public class MoneroEvent
|
|
|
|
{
|
|
|
|
public string BlockHash { get; set; }
|
|
|
|
public string TransactionHash { get; set; }
|
|
|
|
public string CryptoCode { get; set; }
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
{
|
|
|
|
return
|
|
|
|
$"{CryptoCode}: {(string.IsNullOrEmpty(TransactionHash) ? string.Empty : "Tx Update")}{(string.IsNullOrEmpty(BlockHash) ? string.Empty : "New Block")} ({TransactionHash ?? string.Empty}{BlockHash ?? string.Empty})";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-28 22:48:51 +02:00
|
|
|
#endif
|