Basics
Dero Daemon

DERO Daemon (Node)

DERO Daemon

The DERO daemon (derod) is the core software that runs the DERO blockchain network. It validates transactions, maintains the blockchain, and connects peers in a decentralized P2P network.


What Does a Daemon Do?

FunctionWhat It DoesSource Code
Transaction ValidationVerify proofs, ring sigs, bulletproofsblockchain/transaction_verify.go
Block ProcessingExecute transactions, update balancesblockchain/transaction_execute.go:239
P2P NetworkingSync with peers, propagate blocks/TXsp2p/connection.go
MiningProvide PoW templates, validate solutionsblockchain/mining.go
RPC APIServe wallet requests, smart contract callsrpc/rpc_dero.go

Network Ports

Mainnet

ServicePortPurpose
P2P10101Node-to-node communication
RPC10102Daemon RPC API
Wallet RPC10103Wallet communication

Testnet

ServicePortPurpose
P2P40401Node-to-node communication
RPC40402Daemon RPC API
Wallet RPC40403Wallet communication

Source: config/config.go - Network configuration


Running Your Own Node

Basic command:

./derod-linux-amd64
 
# With custom settings
./derod-linux-amd64 --rpc-bind=0.0.0.0:10102 --p2p-bind=0.0.0.0:10101

System Requirements:

  • CPU: 2 to 4 cores minimum
  • RAM: 4GB minimum
  • Disk: 15GB+ SSD (grows over time)
  • Network: Stable internet connection

Integrator Rewards

The 10% Daemon Bonus

How it works:

Every 10 miniblocks → 1 integrator block
  • 9 regular miniblocks (normal difficulty)
  • 1 integrator block (9× difficulty)
  
Integrator block reward → Your daemon address
Result: Daemon operators earn ~10% of blocks mined on their node

Why run your own daemon:

  • ✅ Earn 10% integrator rewards (vs 1.6% fee to pool operators)
  • ✅ Support network decentralization
  • ✅ Full privacy (no third-party node)
  • ✅ Contribute to blockchain security

Source: Miniblock system described in blockchain/blockchain.go


Sync Status

Understanding the numbers:

# Daemon display
Height: 6090778/6090778   Synced!
         ^local  ^network
 
Not synced: 5500000/6090778
Syncing:    6090000/6090778 (99.9%)
Synced:     6090778/6090778 

Fast sync vs Full sync:

  • Full sync: Downloads and validates entire blockchain (slow, complete)
  • Fast sync: Downloads state snapshots (faster, still secure)

Daemon as Mining Pool

Each daemon acts as its own mining pool:

RoleFeeHow It Works
Daemon Operator1.6%Runs node, provides infrastructure
Miners88.4%Connect and mine, split proportionally
Integrator10%Daemon's address for integrator blocks

Total: 100% (nothing wasted)

Connect miners to your daemon:

# Miner connects to daemon
./dero-miner-linux-amd64 -daemon-rpc-address=127.0.0.1:10100 -wallet-address=dero1qy...

Daemon tracks shares and distributes rewards automatically

Source: Mining pool logic in blockchain/miniblocks.go


Key Features

Privacy-Preserving

  • ✅ TLS-encrypted P2P connections
  • ✅ Stores encrypted balances (ElGamal)
  • ✅ Validates without revealing amounts
  • ✅ No metadata leakage

Lightweight Storage

Blockchain storage:
  • Account: 66 bytes (encrypted balance)
  • Total accounts: Scales efficiently
  • Pruning: Can reduce disk usage
  
1 billion accounts = ~200GB (with overhead)
Source: README.md (lines 92-98)

Fast Validation

  • Block time: ~16 seconds
  • Transaction verification: under 25ms
  • Instant balance queries: 66 bytes

Daemon Commands

Interactive mode:

$ ./derod
 
Commands available:
  status          # Show blockchain height, peers
  peer_list       # Connected peers
  diff            # Current difficulty
  print_bc        # Print blockchain info
  print_block     # Show specific block
  print_tx        # Show transaction details
  exit            # Stop daemon

Useful RPC calls:

# Get blockchain info
curl http://127.0.0.1:10102/json_rpc \
  -d '{"method":"DERO.GetInfo"}'
 
# Get block details  
curl http://127.0.0.1:10102/json_rpc \
  -d '{"method":"DERO.GetBlock","params":{"height":100000}}'

Why Run a Daemon?

Benefits:

BenefitDescription
PrivacyNo third-party sees your queries
Integrator RewardsEarn 10% of blocks mined on your node
Network SupportContribute to decentralization
Self-SovereigntyComplete control, no trust needed
Mining PoolSupport friends/family mining

Trade-offs:

  • Requires: Always-on machine, disk space, bandwidth
  • Maintains: Full blockchain copy
  • Syncs: Initially time-consuming

Related Pages

Get Started:

API & Integration:

Understanding DERO: