Skip to content

Bitcoin

Bitcoin is the first and largest cryptocurrency. Running a Bitcoin node helps with network decentralization and privacy.


FeatureValue
ConsensusProof of Work
Block Time~10 minutes
Block Size1-4 MB
TokenBTC

TypeDescription
Full NodeDownloads entire blockchain
Pruned NodeFull validation, limited storage
LightweightSPV (Simplified Payment Verification)

Terminal window
# Install dependencies
sudo apt-get install build-essential libtool autotools-dev \
automake pkg-config bsdmainutils python3 libevent-dev libboost-dev
# Clone and build
git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin
./autogen.sh
./configure
make -j$(nproc)
sudo make install
Terminal window
# Create config
mkdir -p ~/.bitcoin
nano ~/.bitcoin/bitcoin.conf
# bitcoin.conf
server=1
rpcuser=user
rpcpassword=password
rpcbind=127.0.0.1
rpcport=8332
prune=550

Terminal window
# Start daemon
bitcoind
# Or with pruning
bitcoind -prune=550
Terminal window
# Get block count
bitcoin-cli getblockcount
# Get balance
bitcoin-cli getbalance
# Send transaction
bitcoin-cli sendtoaddress "address" amount

  • Bitcoin uses PoW consensus
  • Full node requires ~600GB storage
  • Bitcoin Core is the reference implementation

This completes the Blockchain Node Guide. Review the chapters and practice the hands-on tasks before your interview!


Last Updated: 2026-02-20