Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [nano_pow_server]
- # Enable or disable starting Nano PoW Server as a child process.
- # type:bool
- enable = false
- # Path to the nano_pow_server executable.
- # type:string,path
- # nano_pow_server_path = ""
- [node]
- # Number of active elections. Elections beyond this limit have limited survival time.
- # Warning: modifying this value may result in a lower confirmation rate.
- # type:uint64,[250..]
- active_elections_size = 10000
- # Enable or disable local host peering.
- # type:bool
- allow_local_peers = true
- # Backup the ledger database before performing upgrades.
- # Warning: uses more disk storage and increases startup time when upgrading.
- # type:bool
- backup_before_upgrade = true
- # Outbound traffic limit in bytes/sec after which messages will be dropped.
- # Note: changing to unlimited bandwidth is not recommended for limited connections.
- # type:uint64
- bandwidth_limit = 5242880
- # The maximum time the block processor can continously process blocks for.
- # type:milliseconds
- block_processor_batch_max_time = 5000
- # Number of outbound bootstrap connections. Must be a power of 2. Defaults to 4.
- # Warning: a larger amount of connections may use substantially more system memory.
- # type:uint64
- bootstrap_connections = 4
- # Maximum number of inbound bootstrap connections. Defaults to 64.
- # Warning: a larger amount of connections may use additional system memory.
- # type:uint64
- bootstrap_connections_max = 64
- # Change bootstrap threshold (online stake / 256 * bootstrap_fraction_numerator).
- # type:uint32
- bootstrap_fraction_numerator = 1
- # Minimum write batching time when there are blocks pending confirmation height.
- # type:milliseconds
- conf_height_processor_batch_min_time = 50
- # Maximum confirmation history size. If tracking the rate of block confirmations, the websocket feature is recommended instead.
- # type:uint64
- confirmation_history_size = 2048
- # Enable or disable voting. Enabling this option requires additional system resources, namely increased CPU, bandwidth and disk usage.
- # type:bool
- enable_voting = true
- # The external address of this node (NAT). If not set, the node will request this information via UPnP.
- # type:string,ip
- external_address = "::"
- # The external port number of this node (NAT). Only used if external_address is set.
- # type:uint16
- external_port = 0
- # Mode controlling frontier confirmation rate.
- # type:string,{auto,always,disabled}
- frontiers_confirmation = "auto"
- # Number of threads dedicated to I/O opeations. Defaults to the number of CPU threads, and at least 4.
- # type:uint64
- io_threads = 4
- # Maximum open lmdb databases. Increase default if more than 100 wallets is required.
- # Note: external management is recommended when a large amounts of wallets are required (see https://docs.nano.org/integration-guides/key-management/).
- # type:uint64
- lmdb_max_dbs = 128
- # Maximum allowed difficulty multiplier for work generation.
- # type:double,[1..]
- max_work_generate_multiplier = 64.000000000000000
- # Number of threads dedicated to processing network messages. Defaults to the number of CPU threads, and at least 4.
- # type:uint64
- network_threads = 4
- # Online weight minimum required to confirm a block.
- # type:string,amount,raw
- online_weight_minimum = "1000000000000000000000000000000"
- # Percentage of votes required to confirm blocks. A value below 50 is not recommended.
- # type:uint64
- online_weight_quorum = 50
- # Password fanout factor.
- # type:uint64
- password_fanout = 1024
- # Node peering port.
- # type:uint16
- peering_port = 9075
- # Time to sleep between batch work generation attempts. Reduces max CPU usage at the expense of a longer generation time.
- # type:nanoseconds
- pow_sleep_interval = 0
- # A list of "address:port" entries to identify preconfigured peers.
- preconfigured_peers = ["peers.bitcoin.black"]
- # A list of representative account addresses used when creating new accounts in internal wallets.
- preconfigured_representatives = [
- "bcb_3zscrcrgbusx7ck3pgu9xfe5fe5a6ecewguweh1dry7ic7xg9cnmfk1r6ceg", "bcb_1t4fnppzaoa56t67wbxj99n68pnednh6x53158fxej63xdwj849g78c7nuc5", "bcb_1nw3ize5wbfq5erwyo9ofggw3o3tmhfrcomcekn5sfkpt3yrkxmz3fcm8u9d", "bcb_1pwao33mhd164nptat8tq4rdeerpi6pdh7ewophfqknt8m5mmyudckpjary7", "bcb_3q3kpyzotq5njbieg6jq5h3afybe4issnmnoj9auu1mk6k9jqh3p9gotx5fy", "bcb_3zt7r4frys7ycagcspc5pn5kum5yk1m9m7jew5fijo4dng837mbdp4wy6bfg"]
- # Minimum receive amount. Only affects node wallets. A large amount is recommended to avoid automatic work generation for tiny transactions.
- # type:string,amount,raw
- receive_minimum = "10000000000000000000000000000"
- # Number of additional threads dedicated to signature verification. Defaults to the number of CPU threads minus 1.
- # type:uint64
- signature_checker_threads = 3
- # Maximum number of incoming TCP connections.
- # type:uint64
- tcp_incoming_connections_max = 1024
- # Timeout for TCP connect-, read- and write operations.
- # Warning: a low value (e.g., below 5 seconds) may result in TCP connections failing.
- # type:seconds
- tcp_io_timeout = 15
- # Number of seconds before deleting an unchecked entry.
- # Warning: lower values (e.g., 3600 seconds, or 1 hour) may result in unsuccessful bootstraps, especially a bootstrap from scratch.
- # type:seconds
- unchecked_cutoff_time = 14400
- # If true, allocate memory from memory pools. Enabling this may improve performance. Memory is never released to the OS.
- # type:bool
- use_memory_pools = true
- # Delay before votes are sent to allow for efficient bundling of hashes in votes.
- # type:milliseconds
- vote_generator_delay = 50
- # Number of bundled hashes required for an additional generator delay.
- # type:uint64,[1..11]
- vote_generator_threshold = 3
- # Local representatives do not vote if the delegated weight is under this threshold. Saves on system resources.
- # type:string,amount,raw
- vote_minimum = "10000000000000000000000000000"
- # A list of "address:port" entries to identify work peers.
- work_peers = []
- # Number of threads dedicated to CPU generated work. Defaults to all available CPU threads.
- # type:uint64
- work_threads = 4
- # Time between checks for confirmation and re-generating higher difficulty work if unconfirmed, for blocks in the work watcher.
- # type:seconds
- work_watcher_period = 5
- [node.diagnostics.txn_tracking]
- # Enable or disable database transaction tracing.
- # type:bool
- enable = true
- # Ignore any block processor writes less than block_processor_batch_max_time.
- # type:bool
- ignore_writes_below_block_processor_max_time = true
- # Log stacktrace when read transactions are held longer than this duration.
- # type:milliseconds
- min_read_txn_time = 5000
- # Log stacktrace when write transactions are held longer than this duration.
- # type:milliseconds
- min_write_txn_time = 500
- [node.experimental]
- # A list of "address:port" entries to identify work peers for secondary work generation.
- secondary_work_peers = ["127.0.0.1:8076"]
- [node.httpcallback]
- # Callback address.
- # type:string,ip
- address = "[::1]"
- # Callback port number.
- # type:uint16
- port = 8180
- # Callback target path.
- # type:string,uri
- target = "/callback"
- [node.ipc.local]
- # If enabled, certain unsafe RPCs can be used. Not recommended for production systems.
- # type:bool
- #allow_unsafe = false
- # Enable or disable IPC via local domain socket.
- # type:bool
- #enable = false
- # Timeout for requests.
- # type:seconds
- #io_timeout = 15
- # Path to the local domain socket.
- # type:string
- #path = "/tmp/nano"
- [node.ipc.tcp]
- # Enable or disable IPC via TCP server.
- # type:bool
- enable = false
- # Timeout for requests.
- # type:seconds
- #io_timeout = 15
- # Server listening port.
- # type:uint16
- port = 9077
- [node.logging]
- # Log when a block is updated while in active transactions.
- # type:bool
- active_update = true
- # Log bulk pull errors and messages.
- # type:bool
- bulk_pull = true
- # If enabled, immediately flush new entries to log file.
- # Warning: this may negatively affect logging performance.
- # type:bool
- flush = true
- # Log if insufficient work is detected.
- # type:bool
- insufficient_work = true
- # Log ledger related messages.
- # type:bool
- ledger = true
- # Log when a duplicate block is attempted inserted into the ledger.
- # type:bool
- ledger_duplicate = true
- # Log IPC related activity.
- # type:bool
- log_ipc = true
- # Log to standard error in addition to the log file. Not recommended for production systems.
- # type:bool
- log_to_cerr = true
- # Maximum log file size in bytes.
- # type:uint64
- max_size = 134217728
- # Minimum time that must pass for low priority entries to be logged.
- # Warning: decreasing this value may result in a very large amount of logs.
- # type:milliseconds
- min_time_between_output = 5
- # Log network related messages.
- # type:bool
- network = true
- # Log keepalive related messages.
- # type:bool
- network_keepalive = false
- # Log network errors and message details.
- # type:bool
- network_message = false
- # Log node-id handshake related messages.
- # type:bool
- network_node_id_handshake = false
- # Log network packet activity.
- # type:bool
- network_packet = false
- # Log publish related network messages.
- # type:bool
- network_publish = false
- # Log TCP timeouts.
- # type:bool
- network_timeout = false
- # Log node startup and shutdown messages.
- # type:bool
- node_lifetime_tracing = false
- # Log file rotation size in character count.
- # type:uint64
- rotation_size = 4194304
- # Keep log entries on single lines.
- # type:bool
- single_line_record = false
- # Log detailed timing information for various node operations.
- # type:bool
- timing = false
- # Log UPNP discovery details..
- # Warning: this may include information.
- # about discovered devices, such as product identification. Please review before sharing logs.
- # type:bool
- upnp_details = true
- # Vote logging. Enabling this option leads to a high volume.
- # of log messages which may affect node performance.
- # type:bool
- vote = true
- # Log work generation timing information.
- # type:bool
- work_generation_time = true
- [node.rocksdb]
- # Size (MB) of the block cache; A larger number will increase performance of read operations. At least 512MB is recommended.
- # type:uint64
- block_cache = 64
- # Uncompressed data (KBs) per block. Increasing block size decreases memory usage and space amplification, but increases read amplification. 16 is recommended.
- # type:uint32
- block_size = 4
- # Number of bits to use with a bloom filter. Helps with point reads but uses more memory. 0 disables the bloom filter, 10 is recommended.
- # type:uint32
- bloom_filter_bits = 0
- # Whether index and filter blocks are stored in block_cache, true is recommended.
- # type:bool
- cache_index_and_filter_blocks = false
- # Whether to use the RocksDB backend for the ledger database.
- # type:bool
- enable = false
- # Whether to use 2 separate write queues for memtable/WAL, true is recommended.
- # type:bool
- enable_pipelined_write = false
- # Number of threads to use with the background compaction and flushing. Number of hardware threads is recommended.
- # type:uint32
- io_threads = 4
- # Amount of memory (MB) to build up before flushing to disk for an individual column family. Large values increase performance. 64 or 128 is recommended.
- # type:uint32
- memtable_size = 32
- # Number of memtables to keep in memory per column family. 2 is the minimum, 3 is recommended.
- # type:uint32
- num_memtables = 2
- # Total memory (MB) which can be used across all memtables, set to 0 for unconstrained.
- # type:uint32
- total_memtable_size = 512
- [node.statistics.log]
- # Log file name for counters.
- # type:string
- #filename_counters = "counters.stat"
- # Log file name for samples.
- # type:string
- #filename_samples = "samples.stat"
- # If true, write headers on each counter or samples writeout.
- # The header contains log type and the current wall time.
- # type:bool
- #headers = true
- # How often to log counters. 0 disables logging.
- # type:milliseconds
- #interval_counters = 0
- # How often to log samples. 0 disables logging.
- # type:milliseconds
- #interval_samples = 0
- # Maximum number of log outputs before rotating the file.
- # type:uint64
- #rotation_count = 100
- [node.statistics.sampling]
- # How many sample intervals to keep in the ring buffer.
- # type:uint64
- #capacity = 0
- # Enable or disable sampling.
- # type:bool
- #enable = false
- # Sample interval.
- # type:milliseconds
- #interval = 0
- [node.websocket]
- # WebSocket server bind address.
- # type:string,ip
- #address = "::1"
- # Enable or disable WebSocket server.
- # type:bool
- #enable = false
- # WebSocket server listening port.
- # type:uint16
- #port = 9078
- [opencl]
- # OpenCL device identifier
- #device = 0
- # Enable or disable OpenCL work generation
- # type:bool
- enable = false
- # OpenCL platform identifier
- #platform = 0
- # OpenCL thread count
- #threads = 1048576
- [rpc]
- # Enable or disable RPC
- # type:bool
- enable = true
- # Allow or disallow signing of hashes.
- # type:bool
- enable_sign_hash = false
- [rpc.child_process]
- # Enable or disable RPC child process. If false, an in-process RPC server is used.
- # type:bool
- enable = false
- # Path to the nano_rpc executable. Must be set if child process is enabled.
- # type:string,path
- rpc_path = "/root/Node/btcb_rpc"
Add Comment
Please, Sign In to add comment