cudos-p2p-scan

command module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

README

CUDOS P2P SCAN

The tool checks if given node p2p port is responsive, by connecting and doing the tendermint handshake. If successful, the target node information will be displayed and process exit code will be zero. On fail the exit code will be non-zero.

Build

Local
go build
Direct from GitHub repo
go install -v github.com/CudoVentures/cudos-p2p-scan@latest
Binary

Binary will be written to ~/go/bin/cudos-p2p-scan

Run

~/go/bin/cudos-p2p-scan <Target Host>:<Target port usually 26656>

Example output:

{
  "Status": "open",
  "ID": "f93e129f120fd1de3e9d60d2bd376ae96af325dd",
  "Moniker": "cudos-seed-node-03",
  "Network": "cudos-testnet-public-2"
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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