go-algorand
go-algorand copied to clipboard
Run fast catchup using peerstore instead of phonebook
- 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.
I guess this includes implementing rate limiting functionality like existing phonebookImpl
has (used to rate limit outgoing HTTP queries).
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.