Commit Graph

57 Commits

Author SHA1 Message Date
Jae Kwon e5d34befde Remote TypeByte() 2015-04-14 15:57:16 -07:00
Jae Kwon 89e05168d5 Begin writing debora 2015-04-14 04:14:18 -07:00
Jae Kwon 6d6f061f19 Support nil pointers for Binary.
If the thing does not already have a typebyte declared,
a fake one will be given (0x01).
A TypeByte of 0x00 is reserved for nil things.
No nil-dogs.
2015-04-12 17:46:16 -07:00
Jae Kwon a09051438c Intermediate... working on debora 2015-04-08 11:35:17 -07:00
Jae Kwon 13b6508ecd Package import path change 2015-04-01 17:30:16 -07:00
Jae Kwon 65c2ce45d1 add boolean reflection support 2015-04-01 14:52:10 -07:00
Jae Kwon 7589730f2e tendermint -> tendermint2 ... 2015-04-01 05:07:05 -07:00
Jae Kwon cc715e0ee3 Everything is an RPCResponse 2015-04-01 04:58:33 -07:00
Jae Kwon 7b049e93fb add support for `json=""` in reflection binary/* thing 2015-04-01 01:48:50 -07:00
Ethan Buchman 60f166e823 tendermint2 2015-03-31 15:33:31 -07:00
Jae Kwon 1a4aab4c35 When using JSONRPC, do not double-encode JSON. 2015-03-30 15:14:33 -07:00
Jae Kwon 79304b0dd3 Create BlockCache and TxCache for performance. 2015-03-28 23:44:07 -07:00
Jae Kwon b7b88cd763 use WriteTime/ReadTime, and also log how the block header gets hashed 2015-01-18 23:59:21 -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 51c70dd8ac Write log also to a file. 2015-01-08 17:24:04 -08:00
Jae Kwon 325b88b083 time encoding in binary/reflect 2015-01-06 15:51:41 -08:00
Jae Kwon d4e9b747d3 binary/reflect handles JSON 2015-01-05 14:04:42 -08:00
Jae Kwon 13ca6fb241 RegisterInterface() so we can implement custom JSON codec 2015-01-04 17:33:18 -08:00
Jae Kwon f02ba63412 testing tx transmission 2014-12-31 23:42:44 -08:00
Jae Kwon 2fd137d9e5 gen_tx for signing transactions 2014-12-31 22:13:49 -08:00
Jae Kwon 8a18a11431 fix binary/README 2014-12-31 20:45:18 -08:00
Jae Kwon 0f399c42d4 Actually sends catch-up parts; BitArray is goroutine-safe 2014-12-30 21:29:49 -08:00
Jae Kwon 16c80fd65f fix race condition for SetHasAllValidationCommits; "binary" log
filtering
2014-12-30 14:45:26 -08:00
Jae Kwon 3215cbf0d5 use tendermint/log15 2014-12-29 19:44:38 -08:00
Jae Kwon 0bfb389b35 change logger to log15 2014-12-29 18:09:06 -08:00
Jae Kwon 591d84947b Handle errors in DecodeMessage, added logging 2014-12-29 16:04:38 -08:00
Jae Kwon 5bace5cce8 Unreader to unread bytes 2014-12-29 15:14:54 -08:00
Jae Kwon 946fa21dc7 fix race conditions 2014-12-28 17:10:03 -08:00
Jae Kwon b0755c938a Better debug output 2014-12-28 16:26:53 -08:00
Jae Kwon f91665fe07 Refactoring genesis, including PubKey into TxInput 2014-12-28 00:44:56 -08:00
Jae Kwon 383335d93c Added README docs for account/binary and renamed UInt -> Uint etc. 2014-12-22 18:10:17 -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 cd4ef5d01f IAVLTree supports Codec. 2014-10-11 00:52:29 -07:00
Jae Kwon 349e3743df time in nanoseconds 2014-10-07 13:39:21 -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 d772282c25 (U)VarInt binary methods; Txs have sequence numbers 2014-09-10 16:56:02 -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 d0ec18dc16 converting Binary struct model to native w/ global methods model 2014-09-03 19:21:19 -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 34fe442514 Connection -> MConnection, huge refactor. True multiplexing. 2014-07-28 01:41:25 -07:00
Jae Kwon 6750d05b05 Message is wrapped by TypedMessage. 2014-07-18 21:21:42 -07:00
Jae Kwon dca79ab5c1 bug fixes in binary 2014-07-08 15:33:26 -07:00
Jae Kwon d219949dff performance optimization 2014-07-03 13:44:19 -07:00
Jae Kwon c40fc65e6b go fmt 2014-07-01 14:50:24 -07:00