Commit Graph

307 Commits

Author SHA1 Message Date
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 b0755c938a Better debug output 2014-12-28 16:26:53 -08:00
Jae Kwon fa7c83166f P2P docs 2014-12-23 19:31:24 -08:00
Jae Kwon bff93107ef UPNP + hairpin probing 2014-12-23 17:20:52 -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 8e9c060e6d Begin writing RPC HTTP Server 2014-12-16 05:43:23 -08:00
Jae Kwon 93979300be made cmd/, removed crypto/ 2014-11-07 23:27:03 -08:00
Jae Kwon 8718bd52a4 made ValidatorSet.Hash deterministic; fix off-by-1 bugs 2014-11-05 03:12:07 -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
Jae Kwon 647d26f7a0 consensus cleanup, privValidator config 2014-11-05 03:11:37 -08:00
Jae Kwon b615e51f95 basic main.go completion 2014-11-05 03:11:37 -08:00
Jae Kwon 335b7a5984 ... 2014-10-06 01:46:39 -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 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 4c961bd565 updated readme, implementing mempool. 2014-09-10 02:43:16 -07:00
Jae Kwon e53b148acf refactor from Binary centric model to global method model 2014-09-03 20:41:57 -07:00
Jae Kwon a8ece216f0 fix test cases 2014-08-31 01:48:40 -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 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 c5732f9374 Moved PEX logic to PeerManager where it belongs. 2014-07-19 16:40:49 -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 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
Jae Kwon 56a92b512f Send external addresses upon new outbound peer 2014-07-14 14:04:26 -07:00
Jae Kwon 78663a09fe configure laddr & seed node from command line. 2014-07-12 18:37:55 -07:00
Jae Kwon cc9ea407aa with seed node 2014-07-12 14:52:31 -07:00
Jae Kwon b531597a53 show listener external address in log 2014-07-10 22:19:58 -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 237b3dc7ff . 2014-07-09 14:32:45 -07:00
Jae Kwon 2d39e463a5 cleanup 2014-07-09 14:27:32 -07:00
Jae Kwon dca79ab5c1 bug fixes in binary 2014-07-08 15:33:26 -07:00
Jae Kwon 04eb07c26f fixed a bug 2014-07-08 08:34:49 -07:00
Jae Kwon ce51af9d4d PeerSet is for fast iteration of peers 2014-07-08 00:02:04 -07:00
Jae Kwon 61224f86c9 package rename peer -> p2p 2014-07-07 20:03:50 -07:00