The distributor is a RESTful service that makes witnessed checkpoints available.
The distributor can be started using docker compose
.
The following command will bring up the distributor on port 8080
:
docker compose up -d
Note that this will only accept witnessed checkpoints from witnesses in the
config/witnesses-dev.yaml
directory.
To change the permitted witnesses, modify the docker-compose.yaml
file to
include a different file, or configure the distributor binary with the witnesses
specified directly via the witKey
flag.