-
Notifications
You must be signed in to change notification settings - Fork 67
Regtest Configuration
Eric Voskuil edited this page Dec 2, 2017
·
17 revisions
The regression testing network is a local network which reduces mining difficulty to the lowest possible value. This allows for rapid creation of blockchains for automated testing. The following configuration settings are unique in this environment. The flags.retarget setting requires at least version 3.4.
[network]
# The magic number for message headers.
identifier = 3669344250
# The port for incoming connections.
inbound_port = 18444
# Disable seeding, otherwise manually populate hosts.cache file.
host_pool_capacity = 0
# Optionally connect to one or more peers on a private regtest network.
peer = regtest1.bitware.co:18444
peer = regtest2.bitware.co:18444
[blockchain]
# Disable default (mainnet) checkpoints.
checkpoint = 0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206:0
[flags]
# Retarget difficulty, defaults to true (use false for regtest).
retarget = false
# Require coinbase input includes block height (disabled on satoshi client).
bip34 = falseUsers | Developers | License | Copyright © 2011-2024 libbitcoin developers
- Home
- Build Server
- Download Server
- Frequently Asked Questions
- General Information
- Client Server Interface
- Configuration Settings
- Tutorials