mirror of
https://github.com/lnbook/lnbook
synced 2024-11-01 03:20:53 +00:00
Merge pull request #633 from keblek/develop
Bump Bitcoin Core to latest version
This commit is contained in:
commit
0ab75213d5
@ -3,7 +3,7 @@ FROM ubuntu:20.04 AS bitcoind-base
|
|||||||
RUN apt update && apt install -yqq \
|
RUN apt update && apt install -yqq \
|
||||||
curl gosu jq bash-completion
|
curl gosu jq bash-completion
|
||||||
|
|
||||||
ENV BITCOIND_VERSION 0.20.0
|
ENV BITCOIND_VERSION 0.21.0
|
||||||
# Install binaries for Bitcoin Core
|
# Install binaries for Bitcoin Core
|
||||||
ADD https://bitcoincore.org/bin/bitcoin-core-${BITCOIND_VERSION}/bitcoin-${BITCOIND_VERSION}-x86_64-linux-gnu.tar.gz /usr/local
|
ADD https://bitcoincore.org/bin/bitcoin-core-${BITCOIND_VERSION}/bitcoin-${BITCOIND_VERSION}-x86_64-linux-gnu.tar.gz /usr/local
|
||||||
RUN cd /usr/local/ \
|
RUN cd /usr/local/ \
|
||||||
|
@ -15,6 +15,7 @@ echo "Importing demo private key"
|
|||||||
echo "Bitcoin address: " ${address}
|
echo "Bitcoin address: " ${address}
|
||||||
echo "Private key: " ${privkey}
|
echo "Private key: " ${privkey}
|
||||||
echo "================================================"
|
echo "================================================"
|
||||||
|
bitcoin-cli -datadir=/bitcoind createwallet regtest
|
||||||
bitcoin-cli -datadir=/bitcoind importprivkey $privkey
|
bitcoin-cli -datadir=/bitcoind importprivkey $privkey
|
||||||
|
|
||||||
# Executing CMD
|
# Executing CMD
|
||||||
|
Loading…
Reference in New Issue
Block a user