]> git.bitcoin.ninja Git - rust-lightning/commit
Move open_channel message handling into an event
authorMatt Corallo <git@bluematt.me>
Fri, 6 Jul 2018 21:29:34 +0000 (17:29 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 6 Jul 2018 21:31:01 +0000 (17:31 -0400)
commitc47525cb8496c4a82b68e0933a3a5fe0c38e5494
tree666fc6e22f5c62e2cc8f27a50db94d3e2141e76c
parentf718af1a4137d8cfe5cbad0792852b03ad4a72bb
Move open_channel message handling into an event

This simplifies client usage cause peer_handler doesn't have an
interface to shove arbitrary messages in.
src/ln/channelmanager.rs
src/ln/peer_handler.rs
src/util/events.rs