You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In writing https://github.com/TheBlueMatt/rust-lightning-bitcoinrpc I almost misused ChainWatchInterface, almost calling ChannelManager::block_connected and PeerHandler::block_connected instead of only calling ChainWatchInterfaceUtil::block_connected (which will call the others for you).
I'm not actually sure what a better interface looks like. I played around a bit with making some things pub(crate) in chaininterface but couldn't come up with anything I actually liked, sadly.
Activity
Move monitor-generated HTLC event handling to manager event-getters
Move monitor-generated HTLC event handling to manager event-getters
Move monitor-generated HTLC event handling to manager event-getters
Move monitor-generated HTLC event handling to manager event-getters
Move monitor-generated HTLC event handling to manager event-getters
Move monitor-generated HTLC event handling to manager event-getters
Move monitor-generated HTLC event handling to manager event-getters
Move monitor-generated HTLC event handling to manager event-getters
dongcarl commentedon Feb 22, 2019
What was insufficient with
pub(crate)?TheBlueMatt commentedon May 9, 2021
We don't have a ChainWatchInterfaceUtil anymore, and this interface is much much harder to mis-use now.