]> git.bitcoin.ninja Git - rust-lightning/commit
Parameterize NetworkGraph with Logger
authorJeffrey Czyz <jkczyz@gmail.com>
Sat, 4 Jun 2022 04:35:37 +0000 (21:35 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 6 Jun 2022 18:02:43 +0000 (13:02 -0500)
commit67736b7480051e624a8c69bf61d15f22beecd38f
treee11624e0e433ed63bb307a404dd43105f898d1cd
parent0f73d6adcf6fd141b19a95c32f47b27ddf2f8dd1
Parameterize NetworkGraph with Logger

P2PGossipSync logs before delegating to NetworkGraph in its
EventHandler. In order to share this handling with RapidGossipSync,
NetworkGraph needs to take a logger so that it can implement
EventHandler instead.
15 files changed:
fuzz/src/full_stack.rs
fuzz/src/process_network_graph.rs
fuzz/src/router.rs
lightning-background-processor/src/lib.rs
lightning-invoice/src/utils.rs
lightning-rapid-gossip-sync/src/lib.rs
lightning-rapid-gossip-sync/src/processing.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/peer_handler.rs
lightning/src/routing/gossip.rs
lightning/src/routing/router.rs
lightning/src/routing/scoring.rs
lightning/src/util/persist.rs