stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 671 forks source link

[Network] PeerDB should enforce at most one row per public key hash #5169

Closed jcnelson closed 2 months ago

jcnelson commented 2 months ago

Due to node churn, especially in NAT'ed automated clusters, it's possible that the same peer can be represented in multiple rows while having the same public key. Unfortunately, this isn't as simple as declaring the public key to be the primary key due to the way the PeerDB is structured.

blockstack-devops commented 3 weeks ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.