rpcserver: add REST workarounds, implement new RPC calls
This commit adds a few workarounds in order to concurrently support the REST proxy as well as the regular gRPC interface. Additionally, concrete support for the following RPC calls has been added: GetTransactions, SubscriptTransactions, SubscribeInvoices, and NewWitnessAddress.
This commit is contained in:
5 files changed
+145
-8
No files matched your search
@@ -1155,6 +1155,9 @@ func (p *peer) handleUpstreamMsg(state *commitmentState, msg lnwire.Message) {
|
||||
p.Disconnect()
|
||||
return
|
||||
}
|
||||
|
||||
// TODO(roasbeef): add pre-image to DB in order to swipe
|
||||
// repeated r-values
|
||||
case *lnwire.CommitSignature:
|
||||
// We just received a new update to our local commitment chain,
|
||||
// validate this new commitment, closing the link if invalid.
|
||||
|
||||
Reference in new issue
Block a user