Commit Graph

65 Commits

Author SHA1 Message Date
Jae Kwon d87667a0c2 Conform to go-wire new TypeByte behavior for broadcasts 2015-12-21 15:18:16 -08:00
Jae Kwon 08d7980d80 Conform to go-wire new TypeByte behavior 2015-12-21 14:48:44 -08:00
Jae Kwon c95b89e98c Merge remote-tracking branch 'origin/consensus_refactor' into consensus_refactor_jae 2015-12-14 09:33:11 -08:00
Ethan Buchman b9e143d956 Fireable -> EventSwitch; rs in EventDataRoundState; fixes from review 2015-12-14 00:38:19 -05:00
Jae Kwon 3da76496b0 Fix BlockchainReactor bug w/ mismatched state.LastBlockHeight vs store.Height
This is due to a non-atomic saves of state.State vs blockchain.Store.
This is a simple hack.
2015-12-07 16:57:33 -08:00
Jae Kwon ef43af19ab Tendermint <-> Application refactor 2015-12-01 20:12:01 -08:00
Jae Kwon d69b5c5ab6 Conform to go-wire 1.0 2015-11-10 13:10:43 -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
Jae Kwon cb3a1fd095 Fixed a blockchain pool goroutine-leak bug 2015-10-12 16:49:46 -07:00
Jae Kwon fd9f816050 refactor variable names, pool.requests -> pool.requesters 2015-10-12 16:39:05 -07:00
Jae Kwon 47eee5ddd5 blockchain pool race condition fix 2015-09-12 08:47:59 -07:00
Jae Kwon b468baf7ac IsCaughtUp works with new networks 2015-09-11 21:09:47 -07:00
Jae Kwon 1c17ea3b14 blockchain parameter && log tweaks 2015-09-11 21:09:27 -07:00
Jae Kwon 21d45023d3 various bug fixes 2015-09-11 21:09:01 -07:00
Jae Kwon 3a5741f70f Fix blockchain pool tests 2015-09-11 21:09:00 -07:00
Jae Kwon 625f23af13 Blockpool better timeouts, download rate observation, quicker switching to consensus; Id -> ID (sorry, this doesn't belong here) 2015-09-11 21:09:00 -07:00
Jae Kwon 908fd11665 more explicit _, err := Start() checking 2015-08-11 11:01:17 -07:00
Jae Kwon e86073ec96 Use rpc/client/ws_client; OnStart() returns error 2015-08-11 11:01:17 -07:00
Jae Kwon 3be3647dc8 tendermint/binary -> tendermint/wire 2015-07-28 12:18:17 -07:00
Jae Kwon e7c1febb65 Simplify Service/Reactor pattern 2015-07-22 06:21:21 -07:00
Ethan Buchman 8e50bf15de panic wrapper functions 2015-07-21 10:46:05 -04:00
Jae Kwon 571a134318 BaseService and BaseReactor refactor and unification 2015-07-20 14:52:24 -07:00
Ethan Buchman bb4ca1407f info->notice, debug->info 2015-07-19 22:44:40 +00:00
Jae Kwon dea5eab643 fix GetStatus() usage 2015-07-13 11:03:31 -07:00
Ethan Buchman 751b892cba cleanup, comments 2015-07-12 02:16:33 +00:00
Ethan Buchman a7ecdd10de Merge from panic branch 2015-06-29 14:54:48 -07:00
Jae Kwon 9965dd5de6 uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/ 2015-06-25 20:28:34 -07:00
Jae Kwon 9b96e2e171 ProposalPOLRound... 2015-06-22 19:04:31 -07:00
Jae Kwon 829df93577 Re-use ValidatorSet.VerifyValidation() 2015-06-21 19:11:21 -07:00
Jae Kwon 7752405945 Draft of consensus/reactor refactor. 2015-06-21 18:09:51 -07:00
Jae Kwon 01b5540ffe consensus/state is 2-step asynchronous 2015-06-19 15:30:21 -07:00
Jae Kwon 175c0301f4 Merge pull request #82 from tendermint/chainid_rebase
Chainid
2015-05-30 17:38:39 -07:00
Jae Kwon d363bcfa16 fixed off by one bug 2015-05-30 09:13:55 -07:00
Ethan Buchman 2045aee9cd pass chainID through sign interfaces 2015-05-29 18:14:19 -04:00
Ethan Buchman bb67fe0356 dont run consensus state unless fast sync is off 2015-05-28 03:45:46 -07:00
Jae Kwon 057c8ef400 waiting back to pending 2015-05-28 03:30:26 -07:00
Jae Kwon 5ed36ef192 var rename and performance optimization 2015-05-28 02:18:53 -07:00
Jae Kwon b281674058 variable renames 2015-05-28 01:59:23 -07:00
Ethan Buchman ff87958f95 broadcast on newStepCh on switch to consensus reactor 2015-05-04 19:08:07 -04:00
Ethan Buchman 9892dfd0b3 allow multiple seed nodes 2015-04-23 18:52:44 -07:00
Ethan Buchman d8d619811e dont switch off fast sync unless we have enough peers to know 2015-04-23 18:49:59 -07:00
Ethan Buchman d54bf6bcd5 blockchain reactor to consensus reactor transition on catchup 2015-04-21 19:51:23 -07:00
Jae Kwon a9467414d6 Merge remote-tracking branch 'origin/websockets' into develop 2015-04-17 13:20:47 -07:00
Jae Kwon 44565872ae Fixed BlockchainMessage{} Decode issue.
Fixed Warn(UnknownMessage) issues.
2015-04-16 17:53:33 -07:00
Jae Kwon 89cfedeb73 Make all messages be registered as pointer receivers,
Warn on unknown messages.
2015-04-16 17:46:27 -07:00
Ethan Buchman d27e0bbad5 event cache and fireable interace 2015-04-16 00:08:58 -07:00
Jae Kwon e5d34befde Remote TypeByte() 2015-04-14 15:57:16 -07:00
Jae Kwon 5b1c1eb0e0 ProposalMessage wrapper, warn on unknown messages 2015-04-13 08:40:37 -07:00
Jae Kwon dc27d56cc3 minor fix for when the blockstore is ahead by one. 2015-04-13 08:40:19 -07:00