mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 06:15:33 +00:00
* add time warping lunatic attack test * create too high and connecton refused errors and add to the light client provider * add height check to provider * introduce block lag * add detection logic for processing forward lunatic attack * add node-side verification logic * clean up tests and formatting * update adr's * update testing * fix fetching the latest block * format * update changelog * implement suggestions * modify ADR's * format * clean up node evidence verification
14 lines
268 B
Go
14 lines
268 B
Go
package evidence
|
|
|
|
import (
|
|
"github.com/tendermint/tendermint/types"
|
|
)
|
|
|
|
//go:generate mockery --case underscore --name BlockStore
|
|
|
|
type BlockStore interface {
|
|
LoadBlockMeta(height int64) *types.BlockMeta
|
|
LoadBlockCommit(height int64) *types.Commit
|
|
Height() int64
|
|
}
|