Skip to content

Node Settings

Eric Voskuil edited this page Mar 22, 2017 · 14 revisions

The following node settings are implemented in the libbitcoin-node and exposed in both Bitcoin Node (BN) and Bitcoin Server (BS).

[node]
# The time period for block polling after initial block download, defaults to 1 (0 disables).
block_poll_seconds = 1
# The minimum fee per byte required for transaction acceptance, defaults to 1.
minimum_byte_fee_satoshis = 1
# Request that peers relay transactions, defaults to true.
relay_transactions = true
# Request transactions on each channel start, defaults to true.
refresh_transactions = true

block_poll_seconds

See initial block download efficiency and why and configuring polling.

minimum_byte_fee_satoshis

This controls both the limit accepted by the node and the relay level request of its peers. Any floating point value is valid. Setting this to 0 exposes the node to a low cost disk exhaustion attack.

relay_transactions

This should be disabled during initial block download.

refresh_transactions

This causes the node to request the mempool of each capable peer upon connection. This is automatically disabled when relay_transactions is false. This can help warm up the transaction pool quickly. Since the transaction pool is just the disk-based transaction store the node can be restarted with this setting disabled (immediately after warming up the pool), at which point the pool should remain primed.

Clone this wiki locally