mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-20 18:21:22 +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
|
|
}
|