Documentation ¶
Index ¶
Constants ¶
View Source
const DO_NOT_MODIFY = "[do-not-modify]"
Variables ¶
View Source
var ( NewValidators = view.NewValidatorsView NewValidatorActivities = view.NewValidatorActivitiesView NewValidatorActivitiesTotal = view.NewValidatorActivitiesTotalView NewValidatorBlockCommitments = view.NewValidatorBlockCommitments NewValidatorBlockCommitmentsTotal = view.NewValidatorBlockCommitmentsTotal NewValidatorActiveBlocks = view.NewValidatorActiveBlocksView UpdateLastHandledEventHeight = (*Validator).UpdateLastHandledEventHeight )
Functions ¶
This section is empty.
Types ¶
type AttentionStatusRules ¶ added in v1.6.5
type AttentionStatusRules struct { MaxCommissionRateChange MaxCommissionRateChange `mapstructure:"max_commission_rate_change"` MaxEditQuota MaxEditQuota `mapstructure:"max_edit_quota"` }
type Config ¶ added in v1.6.5
type Config struct { AttentionStatusRules AttentionStatusRules `mapstructure:"attention_status_rules"` MaxActiveBlocksPeriodLimit int64 `mapstructure:"max_active_blocks_period_limit"` }
func ConfigFromInterface ¶ added in v1.6.5
type MaxCommissionRateChange ¶ added in v1.6.5
type MaxEditQuota ¶ added in v1.6.5
type Validator ¶
type Validator struct { *rdbprojectionbase.Base // contains filtered or unexported fields }
func NewValidator ¶
func NewValidator( logger applogger.Logger, rdbConn rdb.Conn, conNodeAddressPrefix string, migrationHelper migrationhelper.MigrationHelper, config *Config, ) *Validator
func (*Validator) GetEventsToListen ¶
func (*Validator) HandleEvents ¶
func (projection *Validator) HandleEvents(height int64, events []event_entity.Event) error
Click to show internal directories.
Click to hide internal directories.