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
7 years ago
Ethan Buchman
ab753abfa0
Proposer->Proposal; sign heartbeats
7 years ago
Ethan Buchman
530626dab7
broadcast proposer heartbeat msg
7 years ago
Ethan Buchman
3444bee47f
fixes from review; use mempool.TxsAvailable() directly
7 years ago
Ethan Buchman
678a9a2e42
TxsAvailable tests
7 years ago
Ethan Buchman
4beac54bd9
no empty blocks
7 years ago
Ethan Buchman
525fc0ae5b
types: block comments
7 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
rigel rozanski
05dc4d12dd
result.IsSameCode
8 years ago
Ethan Frey
926fb83e33
Re-added comment
8 years ago
Ethan Frey
157ec8af2d
Add json tags to validator set
8 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Adrian Brink
577ec5452f
Fix indentation
8 years ago
Adrian Brink
322b4e54de
Remove unused enum MessageTypes
8 years ago
Krzysztof Jurewicz
a3d4e5797d
Comment out MessageType
As it is an unused enum, leaving it uncommented causes dead Protocol
Buffers code to be generated.
8 years ago
Ethan Buchman
75b6c5215f
fewer structs. remove viper from consensus
8 years ago
Ethan Buchman
29c0e6e4f4
remove viper from blockchain and state
8 years ago
Jae Kwon
4c7a2be06a
Add Tx String representation
8 years ago
Ethan Buchman
07e59e63f9
TMEventDataInner
8 years ago
Ethan Buchman
8d8e35ae53
types: methods convert pb types to use data.Bytes
8 years ago
Ethan Buchman
8339dc3b1a
types: Result and Validator use data.Bytes
8 years ago
Ethan Buchman
bdb34f9f4e
types: []byte -> data.Bytes
8 years ago
Adrian Brink
842609ddcb
Send InitChain message from ABCI to Core on Genesis
InitChain is send from the ABCI to the Core node when the ABCI
app has no blocks stored.
8 years ago
Ethan Buchman
a70c95b79e
tmlibs/common/test -> tmlibs/test
8 years ago