Right now just running against testnet, so I don’t expect to be minting any blocks for now (runnng 1BP and one relay). However, I didn’t see any options in the cardano-cli that would provide any block balance. Would the log, at Info or Notice level, show this happening? I see sites like adapools.org that will show the number of blocks minted on mainnnet, but I was hoping there could be a more localized procedure to check how many blocks my pool has minted, or to alert on when I have minted a block. If I jump to mainnet, I would like that option.
I think cntools are a nice set to use. will give you all the block info you need:
Welcome to Guild Operators Documentation! (cardano-community.github.io)
Hi!
There are several ways to get this info - (and yes the ultimate is using cntools as @ADA4Good suggested)
- checking the logs of the node
for that Froge related trace option should be enabled in config"TraceForge": true,
grepTraceNodeIsLeaderlog event in the log - that means your node was a slot leader hense creating a block - check the prometheus metrics contains the Forge prefix (by defult it is enabled and listening on port 12798)
curl “http://127.0.0.1:12798/metrics” | grep -i “forge” - use rt-view to visualize these metrics GitHub - input-output-hk/cardano-rt-view: RTView: real-time watching for Cardano nodes
- use gLiveView (part of cntools) for same purposes guild-operators/gliveview.md at alpha · cardano-community/guild-operators · GitHub
- use cncli (part of cntools) to validate the block creation GitHub - AndrewWestberg/cncli: A community-based cardano-node CLI tool
1 Like