From: Matt Corallo Date: Sat, 18 Apr 2020 04:10:24 +0000 (-0400) Subject: Add HTLC/extra data in LocalCommitmentTransaction from construction X-Git-Tag: v0.0.12~78^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=3ea13194e8ad3ea3493ca4ba63cd215eee105feb;hp=3ea13194e8ad3ea3493ca4ba63cd215eee105feb;p=rust-lightning Add HTLC/extra data in LocalCommitmentTransaction from construction 1107ab06c33bd360bdee7ee64f4b690e753003f6 introduced some additional metadata, including per-HTLC data in LocalCommitmentTransaction. To keep diff reasonable it did so in ChannelMonitor after the LocalCommitmentTransaction had been constructed and passed over the wall, but there's little reason to do so - we should just be constructing them with the data from the start, filled in by Channel. This cleans up some internal interfaces a bit, slightly reduces some data duplication and moves us one step forward to exposing the guts of LocalCommitmentTransaction publicly in a sensible way. ---