]> git.bitcoin.ninja Git - rust-lightning/commit
Struct-ify SpendableOutputDescriptor entries relevant to channels
authorMatt Corallo <git@bluematt.me>
Wed, 3 Feb 2021 03:47:09 +0000 (22:47 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 16 Feb 2021 17:40:06 +0000 (12:40 -0500)
commita21decf0db4481c106a7d8ca5b5a1fd87263c9b6
tree16c033d7ffa709cdf6f12afd9169d51b528b5453
parent311555a191a9fcca304044fb59c6061e6992ef68
Struct-ify SpendableOutputDescriptor entries relevant to channels

Both SpendableOutputDescriptor::DynamicOutputP2WSH and
SpendableOutputDescriptor::StaticOutputCounterpartyPayment are
relevant only in the context of a given channel, making them
candidates for being passed into helper functions in
`InMemoryChannelKeys`. This moves them into their own structs so
that they can later be used standalone.
lightning/src/chain/channelmonitor.rs
lightning/src/chain/keysinterface.rs
lightning/src/ln/chan_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/util/macro_logger.rs