Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Discovery5 = &cli.Command{ Name: "discv5", Usage: "crawl Ethereum's public DHT thought the Discovery 5.1 protocol", Action: RunDiscv5, Flags: []cli.Flag{ &cli.StringFlag{ Name: "log-level", Usage: "verbosity of the logs that will be displayed [debug,warn,info,error]", EnvVars: []string{"IPFS_CID_HOARDER_LOGLEVEL"}, Value: "info", }, &cli.StringFlag{ Name: "db-endpoint", Usage: "login endpoint to the database", EnvVars: []string{"IPFS_CID_HOARDER_DB_ENDPOINT"}, Value: "postgres://test:password@localhost:5432/eth_light_crawler", Required: true, }, &cli.IntFlag{ Name: "port", Usage: "port number that we want to use/advertise in the Ethereum network", Value: 9001, }, &cli.BoolFlag{ Name: "reset-db", Usage: "reset the content of the db tables", Value: false, }, }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.