mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 18:53:23 -03:00
aab81720de
Adds a generate() method to the TestNode class in the test framework. This method intercepts calls to generate, imports a dewterministic private key to the node and then calls generatetoaddress to generate the block to that address. Note that repeated calls to importprivkey for the same private keys are no-ops, so it's fine to call the generate() method many times. |
||
---|---|---|
.. | ||
__init__.py | ||
address.py | ||
authproxy.py | ||
bignum.py | ||
blocktools.py | ||
coverage.py | ||
key.py | ||
messages.py | ||
mininode.py | ||
netutil.py | ||
script.py | ||
segwit_addr.py | ||
siphash.py | ||
socks5.py | ||
test_framework.py | ||
test_node.py | ||
util.py |