mirror of
https://github.com/aljazceru/mutiny-net.git
synced 2025-12-17 05:54:22 +01:00
True 30s blocks
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
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"}
|
||||
|
||||
COPY bitcoin-${BITCOIN_VERSION}-${TRIPLET}.tar.gz /tmp/bitcoin-${BITCOIN_VERSION}-${TRIPLET}.tar.gz
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -qq --no-install-recommends ca-certificates dirmngr gosu wget libc6 procps python3
|
||||
WORKDIR /tmp
|
||||
|
||||
# install bitcoin binaries
|
||||
RUN BITCOIN_URL="https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/bitcoin-${BITCOIN_VERSION}-${TRIPLET}.tar.gz" && \
|
||||
BITCOIN_FILE="bitcoin-${BITCOIN_VERSION}-${TRIPLET}.tar.gz" && \
|
||||
wget -qO "${BITCOIN_FILE}" "${BITCOIN_URL}" && \
|
||||
RUN BITCOIN_FILE="bitcoin-${BITCOIN_VERSION}-${TRIPLET}.tar.gz" && \
|
||||
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"
|
||||
FROM debian:buster-slim as custom-signet-bitcoin
|
||||
|
||||
BIN
bitcoin-2a599a3cb645-x86_64-linux-gnu.tar.gz
Normal file
BIN
bitcoin-2a599a3cb645-x86_64-linux-gnu.tar.gz
Normal file
Binary file not shown.
@@ -32,6 +32,7 @@ daemon=1
|
||||
listen=1
|
||||
server=1
|
||||
discover=1
|
||||
signetblocktime=$BLOCKPRODUCTIONDELAY
|
||||
signetchallenge=$SIGNETCHALLENGE
|
||||
zmqpubrawblock=$ZMQPUBRAWBLOCK
|
||||
zmqpubrawtx=$ZMQPUBRAWTX
|
||||
|
||||
Reference in New Issue
Block a user