ConsVP
A simple utility for watching pre-vote status on Tendermint/CometBFT chains. It will print out the current pre-vote status for each validator in the validator set. Useful for watching pre-votes during an upgrade or other network event causing a slowdown.
A full rework of pvtop by @blockpane and plus some miracles
- Live-streaming mode (view sample), sharing pre-voting information to everyone:
cvp --streaming
- Display Block Hash fingerprint which the validator voted on
- Allow scrolling on terminal UI (thanks to @freak12techno)
- Update binary to the latest version:
cvp --update
Installation
go install -v github.com/bcdevtools/consvp/cmd/cvp@latest
# Require go 1.19+
Basic usage
PVTop-like command
cvp
# => use http://localhost:26657
# For streaming mode
cvp https://example.com:26657 --streaming
# or resume streaming in case of mistakenly exit
cvp https://example.com:26657 --resume-streaming
cvp 19000
# => use http://localhost:19000
cvp https://rpc.cosmos.network
# => use https://rpc.cosmos.network
cvp https://rpc.example-consumer.network https://rpc.cosmos.network
# => use https://rpc.example-consumer.network as consumer network RPC endpoint
# and use https://rpc.cosmos.network as producer network RPC endpoint (typically Cosmos Hub)
| Pre-Vote |
Pre-Commit |
Block Hash |
Order |
Voting Power |
Moniker |
| ✅ |
❌ |
C0FF |
1 |
11.03% |
Val1 |
| 🤷 |
❌ |
---- |
2 |
10.23% |
Val2 |
| ❌ |
❌ |
---- |
3 |
08.07% |
Val3 |
| ✅ |
✅ |
C0FF |
4 |
01.15% |
Val4 |
Check binary version
cvp --version
Update binary
cvp --update
# Actually it does: go install -v github.com/bcdevtools/consvp/cmd/cvp@latest