You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
322 B

  1. package lite
  2. import (
  3. "github.com/tendermint/tendermint/types"
  4. )
  5. // Verifier checks the votes to make sure the block really is signed properly.
  6. // Verifier must know the current or recent set of validitors by some other
  7. // means.
  8. type Verifier interface {
  9. Certify(sheader types.SignedHeader) error
  10. ChainID() string
  11. }