Bitcoin Node / DONE
bitcoincore, bitcoind
Minimum server requirements:
Disk: At least 1 TB SSD (NVMe).
Processor: Minimum 6 cores.
Memory: 8 GB.
Software: It is necessary to have Docker installed.
Creating an environment:
mkdir -p /nodes/btccd /nodes/btcCreate a bitcoind data directory:
mkdir bitcoin_dataCreate a bitcoind configuration:
nano bitcoind.conf[main]
rpcallowip=0.0.0.0/0 # !ALLOWED IP!
rpcbind=0.0.0.0
rpcport=8332
rpcuser=YOUR_USER_NAME
rpcpassword=YOUR_PASSWORD
server=1
#txindex=1
prune=2048 #2GB
datadir=/data/.bitcoin
keypool=2000Create docker-compose.yml
Running bitcoind in docker:
CMD:
/nodes/BTC/bitcoin.conf
/etc/supervisor/conf.d/bitcoind.conf
CMD:
Opening the access port
Create a proxy from port
- localhost:8332 to port 8233 for bitcoind rpc
Opening a port for RPC: To access RPC, you must open port 8233 in the firewall settings for the IP address of the server from which the connection will originate.
Accesses
RPC: http://ip.host:8233/
Last updated