[Feature] RPC Node Discovery
See original GitHub issueWe want to have some sort of discovery mechanism for neon-js to be able to independently decide on the best RPC node to hook onto.
Currently, we rely on neon-wallet-db or neoscan to provide a best node URL. However, best
merely means best in terms of block height. We also want to be able to function independently to determine the best node ourselves.
Specifics
- Given only the seed nodes, discover new nodes and collate them.
- Identify open RPC ports on nodes and determine if the network is the same (nodes can host different networks running on different ports)
- Do a latency and blockheight test to detemine if the node is
good enough
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Interacting with a node - R3 Documentation
To interact with your node, you need to build an RPC client. This RPC client enables you to connect to a specified server...
Read more >Change an RPC node password | Citrix ADC 13.1
One RPC node exists on each Citrix ADC appliance and stores information, such as the IP ... In Configure RPC Node, type the...
Read more >Discovery :: Choria Orchestrator
The native Choria discovery system is tailored to this dynamic world, it can discover nodes and operate on the ones that's there now....
Read more >Nomad Client allocation discovery - HashiCorp Discuss
When using a localhost http client to communicate with the local Nomad node, I can expect a subset of RPC calls to not...
Read more >RPC node encounter `Cannot create a runtime error=Other ...
The RPC node runs with this message in the log Cannot create a runtime error=Other(\"runtime requires function imports which are not present on ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, let me work on
Network
class.that would be nice. Though I think that the proper way is to provide the interface where you can have a
Network
class which holds the RPC endpoints and a separate method call to fill this Network class with RPC addresses. This way, the user can choose whether he wants to trust the COZ list or provide their own list (they might want to use their private nodes for example).Are you looking to work on this? Else I will start working on building up the Network class.