mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-03 20:44:54 +01:00
6cea21750d
This has fallen behind. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
669 B
669 B
You can see my example test scripts test-cli/scripts/setup.sh
and
test-cli/scripts/test.sh
. They are designed to be run from the test-cli
directory.
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
)
You can see other settings in test-cli/scripts/vars.sh
.
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.
Good luck!
Rusty.