]> git.bitcoin.ninja Git - rust-lightning/commit
Make HTLCOutputInCommitment::transaction_output_index an Option
authorMatt Corallo <git@bluematt.me>
Thu, 3 Jan 2019 00:15:10 +0000 (19:15 -0500)
committerMatt Corallo <git@bluematt.me>
Sat, 5 Jan 2019 21:36:14 +0000 (16:36 -0500)
commit47a4ee0271194983a861628c40d01f8f118a5f0e
tree7fd90699cf79831bb1d61e79c6f9f5d4a83cbf37
parente662fa14af7c978f2f6a7daf8ae7960d07621e7b
Make HTLCOutputInCommitment::transaction_output_index an Option

We really shouldn't have split out the with-source HTLCs from the
in-transaction HTLCs when we added back-failing, and will need
almost all of the info in HTLCOutputInCommitment for each HTLC to
fix would_broadcast_at_height, so this is a first step at
recombining them.
src/ln/chan_utils.rs
src/ln/channel.rs
src/ln/channelmonitor.rs