Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.71 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.71 KB

leap-image-builder

This repository includes a Github action that builds a docker image for Antelope Leap.

The images are published on DockerHub:

Example usage

Run via docker-compose

The provided docker-compose.yaml showcases how the docker image can be used to run a node on the XPR Network that has the state-history-plugin enabled.

The entrypoints executes /usr/bin/nodeos with following options:

  • --data-dir /opt/leap/data
  • --config-dir /opt/leap/config

A custom config.ini can be mounted into /opt/leap/config.

Additional options can be provided via commands. For example --disable-replay-opts needs to be provided if the state-history-plugin is enabled.

Note: In order to restore a chain snapshot with full state history, we refer to the official guide.

Cleanup folders

You can use the cleanup.sh script to easily remove all the chain relevant files that will be added when running the node.

Troubleshooting

"Database dirty flag set (likely due to unclean shutdown): replay required"

This can happen if nodeos is NOT shut down cleanly, see troubleshooting section of the official guide.