Changeset View
Changeset View
Standalone View
Standalone View
test/functional/receivedby.py
Show All 22 Lines | for item in object_array: | ||||
continue | continue | ||||
return item | return item | ||||
return [] | return [] | ||||
class ReceivedByTest(BitcoinTestFramework): | class ReceivedByTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
self.enable_mocktime() | |||||
def run_test(self): | def run_test(self): | ||||
''' | ''' | ||||
listreceivedbyaddress Test | listreceivedbyaddress Test | ||||
''' | ''' | ||||
# Send from node 0 to 1 | # Send from node 0 to 1 | ||||
addr = self.nodes[1].getnewaddress() | addr = self.nodes[1].getnewaddress() | ||||
txid = self.nodes[0].sendtoaddress(addr, 0.1) | txid = self.nodes[0].sendtoaddress(addr, 0.1) | ||||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |