From: Matt Corallo Date: Thu, 23 Apr 2020 19:43:21 +0000 (-0400) Subject: Don't modify LocalCommitmemntTransaction after construction X-Git-Tag: v0.0.12~72^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=29199fae4634425eb4307651b3b21d93580c8f42;hp=29199fae4634425eb4307651b3b21d93580c8f42;p=rust-lightning Don't modify LocalCommitmemntTransaction after construction Instead of adding signatures to LocalCommitmentTransactions, we instead leave them unsigned and use them to construct signed Transactions when we want them. This cleans up the guts of LocalCommitmentTransaction enough that we can, and do, expose its state to the world, allowing external signers to have a basic awareness of what they're signing. ---