Ethan Buchman
|
6112578d07
|
ValidateBlock is a method on blockExec
|
7 years ago |
Ethan Buchman
|
ae68fcb78a
|
move fireEvents to ApplyBlock
|
7 years ago |
Ethan Buchman
|
1d6f00859d
|
fixes from review
|
7 years ago |
Ethan Buchman
|
0acca7fe69
|
final updates for state
|
7 years ago |
Ethan Buchman
|
f82b7e2a13
|
state: re-order funcs. fix tests
|
7 years ago |
Ethan Buchman
|
9e6d088757
|
state: BlockExecutor
|
7 years ago |
Ethan Buchman
|
c915719f85
|
*State->State; SetBlockAndValidators->NextState
|
7 years ago |
Ethan Buchman
|
f55135578c
|
state: move methods to funcs
|
7 years ago |
Ethan Buchman
|
6a4fd46479
|
fixes from rebase
|
7 years ago |
Ethan Buchman
|
0f293bfc2b
|
remove some TODOs
|
7 years ago |
Ethan Buchman
|
869d873d5c
|
state.ApplyBlock takes evpool and calls MarkEvidenceAsCommitted
|
7 years ago |
Ethan Buchman
|
3271634e7a
|
types: evidence cleanup
|
7 years ago |
Ethan Buchman
|
6c4a0f9363
|
cleanup evidence pkg. state.VerifyEvidence
|
7 years ago |
Ethan Buchman
|
df3f4de7c3
|
check evidence is from validator; some cleanup
|
7 years ago |
Ethan Buchman
|
77e45756f2
|
types: Evidences for merkle hashing; Evidence.String()
|
7 years ago |
Ethan Buchman
|
9cdcffbe4b
|
types: comments; compiles; evidence test
|
7 years ago |
Ethan Buchman
|
35587658cd
|
verify evidence in block
|
7 years ago |
Ethan Buchman
|
7928659f70
|
track evidence, include in block
|
7 years ago |
Ethan Buchman
|
bfcb40bf6b
|
validate block.ValidatorsHash
|
7 years ago |
Ethan Buchman
|
051c2701ab
|
remove LastConsensusParams
|
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 |
Anton Kaliaev
|
0093f9877a
|
change voting power change, not number of vals
|
7 years ago |
Anton Kaliaev
|
cf0b5d3715
|
enforce <1/3 validator updates
Refs #950
|
7 years ago |
Ethan Buchman
|
35521b553a
|
save historical consensus params
|
7 years ago |
Ethan Buchman
|
3d00c477fc
|
separate block vs state based validation
|
7 years ago |
Anton Kaliaev
|
0ffd60b8cf
|
ValidatorSetUpdates -> ValidatorUpdates
|
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
|
4265a94bfe
|
Update EndBlock parameters
* Update abci dependencies
* Modify references from Diffs to Changes
* Fixes issues #924
|
7 years ago |
Anton Kaliaev
|
7f649ccf23
|
fixes from Frey's review
|
7 years ago |
Anton Kaliaev
|
d669816a1b
|
send absent validators in BeginBlock
Refs #668
|
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 Buchman
|
9af8da7aad
|
update for new abci int types
|
7 years ago |
Anton Kaliaev
|
922af7c405
|
int64 height
uint64 is considered dangerous. the details will follow in a blog post.
|
7 years ago |
Ethan Buchman
|
e9f8e56895
|
fixes from rebase
|
7 years ago |
Anton Kaliaev
|
b3492356e6
|
uint64 height (Refs #911)
|
7 years ago |
Anton Kaliaev
|
1e19860585
|
fixes from my own review
|
7 years ago |
Anton Kaliaev
|
f65e357d2b
|
adapt Tendermint to new abci.Client interface
which was introduced in https://github.com/tendermint/abci/pull/130
|
7 years ago |
Anton Kaliaev
|
29cd1a1b8f
|
rewrite indexer to be a listener of eventBus
|
7 years ago |
Anton Kaliaev
|
acae38ab9e
|
validate tags
|
7 years ago |
Anton Kaliaev
|
a52cdbfe43
|
extract tags from DeliverTx/Result
and send them along with predefined
|
7 years ago |
Zach Ramsay
|
c84c7250ba
|
linting: few more fixes
|
7 years ago |
Zach Ramsay
|
48aca642e3
|
linter: address deadcode, implement incremental lint testing
|
7 years ago |
Zach Ramsay
|
68e7983c70
|
linting errors: afew more
|
7 years ago |
Zach Ramsay
|
b75d4f73e7
|
errcheck: PR comment fixes
|
7 years ago |
Zach Ramsay
|
b3c5933a23
|
state: return to-be-used function
|
7 years ago |
Zach Ramsay
|
57ea4987f7
|
linting: apply errcheck part1
|
7 years ago |