Commit Graph
26 Commits
Author SHA1 Message Date
Zarko MilosevicandEthan Buchman a83c268d7f Fix spec (#2736) 2018-10-31 10:59:01 -04:00
Zarko MilosevicandEthan Buchman c5905900eb Simplify proposal msg (#2735)
* Align Proposal message with spec

* Update spec
2018-10-31 10:27:11 -04:00
Zarko MilosevicandEthan Buchman 7a03344480 Introduce EventValidBlock for informing peers about wanted block (#2652)
* Introduce EventValidBlock for informing peer about wanted block

* Merge with develop

* Add isCommit flag to NewValidBlock message

- Add test for the case of +2/3 Precommit from the previous round
2018-10-31 09:20:36 -04:00
Zarko MilosevicandEthan Buchman 287b25a059 Align with spec (#2642) 2018-10-15 16:05:13 -04:00
Zarko MilosevicandEthan Buchman 2363d88979 consensus: Wait for proposal or timeout before prevote (#2540)
* Fix termination issues and improve tests

* Improve formatting and tests based on reviewer feedback
2018-10-12 16:13:01 -04:00
Zarko MilosevicandEthan Buchman 12675ecd92 consensus: Wait timeout precommit before starting new round (#2493)
* Disable transitioning to new round upon 2/3+ of Precommit nils

Pull in ensureVote test function from https://github.com/tendermint/tendermint/pull/2132

* Add several ensureX test methods to wrap channel read with timeout

* Revert panic in tests
2018-10-04 09:37:13 -04:00
Zarko MilosevicandEthan Buchman f99e4010f2 Add stats related channel between consensus state and reactor (#2388) 2018-09-21 14:36:48 -04:00
Zarko MilosevicandAnton Kaliaev 2fbf810cd8 Delay starting node until Genesis time (#2389) 2018-09-18 13:16:50 +04:00
Zarko MilosevicandEthan Buchman 7b88172f41 Implement BFT time (#2203)
* Implement BFT time

* set LastValidators when creating state in state helper

for heights >= 2
2018-08-31 19:33:51 -04:00
Zarko MilosevicandAlexander Simmerl 08ad162daa docs: Modify blockchain spec to reflect validator set changes (#2107) 2018-07-31 20:19:57 +02:00
Zarko Milosevic ce73884857 Add spec for Blockchain Reactor algorithm 2018-06-13 14:05:17 +02:00
Zarko MilosevicandEthan Buchman b5ac9ede8a Add rules in gossipVotesForHeight to clarify priorities on messages to send 2018-05-14 16:18:50 -04:00
Zarko MilosevicandEthan Buchman 01ac378c96 Update condition based on Jae input 2018-05-14 16:17:21 -04:00
Zarko MilosevicandEthan Buchman 83ca46396d Update gossipVotes routine to align with validBlock mechanism 2018-05-14 16:17:21 -04:00
Zarko MilosevicandEthan Buchman 2c125b6c78 Fix validValue rule 2018-05-14 16:17:21 -04:00
Zarko Milosevic 416f03c05b Add light client spec 2018-03-21 10:00:18 +01:00
Zarko Milosevic 5a79b3d74a Improve the spec to make explicit median computation based on voting power 2018-03-19 19:10:02 +01:00
Zarko MilosevicandAlexander Simmerl d4e93a6de3 Separate ValidBlock rule from unlocking rule 2018-03-01 11:42:22 +01:00
Zarko MilosevicandAlexander Simmerl 4670857c15 Add support for ValidBlock mechanism for the simplest case 2018-03-01 11:42:22 +01:00
Zarko Milosevic 4cbdbbaac9 Add BFT time spec 2018-02-01 15:22:08 +01:00
Zarko Milosevic dfdfd6c98e Small fix in example 2018-01-22 13:10:54 +01:00
Zarko Milosevic d36e118bf6 Add Consensus reactor spec 2018-01-19 19:57:08 +01:00
Zarko Milosevic dba4815616 Define requirements of the proposer selection procedure 2018-01-08 14:10:01 +01:00
Zarko Milosevic 96e0e4ab5a Describe messages sent as part of consensus/gossip protocol 2017-12-30 21:18:12 +01:00
milosevicandGitHub b362894a56 Merge pull request #8 from tendermint/align-algorithm-with-code
Align protocol with Tendermint code and add find valid value mechanism
2017-12-06 09:52:32 +01:00
Zarko Milosevic 2866ba1a2c Align protocol with Tendermint code and add find valid value mechanism 2017-12-06 09:48:53 +01:00