aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

On-Chain fullnode discovery and tooling

Open sherry-x opened this issue 3 years ago • 3 comments

Build tooling to allow fullnode register their address on-chain, for discovery

sherry-x avatar Mar 24 '22 06:03 sherry-x

This involves needing onchain discovery as well, which is a decently large task. There's pieces in the codebase in the aptos framework for it, just the discovery needs to be fixed and adjusted

gregnazario avatar Mar 27 '22 18:03 gregnazario

Might be worth brainstorming here a bit, what type of on-chain registering can we do?

  • Each peer can register in their own account
  • This can be emitted as an event
  • We can have a query to an indexer return a random sampling of these (or even have a tool that does health checks on these)
  • A peer can randomly connect to these until they find one that is healthy

Healthy:

  • I have an upstream peer
  • I have seen a blockchain update in the past 30 seconds

I worry since we don't have a notion of upstream or distance from validators we don't have a strong definition of healthy. We probably should expose a value of distance from validator in the status message.

davidiw avatar Mar 31 '22 03:03 davidiw

This issue is stale because it has been open 45 days with no activity. Remove the stale label or comment - otherwise this will be closed in 15 days.

github-actions[bot] avatar Nov 07 '22 06:11 github-actions[bot]

This issue is stale because it has been open 45 days with no activity. Remove the stale label or comment - otherwise this will be closed in 15 days.

github-actions[bot] avatar Dec 23 '22 02:12 github-actions[bot]

This issue is stale because it has been open 45 days with no activity. Remove the stale label or comment - otherwise this will be closed in 15 days.

github-actions[bot] avatar Feb 20 '23 02:02 github-actions[bot]