diff --git a/mmgen/proto/eth/daemon.py b/mmgen/proto/eth/daemon.py index bbb3005c..085064e1 100755 --- a/mmgen/proto/eth/daemon.py +++ b/mmgen/proto/eth/daemon.py @@ -115,6 +115,7 @@ class geth_daemon(ethereum_daemon): self.coind_args = list_gen( ['node', self.id == 'reth'], ['--quiet', self.id == 'reth'], + ['--disable-dns-discovery', self.id == 'reth' and self.test_suite], ['--verbosity=0', self.id == 'geth'], ['--ipcdisable'], # IPC-RPC: if path to socket is longer than 108 chars, geth fails to start ['--http'], diff --git a/nix/README b/nix/README index b79dcac2..d57ad051 100644 --- a/nix/README +++ b/nix/README @@ -1,5 +1,9 @@ Nix configuration directory for the MMGen Wallet suite +NOTE: If you plan to make changes to the files in this directory, first copy it +(e.g. `cp -a nix mynix`) and then make your changes in the copied directory. +Also make sure to replace ‘nix’ with ‘mynix’ (e.g.) in the examples below. + Only BTC and a bare minimum of packages are enabled by default. For altcoin and additional package support, copy the file ‘user-packages.nix’ to diff --git a/test-requirements.txt b/test-requirements.txt deleted file mode 100644 index 4bd65b91..00000000 --- a/test-requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -pycoin -monero -eth_keys diff --git a/test/daemontest_d/exec.py b/test/daemontest_d/exec.py index 6c33bf4a..0269e0b0 100755 --- a/test/daemontest_d/exec.py +++ b/test/daemontest_d/exec.py @@ -70,15 +70,14 @@ class unit_tests: + list(args_in[1:]) + (network_ids or self.daemon_ctrl_args)) vmsg('\n' + orange(f"Running '{' '.join(args)}':")) - cp = run(args, stdout=PIPE, stderr=PIPE, text=True) + redir = None if cfg.verbose else PIPE + cp = run(args, stdout=redir, stderr=redir, text=True) if cp.returncode != 0: if cp.stdout: msg(cp.stdout) if cp.stderr: msg(red(cp.stderr)) return False - if cfg.verbose: - msg_r(cp.stderr.strip()) if ok: vmsg('') qmsg('OK')