]> git.bitcoin.ninja Git - rust-lightning/commit
Revocation enforcement in signer
authorDevrandom <c1.devrandom@niftybox.net>
Sun, 12 Jul 2020 16:00:10 +0000 (09:00 -0700)
committerDevrandom <c1.devrandom@niftybox.net>
Tue, 19 Jan 2021 01:59:43 +0000 (17:59 -0800)
commita5869b92818afd938ff60db9d74d2f06bbfa846f
treec8722374effc8e6ef6524f06532edeba9581bb12
parent2cbb8358f114f52976c9f51ee17f71f36f23f20a
Revocation enforcement in signer

We want to make sure that we don't sign revoked transactions.

Given that ChannelKeys are not singletons and revocation enforcement is stateful,
we need to store the revocation state in KeysInterface.
lightning/src/chain/keysinterface.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onchaintx.rs
lightning/src/util/enforcing_trait_impls.rs
lightning/src/util/test_utils.rs