Docker image now supports leader schedule

Happy to let you know that nessusio/cardano 1.24.2-rev5 has landed.

To get up and running with Cardano, you can spin up a node like this …

docker run --detach \
    --name=relay \
    -p 3001:3001 \
    -v shelley-data:/opt/cardano/data \
    nessusio/cardano run

docker logs -f relay

This release adds built-in support for …

Slot Leader Schedule

We can now obtain the leader schedule for our pool.

Details on how to do this are here

docker run -it --rm \
  -v ~/cardano:/var/cardano/local \
  -v shelly-data00:/opt/cardano/data \
  nessusio/cardano leader-logs \
    --vrf-skey /var/cardano/local/keys/pool/vrf.skey \
    --sigma 0.000233 \
    --d-param 0.32 \
    --epoch 240

Checking leadership log for Epoch 240 [ d Param: 0.32 ]
2021-01-06 06:36:13 ==> Leader for 60682, Cumulative epoch blocks: 1
2021-01-06 09:16:55 ==> Leader for 70324, Cumulative epoch blocks: 2
2021-01-08 00:15:49 ==> Leader for 210658, Cumulative epoch blocks: 3
2021-01-09 23:28:40 ==> Leader for 380629, Cumulative epoch blocks: 4

Knowing about the schedule of when your node is expected to mint a block is important when you need to do maintenance and wonder when there is a good time to do so. It is also useful, in order to tell whether your node is performing as expected.

This functionality is available through our multi-arch docker image that runs on Intel and ARM64 - i.e. also on the RaspberryPi 4

Other useful built-in functionality includes …

cheers
– thomas