Created
April 9, 2018 11:46
-
-
Save jvr0x/5cd29210e0d02359432ecf07f08949d1 to your computer and use it in GitHub Desktop.
Nodeos basic configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Track only transactions whose scopes involve the listed accounts. Default is to track all transactions. (eosio::account_history_plugin) | |
# filter_on_accounts = | |
# Limits the maximum time (in milliseconds) processing a single get_transactions call. (eosio::account_history_plugin) | |
get-transactions-time-limit = 3 | |
# File to read Genesis State from (eosio::chain_plugin) | |
genesis-json = "genesis.json" | |
# override the initial timestamp in the Genesis State file (eosio::chain_plugin) | |
# genesis-timestamp = | |
# the location of the block log (absolute path or relative to application data dir) (eosio::chain_plugin) | |
block-log-dir = "blocks" | |
# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints. (eosio::chain_plugin) | |
# checkpoint = | |
# Limits the maximum time (in milliseconds) that a reversible block is allowed to run before being considered invalid (eosio::chain_plugin) | |
max-reversible-block-time = -1 | |
# Limits the maximum time (in milliseconds) that is allowed a pushed transaction's code to execute before being considered invalid (eosio::chain_plugin) | |
max-pending-transaction-time = -1 | |
# Limits the maximum time (in milliseconds) that is allowed a to push deferred transactions at the start of a block (eosio::chain_plugin) | |
max-deferred-transaction-time = 20 | |
# Override default WASM runtime (eosio::chain_plugin) | |
# wasm-runtime = | |
# Time to wait, in milliseconds, between creating next faucet created account. (eosio::faucet_testnet_plugin) | |
faucet-create-interval-ms = 1000 | |
# Name to use as creator for faucet created accounts. (eosio::faucet_testnet_plugin) | |
faucet-name = faucet | |
# [public key, WIF private key] for signing for faucet creator account (eosio::faucet_testnet_plugin) | |
faucet-private-key = ["EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"] | |
# The local IP and port to listen for incoming http connections. (eosio::http_plugin) | |
http-server-address = 127.0.0.1:8888 | |
# Specify the Access-Control-Allow-Origin to be returned on each request. (eosio::http_plugin) | |
# access-control-allow-origin = | |
# Specify the Access-Control-Allow-Headers to be returned on each request. (eosio::http_plugin) | |
# access-control-allow-headers = | |
# Specify if Access-Control-Allow-Credentials: true should be returned on each request. (eosio::http_plugin) | |
access-control-allow-credentials = false | |
# The queue size between nodeos and MongoDB plugin thread. (eosio::mongo_db_plugin) | |
mongodb-queue-size = 256 | |
# MongoDB URI connection string, see: https://docs.mongodb.com/master/reference/connection-string/. If not specified then plugin is disabled. Default database 'EOS' is used if not specified in URI. (eosio::mongo_db_plugin) | |
# mongodb-uri = | |
# The actual host:port used to listen for incoming p2p connections. (eosio::net_plugin) | |
p2p-listen-endpoint = 0.0.0.0:9876 | |
# An externally accessible host:port for identifying this node. Defaults to p2p-listen-endpoint. (eosio::net_plugin) | |
# p2p-server-address = | |
# The public endpoint of a peer node to connect to. Use multiple p2p-peer-address options as needed to compose a network. (eosio::net_plugin) | |
# p2p-peer-address = | |
# The name supplied to identify this node amongst the peers. (eosio::net_plugin) | |
agent-name = "EOS Test Agent" | |
# Can be 'any' or 'producers' or 'specified' or 'none'. If 'specified', peer-key must be specified at least once. If only 'producers', peer-key is not required. 'producers' and 'specified' may be combined. (eosio::net_plugin) | |
allowed-connection = any | |
# Optional public key of peer allowed to connect. May be used multiple times. (eosio::net_plugin) | |
# peer-key = | |
# Tuple of [PublicKey, WIF private key] (may specify multiple times) (eosio::net_plugin) | |
# peer-private-key = | |
# Log level: one of 'all', 'debug', 'info', 'warn', 'error', or 'off' (eosio::net_plugin) | |
log-level-net-plugin = info | |
# Maximum number of clients from which connections are accepted, use 0 for no limit (eosio::net_plugin) | |
max-clients = 25 | |
# number of seconds to wait before cleaning up dead connections (eosio::net_plugin) | |
connection-cleanup-period = 30 | |
# True to require exact match of peer network version. (eosio::net_plugin) | |
network-version-match = 0 | |
# number of blocks to retrieve in a chunk from any individual peer during synchronization (eosio::net_plugin) | |
sync-fetch-span = 100 | |
# Enable block production, even if the chain is stale. (eosio::producer_plugin) | |
enable-stale-production = true | |
# Percent of producers (0-100) that must be participating in order to produce blocks (eosio::producer_plugin) | |
required-participation = 33 | |
# ID of producer controlled by this node (e.g. inita; may specify multiple times) (eosio::producer_plugin) | |
producer-name = eosiohaven | |
# Tuple of [public key, WIF private key] (may specify multiple times) (eosio::producer_plugin) | |
private-key = ["EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"] | |
# The path of the wallet files (absolute path or relative to application data dir) (eosio::wallet_plugin) | |
wallet-dir = "." | |
# Timeout for unlocked wallet in seconds. Wallets will automatically lock after specified number of seconds of inactivity. Activity is defined as any wallet command e.g. list-wallets. (eosio::wallet_plugin) | |
# unlock-timeout = | |
# eosio key that will be imported automatically when a wallet is created. (eosio::wallet_plugin) | |
# eosio-key = | |
# Load the block producer plugin, so you can produce blocks | |
plugin = eosio::producer_plugin | |
# Wallet plugin | |
plugin = eosio::wallet_api_plugin | |
# As well as API and HTTP plugins | |
plugin = eosio::chain_api_plugin | |
plugin = eosio::http_plugin | |
# This will be used by the validation step below, to view account history | |
plugin = eosio::account_history_api_plugin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment