tendermint/proxy/state.go
Ethan Buchman a0e4253edc handshake
2016-11-16 13:25:13 -05:00

16 lines
305 B
Go

package proxy
import (
"github.com/tendermint/tendermint/types"
)
type State interface {
ReplayBlocks(*types.Header, types.PartSetHeader, AppConnConsensus, BlockStore) error
}
type BlockStore interface {
Height() int
LoadBlockMeta(height int) *types.BlockMeta
LoadBlock(height int) *types.Block
}