Skip to content
This repository has been archived by the owner on Aug 20, 2019. It is now read-only.

Create a hybrid provider Rpc / local to have instant bootstrap #54

Open
adridadou opened this issue Dec 9, 2016 · 3 comments
Open

Create a hybrid provider Rpc / local to have instant bootstrap #54

adridadou opened this issue Dec 9, 2016 · 3 comments

Comments

@adridadou
Copy link
Owner

The idea is the following:

  1. We start a local node
  2. At the same time, we start an RPC provider to a node from the same network
  3. As long as the local node is not in sync, we use the RPC
  4. when it is in sync, we switch

This way, we can have an instant bootstrap but with a switch to a local node as soon as possible.
This can be great to start a client without having to wait

@kivanov82
Copy link

That would be cool indeed! 👍

@jacohend
Copy link

I've noticed some RPC methods in ethereumfacade recently...is there an example on how to use these to accomplish this?

@adridadou
Copy link
Owner Author

hi @jacohend There is a EthereumFacadeProvider for Rpc as well.
I propose you come to gitter and I or someone else will help you. It's a better platform to ask questions

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

No branches or pull requests

3 participants