This PR does some prepwork for adding the output from the htlc subscription api to lndmon, as described in #57.
Since we will need access to routerrpc for SubscribeHtlcEvents, this PR takes the plunge and switches us over to the full lndclient services. Rather than require all macaroons for lndmon, this PR depends on lightninglabs/lndclient/pull/19, which allows us to specify a single macaroon for lndclient.
This PR also updates lndmon to restart on collector failure, rather than just log an error.
This PR does some prepwork for adding the output from the htlc subscription api to lndmon, as described in #57. Since we will need access to
routerrpc
forSubscribeHtlcEvents
, this PR takes the plunge and switches us over to the full lndclient services. Rather than require all macaroons for lndmon, this PR depends on lightninglabs/lndclient/pull/19, which allows us to specify a single macaroon for lndclient.This PR also updates lndmon to restart on collector failure, rather than just log an error.