go-algorand icon indicating copy to clipboard operation
go-algorand copied to clipboard

Run fast catchup using peerstore instead of phonebook

Open winder opened this issue 1 year ago • 2 comments

  • Initialize peerstore from SRV records / phonebook
  • Replace usages of phonebook with peerstore (or an interface that uses the peerstore)
    • i.e. peerselector, maybe others.
  • might require workarounds for peerIDs with no public key.

winder avatar Aug 15 '23 18:08 winder

I guess this includes implementing rate limiting functionality like existing phonebookImpl has (used to rate limit outgoing HTTP queries).

algorandskiy avatar Jan 26 '24 21:01 algorandskiy

I added more usage of phonebook methods in https://github.com/algorand/go-algorand/pull/5935 but the interfaces a bit diverged because of the address: string vs AddrInfo.

algorandskiy avatar Feb 21 '24 20:02 algorandskiy