File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed
.github/actions/bitcoin-int-tests Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1+ FROM rust:buster
2+
3+ WORKDIR /src
4+
5+ COPY . .
6+
7+ RUN cd / && wget https://bitcoin.org/bin/bitcoin-core-0.20.0/bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
8+ RUN cd / && tar -xvzf bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
9+
10+ RUN ln -s /bitcoin-0.20.0/bin/bitcoind /bin/
11+ RUN ln -s /bitcoin-0.20.0/bin/bitcoin-cli /bin/
12+
13+ RUN apt-get update
14+ RUN apt-get install -y jq screen net-tools ncat
15+
16+ RUN cargo build --workspace
17+
18+ ENV PATH="/src/target/debug:/src/net-test/bin:${PATH}"
19+
20+ WORKDIR /src/net-test/bin
21+ RUN bash
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ http_401() {
4343http_500 () {
4444 local ERR=" $1 "
4545 local ERR_LEN=${# ERR}
46+ log " 500 error: ${ERR} "
4647 printf " HTTP/1.0 500 Internal Server error\r\nContent-Length: $ERR_LEN \r\nContent-Type: text/plain\r\n\r\n$ERR "
4748}
4849
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ start_bitcoind() {
6161 logln " ok"
6262
6363 log " Starting bitcoind..."
64- bitcoind -conf=" $BITCOIN_CONF " > " $BITCOIN_LOGFILE " 2>&1 &
64+ bitcoind -fallbackfee=0.0002 - conf=" $BITCOIN_CONF " > " $BITCOIN_LOGFILE " 2>&1 &
6565 local BITCOIN_PID=$!
6666 logln " PID $BITCOIN_PID "
6767
You can’t perform that action at this time.
0 commit comments