model

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecentValidatorExtensionVote

type RecentValidatorExtensionVote struct {
	Moniker      string `bun:"moniker"`
	MaxHeight    int64  `bun:"max_height"`
	MinHeight    int64  `bun:"min_height"`
	UnknownCount int64  `bun:"unknown"`
	AbsentCount  int64  `bun:"absent"`
	CommitCount  int64  `bun:"commit"`
	NilCount     int64  `bun:"nil"`
}

type ValidatorExtensionVote

type ValidatorExtensionVote struct {
	bun.BaseModel         `bun:"table:veindexer"`
	ID                    int64     `bun:"id,pk,autoincrement"`
	ChainInfoID           int64     `bun:"chain_info_id,pk,notnull"`
	Height                int64     `bun:"height,notnull"`
	ValidatorHexAddressID int64     `bun:"validator_hex_address_id,notnull"`
	Status                int64     `bun:"status,notnull"`
	VELength              int       `bun:"vote_extension_length,notnull"`
	Timestamp             time.Time `bun:"timestamp,notnull"`
}

func (ValidatorExtensionVote) String

func (vev ValidatorExtensionVote) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL