2015-07-03 06:09:27 +02:00
|
|
|
You can see my example test scripts `test-cli/scripts/setup.sh` and
|
2015-08-08 07:31:34 +02:00
|
|
|
`test-cli/scripts/test.sh`. They are designed to be run from the `test-cli`
|
|
|
|
directory.
|
2015-06-12 07:24:27 +02:00
|
|
|
|
2015-08-08 07:31:34 +02:00
|
|
|
These are set up for Elements alpha; if you want to use bitcoind (and
|
|
|
|
thus NOPs instead of OP_CHECKLOCKTIMEVERIFY and
|
|
|
|
OP_CHECKSEQUENCEVERIFY, as well as being vulnerable to malleability)
|
|
|
|
you can change the "FEATURES :=" line in `Makefile` (and `make clean`)
|
2015-06-12 07:24:27 +02:00
|
|
|
|
2015-08-08 07:31:34 +02:00
|
|
|
You can see other settings in `test-cli/scripts/vars.sh`.
|
2015-06-12 07:24:27 +02:00
|
|
|
|
2015-08-08 07:31:34 +02:00
|
|
|
As the utilities un test-cli don't keep any state, and don't talk to
|
|
|
|
bitcoind/alphad, the commandlines get ugly fast (and don't handle all
|
|
|
|
cases). They're only for testing.
|
2015-06-12 07:24:27 +02:00
|
|
|
|
|
|
|
Good luck!
|
|
|
|
|
|
|
|
Rusty.
|