SHARE
TWEET

Untitled

a guest Nov 14th, 2014 175 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. TEST_DATA_DIR=aplace
  4. WEDGE_BLOCK=999999
  5.  
  6. clean_data_dir() {
  7.     # delete the testing data directory
  8.     # fill it with the wedged blockchain
  9. }
  10.  
  11. compile_bitcoin() {
  12.     make clean -f makefile.unix
  13.     make -f makefile.unix || exit 125
  14. }
  15.  
  16. boot_bitcoin() {
  17.     ./bitcoind -datadir=$TEST_DATA_DIR -daemon
  18. }
  19.  
  20. stop_bitcoin() {
  21.     ./bitcoind stop
  22. }
  23.  
  24. test_blockcount() {
  25.     local wedge_block=$1
  26.     local blockcount=./bitcoind getblockcount
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top