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

Method dumpprivkey

bitcoin/rpc.py:378–383  ·  view source on GitHub ↗

Return the private key matching an address

(self, addr)

Source from the content-addressed store, hash-verified

376 return self._call(service_name, *args)
377
378 def dumpprivkey(self, addr):
379 """Return the private key matching an address
380 """
381 r = self._call('dumpprivkey', str(addr))
382
383 return CBitcoinSecret(r)
384
385 def fundrawtransaction(self, tx, include_watching=False):
386 """Add inputs to a transaction until it has enough in value to meet its out value.

Callers

nothing calls this directly

Calls 2

CBitcoinSecretClass · 0.90
_callMethod · 0.45

Tested by

no test coverage detected