Commit Graph

81 Commits

Author SHA1 Message Date
Jae Kwon 8d1e176180 fixed-length arrays cleanup 2015-07-18 17:19:47 -07:00
Ethan Buchman dc7b912881 crypto byte arrays are fixed length 2015-07-17 17:19:16 -04:00
Jae Kwon d83ee27b6a Merge branch 'sim_txs' into develop 2015-07-16 00:55:04 -07:00
androlo 0a72c1ee50 * tendermint/binary handles fixed-length arrays
* log-event tests
2015-07-16 00:45:29 -07:00
Jae Kwon 109a3c2dd3 Added sim_txs draft 2015-07-11 18:01:21 -07:00
Jae Kwon 24acda1afc Distinguish between ReadJSON vs ReadJSONPtr. The latter expects a non-nil pointer to write into. The former creates new things intelligently 2015-07-11 16:32:46 -07:00
Jae Kwon 2e1d8ba054 Make Ripemd160 the default 2015-07-10 12:15:46 -07:00
Jae Kwon d95234435a Fix bug in merkle/iavl_proof; TODO maybe read zero length slices as nil? 2015-07-08 18:27:16 -07:00
Jae Kwon 28d7a21156 filelogger to write output to a file 2015-07-08 12:43:05 -07:00
Jae Kwon 1f34236948 Limit binary data to 21MB 2015-07-07 18:35:21 -07:00
Ethan Buchman a7ecdd10de Merge from panic branch 2015-06-29 14:54:48 -07:00
Jae Kwon 9b00f32901 Fix consensus: Send round-skip votes 2015-06-26 17:07:19 -07:00
Jae Kwon 6781b21d32 Split ReadBinary into ReadBinary/ReadBinaryPtr. 2015-06-26 16:43:41 -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 7752405945 Draft of consensus/reactor refactor. 2015-06-21 18:09:51 -07:00
Jae Kwon 6a0223641f type assert fix 2015-06-19 12:09:27 -07:00
Ethan Buchman 57ff919d50 godep 2015-06-09 23:17:19 -04:00
Jae Kwon fdf0e720bc Merkle proofs! 2015-05-24 14:19:46 -07:00
Jae Kwon 939702f587 Support uint64 , but still support int/uint varints. 2015-05-23 14:45:36 -07:00
Jae Kwon 3c96890d2d All numbers are in BigEndian 2015-05-03 17:42:46 -07:00
Ethan Buchman 8aaa918143 Merge branch 'develop' of https://github.com/tendermint/tendermint into develop 2015-04-25 13:26:05 -07:00
Ethan Buchman b3b6bfb312 binary: prevent runaway alloc 2015-04-25 13:25:44 -07:00
Jae Kwon 9a8652e001 Include peer round states in the dump_consensus_state RPC call. 2015-04-25 11:49:26 -07:00
Jae Kwon fcc26d7355 Resolve host for NetAddressFromString(). Test fix. 2015-04-23 18:41:14 -07:00
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