public LightningAuctionAdminService(IConfiguration config, IAuctionService auctionService, ILndService lndService) { _auctionService = auctionService; _lnd = lndService; AuthorizedPubkey = config.GetValue <string>("admin_pub"); MessageToSign = config.GetValue <string>("message"); }
public RaffleService(ILndService lndService) { _lndService = lndService; _lndService.AddInvoicePaidEventHandler(InvoicePaid); }
public AuctionService(ILndService lndService) { _lndService = lndService; _lndService.AddHoldInvoiceListener(LndService_OnHoldInvoiceActivated); Task.Run(async() => await CleanUpEntries()); }
public LightningAuctionService(ILogger <LightningAuctionService> logger, IAuctionService auctionService, ILndService lnd) { _logger = logger; _auctionService = auctionService; _lnd = lnd; }
public RaffleController(IConfiguration config, ILndService lndService, IRaffleService raffleService) { _lndService = lndService; _raffleService = raffleService; AuthorizedPubkey = config.GetValue <string>("admin_pub"); }