0g-chain/migrate/v0_8/tendermint/v0_32/version.go
Ruaridh d83c43dcb4
Add legacy block and tx rest endpoints (#602)
* add block and tx endpoints

* add block legacy endpoint
2020-07-07 17:10:07 -04:00

13 lines
374 B
Go

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"`
}