Operation Modes
Dolos has many operation modes dependending on your requirements. Choose the one that fits your need.
daemon mode
This is the normal operation mode. When running in this mode, Dolos will perform all operations as specified in the configuration file.
To start Dolos in daemon mode, use the following command:
dolos daemonsync mode
When running in this mode, Dolos will focus on a single task: synchronizing its state from the upstream node.
To start Dolos in sync mode, use the following command:
dolos syncserve mode
When running in this mode, Dolos will focus on a single task: serving data through the configured API endpoints.
To start Dolos in serve mode, use the following command:
dolos serveSumary of Modes
| feature | daemon | sync | serve |
|---|---|---|---|
| sync from upstream peer | ✅ | ✅ | ❌ |
| relay ouroboros node-to-node | ✅ | ❌ | ❌ |
| serve ouroboros node-to-client | ✅ | ❌ | ✅ |
| serve gRPC | ✅ | ❌ | ✅ |