lnd/watchtower/wtmock
Elle Mouton 571966440c
watchtower: add MarkChannelClosed db method
This commit adds a `MarkChannelClosed` method to the tower client DB.
This function can be called when a channel is closed and it will
check the channel's associated sessions to see if any of them are
"closable". Any closable sessions are added to a new
`cClosableSessionsBkt` bucket so that they can be evaluated in future.
Note that only the logic for this function is added in this commit and
it is not yet called.
2023-03-20 10:46:52 +02:00
..
client_db.go watchtower: add MarkChannelClosed db method 2023-03-20 10:46:52 +02:00
keyring.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
peer.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
signer.go multi: add version to MuSig2 API, bump btcd/btcec to v2.3.2 2023-02-03 18:30:10 +01:00
tower_db.go watchtower/wtdb: apply sanity checks to session policy before accepting 2019-06-13 19:54:22 -07:00