Cache `NodeId` by converting `their_node_id` to tuple
authorAlec Chen <alecchendev@gmail.com>
Wed, 8 Feb 2023 17:55:16 +0000 (11:55 -0600)
committerAlec Chen <alecchendev@gmail.com>
Wed, 8 Feb 2023 17:56:58 +0000 (11:56 -0600)
commit4c1055d4ad63c108c88a337810d0c838e6e5dd73
tree274285cb1ca1dcef143324b9b487a1e9dd834a15
parent56146e740f55b05bdb6de3b64f33d090227ab093
Cache `NodeId` by converting `their_node_id` to tuple

This is done to avoid redundantly serializing peer node
ids when forwarding gossip messages in
`PeerManager::forward_broadcast_msg`.
lightning/src/ln/chan_utils.rs
lightning/src/ln/peer_handler.rs