Description
currently, node discovery is done via a centralized discovery service. now that we are using libp2p we can replace this with the kademlia dht.
Proposed Solution
- on startup, nodes will bootstrap to the dht via bootnodes. they will then advertise their node type (worker, validator, orchestrator)
- workers can also advertise other info like hardware stats etc
- instead of querying the centralized discovery service, validators/orchestrators will regularly perform dht walks to update their local view of the worker nodes on the network