Setup Guide in Jupyter
-
Library Import
- Extension of Bitcoin Core Test Framework
- We will be using
- Elliptic Curve in
test_framework/key.py
- Script in
test_framework/script.py
- Transaction in
test_framework/messages.py
- And other utilities.
- Provide examples of above?
- Elliptic Curve in
-
TestWrapper
- Python object which wraps a/multiple running bitcoind nodes in regtest and adds logging and test utilities.
- Show lifecycle of object: See here
- Requires bicoind build.
- Perhaps simplified version of this
- (TBD: Not sure how to provide static builds to linux/osx/win, Gitian?)
- Several rpc call examples with generate/wallet:
test.nodes[0].rpc_call()
- Show that multiple bitcoind processes are running:
ps -ax | grep bitcoind
Thoughts: worst case we can begin schnorr section while attendees are still compiling, as we don't need to test tx broadcast on regtest immediately.