]> git.bitcoin.ninja Git - rust-lightning/commit
Use constant MAX_REPLY_SCID
authorbmancini55 <bmancini@gmail.com>
Sat, 13 Mar 2021 19:51:36 +0000 (14:51 -0500)
committerbmancini55 <bmancini@gmail.com>
Sat, 13 Mar 2021 19:51:36 +0000 (14:51 -0500)
commitf4adb9f0131c6592daee56fdb4031226c4d56094
tree667ca57f3e3e7be4528135363efbc8faedfa20cd
parent1809ef199e4c68516b1d4bf1664c63f88d4ef29a
Use constant MAX_REPLY_SCID

Modifies NetGraphMsgHandler::handle_query_channel_range to use a constant
max value in replies. Modifies tests to generate 8000 channels instead
of making this value configurable.
lightning/src/routing/network_graph.rs