Merge pull request #3848 from carlaKC/htlcnotifier-3-addhtlcnotifierrpc

[htlcnotifier 4/4]: lnrpc: Add HTLC Event Subscription
This commit is contained in:
Conner Fromknecht
2020-03-17 16:37:52 -07:00
committed by GitHub
6 changed files with 1229 additions and 90 deletions

View File

@@ -567,6 +567,7 @@ func newRPCServer(s *server, macService *macaroons.Service,
Tower: s.controlTower,
MaxTotalTimelock: cfg.MaxOutgoingCltvExpiry,
DefaultFinalCltvDelta: uint16(cfg.Bitcoin.TimeLockDelta),
SubscribeHtlcEvents: s.htlcNotifier.SubscribeHtlcEvents,
}
genInvoiceFeatures := func() *lnwire.FeatureVector {