Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to pass list of node peers when constructing CasperClient in casper-js-sdk #166

Open
devendran-m opened this issue Jul 15, 2022 · 3 comments
Assignees

Comments

@devendran-m
Copy link

After 1.5 not all nodes will sync to Genesis. So it’s possible to call chain_get_block on a node that doesn’t have this certain block. Currently, the SDK will throw Returned block does not have a matching hash. which is good. But to make it more convenient, we can give the user possibility to provide a list of peers, and SDK will then try every provided node in order before throwing mentioned message.

@RitaMAllenCA
Copy link

@hoffmannjan can Ryo do this?

@hoffmannjan
Copy link
Contributor

this is something that will be required past 1.5 so yes - but I would treat it as lower priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@hoffmannjan @devendran-m @RitaMAllenCA and others