Commit Graph

48 Commits

Author SHA1 Message Date
Jae Kwon 8718bd52a4 made ValidatorSet.Hash deterministic; fix off-by-1 bugs 2014-11-05 03:12:07 -08:00
Jae Kwon 5f794d14fb nil bugs 2014-11-05 03:12:06 -08:00
Jae Kwon 5d1bdc6b1a Don't send bitarrays, just send height/round/type/index. 2014-11-05 03:12:06 -08:00
Jae Kwon 08d1b50570 Store BlockParts && also Validation on its own. 2014-11-05 03:12:06 -08:00
Jae Kwon da8e25343c Added LastBlockParts to state, and also validates. 2014-11-05 03:12:05 -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 0f484b6315 broadcastVote sets peer's vote bitarray 2014-11-05 03:11:38 -08:00
Jae Kwon c3fc1a39ea BitArray sub fix 2014-11-05 03:11:38 -08: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
omni c5d9a93cbe Pretty print Vote, VoteSet 2014-10-15 20:15:38 -07:00
Jae Kwon c8f996f345 prettyprint block, unified state hash, test block mutation. 2014-10-13 20:07:26 -07:00
Jae Kwon 810aeb7bcb fix tests 2014-10-12 21:14:10 -07:00
Jae Kwon f4b42cdfab remove TimeoutTx 2014-10-12 17:57:23 -07:00
Jae Kwon 7652c5d0de fix tests 2014-10-11 21:27:58 -07:00
Jae Kwon 18e2d4bf48 implementing ExecTx... 2014-10-07 23:11:04 -07:00
Jae Kwon 0c206aa748 Signable interface. 2014-10-07 19:37:20 -07:00
Jae Kwon 08f86176fc state save/load test. 2014-10-07 00:43:34 -07:00
Jae Kwon 1ae9ecd2a9 fix basic tests. 2014-10-04 19:16:49 -07:00
Jae Kwon 8e452aa0d2 fixed algorithm 2014-10-03 01:09:26 -07:00
Jae Kwon 9c1795a04d add mempool to consensus 2014-09-11 22:44:59 -07:00
Jae Kwon 03d1af711a consensus & account txs are all in Block.Data.Txs 2014-09-11 01:11:41 -07:00
Jae Kwon d772282c25 (U)VarInt binary methods; Txs have sequence numbers 2014-09-10 16:56:02 -07:00
Jae Kwon 4c961bd565 updated readme, implementing mempool. 2014-09-10 02:43:16 -07:00
Jae Kwon 5dfa2ecebb share block parts when we're the proposer 2014-09-07 18:28:04 -07:00
Jae Kwon f030c69495 draft of consensus+state code, compiles. 2014-09-04 03:32:38 -07:00
Jae Kwon e53b148acf refactor from Binary centric model to global method model 2014-09-03 20:41:57 -07:00
Jae Kwon a8ece216f0 fix test cases 2014-08-31 01:48:40 -07:00
Jae Kwon fa382a3b05 numeric fields are all native unboxed. 2014-08-30 16:28:51 -07:00
Jae Kwon d300a67bb1 saving development state... 2014-08-30 04:17:10 -07:00
Jae Kwon 8db5b7b614 move everything to blockManagerState; sim 2014-08-03 15:50:28 -07:00
Jae Kwon 666122861c implementing block_manager. currently only supports one datatype. 2014-07-29 23:53:35 -07:00
Jae Kwon 34fe442514 Connection -> MConnection, huge refactor. True multiplexing. 2014-07-28 01:41:25 -07:00
Jae Kwon 197c8328c9 ... 2014-07-24 14:20:33 -07:00
Jae Kwon 13d89969ef implementing BlockManager 2014-07-19 16:47:00 -07:00
Jae Kwon 6750d05b05 Message is wrapped by TypedMessage. 2014-07-18 21:21:42 -07:00
Jae Kwon ed19b7e0ae . 2014-07-08 22:39:36 -07:00
Jae Kwon dca79ab5c1 bug fixes in binary 2014-07-08 15:33:26 -07:00
Jae Kwon c40fc65e6b go fmt 2014-07-01 14:50:24 -07:00
Jae Kwon 6288d01c0e . 2014-06-18 20:48:07 -07:00
Jae Kwon 4e09037e9f . 2014-06-17 01:28:43 -07:00
Jae Kwon ad57d57cf6 . 2014-06-05 21:20:55 -07:00
Jae Kwon 08faa88d02 . 2014-06-05 18:17:09 -07:00
Jae Kwon 805e1f51dd simplify writing 2014-06-05 11:45:18 -07:00
Jae Kwon 380019949e fill in blocks methods 2014-06-05 11:04:56 -07:00
Jae Kwon eda3965d6a updated block types 2014-06-05 02:34:45 -07:00
Jae Kwon 576d8815fe draft of blocks package 2014-06-04 01:40:17 -07:00