19 print(
"Initializing test directory "+self.options.tmpdir)
26 self.
nodes.append(
start_node(1, self.options.tmpdir, [
"-debug",
"-timestampindex"]))
29 self.
nodes.append(
start_node(3, self.options.tmpdir, [
"-debug",
"-timestampindex"]))
38 print "Mining 5 blocks..." 43 print "Checking timestamp index..." 50 if __name__ ==
'__main__':
UniValue getblock(const UniValue ¶ms, bool fHelp)
UniValue getblockhashes(const UniValue ¶ms, bool fHelp)
def connect_nodes(from_connection, node_num)
def initialize_chain_clean(test_dir, num_nodes)
def start_node(i, dirname, extra_args=None, rpchost=None, timewait=None, binary=None)
UniValue generate(const UniValue ¶ms, bool fHelp)
def assert_equal(thing1, thing2)