A simple CLI to validate tendermint/cometbft p2p addresses, both for reachability and correct Node ID (ed25519 authentication)
git clone https://github.com/strangelove-ventures/tmp2p.git
cd tmp2p
make install
$ tmp2p validate -h
Validate list of peers, optionally with limit
Usage:
tmp2p validate [peers] [limit]
Aliases:
validate, v
Examples:
$ tmp2p validate [email protected]:26656,[email protected]:26616
$ tmp2p v [email protected]:26656,[email protected]:26616 10
$ make build-static
building tmp2p amd64 static binary...
building tmp2p arm64 static binary...
$ ls build
tmp2p-amd64 tmp2p-arm64