Skip to content

Latest commit

 

History

History
71 lines (57 loc) · 1.9 KB

quickstart.md

File metadata and controls

71 lines (57 loc) · 1.9 KB

Quickstart

Get current steemd

Use docker:

docker run \
    -d -p 2001:2001 -p 8090:8090 --name steemd-default \
    --restart unless-stopped steemit/steem

Low memory node?

Above runs low memory node, which is suitable for:

  • seed nodes
  • witness nodes
  • exchanges, etc. For full api node use:
docker run \
    --env USE_WAY_TOO_MUCH_RAM=1 --env USE_FULL_WEB_NODE=1 \
    -d -p 2001:2001 -p 8090:8090 --name steemd-full \
    --restart unless-stopped \
    steemit/steem

Configure for your use case

Full API node

You need to use USE_WAY_TOO_MUCH_RAM=1 and USE_FULL_WEB_NODE=1 as stated above. You can Use contrib/fullnode.config.ini as a base for your config.ini file.

Exchanges

Use low memory node.

Also make sure that your config.ini contains:

enable-plugin = account_history
public-api = database_api login_api
track-account-range = ["yourexchangeid", "yourexchangeid"]

Do not add other APIs or plugins unless you know what you are doing.

This configuration exists in Docker with the following command

docker run -d --env TRACK_ACCOUNT="yourexchangeid" \
    --name steemd \
    --restart unless-stopped \
    steemit/steem

Resources usage

Please make sure that you have enough resources available. Check shared-file-size = in your config.ini to reflect your needs. Set it to at least 25% more than current size.

Provided values are expected to grow significantly over time.

Blockchain data takes over 16GB of storage space.

Full node

Shared memory file for full node uses over 65GB

Exchange node

Shared memory file for exchange node users over 16GB (tracked history for single account)

Seed node

Shared memory file for seed node uses over 5.5GB

Other use cases

Shared memory file size varies, depends on your specific configuration but it is expected to be somewhere between "seed node" and "full node" usage.