discovery+funding: add 'AnnounceSignature' proof exchange
Add the interaction between nodes of announce signature messages, which will allow us to exhcnage the half channel announcemen proofs later.
This commit is contained in:
1 parent
07076cce21
commit
fbf766e3c6
6 files changed
+891
-289
No files matched your search
@@ -494,12 +494,15 @@ out:
|
||||
isChanUpdate = true
|
||||
targetChan = msg.ChannelPoint
|
||||
|
||||
case *lnwire.NodeAnnouncement,
|
||||
case *lnwire.ChannelUpdateAnnouncement,
|
||||
*lnwire.ChannelAnnouncement,
|
||||
*lnwire.ChannelUpdateAnnouncement:
|
||||
*lnwire.NodeAnnouncement,
|
||||
*lnwire.AnnounceSignatures:
|
||||
|
||||
p.server.discoverSrv.ProcessRemoteAnnouncement(msg,
|
||||
p.addr.IdentityKey)
|
||||
default:
|
||||
peerLog.Errorf("unknown message received from peer "+"%v", p)
|
||||
}
|
||||
|
||||
if isChanUpdate {
|
||||
|
||||
Reference in new issue
Block a user