lnwire: add AnnounceSignatures interface
Add a AnnounceSignatures interface and ensure that AnnounceSignatures1 implements it.
This commit is contained in:
2 files changed
+33
-2
No files matched your search
@@ -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