657 Commits

Author SHA1 Message Date
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
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
4465b4b93c . 2014-07-11 23:05:54 -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
ed19b7e0ae . 2014-07-08 22:39:36 -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
Jae Kwon
5c20d133f7 Merge branch 'master' of https://github.com/tendermint/tendermint 2014-07-07 19:25:44 -07:00
Jae Kwon
a4d2dc7897 Client -> Switch. Everything is clear now :) 2014-07-07 19:25:19 -07:00
jaekwon
2004321e6d Update README.md 2014-07-06 16:08:25 -07:00
Jae Kwon
6f65a9bd4e Not done integrating PEX. 2014-07-06 16:05:47 -07:00
Jae Kwon
a6f574658f beginning to write pex 2014-07-06 00:16:05 -07:00
Jae Kwon
ec89eb168d cleanup 2014-07-05 23:50:06 -07:00
Jae Kwon
421a9be34c addrbook tests 2014-07-05 15:48:07 -07:00
Jae Kwon
7c22d99dab local -> external 2014-07-04 19:29:02 -07:00
Jae Kwon
0f973c29ca Hide internal methods to make GoDoc more user-friendly 2014-07-04 14:29:27 -07:00
Jae Kwon
f12e94d055 update status 2014-07-03 16:35:27 -07:00
Jae Kwon
d378ed8ed4 naive flushing implemented with a throttler. 2014-07-03 14:39:45 -07:00
Jae Kwon
d219949dff performance optimization 2014-07-03 13:44:19 -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
fa07748d23 writing benchmark test for client connections 2014-07-01 14:43:00 -07:00