Ethan Buchman
667c2543ea
use request struct for Info
7 years ago
Zach Ramsay
fe426de5d4
lint: couple more fixes
7 years ago
Ethan Buchman
318345f996
fix tests
7 years ago
Ethan Buchman
24f7b9387a
more tests
7 years ago
Ethan Buchman
756818f940
fixes from review
7 years ago
Ethan Buchman
2131f8d330
some fixes from review
7 years ago
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
1f0985689d
ConsensusParams ptr in GenesisDoc for json
7 years ago
Ethan Buchman
3089bbf2b8
Amount -> Power. Closes #166
7 years ago
Ethan Buchman
5feeb65cf0
dont use pointers for ConsensusParams
7 years ago
Ethan Buchman
715e74186c
fixes from review
7 years ago
Ethan Buchman
3a03fe5a15
updated to match adr 005
7 years ago
Ethan Buchman
2b6db268cf
genesis json tests and mv ConsensusParams to types
7 years ago
Ethan Buchman
14abdd57f3
genDoc.ValidateAndComplete
7 years ago
Ethan Buchman
1f3e4d2d9a
move PartSetSize out of the config, into ConsensusParams
7 years ago
Ethan Buchman
29bfcb0a31
minor comments/changes
7 years ago
Ethan Buchman
f279171a28
use request structs for InitChain and BeginBlock
7 years ago
Ethan Buchman
90c0267bc1
types: privVal.Sign returns an error
7 years ago
Ethan Buchman
f1094f760b
types: remove redundant version file
7 years ago
Ethan Buchman
c5a657f540
consensus: test proposal heartbeat
7 years ago
Ethan Buchman
d0965cca05
forgot heartbeat file
8 years ago
Ethan Buchman
ab753abfa0
Proposer->Proposal; sign heartbeats
8 years ago
Ethan Buchman
530626dab7
broadcast proposer heartbeat msg
8 years ago
Ethan Buchman
3444bee47f
fixes from review; use mempool.TxsAvailable() directly
8 years ago
Ethan Buchman
678a9a2e42
TxsAvailable tests
8 years ago
Ethan Buchman
4beac54bd9
no empty blocks
8 years ago
Ethan Buchman
525fc0ae5b
types: block comments
8 years ago
Ethan Buchman
3065059da7
update changelog
8 years ago
Ethan Buchman
12c084c8c0
ParseGenesisFile -> types.GenesisDocFromFile
8 years ago
Ethan Frey
e4caf96bcb
Calculate validator hash from genesis doc
8 years ago
zramsay
bf5181d9ca
address PR comments
8 years ago
zramsay
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
8 years ago
Ethan Buchman
42626d9e16
[types] overwrite pubkey/addr in LoadPrivValidator. closes #500
8 years ago
Ethan Buchman
6a30a902c9
[types] more []byte->data.Bytes and some %X->%v
8 years ago
Ethan Buchman
6d83c60c40
[types] dont hash validator.Accum
8 years ago
Ethan Buchman
e1792c1ea5
fix tx string format take 2
8 years ago
Ethan Buchman
d5113377e2
fix tx string format
8 years ago
Ethan Buchman
5dabeffb35
fixes from review
8 years ago