|
|
@ -389,7 +389,7 @@ class BitcoinTestFramework(): |
|
|
|
# Create cache directories, run bitcoinds: |
|
|
|
# Create cache directories, run bitcoinds: |
|
|
|
for i in range(MAX_NODES): |
|
|
|
for i in range(MAX_NODES): |
|
|
|
datadir = initialize_datadir(self.options.cachedir, i) |
|
|
|
datadir = initialize_datadir(self.options.cachedir, i) |
|
|
|
args = [os.getenv("LITECOIND", "kevacoind"), "-server", "-keypool=1", "-datadir=" + datadir, "-discover=0"] |
|
|
|
args = [os.getenv("KEVACOIND", "kevacoind"), "-server", "-keypool=1", "-datadir=" + datadir, "-discover=0"] |
|
|
|
if i > 0: |
|
|
|
if i > 0: |
|
|
|
args.append("-connect=127.0.0.1:" + str(p2p_port(0))) |
|
|
|
args.append("-connect=127.0.0.1:" + str(p2p_port(0))) |
|
|
|
self.nodes.append(TestNode(i, self.options.cachedir, extra_args=[], rpchost=None, timewait=None, binary=None, stderr=None, mocktime=self.mocktime, coverage_dir=None)) |
|
|
|
self.nodes.append(TestNode(i, self.options.cachedir, extra_args=[], rpchost=None, timewait=None, binary=None, stderr=None, mocktime=self.mocktime, coverage_dir=None)) |
|
|
@ -459,10 +459,10 @@ class ComparisonTestFramework(BitcoinTestFramework): |
|
|
|
|
|
|
|
|
|
|
|
def add_options(self, parser): |
|
|
|
def add_options(self, parser): |
|
|
|
parser.add_option("--testbinary", dest="testbinary", |
|
|
|
parser.add_option("--testbinary", dest="testbinary", |
|
|
|
default=os.getenv("LITECOIND", "kevacoind"), |
|
|
|
default=os.getenv("KEVACOIND", "kevacoind"), |
|
|
|
help="kevacoind binary to test") |
|
|
|
help="kevacoind binary to test") |
|
|
|
parser.add_option("--refbinary", dest="refbinary", |
|
|
|
parser.add_option("--refbinary", dest="refbinary", |
|
|
|
default=os.getenv("LITECOIND", "kevacoind"), |
|
|
|
default=os.getenv("KEVACOIND", "kevacoind"), |
|
|
|
help="kevacoind binary to use for reference nodes (if any)") |
|
|
|
help="kevacoind binary to use for reference nodes (if any)") |
|
|
|
|
|
|
|
|
|
|
|
def setup_network(self): |
|
|
|
def setup_network(self): |
|
|
|