htlcswitch: add link operation for initiating quiescence

This commit is contained in:
Keagan McClelland
2024-03-12 11:43:48 -07:00
parent a085b59814
commit 70e3804121
4 changed files with 45 additions and 0 deletions

View File

@@ -950,6 +950,14 @@ func (f *mockChannelLink) OnFlushedOnce(func()) {
func (f *mockChannelLink) OnCommitOnce(LinkDirection, func()) {
// TODO(proofofkeags): Implement
}
func (f *mockChannelLink) InitStfu() <-chan fn.Result[lntypes.ChannelParty] {
// TODO(proofofkeags): Implement
c := make(chan fn.Result[lntypes.ChannelParty], 1)
c <- fn.Errf[lntypes.ChannelParty]("InitStfu not implemented")
return c
}
func (f *mockChannelLink) FundingCustomBlob() fn.Option[tlv.Blob] {
return fn.None[tlv.Blob]()