Swap Gossip Message PublicKey
s for NodeId
s
#1973
Labels
good first issue
Good for newcomers
Milestone
PublicKey
s for NodeId
s
#1973
To improve the deserialization time of our network graph and address #960, we swapped the
PublicKey
s describing node ids directly in the graph with a newNodeId
struct in #1107. This improved performance greatly, but missed that we're still deserializingPublicKey
s a ton when reading aNetworkGraph
- we store the original gossip messages in the graph itself withPublicKey
s and have to do a bunch of key checking when reading the graph again.Replacing the
PublicKey
s in gossip messages withNodeId
s should give us yet again a huge speedup in the time it takes to read our network grpah.The text was updated successfully, but these errors were encountered: