mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-24 22:32:15 +00:00
* Implement issues 2386: add synchronization in lite verify and change all Certify to Verify * Replace make(chan struct{}, 0) with make(chan struct{}) * Parameterize memroy cache size and add concurrent test * Refactor import order
14 lines
321 B
Go
14 lines
321 B
Go
package lite
|
|
|
|
import (
|
|
"github.com/tendermint/tendermint/types"
|
|
)
|
|
|
|
// Verifier checks the votes to make sure the block really is signed properly.
|
|
// Verifier must know the current or recent set of validitors by some other
|
|
// means.
|
|
type Verifier interface {
|
|
Verify(sheader types.SignedHeader) error
|
|
ChainID() string
|
|
}
|