Implement EntropySource for InMemorySigner
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Wed, 19 Apr 2023 21:58:57 +0000 (14:58 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Thu, 20 Apr 2023 19:14:19 +0000 (12:14 -0700)
commit2c5bd1c56fd5aeb7cf9b049584cf24bd1852c15d
tree2c64416baa0156e025aeccf9ad9c99a6b3aa6ab0
parent8d50c919cfa3eee5eaf71d4b142ff5cbfddd4b56
Implement EntropySource for InMemorySigner

This allows the `InMemorySigner` to produce its own randomness, which we
plan to use when generating signatures in future work.

We can no longer derive `Clone` due to the `AtomicCounter`, so we opt to
implement it manually.
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
lightning/src/chain/channelmonitor.rs
lightning/src/chain/keysinterface.rs
lightning/src/ln/channel.rs
lightning/src/util/test_utils.rs