refactoring - work in progress

This commit is contained in:
Juan Leni
2019-04-03 14:15:50 +02:00
parent f965a4db15
commit c879c6e58d
11 changed files with 666 additions and 663 deletions
+1
View File
@@ -12,6 +12,7 @@ import (
// PrivValidator defines the functionality of a local Tendermint validator
// that signs votes and proposals, and never double signs.
type PrivValidator interface {
// TODO: Why it is not possible to return an error? nil feels not enough..
GetPubKey() crypto.PubKey
SignVote(chainID string, vote *Vote) error