Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMigrationCmd ¶
Types ¶
type MigrationState ¶
type MigrationState struct { Info types.MigrationState `json:"state"` GenesisFile string `json:"genesis_file"` Snapshot string `json:"snapshot"` }
func (*MigrationState) MarshalJSON ¶
func (m *MigrationState) MarshalJSON() ([]byte, error)
func (*MigrationState) MarshalText ¶
func (m *MigrationState) MarshalText() ([]byte, error)
type MigrationStatus ¶
type MigrationStatus struct { ProposalID *types.UUID ExpiresAt int64 `json:"expires_at"` // ExpiresAt is the block height at which the migration proposal expires Board [][]byte `json:"board"` // Board is the list of validators who are eligible to vote on the migration proposal Approved []bool `json:"approved"` // Approved is the list of bools indicating if the corresponding validator approved the migration proposal }
func (*MigrationStatus) MarshalJSON ¶
func (m *MigrationStatus) MarshalJSON() ([]byte, error)
func (*MigrationStatus) MarshalText ¶
func (m *MigrationStatus) MarshalText() ([]byte, error)
type MigrationsList ¶
type MigrationsList struct {
// contains filtered or unexported fields
}
func (*MigrationsList) MarshalJSON ¶
func (m *MigrationsList) MarshalJSON() ([]byte, error)
func (*MigrationsList) MarshalText ¶
func (m *MigrationsList) MarshalText() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.