Flatten onchain_events_waiting_threshold_conf
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 31 Mar 2021 17:23:57 +0000 (13:23 -0400)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 14 Apr 2021 19:57:04 +0000 (12:57 -0700)
commita89996564cdc9e8708b147b2a5e7b11b59adfc8e
treeae2f57cccbba4564ed05cf3ddece895319bb56fe
parent9397db6119a63acb7fb0b8f56134b2f854077acc
Flatten onchain_events_waiting_threshold_conf

Rather than mapping height to a vector of events, use a single vector
for all events. This allows for easily processing events by either
height or transaction. The latter will be used for an interface suitable
for Electrum.
lightning/src/chain/channelmonitor.rs
lightning/src/ln/onchaintx.rs