Ethan Buchman
bb1b249e8a
types: lock block on MakePartSet
7 years ago
Jae Kwon
02531ca5a3
Fix race testing (cont;) Bump version to 0.19.0
7 years ago
Jae Kwon
d24e4cb821
Fix race testing
7 years ago
Jae Kwon
45ec5fd170
WIP consensus
7 years ago
Jae Kwon
1b9323f105
Fix blockchain tests
7 years ago
Ethan Buchman
39ff4d22e9
minor cleanup
7 years ago
Jae Kwon
89cdde7f1e
Fix state tests
7 years ago
Thomas Corbière
2644a529f0
Fix lint errors ( #1390 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix package comment with leading space.
* fix receiver names.
* fix error strings.
* remove omittable code.
* remove redundant return statement.
* Revert changes (code is generated.)
* use cfg as receiver name for all config-related types.
* use lsi as the receiver name for the LastSignedInfo type.
7 years ago
Jae Kwon
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
7 years ago
Alex Hernandez
575a46d9d4
fix typo on block header ( #1387 )
7 years ago
Emmanuel T Odeke
8723c91db9
types: Hash invoked for nil Data and Header should not panic
Fixes https://github.com/tendermint/tendermint/issues/1298
Fixes https://github.com/tendermint/tendermint/issues/1299
Found while writing tests in https://github.com/tendermint/tendermint/pull/1300
7 years ago
Ethan Buchman
c394eef7b8
types: TestValidatorSetVerifyCommit
7 years ago
Ethan Buchman
3395f5fb0e
types: builds
7 years ago
Ethan Buchman
200787ede2
types: update for new go-wire. WriteSignBytes -> SignBytes
7 years ago
Ethan Buchman
7a5060dc52
replace data.Bytes with cmn.HexBytes
7 years ago
Ethan Buchman
4e3488c677
update types
7 years ago
Ethan Buchman
3271634e7a
types: evidence cleanup
7 years ago
Ethan Buchman
10c43c9edc
introduce evidence store
7 years ago
Ethan Buchman
7d086e9524
check if we already have evidence
7 years ago
Ethan Buchman
77e45756f2
types: Evidences for merkle hashing; Evidence.String()
7 years ago
Ethan Buchman
7928659f70
track evidence, include in block
7 years ago
Ethan Buchman
028ee58580
call it LastResultsHash
7 years ago
Ethan Buchman
73fb1c3a17
consolidate saveResults/SaveABCIResponses
7 years ago
Ethan Frey
58c5df729b
Add ResultHash to header
7 years ago
Ethan Buchman
3d00c477fc
separate block vs state based validation
7 years ago
Anton Kaliaev
843e1ed400
Updates -> ValidatoSetUpdates
7 years ago
Ethan Frey
960b25408f
Store LastConsensusHash in State as well
Update all BlockValidation that it matches the last state
7 years ago
Ethan Frey
d151e36ea8
Add ConsensusHash to header
7 years ago
Ethan Frey
dedf03bb81
Add TotalTx to block header, issue #952
Update state to keep track of this info.
Change function args as needed.
Make NumTx also an int64 for consistency.
7 years ago
Ethan Frey
8576ad58bd
Cleanup canonical json
7 years ago
Ethan Frey
7deda53b7c
Add Timestamp to Proposal for issue #929
Store it as time.Timestamp locally, encode it as RFC3339 with milliseconds
before signing the canonical form.
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
Ethan Frey
f653ba63bf
Separated out certifiers.Commit from rpc structs
7 years ago
Zach Ramsay
62e8ec34d1
fix comment, #723
7 years ago
Adrian Brink
036d3b59a3
Address reviews
7 years ago
Adrian Brink
782a836db0
Cleanup of code and code docs
This cleans up some of the code in the state package
7 years ago
Ethan Buchman
1f3e4d2d9a
move PartSetSize out of the config, into ConsensusParams
7 years ago
Ethan Buchman
525fc0ae5b
types: block comments
7 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
6a30a902c9
[types] more []byte->data.Bytes and some %X->%v
8 years ago
Anton Kaliaev
f8fdbe3dbc
changes as per Bucky's review
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
Ethan Buchman
bdb34f9f4e
types: []byte -> data.Bytes
8 years ago
Ethan Buchman
d5b524e309
go-merkle -> merkleeyes/iavl and tmlibs/merkle
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
5da9b3a803
postmerge
8 years ago
Ethan Buchman
0017fb7ffe
premerge
8 years ago