Commit Graph

41 Commits

Author SHA1 Message Date
Jae Kwon 722474a9b3 Added some common methods 2015-03-18 23:23:55 -07:00
Jae Kwon 3f159dab69 proper string formatting for txs 2015-01-16 00:31:34 -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 0bfb389b35 change logger to log15 2014-12-29 18:09:06 -08:00
Jae Kwon f91665fe07 Refactoring genesis, including PubKey into TxInput 2014-12-28 00:44:56 -08:00
Jae Kwon bff93107ef UPNP + hairpin probing 2014-12-23 17:20:52 -08:00
Jae Kwon 62ff48c02b Documented Block, some renames 2014-12-23 01:35:54 -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 6cacf6f09b RebondTx and more efficient IncrementAccum() 2014-12-16 05:45:40 -08:00
Jae Kwon 83d313cbe5 Refactor Tx, Validator, and Account structure 2014-12-16 05:45:40 -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 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 3df3107479 Update peerState's vote bitarrays when needed. 2014-11-05 03:11:38 -08:00
Jae Kwon c3fc1a39ea BitArray sub fix 2014-11-05 03:11:38 -08:00
Jae Kwon 13d70e4112 stack trace in p2p/connection panics, bitArray fix 2014-11-05 03:11:37 -08:00
omni c5d9a93cbe Pretty print Vote, VoteSet 2014-10-15 20:15:38 -07:00
Jae Kwon 7652c5d0de fix tests 2014-10-11 21:27:58 -07:00
Jae Kwon f9d35a5907 added ibbs_tree 2014-10-08 17:50:20 -07:00
Jae Kwon 839301b03c iavl tree LRU cache 2014-10-06 00:15:37 -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 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 34fe442514 Connection -> MConnection, huge refactor. True multiplexing. 2014-07-28 01:41:25 -07:00
Jae Kwon c5732f9374 Moved PEX logic to PeerManager where it belongs. 2014-07-19 16:40:49 -07:00
Jae Kwon 162bff99b2 addrbook key is more secure 2014-07-17 16:06:33 -07:00
Jae Kwon ca159b2726 RandStr() is base62 2014-07-15 23:41:40 -07:00
Jae Kwon ac668d4d14 Don't dial dupes 2014-07-15 15:54:33 -07:00
Jae Kwon f53e6d1a33 replace logger with go-logging 2014-07-14 16:15:13 -07:00
Jae Kwon 0b1265dc10 . 2014-07-10 22:14:23 -07:00
Jae Kwon 442cae1f3f addrbook cleanup 2014-07-10 02:19:50 -07:00
Jae Kwon 1b59caf950 created "Node" 2014-07-09 18:33:44 -07:00
Jae Kwon d378ed8ed4 naive flushing implemented with a throttler. 2014-07-03 14:39:45 -07:00
Jae Kwon 3e2f377863 benchmark works, but could use some improvement.
~33k packets/sec for a single local pair.
2014-07-02 16:03:04 -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 6f6582100d . 2014-06-16 22:37:42 -07:00