diff --git a/data/bn.cfg b/data/bn.cfg index aad895963..15e479bab 100644 --- a/data/bn.cfg +++ b/data/bn.cfg @@ -1,45 +1,59 @@ # Libbitcoin Node configuration file [bitcoin] -# The activation time for bip16 in unix time, defaults to 1333238400. +# The activation time for bip16 in unix time, defaults to '1333238400'. bip16_activation_time = -# The number of blocks considered for bip34 style soft fork activation, defaults to 1000. +# The number of blocks considered for bip34 style soft fork activation, defaults to '1000'. bip34_activation_sample = -# The number of new version blocks required for bip34 style soft fork activation, defaults to 750. +# The number of new version blocks required for bip34 style soft fork activation, defaults to '750'. bip34_activation_threshold = -# The number of new version blocks required for bip34 style soft fork enforcement, defaults to 950. +# The number of new version blocks required for bip34 style soft fork enforcement, defaults to '950'. bip34_enforcement_threshold = -# The block height to freeze the bip34 softfork for bip90, defaults to 227931. +# The block height to freeze the bip34 softfork for bip90, defaults to '227931'. bip34_freeze = -# The block height to freeze the bip65 softfork for bip90, defaults to 388381. +# The block height to freeze the bip65 softfork for bip90, defaults to '388381'. bip65_freeze = -# The block height to freeze the bip66 softfork for bip90, defaults to 363725. +# The block height to freeze the bip66 softfork for bip90, defaults to '363725'. bip66_freeze = -# The hash:height checkpoint for bip9 bit0 activation, defaults to 000000000000000004a1b34462cb8aeebd5799177f7a29cf28f2d1961716b5b5:419328. +# The hash:height checkpoint for bip9 bit0 activation, defaults to '000000000000000004a1b34462cb8aeebd5799177f7a29cf28f2d1961716b5b5:419328'. bip9_bit0_active_checkpoint = -# The target block period, defaults to 600. +# The target block period, defaults to '600'. block_spacing_seconds = # The blockchain checkpoints, defaults to the consensus set. checkpoint = -# The genesis block, defaults to mainnet. +# The hexideciaml encoding of the genesis block, defaults to mainnet. genesis_block = -# The initial block subsidy, defaults to 50. +# The initial block subsidy, defaults to '50'. initial_block_subsidy_bitcoin = -# A block presumed to be valid but not required to be present, defaults to 000000000000000000010538edbfd2d5b809a33dd83f284aeea41c6d0d96968a:900000. +# A block presumed to be valid but not required to be present, defaults to '000000000000000000010538edbfd2d5b809a33dd83f284aeea41c6d0d96968a:900000'. milestone = -# The minimum work for any branch to be considered valid, defaults to 000000000000000000000000000000000000000052b2559353df4117b7348b64. +# The minimum work for any branch to be considered valid, defaults to '000000000000000000000000000000000000000052b2559353df4117b7348b64'. minimum_work = -# The proof of work limit, defaults to 486604799. +# The proof of work limit, defaults to '486604799'. proof_of_work_limit = -# The difficulty retargeting factor, defaults to 4. +# The difficulty retargeting factor, defaults to '4'. retargeting_factor = -# The difficulty retargeting period, defaults to 1209600. +# The difficulty retargeting period, defaults to '1209600'. retargeting_interval_seconds = -# The subsidy halving period, defaults to 210000. +# The subsidy halving period, defaults to '210000'. subsidy_interval = -# The future timestamp allowance, defaults to 7200. +# The future timestamp allowance, defaults to '7200'. timestamp_limit_seconds = +[bitcoind] +# IP address to bind, multiple allowed, defaults to '0.0.0.0:8380' (all IPv4). +bind = +# The required maximum number of connections, defaults to '0'. +connections = +# The host name (http verification), multiple allowed, defaults to empty (disabled). +host = +# The service requires TLS (not implemented), defaults to 'false'. +secure = +# The server name (http header), defaults to 'libbitcoin/4.0'. +server = +# The idle timeout (http keep-alive), defaults to '60'. +timeout_seconds = + [database] # The number of buckets in the address table head, defaults to '1' (0|1 disables). address_buckets = @@ -140,182 +154,264 @@ validated_tx_rate = # The minimum allocation of the validated_tx table body, defaults to '1'. validated_tx_size = +[electrum] +# IP address to bind, multiple allowed, defaults to '0.0.0.0:8480' (all IPv4). +bind = +# The required maximum number of connections, defaults to '0'. +connections = +# The service requires TLS (not implemented), defaults to 'false'. +secure = +# The idle timeout (http keep-alive), defaults to '60'. +timeout_seconds = + +[explore] +# IP address to bind, multiple allowed, defaults to '0.0.0.0:8180' (all IPv4). +bind = +# The required maximum number of connections, defaults to '0'. +connections = +# The path of the default source page, defaults to 'index.html'. +default = +# The host name (http verification), multiple allowed, defaults to empty (disabled). +host = +# The allowed origin (http verification), multiple allowed, defaults to empty (disabled). +origin = +# The required root path of source files to be served, defaults to empty. +path = +# The service requires TLS (not implemented), defaults to 'false'. +secure = +# The server name (http header), defaults to 'libbitcoin/4.0'. +server = +# The idle timeout (http keep-server), defaults to '60'. +timeout_seconds = + [forks] -# Add check-sequence-verify op code, defaults to true (soft fork). +# Add check-sequence-verify op code, defaults to 'true' (soft fork). bip112 = -# Use median time past for locktime, defaults to true (soft fork). +# Use median time past for locktime, defaults to 'true' (soft fork). bip113 = -# Segregated witness consensus layer, defaults to true (soft fork). +# Segregated witness consensus layer, defaults to 'true' (soft fork). bip141 = -# Witness version 0 (segwit), defaults to true (soft fork). +# Witness version 0 (segwit), defaults to 'true' (soft fork). bip143 = -# Prevent dummy value malleability, defaults to true (soft fork). +# Prevent dummy value malleability, defaults to 'true' (soft fork). bip147 = -# Add pay-to-script-hash processing, defaults to true (soft fork). +# Add pay-to-script-hash processing, defaults to 'true' (soft fork). bip16 = -# Disallow collision of unspent transaction hashes, defaults to true (soft fork). +# Disallow collision of unspent transaction hashes, defaults to 'true' (soft fork). bip30 = -# Require coinbase input includes block height, defaults to true (soft fork). +# Require coinbase input includes block height, defaults to 'true' (soft fork). bip34 = -# Witness version 1 (taproot), defaults to true (soft fork). +# Witness version 1 (taproot), defaults to 'true' (soft fork). bip341 = -# Validation of taproot script, defaults to true (soft fork). +# Validation of taproot script, defaults to 'true' (soft fork). bip342 = -# Finite monetary supply, defaults to true (soft fork). +# Finite monetary supply, defaults to 'true' (soft fork). bip42 = -# Add check-locktime-verify op code, defaults to true (soft fork). +# Add check-locktime-verify op code, defaults to 'true' (soft fork). bip65 = -# Require strict signature encoding, defaults to true (soft fork). +# Require strict signature encoding, defaults to 'true' (soft fork). bip66 = -# Add relative locktime enforcement, defaults to true (soft fork). +# Add relative locktime enforcement, defaults to 'true' (soft fork). bip68 = -# Assume bip34, bip65, and bip66 activation if enabled, defaults to true (hard fork). +# Assume bip34, bip65, and bip66 activation if enabled, defaults to 'true' (hard fork). bip90 = -# Require difficult blocks, defaults to true (use false for testnet). +# Require difficult blocks, defaults to 'true' (use false for testnet). difficult = -# Retarget difficulty, defaults to true. +# Retarget difficulty, defaults to 'true'. retarget = -# Fix target overflow for very low difficulty, defaults to false (hard fork). +# Fix target overflow for very low difficulty, defaults to 'false' (hard fork). retarget_overflow_patch = -# Use scrypt hashing for proof of work, defaults to false (hard fork). +# Use scrypt hashing for proof of work, defaults to 'false' (hard fork). scrypt_proof_of_work = -# Fix time warp bug, defaults to false (hard fork). +# Fix time warp bug, defaults to 'false' (hard fork). time_warp_patch = [log] -# Enable application logging, defaults to true. +# Enable application logging, defaults to 'true'. application = -# Enable local fault logging, defaults to true. +# Enable local fault logging, defaults to 'true'. fault = # The maximum byte size of each pair of rotated log files, defaults to 1000000. maximum_size = -# Enable news logging, defaults to true. +# Enable news logging, defaults to 'true'. news = +# Enable objects logging, defaults to 'false'. +objects = # The log files directory, defaults to empty. path = -# Enable protocol logging, defaults to false. +# Enable protocol logging, defaults to 'false'. protocol = -# Enable proxy logging, defaults to false. +# Enable proxy logging, defaults to 'false'. proxy = -# Enable quitting logging, defaults to false. +# Enable quitting logging, defaults to 'false'. quitting = -# Enable remote fault logging, defaults to true. +# Enable remote fault logging, defaults to 'true'. remote = -# Enable session logging, defaults to true. +# Enable session logging, defaults to 'true'. session = -# Path to windows debug build symbols file (.pdb). -symbols = -# Enable verbose logging, defaults to false. +# Enable verbose logging, defaults to 'false'. verbose = [network] -# The lower bound for address selection divisor, defaults to 5. +# The lower bound for address selection divisor, defaults to '5'. address_lower = -# The upper bound for address selection divisor, defaults to 10. +# The upper bound for address selection divisor, defaults to '10'. address_upper = -# IP address to bind, multiple entries allowed, defaults to 0.0.0.0:8333. +# IP address to bind, multiple allowed, defaults to '0.0.0.0:8333' (all IPv4). bind = -# IP address to disallow as a peer, multiple entries allowed. +# IP address to disallow as a peer, multiple allowed. blacklist = -# The age limit for any connection, defaults to 1440. +# The age limit for any connection, defaults to '1440'. channel_expiration_minutes = -# The time between ping messages, defaults to 5. +# The time between ping messages, defaults to '5'. channel_heartbeat_minutes = -# The inactivity time limit for any connection, defaults to 10. +# The inactivity time limit for any connection, defaults to '10'. channel_inactivity_minutes = -# The number of concurrent attempts to establish one connection, defaults to 5. +# The number of concurrent attempts to establish one connection, defaults to '5'. connect_batch_size = -# The time limit for connection establishment, defaults to 5. +# The time limit for connection establishment, defaults to '5'. connect_timeout_seconds = -# Enable address messages, defaults to true. +# Enable address messages, defaults to 'true'. enable_address = -# Enable address v2 messages, defaults to false. +# Enable address v2 messages, defaults to 'false'. enable_address_v2 = -# Enable alert messages, defaults to false. +# Enable alert messages, defaults to 'false'. enable_alert = -# Enable enable compact block messages, defaults to false. +# Enable enable compact block messages, defaults to 'false'. enable_compact = -# Enable internet protocol version 6 (IPv6), defaults to false. +# Enable internet protocol version 6 (IPv6), defaults to 'false'. enable_ipv6 = -# Allow connections from the node to itself, defaults to false. +# Allow connections from the node to itself, defaults to 'false'. enable_loopback = -# Enable reject messages, defaults to false. +# Enable reject messages, defaults to 'false'. enable_reject = -# Enable transaction relay, defaults to true. +# Enable transaction relay, defaults to 'true'. enable_relay = -# Enable witness transaction identifier relay, defaults to false. +# Enable witness transaction identifier relay, defaults to 'false'. enable_witness_tx = -# The time limit to complete the connection handshake, defaults to 30. +# The time limit to complete the connection handshake, defaults to '30'. handshake_timeout_seconds = -# The maximum number of peer hosts in the pool, defaults to 10000. +# The maximum number of peer hosts in the pool, defaults to '10000'. host_pool_capacity = -# The magic number for message headers, defaults to 3652501241. +# The magic number for message headers, defaults to '3652501241'. identifier = -# The target number of incoming network connections, defaults to 100. +# The target number of incoming network connections, defaults to '100'. inbound_connections = -# The advertised services that cause a peer to be dropped, defaults to 176. +# The advertised services that cause a peer to be dropped, defaults to '176'. invalid_services = -# The maximum allowable channel clock skew, defaults to 120. +# The maximum allowable channel clock skew, defaults to '120'. maximum_skew_minutes = -# The minimum retained read buffer size, defaults to 4000000. +# The minimum retained read buffer size, defaults to '4000000'. minimum_buffer = -# The target number of outgoing network connections, defaults to 100. +# The target number of outgoing network connections, defaults to '100'. outbound_connections = # The peer address cache file directory, defaults to empty. path = -# A persistent peer node, multiple entries allowed. +# A persistent peer node, multiple allowed. peer = -# The maximum network protocol version, defaults to 70012. +# The maximum network protocol version, defaults to '70012'. protocol_maximum = -# The minimum network protocol version, defaults to 31800. +# The minimum network protocol version, defaults to '31800'. protocol_minimum = # The peer download rate limit in bytes per second, defaults to 1024 (not implemented). rate_limit = -# The time delay for failed connection retry, defaults to 1. +# The time delay for failed connection retry, defaults to '1'. retry_timeout_seconds = -# A seed node for initializing the host pool, multiple entries allowed. +# A seed node for initializing the host pool, multiple allowed. seed = -# The time limit for obtaining seed addresses, defaults to 30. +# The time limit for obtaining seed addresses, defaults to '30'. seeding_timeout_seconds = -# IP address to advertise, multiple entries allowed. +# IP address to advertise, multiple allowed. self = -# The maximum services exposed by network connections, defaults to 9 (full node, witness). +# The maximum services exposed by network connections, defaults to '9' (full node, witness). services_maximum = -# The minimum services exposed by network connections, defaults to 9 (full node, witness). +# The minimum services exposed by network connections, defaults to '9' (full node, witness). services_minimum = -# The minimum number of threads in the network threadpool, defaults to 16. +# The minimum number of threads in the network threadpool, defaults to '16'. threads = # The node user agent string, defaults to '/libbitcoin:4.0.0/'. user_agent = -# Validate the checksum of network messages, defaults to false. +# Validate the checksum of network messages, defaults to 'false'. validate_checksum = -# IP address to allow as a peer, multiple entries allowed. +# IP address to allow as a peer, multiple allowed. whitelist = [node] -# Block deserialization buffer multiple of wire size, defaults to 20 (0 disables). +# Block deserialization buffer multiple of wire size, defaults to '20' (0 disables). allocation_multiple = -# Allowable underperformance standard deviation, defaults to 1.5 (0 disables). +# Allowable underperformance standard deviation, defaults to '1.5' (0 disables). allowed_deviation = -# Limit of per channel cached peer block and tx announcements, to avoid replaying (defaults to 42). +# Limit of per channel cached peer block and tx announcements, to avoid replaying, defaults to '42'. announcement_cache = -# Time from present that blocks are considered current, defaults to 60 (0 disables). +# Time from present that blocks are considered current, defaults to '60' (0 disables). currency_window_minutes = -# Delay accepting inbound connections until node is current, defaults to true. +# Delay accepting inbound connections until node is current, defaults to 'true'. delay_inbound = # Maximum number of blocks to download concurrently, defaults to '50000' (0 disables). maximum_concurrency = # Maximum block height to populate, defaults to 0 (unlimited). maximum_height = -# Set the validation threadpool to high priority, defaults to true. -priority = -# Sampling period for drop of stalled channels, defaults to 10 (0 disables). +# Set the process to high memory priority, defaults to 'true'. +memory_priority = +# Sampling period for drop of stalled channels, defaults to '10' (0 disables). sample_period_seconds = -# The number of threads in the validation threadpool, defaults to 32. +# Set validation threads to high processing priority, defaults to 'true'. +thread_priority = +# The number of threads in the validation threadpool, defaults to '32'. threads = -[server] -# IP address to bind, multiple entries allowed, defaults to 0.0.0.0:8080. +[socket] +# IP address to bind, multiple allowed, defaults to '0.0.0.0:8280' (all IPv4). bind = -# The target number of incoming network connections, defaults to 0. -inbound_connections = \ No newline at end of file +# The required maximum number of connections, defaults to '0'. +connections = +# The host name (http verification), multiple allowed, defaults to empty (disabled). +host = +# The server name (http header), defaults to 'libbitcoin/4.0'. +server = +# The idle timeout (http keep-alive), defaults to '60'. +timeout_seconds = + +[stratum_v1] +# IP address to bind, multiple allowed, defaults to '0.0.0.0:8580' (all IPv4). +bind = +# The required maximum number of connections, defaults to '0'. +connections = +# The service requires TLS (not implemented), defaults to 'false'. +secure = +# The idle timeout (http keep-alive), defaults to '60'. +timeout_seconds = + +[stratum_v2] +# IP address to bind, multiple allowed, defaults to '0.0.0.0:8680' (all IPv4). +bind = +# The required maximum number of connections, defaults to '0'. +connections = +# The service requires TLS (not implemented), defaults to 'false'. +secure = +# The idle timeout (http keep-alive), defaults to '60'. +timeout_seconds = + +[web] +# IP address to bind, multiple allowed, defaults to '0.0.0.0:8080' (all IPv4). +bind = +# The required maximum number of connections, defaults to '0'. +connections = +# The path of the default source page, defaults to 'index.html'. +default = +# The host name (http verification), multiple allowed, defaults to empty (disabled). +host = +# The allowed origin (http verification), multiple allowed, defaults to empty (disabled). +origin = +# The required root path of source files to be served, defaults to empty. +path = +# The service requires TLS (not implemented), defaults to 'false'. +secure = +# The server name (http header), defaults to 'libbitcoin/4.0'. +server = +# The idle timeout (http keep-alive), defaults to '60'. +timeout_seconds = + +[websocket] +# The service requires TLS (not implemented), defaults to 'false'. +secure = \ No newline at end of file