Complete reference for Bitcoin-PoCX configuration options.
| Setup | Path |
| Manual | ~/.bitcoin-pocx/bitcoin.conf |
| Systemd | /var/lib/bitcoin/.bitcoin/bitcoin.conf |
No configuration needed. Bitcoin Core creates a .cookie file automatically:
- Mainnet:
~/.bitcoin-pocx/.cookie
- Testnet:
~/.bitcoin-pocx/testnet/.cookie
server=1
rpcuser=bitcoinrpc
rpcpassword=YOUR_SECURE_PASSWORD
| Option | Description | Default |
testnet=1 | Use testnet | 0 (mainnet) |
regtest=1 | Use regtest | 0 |
| Option | Description | Default |
server=1 | Enable RPC server | 0 |
rpcuser= | RPC username | - |
rpcpassword= | RPC password | - |
rpcport= | RPC port | 8332 (18332 testnet) |
rpcbind= | RPC bind address | 127.0.0.1 |
rpcallowip= | Allow RPC from IP | 127.0.0.1 |
| Option | Description | Default |
listen=1 | Accept incoming connections | 1 |
port= | P2P port | 8333 (18333 testnet) |
maxconnections= | Max peer connections | 125 |
addnode= | Add specific peer | - |
connect= | Connect only to specific peers | - |
| Option | Description | Default |
disablewallet=1 | Disable wallet | 0 |
wallet= | Load specific wallet | - |
| Option | Description | Default |
dbcache= | Database cache MB | 450 |
maxmempool= | Mempool size MB | 300 |
prune= | Prune blockchain MB | 0 (disabled) |
testnet=1
disablewallet=1
server=1
listen=1
maxconnections=40
dbcache=450
[test]
rpcport=18332
testnet=1
server=1
rpcuser=bitcoinrpc
rpcpassword=YOUR_PASSWORD
listen=1
maxconnections=40
dbcache=450
[test]
rpcport=18332
wallet=mining
Typically ~/bitcoin-pocx/miner.yaml or /var/lib/bitcoin/miner.yaml
chains:
- name: 'local' # Friendly name
rpc_transport: http # Transport type
rpc_host: '127.0.0.1' # Node/pool host
rpc_port: 18332 # RPC port
rpc_auth: # Auth (required for solo)
type: user_pass
username: 'bitcoinrpc'
password: 'YOUR_PASSWORD'
block_time_seconds: 120 # Block time
submission_mode: wallet # wallet or pool
plot_dirs:
- '/path/to/plots' # Directory containing plot files
Multiple plot directories:
plot_dirs:
- '/mnt/disk1/plots'
- path: '/mnt/disk2/plots'
- path: '/mnt/disk3/plots'
chains:
- name: 'Bitcoin-PoCX Testnet'
rpc_transport: http
rpc_host: '127.0.0.1'
rpc_port: 18332
rpc_auth:
type: user_pass
username: 'bitcoinrpc'
password: 'your_rpc_password'
block_time_seconds: 120
submission_mode: wallet
plot_dirs:
- '/home/user/plots'
- path: '/mnt/external/plots'
chains:
- name: 'Testnet Pool'
rpc_transport: https
rpc_host: 'pool.testnet.bitcoin-pocx.org'
rpc_port: 443
block_time_seconds: 120
submission_mode: pool
plot_dirs:
- '/home/user/plots'
| Option | Description |
-i, --id | Your mining address (required) |
-p, --path | Output directory (required) |
-w, --warps | Size in warps (1 warp = 1 GiB) |
-x, --compression | Compression level (1, 2, or 4) |
-c, --cpu | CPU threads to use |
-g, --gpu | GPU(s) for plotting |
-n, --num | Number of files (0 = fill disk) |
| Level | Space Savings | Mining CPU Use |
| 1 (X1) | None | Lowest |
| 2 (X2) | ~50% | Medium |
| 4 (X4) | ~75% | Highest |
./pocx_plotter \
-i tpocx1qyouraddress... \
-p /mnt/plots \
-w 500 \
-x 1 \
-c 4
| Service | Mainnet | Testnet |
| Bitcoin P2P | 8333 | 18333 |
| Bitcoin RPC | 8332 | 18332 |
| File | Purpose |
~/.bitcoin-pocx/bitcoin.conf | Node configuration |
~/.bitcoin-pocx/.cookie | Cookie auth (mainnet) |
~/.bitcoin-pocx/testnet/.cookie | Cookie auth (testnet) |
~/.bitcoin-pocx/testnet/ | Testnet blockchain data |
~/.bitcoin-pocx/wallets/ | Wallet files |
~/.bitcoin-pocx/debug.log | Node logs (mainnet) |
~/.bitcoin-pocx/testnet/debug.log | Node logs (testnet) |