TinyAPI example config

This example guide is a very simple version to quickly get your TinyAPI live.
We highly recommend you to read through all configuration settings and optimize the node for your setup.

Find all nodeos options

$ nodeos --help | less

Example configuration file -  basic layout, make sure your change the details to your info.

# The IP and port to listen for incoming http connections
http-server-address = 0.0.0.0:port
# host:port for incoming p2p connections.
p2p-listen-endpoint = 0.0.0.0:port

# The public endpoint of your peer node.
p2p-server-address = IP:port
# Name used to identify this node
agent-name = "name_your_node"

# Maximum size for chain state database
chain-state-db-size-mb = 24964
chain-state-db-guard-size-mb = 256
# Maximum size for reversible block database
reversible-blocks-db-size-mb = 2048
reversible-blocks-db-guard-size-mb = 16

# Wasm
wasm-runtime = wabt

# CORS
access-control-allow-origin = *
access-control-allow-headers = Origin, X-Requested-With, Content-Type, Accept
verbose-http-errors = true

max-clients = 80
p2p-max-nodes-per-host = 10
abi-serializer-max-time-ms = 3000
sync-fetch-span = 500

http-validate-host = false
max-transaction-time = 180

plugin = eosio::chain_api_plugin
plugin = eosio::db_size_api_plugin
plugin = eosio::history_plugin
plugin = eosio::history_api_plugin

############################
####### LIST OF PEERS ######
############################

p2p-peer-address = testnet.waxsweden.org:59876

For start and stop, feel free to use our scripts: https://github.com/eosswedenorg/scripts‚Äč

Leave a Comment:

1 comment
WAX Showcase update - March 2020 | WAX sw/eden says March 14, 2020

[…] TinyAPI node example config […]

Reply
Add Your Reply