Ethan Buchman
8ae2ffda89
put funcs back in order to simplify review
7 years ago
Ethan Buchman
75b97a5a65
PrivValidatorFS is like old PrivValidator, for now
7 years ago
Ethan Buchman
7b99039c34
make signBytesHRS a method on LastSignedInfo
7 years ago
Ethan Buchman
3ca7b10ad4
types: more . -> cmn
7 years ago
Ethan Buchman
4382c8d28b
fix tests
7 years ago
Ethan Buchman
944ebccfe9
more PrivValidator interface
7 years ago
Ethan Buchman
fd1b0b997a
PrivValidator interface
7 years ago
Ethan Buchman
abe912c610
FuncSignerAndApp allows custom signer and abci app
7 years ago
Adrian Brink
4e13a19339
Add ability to construct new instance of Tendermint core from scratch
7 years ago
Adrian Brink
7dd3c007c7
Refactor priv_validator
Users can now just pass an object that implements the Signer interface.
7 years ago
Duncan Jones
0d392a0442
Allow Signer to be generated with priv key
Prior to this change, a custom Signer would have no knowledge of the private
key stored in the configuration file. This changes introduces a generator
function, which creates a Signer based on the private key. This provides an
opportunity for customer Signers to adjust behaviour based on the key
contents. (E.g. imagine key contents are a key label, rather than the key
itself).
7 years ago
Duncan Jones
7e4a704bd1
Remove reliance on default Signer
This change allows the default privValidator to use a custom Signer
implementation with no reliance on the default Signer implementation.
7 years ago
Adrian Brink
83f7d5c95a
Setup custom tendermint node
By exporting all of the commands, we allow users to setup their own
tendermint node cli. This enables users to provide a different
pivValidator without the need to fork tendermint.
7 years ago
Ethan Buchman
29bfcb0a31
minor comments/changes
7 years ago
Ethan Buchman
90c0267bc1
types: privVal.Sign returns an error
7 years ago
Ethan Buchman
ab753abfa0
Proposer->Proposal; sign heartbeats
7 years ago
Ethan Buchman
42626d9e16
[types] overwrite pubkey/addr in LoadPrivValidator. closes #500
7 years ago
Ethan Buchman
6a30a902c9
[types] more []byte->data.Bytes and some %X->%v
7 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
7 years ago
Anton Kaliaev
f803544195
new logging
7 years ago
Ethan Buchman
e6fe6b5b76
go-data -> go-wire/data
7 years ago
Ethan Buchman
d1926bcad1
use tmlibs
7 years ago
Ethan Buchman
5da9b3a803
postmerge
7 years ago
Ethan Buchman
0017fb7ffe
premerge
7 years ago
Ethan Frey
6d223d5526
Update to latest go-crypto
7 years ago
Ethan Frey
6a0217688f
Ensure private validator addresses are hex
7 years ago
Ethan Frey
e325ffc681
Lots of updates to use new go-crypto / json style
7 years ago
Ethan Frey
516e78ea54
Fix types to use updated go-crypto
7 years ago
Ethan Buchman
38783e7fa1
types: SignatureEd25519 -> Signature
8 years ago
Ethan Buchman
57da2e4af5
make byzantine logic testable
8 years ago
Ethan Buchman
1110c5d37d
privVal.LastSignBytes and more replay tests
8 years ago
Ethan Buchman
a1c20ce866
types: privVal.LastSignature. closes #247
8 years ago
Jae Kwon
9b4b533f2f
Pretty print JSON
8 years ago
Jae Kwon
81ba1e6177
Use go-crypto's CRand*
8 years ago
Jae Kwon
3f1b567129
Remove signer from JSON output
9 years ago
Ethan Buchman
799efb0629
merge/rebase fixes
9 years ago
Jae Kwon
b9519391c2
Conform to go-wire new TypeByte behavior for PrivValidator as well
9 years ago
Ethan Buchman
28ec3d48fa
signer interface for validators
9 years ago
Jae Kwon
e67f385574
Conform to go-common WriteFile*(path,mode)
9 years ago
Jae Kwon
e12f9d10e7
Bare consensus refactor
9 years ago
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
9 years ago
Jae Kwon
26905b1260
Make Tendermint genesis agnostic; wait for file to start node
9 years ago
Jae Kwon
1b9fd811a1
RPCResponse.Result && EventData are registered interfaces; -skip_upnp option
9 years ago
Jae Kwon
3be3647dc8
tendermint/binary -> tendermint/wire
9 years ago
Ethan Buchman
8e50bf15de
panic wrapper functions
9 years ago
Jae Kwon
1e7cc32597
tendermint/account -> acm
9 years ago
Ethan Buchman
dc7b912881
crypto byte arrays are fixed length
9 years ago
Jae Kwon
425328b391
Address #72
9 years ago
Ethan Buchman
a7ecdd10de
Merge from panic branch
9 years ago
Jae Kwon
9965dd5de6
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
9 years ago