Commit Graph

32 Commits

Author SHA1 Message Date
Ethan Buchman 334cab82c2 fix tests: propose and full round suites 2015-12-12 01:28:53 -05:00
Ethan Buchman d9b55101e5 move routines to consensus state. drop locks and other go routines 2015-12-10 11:41:18 -05:00
Jae Kwon 35abb4df92 Allow for test apps to return nil hashes 2015-12-04 00:59:02 -08:00
Jae Kwon ef43af19ab Tendermint <-> Application refactor 2015-12-01 20:12:01 -08:00
Ethan Buchman 209bcf905e proposer selection tests. closes #53 2015-11-10 13:41:49 -08:00
Jae Kwon e12f9d10e7 Bare consensus refactor 2015-11-01 11:34:08 -08:00
Jae Kwon c4ed55d801 Refactor to move common libraries out of project 2015-10-22 17:39:06 -07:00
Ethan Buchman a26e0b4d48 consensus tests 2015-09-23 10:56:17 -04:00
Ethan Buchman 555ecb095d precommit nil if locked and no POL 2015-09-15 14:25:50 -04:00
Jae Kwon 9e1794eaea Fixed tests 2015-06-24 14:04:40 -07:00
Jae Kwon 01b5540ffe consensus/state is 2-step asynchronous 2015-06-19 15:30:21 -07:00
Ethan Buchman 2045aee9cd pass chainID through sign interfaces 2015-05-29 18:14:19 -04:00
Jae Kwon 489bf767cb importing tendermint/config/tendermint_test applies the test config 2015-05-17 16:19:58 -07:00
Jae Kwon 75ef479547 Config is passed into each module. Remove tendermint/confer 2015-05-17 16:19:57 -07:00
Jae Kwon 2ba6f86f2e Add Network to SignBytes, to prevent network clashes 2015-04-20 23:59:52 -07:00
Jae Kwon 13b6508ecd Package import path change 2015-04-01 17:30:16 -07:00
Ethan Buchman 60f166e823 tendermint2 2015-03-31 15:33:31 -07:00
Jae Kwon 87e1f76324 tendermint/block -> tendermint/types and tendermint/blockchain 2015-03-22 19:00:08 -07:00
Jae Kwon 0a6c28c2da block module -> import as blk 2015-01-15 22:43:15 -08:00
Jae Kwon 135894ea88 Dot import -> named import
Changed modulename_ to short module names
Also removed Unreader, replaced with PrefixdReader in select locations
2015-01-14 20:34:53 -08:00
Jae Kwon 0dac36aa5d Do not panic when double-signing, return error. 2014-12-31 16:53:33 -08:00
Jae Kwon 403d24a4b2 generated privValidator for testing uses tmp files
PrivValidator.Sign*() and .Save() lock on a mutex
2014-12-22 18:49:37 -08:00
Jae Kwon 61d1635085 Fixed tests 2014-12-21 21:47:38 -08:00
Jae Kwon 08d1b50570 Store BlockParts && also Validation on its own. 2014-11-05 03:12:06 -08:00
Jae Kwon b7b923cc6b Validation tests 2014-11-05 03:12:05 -08:00
Jae Kwon e42771e36f fix tests 2014-11-05 03:11:39 -08:00
Jae Kwon f6093caac9 check *parts.rootHash before sending 2014-11-05 03:11:38 -08:00
Jae Kwon 647d26f7a0 consensus cleanup, privValidator config 2014-11-05 03:11:37 -08:00
Jae Kwon 89418ee7af Added CommitTimeWait step, the state machine model changed a bit. 2014-11-05 03:11:36 -08:00
Jae Kwon 5ffe406f16 RunAction* directly on ConsensusState. 2014-10-21 01:18:46 -07:00
Jae Kwon f5d0794756 RoundAction // FinalizeCommit // LastCommits 2014-10-20 19:02:10 -07:00
Jae Kwon 9ea504030e pretty print ConsensusState 2014-10-18 01:42:33 -07:00