]> git.bitcoin.ninja Git - rust-lightning/commit
Take &NetworkGraph as input in get_route, not a NetGraphMsgHandler
authorMatt Corallo <git@bluematt.me>
Thu, 11 Jun 2020 19:40:28 +0000 (15:40 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 23 Jun 2020 20:12:55 +0000 (16:12 -0400)
commitbcd65bed7bd9acbc2be31b0e47c7651de2b17d78
tree5b2b6ddc0640407d414d64b38c1dad2a64403e21
parent882db714deb1a6de349ac13ddf3cb3adf8bb8704
Take &NetworkGraph as input in get_route, not a NetGraphMsgHandler

This was just an oversight when route calculation was split up into
parts - it makes no sense for get_route to require that we have a
full route message handler, only a network graph (which can always
be accessed from a NetGraphMsgHandler anyway).
fuzz/src/full_stack.rs
fuzz/src/router.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/routing/router.rs