0g-chain/migrate/v0_8/tendermint/v0_32/version.go

13 lines
374 B
Go
Raw Normal View History

package v032
// Protocol is used for implementation agnostic versioning.
type Protocol uint64
// Consensus captures the consensus rules for processing a block in the blockchain,
// including all blockchain data structures and the rules of the application's
// state transition machine.
type Consensus struct {
Block Protocol `json:"block"`
App Protocol `json:"app"`
}