Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- TEST_DATA_DIR=aplace
- WEDGE_BLOCK=999999
- clean_data_dir() {
- # delete the testing data directory
- # fill it with the wedged blockchain
- }
- compile_bitcoin() {
- make clean -f makefile.unix
- make -f makefile.unix || exit 125
- }
- boot_bitcoin() {
- ./bitcoind -datadir=$TEST_DATA_DIR -daemon
- }
- stop_bitcoin() {
- ./bitcoind stop
- }
- test_blockcount() {
- local wedge_block=$1
- local blockcount=./bitcoind getblockcount
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement