stellar / slingshot

A new blockchain architecture under active development, with a strong focus on scalability, privacy and safety
Apache License 2.0
411 stars 60 forks source link

p2p: persistent peers list #442

Open oleganza opened 4 years ago

oleganza commented 4 years ago

Currently peers have to manually seeded through an API. We need:

  1. Support for config to specify a list of seed peers.
  2. Store recently used peers in a separate file, so we can reconnect faster after restart.
  3. Store banned/deprioritized peers also, so we cannot be tricked to forget misbehaving nodes when crashed by some unpatched DoS vector.