]> git.bitcoin.ninja Git - rust-lightning/commit
Drop `private_hop_key_cache` in favor of `NodeCounters`
authorMatt Corallo <git@bluematt.me>
Sat, 1 Jun 2024 18:19:45 +0000 (18:19 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 10 Jul 2024 01:31:48 +0000 (01:31 +0000)
commit04dad438d72bc75aac83cba21e9801238024bc80
treec1f1129a5f1a424531a32ae0eb320d9cfc0c30a7
parentc6cd3c817643d5648d613f45b63393e47001b530
Drop `private_hop_key_cache` in favor of `NodeCounters`

With the new `NodeCounters` have have a all the `NodeId`s we'll
need during routing, so there's no need to keep the
`private_hop_key_cache` which existed to provide references to
`NodeId`s which are needed during routing.
lightning/src/routing/router.rs