Alexander Simmerl
2a292efb56
Return error for all PrivValidator methoods
As calls to the private validator can involve side-effects like network
communication it is desirable for all methods returning an error to not
break the control flow of the caller.
* adjust PrivValidator interface
7 years ago
Ethan Buchman
8da2a6a147
types/priv_validator: fixes for latest p2p and cmn
7 years ago
Ethan Buchman
459633fb4c
types/priv_validator
7 years ago
Ethan Buchman
cd0fd06b0d
update for sdk2 libs. need to fix kv test
NOTE we only updating for tmlibs and abci
7 years ago
Ethan Buchman
b9cbaf8f10
priv-val: fix timestamp for signing things that only differ by timestamp
7 years ago
Ethan Buchman
9c03c58de2
priv validator checks if only difference is timestamp; else error
7 years ago
Anton Kaliaev
a1cc9ac642
priv validator returns last sign bytes if h/r/s matches
since now we have time in the msgs and we might crash between writing
the priv val and writing to wal.
Refs #984
7 years ago
Ethan Frey
a29c781295
Add default timestamp to all instances of *types.Vote
7 years ago
Anton Kaliaev
922af7c405
int64 height
uint64 is considered dangerous. the details will follow in a blog post.
7 years ago
Anton Kaliaev
b3492356e6
uint64 height (Refs #911 )
7 years ago
Zach Ramsay
7ad8a8ab55
Tests almost passing
7 years ago
Ethan Buchman
24f7b9387a
more tests
7 years ago
Ethan Buchman
2131f8d330
some fixes from review
7 years ago
Ethan Buchman
75b97a5a65
PrivValidatorFS is like old PrivValidator, for now
7 years ago
Ethan Buchman
4382c8d28b
fix tests
7 years ago
Ethan Buchman
fd1b0b997a
PrivValidator interface
7 years ago
Ethan Buchman
5da9b3a803
postmerge
7 years ago
Ethan Buchman
0017fb7ffe
premerge
7 years ago
Ethan Frey
6a0217688f
Ensure private validator addresses are hex
8 years ago