-
Notifications
You must be signed in to change notification settings - Fork 450
ChainInterface is easy to misuse #80
Copy link
Copy link
Closed
Milestone
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels