From 5ab2ff7a7afd00d371e3a7af043baf955142778d Mon Sep 17 00:00:00 2001 From: ghpzin Date: Wed, 11 Sep 2024 13:25:32 +0300 Subject: [PATCH] nixos/quorum: update geth flags - upstream commit changing ws args: https://github.com/Consensys/quorum/commit/c989bca173681f4462985cec2d30616aa0774edd - upstream commit changing minerthreads arg: https://github.com/Consensys/quorum/commit/f0998415ba9a73f0add32f9b5aed2aec98b9a7f3 --- nixos/modules/services/networking/quorum.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/networking/quorum.nix b/nixos/modules/services/networking/quorum.nix index bddcd18c7fbe..8f6df0881b23 100644 --- a/nixos/modules/services/networking/quorum.nix +++ b/nixos/modules/services/networking/quorum.nix @@ -201,11 +201,11 @@ in { --syncmode ${cfg.syncmode} \ ${optionalString (cfg.permissioned) "--permissioned"} \ - --mine --minerthreads 1 \ + --mine --miner.threads 1 \ ${optionalString (cfg.rpc.enable) "--rpc --rpcaddr ${cfg.rpc.address} --rpcport ${toString cfg.rpc.port} --rpcapi ${cfg.rpc.api}"} \ ${optionalString (cfg.ws.enable) - "--ws --wsaddr ${cfg.ws.address} --wsport ${toString cfg.ws.port} --wsapi ${cfg.ws.api} --wsorigins ${cfg.ws.origins}"} \ + "--ws --ws.addr ${cfg.ws.address} --ws.port ${toString cfg.ws.port} --ws.api ${cfg.ws.api} --ws.origins ${cfg.ws.origins}"} \ --emitcheckpoints \ --datadir ${dataDir} \ --port ${toString cfg.port}'';