rust-lightning/lightning
Matt Corallo a17a159c93 Store the source and destination node_counters in ChannelInfo
In the next commit, we'll use the new `node_counter`s to remove a
`HashMap` from the router, using a `Vec` to store all our per-node
information. In order to make finding entries in that `Vec` cheap,
here we store the source and destintaion `node_counter`s in
`ChannelInfo`, givind us the counters for both ends of a channel
without doing a second `HashMap` lookup.
2024-06-19 13:57:41 +00:00
..
src Store the source and destination node_counters in ChannelInfo 2024-06-19 13:57:41 +00:00
Cargo.toml Upgrade rust-bitcoin to 0.31 2024-05-30 18:35:29 +08:00