nixos/geth: Change default to snap sync
Starting in v1.10.4, go-ethereum changed the default sync mode to snap sync. This adds "snap" as one of valid types of syncmode and updates `services.geth.syncmode` to use it by default instead of the previous fast sync.
This commit is contained in:
@@ -83,8 +83,8 @@ let
|
||||
};
|
||||
|
||||
syncmode = mkOption {
|
||||
type = types.enum [ "fast" "full" "light" ];
|
||||
default = "fast";
|
||||
type = types.enum [ "snap" "fast" "full" "light" ];
|
||||
default = "snap";
|
||||
description = "Blockchain sync mode.";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user