Commit Graph

105 Commits

Author SHA1 Message Date
Jae Kwon ad17090a0f No global config 2016-05-08 15:00:58 -07:00
Ethan Buchman 850d769273 allow no recheck if empty block 2016-04-29 14:23:04 -07:00
Ethan Buchman 5296507665 some mempool log statements 2016-04-29 14:23:04 -07:00
Ethan Buchman 8e5e5c689f lock mempool for commit and update. closes #202 2016-04-29 14:23:04 -07:00
Ethan Buchman 501c4e4bac fixes from review 2016-04-26 22:17:13 -04:00
Ethan Buchman 196af01707 maxTxs=-1 for Reap to return empty 2016-04-19 20:43:54 -04:00
Ethan Buchman f5be3cd8f9 rpc: start/stop cpu profiler 2016-04-19 20:43:54 -04:00
Jae Kwon daa76dcff0 Fix CheckTx/Update race condition 2016-03-25 08:29:03 -07:00
Jae Kwon 2c1504f93c Reap takes maxTxs 2016-03-06 15:08:32 -08:00
Ethan Buchman 94f3d201e1 drop mempool_reap. use block_size=-1 instead 2016-03-05 16:41:54 -05:00
Ethan Buchman 3891e4d66d config: cswal_light, mempool_broadcast, mempool_reap 2016-03-03 06:31:59 +00:00
Ethan Buchman c9ec9cf00e config: block size, consensus timeouts, recheck tx 2016-02-29 17:04:33 -05:00
Jae Kwon d31d3c58ad Recheck txs 2016-02-14 17:00:33 -08:00
Jae Kwon a7523015f7 Fix fix -- ignore cb if mempool broadcastTx cb is nil 2016-02-08 15:25:25 -08:00
Jae Kwon 7613557528 Fix bug in mempool broadcastTx for duplicate txs 2016-02-08 15:22:49 -08:00
Jae Kwon a4f57e164b BroadcastTx results 2016-02-08 00:48:58 -08:00
Jae Kwon f1b48ff009 Use protobuf enums for CodeType 2016-02-04 18:41:29 -08:00
Jae Kwon a73a65a45b Use protobuf enums 2016-02-04 18:41:29 -08:00
Jae Kwon 3f49b509d2 Conform to protobuf TMSP 2016-02-04 18:41:29 -08:00
Jae Kwon 236c7afe9e Conform to TMSP v0.2 2016-01-25 14:34:08 -08:00
Jae Kwon 3e3c0083c7 Make order be decided first; Remove TMSP Commit/Rollback 2016-01-08 16:51:20 -08:00
Jae Kwon d3d7ff4818 Add mempool cache to reduce proxyapp pressure 2015-12-09 14:10:31 -08:00
Jae Kwon ef43af19ab Tendermint <-> Application refactor 2015-12-01 20:12:01 -08:00
Jae Kwon e12f9d10e7 Bare consensus refactor 2015-11-01 11:34:08 -08:00
Jae Kwon ceed000c58 Use ResetFor... callback instead of EventSwitch for mempool new blocks 2015-09-29 12:31:34 -04:00
Ethan Buchman cccb722ba8 mempool tests 2015-09-29 12:30:46 -04:00
Ethan Buchman 12566f51af better mempool queueing 2015-09-28 22:58:02 -04:00
Ethan Buchman bb4ca1407f info->notice, debug->info 2015-07-19 22:44:40 +00:00
Jae Kwon 2e1d8ba054 Make Ripemd160 the default 2015-07-10 12:15:46 -07:00
Ethan Buchman d27e0bbad5 event cache and fireable interace 2015-04-16 00:08:58 -07:00
Ethan Buchman 2e918e8c0b rpc: websocket events testing 2015-04-14 01:39:41 -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 5cb57d3eaa Use BlockCache for RPC/mempool and added TxId()
TxId() uses signbytes
2015-03-29 18:43:27 -07:00
Jae Kwon 79304b0dd3 Create BlockCache and TxCache for performance. 2015-03-28 23:44:07 -07:00
Jae Kwon 87e1f76324 tendermint/block -> tendermint/types and tendermint/blockchain 2015-03-22 19:00:08 -07:00
Ethan Buchman f2d5aba2a9 mempool: add GetState() 2015-03-21 13:31:17 -07:00
Ethan Buchman 9c4692c071 remove gas price and dont run txs before they come in a block 2015-03-18 23:27:27 -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 fe566739fd rpc/account; fixed mempool tx filter bug; fixed iavl_tree persistence
bug
2015-01-10 05:41:50 -08:00
Jae Kwon 70eb75dca7 Refactor consensus/vote_set_test.go 2014-12-23 23:20:49 -08:00
Jae Kwon 61d1635085 Fixed tests 2014-12-21 21:47:38 -08:00
Jae Kwon 83d313cbe5 Refactor Tx, Validator, and Account structure 2014-12-16 05:45:40 -08:00
Jae Kwon 8718bd52a4 made ValidatorSet.Hash deterministic; fix off-by-1 bugs 2014-11-05 03:12:07 -08:00
Jae Kwon f5d0794756 RoundAction // FinalizeCommit // LastCommits 2014-10-20 19:02:10 -07:00
Jae Kwon ac147e2353 everything but binary, common, and blocks are explicitly imported. 2014-10-16 16:00:48 -07:00
Jae Kwon c8f996f345 prettyprint block, unified state hash, test block mutation. 2014-10-13 20:07:26 -07:00
Jae Kwon 08f86176fc state save/load test. 2014-10-07 00:43:34 -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 6a84b2e6aa p2p README update 2014-09-11 11:17: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