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

public archive sdk #2426

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

public archive sdk #2426

wants to merge 15 commits into from

Conversation

arturrez
Copy link
Collaborator

@arturrez arturrez commented Dec 11, 2024

Why this should be merged

resolves #2425
it provides sdk pkg to access public archive data for fuji to speedup avalanchego bootstrap if connected to fuji
current timing

1 node 27.877
2 nodes 31.086
7 nodes 1:25.34

How this works

only fuji is supported for now.

sdk provides a functionality to Download public archive data into tmp file. This data can be un-tar into destination folder.
this sdk is used inside of the CLI. In case of the error all downloaded data is cleaned and bootstrap continues on like nothing happened.

How this was tested

./bin/avalanche node local start  --num-nodes 1 --fuji --avalanchego-path ~/src/github.com/ava-labs/avalanchego/build/avalanchego fuji1
./bin/avalanche node local start  --num-nodes 2 --fuji --avalanchego-path ~/src/github.com/ava-labs/avalanchego/build/avalanchego fuji2

How is this documented

n/a

@arturrez arturrez requested a review from a team as a code owner December 11, 2024 00:26
@arturrez arturrez changed the title Achilles sdk public archive sdk Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog 🗄️
Development

Successfully merging this pull request may close these issues.

speedup fuji L1 creation on local using achilles
1 participant