Skip to content

move snapshot loading from nodeos to leap-util #2050

@matthewdarwin

Description

@matthewdarwin

move snapshot loading from nodeos to leap-util... or at least add snapshot loading into leap-util.

The reason for this is to allow snapshots to be downloaded, processed and removed (saving disk space).

With the current logic you need some scripts to download snapshots and then tell nodeos to start with the snapshot. But that script doesn't really know when nodeos is finished loading the snapshot to allow it to delete the snapshot file (could read the journal log to look for specific message, but that's fragile).

Would be much cleaner to just remove the whole snapshot loading logic out of nodeos and force leap-util to deal with creating the correct statedb and then start nodeos normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    considerationissues we aren't prioritizing today, but may consider at a later datediscussionenhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions