def start_node(self, i, dirname, extra_args=None, rpchost=None, timewait=None, binary=None, stderr=None):
    'Start a bitcoind and return RPC connection to it'
    if (extra_args is None):
        extra_args = []
    if (binary is None):
        binary = os.getenv('BITCOIND', 'bitcoind')
    node = TestNode(i, dirname, extra_args, rpchost, timewait, binary, stderr, self.mocktime, coverage_dir=self.options.coveragedir)
    node.start()
    node.wait_for_rpc_connection()
    if (self.options.coveragedir is not None):
        coverage.write_all_rpc_commands(self.options.coveragedir, node.rpc)
    return node
Start a bitcoind and return RPC connection to it
def start_node(self, i, dirname, extra_args=None, rpchost=None, timewait=None, binary=None, stderr=None):
    
    if (extra_args is None):
        extra_args = []
    if (binary is None):
        binary = os.getenv('BITCOIND', 'bitcoind')
    node = TestNode(i, dirname, extra_args, rpchost, timewait, binary, stderr, self.mocktime, coverage_dir=self.options.coveragedir)
    node.start()
    node.wait_for_rpc_connection()
    if (self.options.coveragedir is not None):
        coverage.write_all_rpc_commands(self.options.coveragedir, node.rpc)
    return node