MCPcopy
hub / github.com/petertodd/python-bitcoinlib / getrawmempool

Method getrawmempool

bitcoin/rpc.py:561–569  ·  view source on GitHub ↗

Return the mempool

(self, verbose=False)

Source from the content-addressed store, hash-verified

559 return CBitcoinAddress(r)
560
561 def getrawmempool(self, verbose=False):
562 """Return the mempool"""
563 if verbose:
564 return self._call('getrawmempool', verbose)
565
566 else:
567 r = self._call('getrawmempool')
568 r = [lx(txid) for txid in r]
569 return r
570
571 def getrawtransaction(self, txid, verbose=False, block_hash=None):
572 """Return transaction with hash txid

Callers

nothing calls this directly

Calls 2

lxFunction · 0.90
_callMethod · 0.45

Tested by

no test coverage detected