Пример #1
0
 def __init__(self, project_dir, geth_kwargs):
     super(LoggedMainnetGethProcess, self).__init__(
         geth_kwargs=geth_kwargs,
         stdout_logfile_path=get_geth_logfile_path(project_dir, 'mainnet',
                                                   'stdout'),
         stderr_logfile_path=get_geth_logfile_path(
             project_dir,
             'mainnet',
             'stderr',
         ),
     )
Пример #2
0
 def __init__(self, project_dir, blockchains_dir, chain_name, overrides):
     stdout_logfile_path = get_geth_logfile_path(project_dir, chain_name,
                                                 'stdout')
     stderr_logfile_path = get_geth_logfile_path(
         project_dir,
         chain_name,
         'stderr',
     )
     super(LoggedDevGethProcess, self).__init__(
         overrides=overrides,
         chain_name=chain_name,
         base_dir=blockchains_dir,
         stdout_logfile_path=stdout_logfile_path,
         stderr_logfile_path=stderr_logfile_path,
     )