forked from EOSIO/eos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request EOSIO#179 from enumivo/v1
V1
- Loading branch information
Showing
29 changed files
with
170,255 additions
and
114 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,166 @@ | ||
# Track only transactions whose scopes involve the listed accounts. Default is to track all transactions. | ||
# filter_on_accounts = | ||
# the endpoint upon which to listen for incoming connections (enumivo::bnet_plugin) | ||
bnet-endpoint = 0.0.0.0:4321 | ||
|
||
# Limits the maximum time (in milliseconds) processing a single get_transactions call. | ||
get-transactions-time-limit = 3 | ||
# the number of threads to use to process network messages (enumivo::bnet_plugin) | ||
# bnet-threads = | ||
|
||
# File to read Genesis State from | ||
genesis-json = /opt/enumivo/bin/data-dir/genesis.json | ||
# remote endpoint of other node to connect to; Use multiple bnet-connect options as needed to compose a network (enumivo::bnet_plugin) | ||
# bnet-connect = | ||
|
||
# override the initial timestamp in the Genesis State file | ||
# genesis-timestamp = | ||
# this peer will request no pending transactions from other nodes (enumivo::bnet_plugin) | ||
bnet-no-trx = false | ||
|
||
# the location of the block log (absolute path or relative to application data dir) | ||
block-log-dir = "blocks" | ||
# the location of the blocks directory (absolute path or relative to application data dir) (enumivo::chain_plugin) | ||
blocks-dir = "blocks" | ||
|
||
# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints. | ||
# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints. (enumivo::chain_plugin) | ||
# checkpoint = | ||
|
||
# the location of the chain shared memory files (absolute path or relative to application data dir) | ||
shared-file-dir = "blockchain" | ||
# Override default WASM runtime (enumivo::chain_plugin) | ||
# wasm-runtime = | ||
|
||
# Minimum size MB of database shared memory file | ||
shared-file-size = 8192 | ||
# Maximum size (in MB) of the chain state database (enumivo::chain_plugin) | ||
chain-state-db-size-mb = 8192 | ||
|
||
# The local IP and port to listen for incoming http connections. | ||
http-server-address = 0.0.0.0:8888 | ||
# Maximum size (in MB) of the reversible blocks database (enumivo::chain_plugin) | ||
reversible-blocks-db-size-mb = 340 | ||
|
||
# Specify the Access-Control-Allow-Origin to be returned on each request. | ||
# print contract's output to console (enumivo::chain_plugin) | ||
contracts-console = false | ||
|
||
# Account added to actor whitelist (may specify multiple times) (enumivo::chain_plugin) | ||
# actor-whitelist = | ||
|
||
# Account added to actor blacklist (may specify multiple times) (enumivo::chain_plugin) | ||
# actor-blacklist = | ||
|
||
# Contract account added to contract whitelist (may specify multiple times) (enumivo::chain_plugin) | ||
# contract-whitelist = | ||
|
||
# Contract account added to contract blacklist (may specify multiple times) (enumivo::chain_plugin) | ||
# contract-blacklist = | ||
|
||
# Track actions which match receiver:action:actor. Actor may be blank to include all. Receiver and Action may not be blank. (enumivo::history_plugin) | ||
# filter-on = | ||
|
||
# PEM encoded trusted root certificate (or path to file containing one) used to validate any TLS connections made. (may specify multiple times) | ||
# (enumivo::http_client_plugin) | ||
# https-client-root-cert = | ||
|
||
# true: validate that the peer certificates are valid and trusted, false: ignore cert errors (enumivo::http_client_plugin) | ||
https-client-validate-peers = 1 | ||
|
||
# The local IP and port to listen for incoming http connections; set blank to disable. (enumivo::http_plugin) | ||
http-server-address = 127.0.0.1:8888 | ||
|
||
# The local IP and port to listen for incoming https connections; leave blank to disable. (enumivo::http_plugin) | ||
# https-server-address = | ||
|
||
# Filename with the certificate chain to present on https connections. PEM format. Required for https. (enumivo::http_plugin) | ||
# https-certificate-chain-file = | ||
|
||
# Filename with https private key in PEM format. Required for https (enumivo::http_plugin) | ||
# https-private-key-file = | ||
|
||
# Specify the Access-Control-Allow-Origin to be returned on each request. (enumivo::http_plugin) | ||
# access-control-allow-origin = | ||
|
||
# Specify the Access-Control-Allow-Headers to be returned on each request. | ||
# Specify the Access-Control-Allow-Headers to be returned on each request. (enumivo::http_plugin) | ||
# access-control-allow-headers = | ||
|
||
# Specify if Access-Control-Allow-Credentials: true should be returned on each request. | ||
# Specify the Access-Control-Max-Age to be returned on each request. (enumivo::http_plugin) | ||
# access-control-max-age = | ||
|
||
# Specify if Access-Control-Allow-Credentials: true should be returned on each request. (enumivo::http_plugin) | ||
access-control-allow-credentials = false | ||
|
||
# The actual host:port used to listen for incoming p2p connections. | ||
# The actual host:port used to listen for incoming p2p connections. (enumivo::net_plugin) | ||
p2p-listen-endpoint = 0.0.0.0:9876 | ||
|
||
# An externally accessible host:port for identifying this node. Defaults to p2p-listen-endpoint. | ||
# An externally accessible host:port for identifying this node. Defaults to p2p-listen-endpoint. (enumivo::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. | ||
# The public endpoint of a peer node to connect to. Use multiple p2p-peer-address options as needed to compose a network. (enumivo::net_plugin) | ||
# p2p-peer-address = | ||
|
||
# The name supplied to identify this node amongst the peers. | ||
agent-name = "Enumivo Test Agent" | ||
# Maximum number of client0nodes from any single IP address (enumivo::net_plugin) | ||
p2p-max-nodes-per-host = 1 | ||
|
||
# True to always send full blocks, false to send block summaries | ||
send-whole-blocks = 1 | ||
# The name supplied to identify this node amongst the peers. (enumivo::net_plugin) | ||
agent-name = "Enumivo 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. | ||
# 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. (enumivo::net_plugin) | ||
allowed-connection = any | ||
|
||
# Optional public key of peer allowed to connect. May be used multiple times. | ||
# Optional public key of peer allowed to connect. May be used multiple times. (enumivo::net_plugin) | ||
# peer-key = | ||
|
||
# Tuple of [PublicKey, WIF private key] (may specify multiple times) | ||
# Tuple of [PublicKey, WIF private key] (may specify multiple times) (enumivo::net_plugin) | ||
# peer-private-key = | ||
# Log level: one of 'all', 'debug', 'info', 'warn', 'error', or 'off' | ||
log-level-net-plugin = info | ||
|
||
# Maximum number of clients from which connections are accepted, use 0 for no limit | ||
# Maximum number of clients from which connections are accepted, use 0 for no limit (enumivo::net_plugin) | ||
max-clients = 25 | ||
|
||
# number of seconds to wait before cleaning up dead connections | ||
# number of seconds to wait before cleaning up dead connections (enumivo::net_plugin) | ||
connection-cleanup-period = 30 | ||
|
||
# True to require exact match of peer network version. | ||
# True to require exact match of peer network version. (enumivo::net_plugin) | ||
network-version-match = 0 | ||
|
||
# Enable block production, even if the chain is stale. | ||
enable-stale-production = true | ||
# number of blocks to retrieve in a chunk from any individual peer during synchronization (enumivo::net_plugin) | ||
sync-fetch-span = 100 | ||
|
||
# Percent of producers (0-100) that must be participating in order to produce blocks | ||
required-participation = 33 | ||
# maximum sizes of transaction or block messages that are sent without first sending a notice (enumivo::net_plugin) | ||
max-implicit-request = 1500 | ||
|
||
# ID of producer controlled by this node (e.g. inita; may specify multiple times) | ||
# Enable block production, even if the chain is stale. (enumivo::producer_plugin) | ||
enable-stale-production = false | ||
|
||
# Start this node in a state where production is paused (enumivo::producer_plugin) | ||
pause-on-startup = false | ||
|
||
# Limits the maximum time (in milliseconds) that is allowed a pushed transaction's code to execute before being considered invalid (enumivo::producer_plugin) | ||
max-transaction-time = 30 | ||
|
||
# Limits the maximum age (in seconds) of the DPOS Irreversible Block for a chain this node will produce blocks on (use negative value to indicate unlimited) (enumivo::producer_plugin) | ||
max-irreversible-block-age = -1 | ||
|
||
# ID of producer controlled by this node (e.g. inita; may specify multiple times) (enumivo::producer_plugin) | ||
# producer-name = | ||
producer-name = enumivo | ||
|
||
# (DEPRECATED - Use signature-provider instead) Tuple of [public key, WIF private key] (may specify multiple times) (enumivo::producer_plugin) | ||
# private-key = | ||
|
||
# Key=Value pairs in the form <public-key>=<provider-spec> | ||
# Where: | ||
# <public-key> is a string form of a vaild Enumivo public key | ||
# | ||
# <provider-spec> is a string in the form <provider-type>:<data> | ||
# | ||
# <provider-type> is KEY, or ENUWALLET | ||
# | ||
# KEY:<data> is a string form of a valid Enumivo private key which maps to the provided public key | ||
# | ||
# ENUWALLET:<data> is the URL where enuwallet is available and the approptiate wallet(s) are unlocked (enumivo::producer_plugin) | ||
signature-provider = ENU6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV=KEY:5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3 | ||
|
||
# Tuple of [public key, WIF private key] (may specify multiple times) | ||
private-key = ["ENU6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"] | ||
# Limits the maximum time (in milliseconds) that is allowd for sending blocks to a enuwallet provider for signing (enumivo::producer_plugin) | ||
enuwallet-provider-timeout = 5 | ||
|
||
# Lag in number of blocks from the head block when selecting the reference block for transactions (-1 means Last Irreversible Block) (enumivo::txn_test_gen_plugin) | ||
txn-reference-block-lag = 0 | ||
|
||
# The path of the wallet files (absolute path or relative to application data dir) (enumivo::wallet_plugin) | ||
wallet-dir = "." | ||
|
||
# Timeout for unlocked wallet in seconds (default 900 (15 minutes)). Wallets will automatically lock after specified number of seconds of inactivity. Activity is defined as any wallet command e.g. list-wallets. (enumivo::wallet_plugin) | ||
unlock-timeout = 900 | ||
|
||
# enumivo key that will be imported automatically when a wallet is created. (enumivo::wallet_plugin) | ||
# enumivo-key = | ||
|
||
# Plugin(s) to enable, may be specified multiple times | ||
# plugin = | ||
# Plugin(s) to enable, may be specified multiple times | ||
plugin = enumivo::producer_plugin | ||
plugin = enumivo::chain_api_plugin | ||
plugin = enumivo::wallet_api_plugin | ||
plugin = enumivo::history_api_plugin | ||
plugin = enumivo::http_plugin | ||
# plugin = enumivo::mongo_db_plugin | ||
|
||
# Enable block production with the testnet producers | ||
producer-name = enumivo |
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
Oops, something went wrong.