flare-foundation / go-songbird

BSD 3-Clause "New" or "Revised" License
66 stars 32 forks source link

Missing state-sync flag #44

Open francisrosario opened 2 years ago

francisrosario commented 2 years ago

--state-sync-enabled=true \ --state-sync-skip-resume=false \ --state-sync-min-blocks=100000 \ --state-sync-ids= couldn't configure flags: unknown flag: --state-sync-enabled

I don't want to fetch the whole block from September just the recent ones.. Why state sync isn't working? Not added yet?

francisrosario commented 2 years ago

Kindly add this feature thanks! https://github.com/ava-labs/avalanchego/blob/620152091418f5dfdcf39e3bc4a86d5d45448280/snow/engine/snowman/block/state_syncable_vm.go

More information regarding this feature: https://github.com/ava-labs/avalanchego/blob/620152091418f5dfdcf39e3bc4a86d5d45448280/snow/engine/snowman/block/README.md

francisrosario commented 2 years ago

@awfm9

alexdupre commented 11 months ago

To get the state-sync support it should be enough to upgrade the avalachego code to v1.7.17 and coreth to v0.8.15, that should be both backward compatible with the current versions used in go-songbird.

I support this request, too, it'll make a big difference for node runners.

ftso-eu commented 11 months ago

+1