vi

Bitcoin Full Node: Bitcoin Core Tren VPS Offshore

Chay Bitcoin full node rieng la nguyen tac quan trong cua Bitcoin: dont trust, verify. Khi ban tu validate moi block va transaction, ban khong phai phu thuoc vao tho khac (mining pool, electrum server, hay sieu thi exchange) de noi su that ve so du. AnubizHost cung cap VPS Iceland phu hop chay Bitcoin Core full node voi nha cung cap khong KYC, thanh toan crypto va bao mat phap ly. Bai viet nay huong dan cai dat Bitcoin Core, dong bo mainnet, va trien khai Lightning Network node tren cung VPS.

Need this done for your project?

We implement, you ship. Async, documented, done in days.

Start a Brief

Vi Sao Bitcoin User Can Full Node Rieng

Hau het user Bitcoin dung wallet light client nhu Electrum hoac mobile wallet, ket noi vao Electrum server cua nguoi khac. Mo hinh nay co 3 rui ro:

  • Ro ri so du va address: Electrum server thay duoc moi address va so du ma client truy van. Nhieu server log toan bo lich su.
  • Phu thuoc vao consensus cua server: Server co the lua client ve block tip hoac so du. Voi node rieng, ban tu validate.
  • Tin tuong KYC exchange: Nhieu user de Bitcoin tren Coinbase/Binance va khong co Bitcoin that. Full node + cold wallet la cach bao ve thuc su.

Voi Bitcoin full node tren AnubizHost VPS Iceland:

  • Bitcoin Core validate moi block va transaction tu genesis - khong tin ai.
  • Personal Electrum Server (electrs hoac fulcrum) cho wallet ket noi vao, khong ro ri du lieu cho ben thu ba.
  • Iceland jurisdiction bao ve quyen rieng tu node owner khoi yeu cau metadata.
  • Thanh toan thue VPS bang Bitcoin chinh node nay sinh ra - mot vong loop tu chu hoan chinh.

Bitcoin mainnet block height hien tai khoang 850k, chiem ~620GB. VPS AnubizHost goi Storage hoac Pro+ voi 750GB+ phu hop. Bang thong khoang 5-7 TB/thang du.

Cai Dat Bitcoin Core Va Dong Bo Blockchain

Tai Bitcoin Core 26.0 chinh thuc tu bitcoincore.org va xac minh chu ky GPG:

wget https://bitcoincore.org/bin/bitcoin-core-26.0/bitcoin-26.0-x86_64-linux-gnu.tar.gz
wget https://bitcoincore.org/bin/bitcoin-core-26.0/SHA256SUMS
wget https://bitcoincore.org/bin/bitcoin-core-26.0/SHA256SUMS.asc
# Xac minh hash
sha256sum --ignore-missing --check SHA256SUMS
# Giai nen va cai
tar -xzf bitcoin-26.0-x86_64-linux-gnu.tar.gz
install -m 0755 -o root -g root -t /usr/local/bin bitcoin-26.0/bin/*

Tao user bitcoin va thu muc data:

useradd -m -s /bin/bash bitcoin
mkdir -p /var/lib/bitcoin
chown bitcoin:bitcoin /var/lib/bitcoin
sudo -u bitcoin mkdir /home/bitcoin/.bitcoin

Tao file /home/bitcoin/.bitcoin/bitcoin.conf:

datadir=/var/lib/bitcoin
server=1
txindex=1
rpcuser=bitcoinrpc
rpcpassword=strong_random_password
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
listen=1
maxconnections=20
dbcache=4096

Tao systemd unit va khoi dong:

# /etc/systemd/system/bitcoind.service
[Service]
User=bitcoin
ExecStart=/usr/local/bin/bitcoind -conf=/home/bitcoin/.bitcoin/bitcoin.conf
Restart=always
TimeoutStopSec=600

Sync mainnet voi txindex=1 mat 3-5 ngay tren NVMe. Kiem tra: bitcoin-cli getblockchaininfo.

Lightning Network Va Electrs Tren Cung VPS

Sau khi Bitcoin Core sync xong, them Lightning Network de gui thanh toan instant phi thap.

Cai dat LND:

wget https://github.com/lightningnetwork/lnd/releases/download/v0.17.4-beta/lnd-linux-amd64-v0.17.4-beta.tar.gz
tar -xzf lnd-linux-amd64-v0.17.4-beta.tar.gz
mv lnd-linux-amd64-v0.17.4-beta/* /usr/local/bin/

File /home/bitcoin/.lnd/lnd.conf:

[Application Options]
alias=AnubizNode
listen=0.0.0.0:9735
rpclisten=127.0.0.1:10009
[Bitcoin]
bitcoin.active=1
bitcoin.mainnet=1
bitcoin.node=bitcoind
[Bitcoind]
bitcoind.rpcuser=bitcoinrpc
bitcoind.rpcpass=strong_random_password
bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332
bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333

Them cau hinh ZMQ vao bitcoin.conf va khoi dong lai bitcoind. Sau do lnd, tao wallet bang lncli create. LUU SEED PHRASE OFFLINE - day la lop bao ve cuoi cung.

Cai Electrs lam personal Electrum server:

apt install -y cargo
git clone https://github.com/romanz/electrs
cd electrs
cargo build --release
cp target/release/electrs /usr/local/bin/

Cau hinh electrs.toml va chay sau khi Bitcoin Core sync. Electrs index mat them 1-2 ngay, sau do wallet ca nhan (Sparrow, Electrum) co the connect den electrs cua ban qua Tor hidden service hoac VPN noi bo.

Bao mat: KHONG mo cong 8332 (Bitcoin RPC) hoac 10009 (LND gRPC) ra Internet. Cong 9735 (LND p2p) co the mo nhung dung Tor hidden service de bao ve IP cua node. Cau hinh nay tao ra Bitcoin stack hoan chinh, rieng tu va chu quyen tren AnubizHost.

Why Anubiz Host

100% async — no calls, no meetings
Delivered in days, not weeks
Full documentation included
Production-grade from day one
Security-first approach
Post-delivery support included

Ready to get started?

Skip the research. Tell us what you need, and we'll scope it, implement it, and hand it back — fully documented and production-ready.

Anubiz Chat AI

Online