|
|
@ -330,6 +330,9 @@ class RESTTest (BitcoinTestFramework):
|
|
|
|
# the size of the memory pool should be greater than 3x ~100 bytes
|
|
|
|
# the size of the memory pool should be greater than 3x ~100 bytes
|
|
|
|
assert_greater_than(json_obj['bytes'], 300)
|
|
|
|
assert_greater_than(json_obj['bytes'], 300)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mempool_info = self.nodes[0].getmempoolinfo()
|
|
|
|
|
|
|
|
assert_equal(json_obj, mempool_info)
|
|
|
|
|
|
|
|
|
|
|
|
# Check that there are our submitted transactions in the TX memory pool
|
|
|
|
# Check that there are our submitted transactions in the TX memory pool
|
|
|
|
json_obj = self.test_rest_request("/mempool/contents")
|
|
|
|
json_obj = self.test_rest_request("/mempool/contents")
|
|
|
|
raw_mempool_verbose = self.nodes[0].getrawmempool(verbose=True)
|
|
|
|
raw_mempool_verbose = self.nodes[0].getrawmempool(verbose=True)
|
|
|
|