lnd/onionmessage
Gijs van Dam 73e0983802 onionmessage: add LRU cache to SCID resolver
Add an LRU cache to GraphNodeResolver to avoid repeated database lookups
when resolving SCIDs to node public keys. The cache stores up to 1000
compressed pubkey entries, which is sufficient for typical onion message
forwarding scenarios.

This change also introduces a NewGraphNodeResolver constructor to
properly initialize the cache, replacing direct struct literal usage.
2026-03-02 15:46:21 +01:00
..
actor.go multi: actor-based onion message forwarding 2026-03-02 15:46:21 +01:00
actor_test.go multi: OnionPeerActor for per-peer message support 2026-03-02 15:46:21 +01:00
errors.go multi: OnionPeerActor for per-peer message support 2026-03-02 15:46:21 +01:00
hop.go multi: actor-based onion message forwarding 2026-03-02 15:46:21 +01:00
hop_test.go multi: actor-based onion message forwarding 2026-03-02 15:46:21 +01:00
interfaces.go multi: OnionPeerActor for per-peer message support 2026-03-02 15:46:21 +01:00
log.go multi: endpoints for onion messages 2025-11-12 22:54:04 +08:00
onion_endpoint.go multi: actor-based onion message forwarding 2026-03-02 15:46:21 +01:00
resolver.go onionmessage: add LRU cache to SCID resolver 2026-03-02 15:46:21 +01:00
resolver_test.go multi: actor-based onion message forwarding 2026-03-02 15:46:21 +01:00
test_utils.go multi: actor-based onion message forwarding 2026-03-02 15:46:21 +01:00