1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-24 14:50:46 +01:00
eclair/eclair-core
Pierre-Marie Padiou a605790be5
Have channels subscribe to blockchain events at creation (#195)
Instead of only subscribing to those events when we reach certain states,
we now always subscribe to them at startup. It doesn't cost a lot because
we receive an event only when a new block appears, and is much simpler.

Note that we previously didn't even bother unsubscribing when we weren't
interested anymore in the events, and were ignoring the messages in the
`whenUnhandled` block. So it is more consistent to have the same behavior
during the whole lifetime of the channel.

This fixes #187.
2017-10-30 14:53:16 +01:00
..
src Have channels subscribe to blockchain events at creation (#195) 2017-10-30 14:53:16 +01:00
eclair-cli Bugfixes and minor improvements (#117) 2017-07-26 18:57:31 +02:00
pom.xml back to 0.2-SNAPHOT (#166) 2017-09-20 15:16:49 +02:00