package
1.1.29
Repository: https://github.com/scroll-tech/chain-monitor.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ComputeMessageHash compute message event fields to get message hash.
GetL2WithdrawRootsForBlocks gets batch withdraw roots for a specific array of blocks from the geth node.
GetLatestConfirmedBlockNumber get confirmed block number by rpc.BlockNumber type.
LogSetup is for setup logger.
NowUTC get the utc time.Now.
UnpackLog unpacks a retrieved log into the provided output structure.

# Variables

CommonFlags is used for app common flags in different modules.
ConfigFileFlag load json type config file.
DBFlag enable db operation.
DBMigrateFlag migrate db.
DBResetFlag reset db.
DBRollBackFlag rollback db.
HTTPEnabledFlag enable rpc server.
HTTPListenAddrFlag set the http address.
HTTPPortFlag set http.port.
MetricsAddr is listening address of Metrics reporting server.
MetricsEnabled enable metrics collection and reporting.
MetricsPort is listening port of Metrics reporting server.
Version denote the version of scroll protocol, including the l2geth, relayer, coordinator, prover, contracts and etc.