/dolos

Cardano Data Node

Primary LanguageRustApache License 2.0Apache-2.0

Dolos: Cardano Data Node

GitHub GitHub Workflow Status

Introduction

Dolos is a new type of Cardano node, fine-tuned to solve a very narrow scope: keeping an updated copy of the ledger and replying to queries from trusted clients, while requiring a small fraction of the resources

Getting started

You can find comprehensive instructions on how to use Dolos in our end-user documentation site. The simplest way to get started is following our quickstart guide.

For Contributors

PRs are welcome. Start by cloning the repo and using cargo to run a local node. We use cargo release for release management and cliff for changelog updates.

Running Tokio Console

Some times is useful to observe the details of all running tokio tasks. Dolos supports tokio console as a dev-only feature. Follow these instructions to get it running:

  1. Ensure you have enable tokio traces in dolos.toml:
[logging]
max_level=trace
include_tokio=true
  1. Start Dolos' process using this command:
RUSTFLAGS="--cfg tokio_unstable" cargo --features debug run
  1. Start tokio console in a different terminal:
tokio-console