mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 14:50:50 +01:00
29 lines
500 B
C#
29 lines
500 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BTCPayApp.CommonServer
|
|
{
|
|
public interface IBTCPayAppServerClient
|
|
{
|
|
Task TransactionDetected(string txid);
|
|
Task NewBlock(string block);
|
|
}
|
|
|
|
public interface IBTCPayAppServerHub
|
|
{
|
|
Task Handshake(AppHandshake handshake);
|
|
Task GetTransactions();
|
|
|
|
}
|
|
|
|
public class AppHandshake
|
|
{
|
|
public string DerivationScheme { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|