14 In this test we connect to one node over p2p, and test tx requests. 20 ''' Can either run this test as 1 node with expected answers, or two and compare them. 21 Change the "outcome" variable from each TestInstance object to only do the comparison. ''' 27 test.add_all_connections(self.
nodes)
39 Create a new block with an anyone-can-spend coinbase 47 self.
tip = block.sha256
52 Now we need that block to mature so we can spend the coinbase. 58 self.
tip = block.sha256
60 test.blocks_and_transactions.append([block,
True])
71 if __name__ ==
'__main__':
UniValue getbestblockhash(const UniValue ¶ms, bool fHelp)