multi: surface may add outgoing hltc

This commit is contained in:
carla
2021-06-22 13:56:08 +02:00
parent e3a4d6e989
commit 5d717cb039
4 changed files with 38 additions and 0 deletions

View File

@@ -145,6 +145,10 @@ type ChannelLink interface {
// will use this function in forwarding decisions accordingly.
EligibleToForward() bool
// MayAddOutgoingHtlc returns an error if we may not add an outgoing
// htlc to the channel.
MayAddOutgoingHtlc() error
// AttachMailBox delivers an active MailBox to the link. The MailBox may
// have buffered messages.
AttachMailBox(MailBox)