Auto-generated documentation.
Crawl a network on the devp2p layer and generate a nodes JSON file.
polycli p2p crawl [nodes file] [flags]If no nodes.json file exists, it will be created.
-b, --bootnodes string comma separated nodes used for bootstrapping. At least one bootnode is
required, so other nodes in the network can discover each other
-d, --database string node database for updating and storing client information
--discovery-dns string enable EIP-1459, DNS Discovery to recover node list from given ENRTree
-h, --help help for crawl
-n, --network-id uint filter discovered nodes by this network ID
-u, --only-urls only writes enode URLs to output (default true)
-p, --parallel int how many parallel discoveries to attempt (default 16)
-r, --revalidation-interval string time before retrying to connect to a failed peer (default "10m")
-t, --timeout string time limit for the crawl (default "30m0s")The command also inherits flags from parent commands.
--config string config file (default is $HOME/.polygon-cli.yaml)
--pretty-logs output logs in pretty format instead of JSON (default true)
-v, --verbosity string log level (string or int):
0 - silent
100 - panic
200 - fatal
300 - error
400 - warn
500 - info (default)
600 - debug
700 - trace (default "info")- polycli p2p - Set of commands related to devp2p.