diff --git a/tools/regtests.sh b/tools/regtests.sh index 4129173c..f2ee99ff 100755 --- a/tools/regtests.sh +++ b/tools/regtests.sh @@ -1,6 +1,6 @@ #!/bin/bash -./target/release/pbtc --regtest --db-cache=192 & +./target/release/pbtc --segwit --regtest --db-cache=192 & ! java -jar ./tools/compare-tool/pull-tests-be0eef7.jar /tmp/regtest-db 2>&1 | tee regtests-full.log | grep -E --color=auto 'org.bitcoinj.store.BlockStoreException\:|BitcoindComparisonTool.main\: ERROR|bitcoind sent us a block it already had, make sure bitcoind has no blocks!|java.lang.NullPointerException' GREP_COLOR="01;32" grep 'BitcoindComparisonTool.main: Block "b1001" completed processing' regtests-full.log result=$?