Skip to content

A small go program to crawl a given cometbft-based blockchain

Notifications You must be signed in to change notification settings

validaoxyz/cometbft-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

cometbft-crawler

This is a small go program that can be used to crawl cometbft-based blockchains to discover their p2p landscape. Given a set of seed nodes (just initial rpcs; not seeds in the sense of cometbft seed nodes), it queries them for their peers, and recursively these for their peers, until a full map has been collected.

The result is a CSV file with IP address, node moniker, and cometbft version.

How to run

To build:

go build crawler.go

To run:

./crawler.go --seeds "<seed-rpcs>" --timeout <seconds> --output <output-file>

About

A small go program to crawl a given cometbft-based blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages