Skip to content

Instantly share code, notes, and snippets.

@kesar
Created March 6, 2018 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kesar/dcbf0be0e82115848d868f8f9d2c1592 to your computer and use it in GitHub Desktop.
Save kesar/dcbf0be0e82115848d868f8f9d2c1592 to your computer and use it in GitHub Desktop.
// data-dir/config.ini
get-transactions-time-limit = 3
block-log-dir = "blocks"
max-reversible-block-time = -1
max-pending-transaction-time = -1
faucet-create-interval-ms = 1000
faucet-name = faucet
faucet-private-key = ["EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"]
http-server-address = 127.0.0.1:8888
access-control-allow-credentials = false
p2p-listen-endpoint = 0.0.0.0:9876
agent-name = "EOS Test Agent"
allowed-connection = any
log-level-net-plugin = info
max-clients = 25
connection-cleanup-period = 30
network-version-match = 0
sync-fetch-span = 100
enable-stale-production = false
required-participation = false
producer-name = eosio
private-key = ["EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"]
plugin = eosio::chain_api_plugin
plugin = eosio::producer_plugin
plugin = eosio::http_plugin
plugin = eosio::account_history_plugin
plugin = eosio::account_history_api_plugin
plugin = eosio::wallet_api_plugin
plugin = eosio::wallet_plugin
// genesis.json
{
"initial_key": "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
"initial_timestamp": "2017-03-30T12:00:00",
"initial_parameters": {
"maintenance_interval": 86400,
"maintenance_skip_slots": 3,
"maximum_transaction_size": 2048,
"maximum_block_size": 2048000000,
"maximum_time_until_expiration": 86400,
"maximum_producer_count": 1001
},
"immutable_parameters": {
"min_producer_count": 21
},
"initial_chain_id": "0000000000000000000000000000000000000000000000000000000000000000"
}
// command:
eosiod --genesis-json genesis.json --enable-stale-production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment