consvp

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2023 License: MIT

README

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.

Similar to pvtop, but plus some miracles

Installation

go install -v github.com/bcdevtools/consvp/cmd/cvp@latest

Basic usage

PVTop-like command
cvp
# => use http://localhost:26657
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)
Voting information format
Prevote Precommit Block Hash Order Voting Power Moniker
COFF 1 11.03% Val1
🤷 ---- 2 10.23% Val2
---- 3 08.07% Val3
COFF 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

Miracles

  • Full pvtop feature (thanks to @blockpane)
  • TODO: Live streaming mode, sharing voting information to everyone
  • Display fingerprint of the Block Hash validators voted on
  • Allow scrolling (thanks to @freak12techno)
  • Allow to update binary by using --update flag

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL