Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "blockAggregator"
Variables ¶
View Source
var ( GenesisTimeFlag = &cli.IntFlag{ Name: ModuleName + "." + "genesis-time", Usage: "Set the genesis time (in seconds)", Category: utils.BlockAggregatorCategory, Value: int(BlockAggregatorConfigDefaults.GenesisTime), } AuctionDurationFlag = &cli.IntFlag{ Name: ModuleName + "." + "auction-duration", Usage: "Set the auction duration (in seconds)", Category: utils.BlockAggregatorCategory, Value: int(BlockAggregatorConfigDefaults.AuctionDuration), } SlotDurationFlag = &cli.IntFlag{ Name: ModuleName + "." + "slot-duration", Usage: "Set the slot duration (in seconds)", Category: utils.BlockAggregatorCategory, Value: int(BlockAggregatorConfigDefaults.SlotDuration), } )
View Source
var BlockAggregatorConfigDefaults = BlockAggregatorConfig{
GenesisTime: 0,
AuctionDuration: 0,
SlotDuration: 12,
}
Functions ¶
func NewCommand ¶
Types ¶
type BlockAggregatorConfig ¶
Click to show internal directories.
Click to hide internal directories.