mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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:
parent
0d0a612f40
commit
090f33f788
@ -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.";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user