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

Integration of Portal network / fluffy into Nimbus EL #2147

Open
kdeme opened this issue Apr 23, 2024 · 1 comment
Open

Integration of Portal network / fluffy into Nimbus EL #2147

kdeme opened this issue Apr 23, 2024 · 1 comment
Labels

Comments

@kdeme
Copy link
Contributor

kdeme commented Apr 23, 2024

PoC of the Portal network as backend for retrieving history data (EL block headers, bodies and receipts) before a certain (configurable) threshold (e.g. everything before TheMerge).

Basically, instead of grabbing the data from it database on incoming requests, it should request it over the Portal network. Or, it could first look into its database, and if the data is not there, move to requests over the network. TBD.

This might require adapting Fluffy to provide a better API.

@kdeme
Copy link
Contributor Author

kdeme commented May 16, 2024

Location where to request over portal-history network instead of grabbing from db:

if db.getBlockBody(blockHash, body):

As PoC, can intially add Portal network to EthWireRef object and go from there.

Eventually should probably have diffferent (for the different backends, e.g. also Era1) objects that can be selected from an Abstraction layer above this.

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

No branches or pull requests

1 participant