mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-10 15:07:24 +00:00
state/privval: no GetPubKey retry beyond the proposal/voting window (#6578)
Closes #5142
This commit is contained in:
@@ -11,6 +11,17 @@ import (
|
||||
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
|
||||
)
|
||||
|
||||
// PrivValidatorType defines the implemtation types.
|
||||
type PrivValidatorType uint8
|
||||
|
||||
const (
|
||||
MockSignerClient = PrivValidatorType(0x00) // mock singer
|
||||
FileSignerClient = PrivValidatorType(0x01) // singer client via file
|
||||
RetrySignerClient = PrivValidatorType(0x02) // singer client via socket
|
||||
SignerClient = PrivValidatorType(0x03) // singer client via gRPC
|
||||
ErrorMockSignerClient = PrivValidatorType(0x04) // error mock singer
|
||||
)
|
||||
|
||||
// PrivValidator defines the functionality of a local Tendermint validator
|
||||
// that signs votes and proposals, and never double signs.
|
||||
type PrivValidator interface {
|
||||
|
||||
Reference in New Issue
Block a user