Commit Graph

6692 Commits

Author SHA1 Message Date
Jae Kwon 11a79f11e0 ... 2014-10-03 17:59:54 -07:00
Jae Kwon 8e452aa0d2 fixed algorithm 2014-10-03 01:09:26 -07:00
Jae Kwon c73f40b844 update readme 2014-09-11 22:45:47 -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 8b606f9e66 s/Manager/Agent/g 2014-09-11 10:55:32 -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 190173ad29 README update 2014-09-10 02:46:23 -07:00
Jae Kwon 4c961bd565 updated readme, implementing mempool. 2014-09-10 02:43:16 -07:00
Jae Kwon 6c3579e753 ... 2014-09-08 16:27:58 -07:00
Jae Kwon 6a8bb68888 vote ranks are tracked and used for efficiency. 2014-09-08 16:18:50 -07:00
Jae Kwon 7523f501fd commitTime is used to derive next startTime. :) 2014-09-08 15:32:08 -07:00
Jae Kwon 5dfa2ecebb share block parts when we're the proposer 2014-09-07 18:28:04 -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
Ubuntu 50544c50af smaller integers to conserve memory 2014-08-30 04:17:08 -07:00
Jae Kwon ed1ebec709 fix p.sent adjustment 2014-08-30 04:17:08 -07:00
Ubuntu 7b07ed9d45 fix event time bug 2014-08-30 04:17:07 -07:00
Jae Kwon cdbc760cee write to file 2014-08-30 04:17:07 -07:00
Jae Kwon 767c7808d7 track dups 2014-08-30 04:17:07 -07:00
Jae Kwon dcd4ce356d simulate vote propagation 2014-08-30 04:17:07 -07:00
Jae Kwon 8806fc1231 small bug in sim 2014-08-04 01:08:10 -07:00
Jae Kwon 017bc2794e with pull 2014-08-03 18:16:32 -07:00
Jae Kwon 8db5b7b614 move everything to blockManagerState; sim 2014-08-03 15:50:28 -07:00
Jae Kwon 666122861c implementing block_manager. currently only supports one datatype. 2014-07-29 23:53:35 -07:00
Jae Kwon 34fe442514 Connection -> MConnection, huge refactor. True multiplexing. 2014-07-28 01:41:25 -07:00
Jae Kwon 197c8328c9 ... 2014-07-24 14:20:33 -07:00
Jae Kwon 13d89969ef implementing BlockManager 2014-07-19 16:47:00 -07:00
Jae Kwon c5732f9374 Moved PEX logic to PeerManager where it belongs. 2014-07-19 16:40:49 -07:00
Jae Kwon cc4f3c90d3 Put->Set 2014-07-19 15:19:07 -07:00
Jae Kwon 6750d05b05 Message is wrapped by TypedMessage. 2014-07-18 21:21:42 -07:00
Jae Kwon 9464241c02 don't add our listener address into addrbook. 2014-07-17 16:06:34 -07:00
Jae Kwon 9f7765d334 cleanup log messages 2014-07-17 16:06:34 -07:00
Jae Kwon e50e14ddf5 switch events, node listens for new peers to ask for new addrs. 2014-07-17 16:06:34 -07:00
Jae Kwon 162bff99b2 addrbook key is more secure 2014-07-17 16:06:33 -07:00
Jae Kwon 45adb24d43 TMROOT env variable. Panic less. 2014-07-16 13:15:18 -07:00
Jae Kwon ca159b2726 RandStr() is base62 2014-07-15 23:41:40 -07:00
Jae Kwon 92ea6c626f addrbook key is a string 2014-07-15 22:07:33 -07:00
Jae Kwon 1603d6f385 pretty print addrbook json 2014-07-15 21:53:39 -07:00
Jae Kwon ac668d4d14 Don't dial dupes 2014-07-15 15:54:33 -07:00
Jae Kwon c9114a677c fix off by one. 2014-07-15 14:57:22 -07:00
Jae Kwon 087a7b9a31 peeking when debug is on 2014-07-14 16:17:42 -07:00
Jae Kwon f53e6d1a33 replace logger with go-logging 2014-07-14 16:15:13 -07:00
Jae Kwon bbfdef5ea7 log external address 2014-07-14 14:09:18 -07:00
Jae Kwon 0ced862290 outgoing -> outbound, incoming -> inbound 2014-07-14 14:06:12 -07:00