mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-08 13:00:08 +00:00
16 lines
313 B
Go
16 lines
313 B
Go
package proxy
|
|
|
|
import (
|
|
"github.com/tendermint/tendermint/types"
|
|
)
|
|
|
|
type State interface {
|
|
ReplayBlocks([]byte, *types.Header, types.PartSetHeader, AppConnConsensus, BlockStore) error
|
|
}
|
|
|
|
type BlockStore interface {
|
|
Height() int
|
|
LoadBlockMeta(height int) *types.BlockMeta
|
|
LoadBlock(height int) *types.Block
|
|
}
|