43 Commits

Author SHA1 Message Date
Ethan Buchman
2750343de5 Merge branch 'apply-megacheck' into unstable 2017-06-23 21:38:22 -04:00
Anton Kaliaev
b4ece65726
standardize key for errors (should be "err") 2017-06-14 12:50:49 +04:00
zramsay
cf31f8d06f core: apply megacheck vet tool (unused, gosimple, staticcheck) 2017-05-29 23:11:40 -04:00
Anton Kaliaev
f803544195
new logging 2017-05-13 10:24:58 +02:00
Ethan Buchman
57151d6043 p2p: use cmn instead of . 2017-05-04 22:43:55 -04:00
Ethan Buchman
23a6a6f8fc move into p2p package 2017-04-21 18:07:52 -04:00
Jae Kwon
c4ed55d801 Refactor to move common libraries out of project 2015-10-22 17:39:06 -07:00
Jae Kwon
e86073ec96 Use rpc/client/ws_client; OnStart() returns error 2015-08-11 11:01:17 -07:00
Jae Kwon
e7c1febb65 Simplify Service/Reactor pattern 2015-07-22 06:21:21 -07:00
Ethan Buchman
8e50bf15de panic wrapper functions 2015-07-21 10:46:05 -04:00
Jae Kwon
571a134318 BaseService and BaseReactor refactor and unification 2015-07-20 14:52:24 -07:00
Ethan Buchman
bb4ca1407f info->notice, debug->info 2015-07-19 22:44:40 +00:00
Jae Kwon
bdc2711f27 p2p comment prettify 2015-07-13 13:17:47 -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
75ef479547 Config is passed into each module. Remove tendermint/confer 2015-05-17 16:19:57 -07:00
Jae Kwon
3c96890d2d All numbers are in BigEndian 2015-05-03 17:42:46 -07:00
Jae Kwon
da9f4118a7 Atomic write to addrbook and privvalidator 2015-04-18 12:53:45 -07:00
Jae Kwon
13b6508ecd Package import path change 2015-04-01 17:30:16 -07:00
Ethan Buchman
60f166e823 tendermint2 2015-03-31 15:33:31 -07:00
Jae Kwon
7171823fc6 Fix blockpool bugs and clean up log messages. 2015-03-25 23:04:17 -07:00
Jae Kwon
b25915ee41 Minor cleanup 2015-03-21 19:01:13 -07:00
Jae Kwon
5c8e69d6de Log adding of addresses to book 2015-01-21 14:18:25 -08:00
Jae Kwon
85110224b4 Fix PeerSet.Remove() bug. 2015-01-21 13:40:26 -08:00
Jae Kwon
07b5b7a8f2 various log fixes 2014-12-29 18:39:19 -08:00
Jae Kwon
0bfb389b35 change logger to log15 2014-12-29 18:09:06 -08:00
Jae Kwon
8e9c060e6d Begin writing RPC HTTP Server 2014-12-16 05:43:23 -08:00
Jae Kwon
1ae9ecd2a9 fix basic tests. 2014-10-04 19:16:49 -07:00
Jae Kwon
d300a67bb1 saving development state... 2014-08-30 04:17:10 -07:00
Jae Kwon
c5732f9374 Moved PEX logic to PeerManager where it belongs. 2014-07-19 16:40:49 -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
c9114a677c fix off by one. 2014-07-15 14:57:22 -07:00
Jae Kwon
f53e6d1a33 replace logger with go-logging 2014-07-14 16:15:13 -07:00
Jae Kwon
cc9ea407aa with seed node 2014-07-12 14:52:31 -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
2d39e463a5 cleanup 2014-07-09 14:27:32 -07:00
Jae Kwon
61224f86c9 package rename peer -> p2p 2014-07-07 20:03:50 -07:00