Commit Graph
9053 Commits
Author SHA1 Message Date
Ethan FreyandEthan Buchman 516e78ea54 Fix types to use updated go-crypto 2017-04-21 16:50:27 -04:00
rigel rozanski c21cec002c reset fix 2017-04-21 16:39:50 -04:00
Ethan Buchman df250b6941 docs: go-events -> tmlibs/events 2017-04-21 16:25:23 -04:00
Ethan Buchman 9b95da8fa4 go-data -> go-wire/data 2017-04-21 16:10:06 -04:00
Ethan Buchman 1ea866fd69 glide 2017-04-21 16:05:03 -04:00
Ethan Buchman 56d36c8f25 merkle: go-common -> tmlibs 2017-04-21 16:04:58 -04:00
Ethan Buchman fd296811df simple merkle tree 2017-04-21 15:33:25 -04:00
Ethan BuchmanandGitHub 6c49312aa2 Merge pull request #11 from tendermint/unstable
Unstable
2017-04-21 14:43:55 -04:00
Ethan Buchman e3f9b8731b circle.yml 2017-04-21 14:41:14 -04:00
Ethan Buchman f89279cf11 fix CHANGELOG 2017-04-21 13:39:02 -04:00
Ethan BuchmanandGitHub 44f25864d9 Merge pull request #451 from tendermint/release-v0.9.1
Release v0.9.1
v0.9.1
2017-04-21 13:35:23 -04:00
Ethan Buchman 7f20eca892 update glide 2017-04-21 13:09:55 -04:00
Ethan BuchmanandGitHub 2c8df0ee6b Merge pull request #17 from tendermint/develop
v0.7.0
2017-04-21 13:08:14 -04:00
Ethan BuchmanandGitHub e8f33a4784 Merge pull request #25 from tendermint/develop
v0.5.0
2017-04-21 13:06:44 -04:00
Ethan Buchman 58ccefa407 update changelog 2017-04-21 13:06:26 -04:00
Ethan Buchman e8cad948e3 cli: ResetAll doesnt depend on cobra 2017-04-21 12:54:53 -04:00
Ethan Buchman 53e2b9693a export ResetAll cmd 2017-04-21 12:46:12 -04:00
Ethan BuchmanandGitHub 559613689d Merge pull request #18 from tendermint/bugfix/fix-backward-compatibility-for-ws
fix backward compatibility for WS
2017-04-21 12:20:34 -04:00
Ethan Buchman a01cff9ce6 jsonParamsToArgsRPC func 2017-04-21 12:18:21 -04:00
Ethan BuchmanandGitHub 62860e4919 Merge pull request #453 from tendermint/feature/rename-txid-to-hash
Rename txid to hash
2017-04-21 12:16:08 -04:00
Anton Kaliaev 5e5fb37774 rename TxID to Hash 2017-04-21 18:39:02 +03:00
Anton Kaliaev d6fd0c4ca0 fix backward compatibility for WS 2017-04-21 18:30:22 +03:00
Ethan Buchman 7cf773e2d3 cli: testnet cmd inits files for testnet 2017-04-20 18:22:42 -04:00
Ethan Buchman f5b77d50b5 fix setting log level 2017-04-20 17:56:49 -04:00
Ethan Buchman 757a548edf update glide 2017-04-20 17:56:35 -04:00
Ethan BuchmanandGitHub 17124989a9 Merge pull request #10 from tendermint/pex-reactor-fixes-#9
Pex reactor fixes #9
2017-04-20 17:32:38 -04:00
Ethan Buchman 75bad132fc msgCountByPeer is a CMap 2017-04-20 17:29:43 -04:00
Ethan Buchman 391c738959 update comment about outbound peers and addrbook 2017-04-20 12:21:45 -04:00
Anton Kaliaev 8655e2456e it is non-deterministic (could fail sometimes) 2017-04-20 13:37:06 +04:00
Anton Kaliaev 17ec70fc09 revert 2710873 2017-04-20 13:36:40 +04:00
Anton Kaliaev 9ce71013df revert e448199 2017-04-20 13:36:40 +04:00
Anton Kaliaev 5ab8ca0868 fix race 2017-04-20 13:36:40 +04:00
Anton Kaliaev 4c0d1d3ad2 return wg to addrbook 2017-04-20 13:36:39 +04:00
Anton Kaliaev 0277e52bd5 fix merge 2017-04-20 13:36:39 +04:00
Anton Kaliaev cf18bf2966 add public RemoveAddress API
after discussion with @ebuchman (https://github.com/tendermint/go-p2p/pull/10#discussion_r96471729)
2017-04-20 13:36:39 +04:00
Anton Kaliaev 324293f4cb note on preventing abuse [ci skip] 2017-04-20 13:36:39 +04:00
Anton Kaliaev 52d9cf080e make GoLint happy 2017-04-20 13:36:39 +04:00
Anton Kaliaev 590efc1040 call saveToFile OnStop
This is better than waiting because while we wait, anything could happen
(crash, timeout of the code who's using addrbook, ...). If we save
immediately, we have much greater chances of success.
2017-04-20 13:36:38 +04:00
Anton Kaliaev 5eeaffd38e do not create file, just temp dir 2017-04-20 13:36:38 +04:00
Anton Kalyaev 07e7b98c70 improve ensurePeers routine
optimizations:

- if we move peer to the old bucket as soon as connected and pick only
  from new group, we can skip alreadyConnected check
2017-04-20 13:36:38 +04:00
Anton Kalyaev 873d34157d prevent abuse from peers 2017-04-20 13:36:38 +04:00
Anton Kalyaev 47df1fb7d4 test PEXReactor#Receive 2017-04-20 13:36:38 +04:00
Anton Kalyaev 1a59b6a3b4 replace repeate timer with simple ticker
no need for repeate timer here (no need for goroutine safety)
2017-04-20 13:36:38 +04:00
Anton Kalyaev 0109f1e524 test ensurePeers goroutine 2017-04-20 13:36:37 +04:00
Anton Kalyaev 37d5a2cf3e implement RemovePeer for PEXReactor 2017-04-20 13:36:37 +04:00
Anton Kalyaev 3af7c67757 add Dockerfile 2017-04-20 13:36:37 +04:00
Anton Kalyaev 26f661a5dd prefer short names 2017-04-20 13:36:37 +04:00
Anton Kalyaev 057cfb30f1 remove unused error 2017-04-20 13:36:37 +04:00
Ethan Frey 91bd7efb7b Fixed all imports in keys 2017-04-19 17:25:53 +02:00
Ethan Frey 0bfae964e1 Moved keys cmd to top level 2017-04-19 17:07:12 +02:00