minor fixes and cleanups

This commit is contained in:
The MMGen Project 2026-09-17 16:00:13 +00:00
commit 6199cbabb5
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
3 changed files with 4 additions and 5 deletions

View file

@ -1,4 +1,4 @@
include README.md SIGNING_KEYS.pub LICENSE INSTALL *-requirements.txt
include README.md PGP_KEYS.asc LICENSE INSTALL *-requirements.txt
include doc/release-notes/*
include doc/wiki/*/*

View file

@ -212,8 +212,7 @@ class Daemon(Lockable):
if self.pids:
msg('Warning: multiple PIDs [{}] -- we may be stopping the wrong instance'.format(
fmt_list(self.pids, fmt='bare')
))
fmt_list(self.pids, fmt='bare')))
if self.wait:
self.wait_for_state('stopped')
time.sleep(0.3) # race condition
@ -262,7 +261,7 @@ class RPCDaemon(Daemon):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.desc = '{} {} {}RPC daemon'.format(
self.desc = '{} {} {}daemon'.format(
self.rpc_desc,
getattr(self.proto.network_names, self.proto.network),
'test suite ' if self.test_suite else '')

View file

@ -187,7 +187,7 @@ class erigon_daemon(geth_daemon):
class erigon_rpcdaemon(RPCDaemon):
master_daemon = 'erigon_daemon'
rpc_desc = 'Erigon'
rpc_desc = 'Erigon RPC'
exec_fn = 'rpcdaemon'
use_pidfile = False
use_threads = True