mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-05 17:05:50 +02:00
lnwire: add AnnounceSignatures interface
Add a AnnounceSignatures interface and ensure that AnnounceSignatures1 implements it.
This commit is contained in:
13
lnwire/interfaces.go
Normal file
13
lnwire/interfaces.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package lnwire
|
||||
|
||||
// AnnounceSignatures is an interface that represents a message used to
|
||||
// exchange signatures of a ChannelAnnouncment message during the funding flow.
|
||||
type AnnounceSignatures interface {
|
||||
// SCID returns the ShortChannelID of the channel.
|
||||
SCID() ShortChannelID
|
||||
|
||||
// ChanID returns the ChannelID identifying the channel.
|
||||
ChanID() ChannelID
|
||||
|
||||
Message
|
||||
}
|
Reference in New Issue
Block a user