Move monitor-generated HTLC event handling to manager event-getters
authorMatt Corallo <git@bluematt.me>
Tue, 11 Dec 2018 03:47:21 +0000 (22:47 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 14 Dec 2018 22:00:22 +0000 (17:00 -0500)
commit221bfa6bd427ca34c052899a54e945c3a8903b02
tree96dcae499dd7c19d8d149f1fed48a85581b02675
parentb9c609eb6a1f0a558d4e3a77d053ae9b0804cdce
Move monitor-generated HTLC event handling to manager event-getters

This is somewhat awkward, but prevents a slew of duplicate events.
Really this should probably be more explicit, but would be easy to
move that along with a slew of block_connected-event-processing
refactors, see-also GH #80.

This affects full_stack_target only on accident cause the demo test
didn't continue onwards with another block connection.
fuzz/fuzz_targets/full_stack_target.rs
src/ln/channelmanager.rs