Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ZeroAddress = common.HexToAddress("0x0000000000000000000000000000000000000000")
)
Functions ¶
Types ¶
type Config ¶
type Config struct { // db configs DatabaseUsername string DatabasePassword string DatabaseName string DatabaseHost string DatabaseMaxIdleConns uint64 DatabaseMaxOpenConns uint64 DatabaseMaxConnLifetime uint64 MetricsHTTPPort uint64 GenesisDate time.Time Regenerate bool OpenDBFunc func() (db.DB, error) }
func NewConfigFromCliContext ¶
NewConfigFromCliContext creates a new config instance from command line flags.
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator is a subcommand which is intended to be run on an interval, like a cronjob, to parse the indexed data from the database, and generate time series data that can easily be displayed via charting libraries.
func (*Generator) InitFromCli ¶
Click to show internal directories.
Click to hide internal directories.