mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +02:00
graph: add IsZombieEdge method
This is in preparation for the commit where we move across all the funding tx validation so that we can test that we are correctly updating the zombie index.
This commit is contained in:
@@ -88,6 +88,10 @@ type ChannelGraphSource interface {
|
||||
|
||||
// MarkZombieEdge marks the channel with the given ID as a zombie edge.
|
||||
MarkZombieEdge(chanID uint64) error
|
||||
|
||||
// IsZombieEdge returns true if the edge with the given channel ID is
|
||||
// currently marked as a zombie edge.
|
||||
IsZombieEdge(chanID lnwire.ShortChannelID) (bool, error)
|
||||
}
|
||||
|
||||
// DB is an interface describing a persisted Lightning Network graph.
|
||||
|
Reference in New Issue
Block a user