True 30s blocks

This commit is contained in:
benthecarman
2023-04-12 13:04:52 -05:00
parent 76b406f44f
commit 2b2eb91899
3 changed files with 5 additions and 4 deletions

View File

@@ -1,16 +1,16 @@
FROM debian:buster-slim as builder FROM debian:buster-slim as builder
ARG BITCOIN_VERSION=${BITCOIN_VERSION:-24.0.1} ARG BITCOIN_VERSION="2a599a3cb645"
ARG TRIPLET=${TRIPLET:-"x86_64-linux-gnu"} ARG TRIPLET=${TRIPLET:-"x86_64-linux-gnu"}
COPY bitcoin-${BITCOIN_VERSION}-${TRIPLET}.tar.gz /tmp/bitcoin-${BITCOIN_VERSION}-${TRIPLET}.tar.gz
RUN apt-get update && \ RUN apt-get update && \
apt-get install -qq --no-install-recommends ca-certificates dirmngr gosu wget libc6 procps python3 apt-get install -qq --no-install-recommends ca-certificates dirmngr gosu wget libc6 procps python3
WORKDIR /tmp WORKDIR /tmp
# install bitcoin binaries # install bitcoin binaries
RUN BITCOIN_URL="https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/bitcoin-${BITCOIN_VERSION}-${TRIPLET}.tar.gz" && \ RUN BITCOIN_FILE="bitcoin-${BITCOIN_VERSION}-${TRIPLET}.tar.gz" && \
BITCOIN_FILE="bitcoin-${BITCOIN_VERSION}-${TRIPLET}.tar.gz" && \
wget -qO "${BITCOIN_FILE}" "${BITCOIN_URL}" && \
mkdir -p bin && \ mkdir -p bin && \
tar -xzvf "${BITCOIN_FILE}" -C /tmp/bin --strip-components=2 "bitcoin-${BITCOIN_VERSION}/bin/bitcoin-cli" "bitcoin-${BITCOIN_VERSION}/bin/bitcoind" "bitcoin-${BITCOIN_VERSION}/bin/bitcoin-wallet" "bitcoin-${BITCOIN_VERSION}/bin/bitcoin-util" tar -xzvf "${BITCOIN_FILE}" -C /tmp/bin --strip-components=2 "bitcoin-${BITCOIN_VERSION}/bin/bitcoin-cli" "bitcoin-${BITCOIN_VERSION}/bin/bitcoind" "bitcoin-${BITCOIN_VERSION}/bin/bitcoin-wallet" "bitcoin-${BITCOIN_VERSION}/bin/bitcoin-util"
FROM debian:buster-slim as custom-signet-bitcoin FROM debian:buster-slim as custom-signet-bitcoin

Binary file not shown.

View File

@@ -32,6 +32,7 @@ daemon=1
listen=1 listen=1
server=1 server=1
discover=1 discover=1
signetblocktime=$BLOCKPRODUCTIONDELAY
signetchallenge=$SIGNETCHALLENGE signetchallenge=$SIGNETCHALLENGE
zmqpubrawblock=$ZMQPUBRAWBLOCK zmqpubrawblock=$ZMQPUBRAWBLOCK
zmqpubrawtx=$ZMQPUBRAWTX zmqpubrawtx=$ZMQPUBRAWTX