Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ListenAddr string Eth1Endpoint string // url for eth1 rpc endpoint Eth2Endpoint string // url for eth2 rpc endpoint LogFilePath string From string // address of voter KeystorePath string GasLimit string MaxGasPrice string RewardEpochInterval uint64 Version string // v1/dev/v2 EnableDistribute bool // used by voter SlashStartEpoch uint64 // used by eth2block syncer UnstakingStartTimestamp uint64 // used by api server StafiInfoEndpoint string // used by api server RewardStartEpoch uint64 // used by v1 syncer to fetch history epoch balance info from start epoch EraCount uint64 // used for statistic Contracts Contracts Db Db }
Click to show internal directories.
Click to hide internal directories.