]> git.bitcoin.ninja Git - rust-lightning/commit
Store `EntropySource` in `DefaultRouter` instead of passing it
authorMatt Corallo <git@bluematt.me>
Tue, 23 Jan 2024 19:49:36 +0000 (19:49 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 22 Apr 2024 21:57:48 +0000 (21:57 +0000)
commitda620285eec3978841edafa061d03783c751a6fc
tree4013b7191a3e11f720fe4340539131102687885c
parent10434988642f33d9a44c44a5ffcdcb1fbfe58361
Store `EntropySource` in `DefaultRouter` instead of passing it

...as an arg to `Router`. Passing an `EntropySource` around all
the time is a bit strange as the `Router` may or may not actually
use it, and the `DefaultRouter` can just as easily store it.
lightning-background-processor/src/lib.rs
lightning/src/ln/channelmanager.rs
lightning/src/onion_message/functional_tests.rs
lightning/src/onion_message/messenger.rs
lightning/src/routing/router.rs
lightning/src/util/test_utils.rs