Ethan Buchman
462b755a60
activate PEX reactor by default
2017-12-13 12:25:48 -06:00
Ethan Buchman
64f056b57d
Merge branch '916-remove-sleeps-from-tests' into develop
2017-12-12 16:43:36 -05:00
Ethan Buchman
90df9fa1bf
p2p/trust: remove extra channels
2017-12-12 16:43:19 -05:00
caffix
eae6e6381e
trust metric is now a service and the test ticker has been added
2017-12-12 15:33:42 -05:00
Petabyte Storage
8be708fe5b
fix spelling and makefile gometalinter.v2
2017-12-11 20:48:15 -08:00
Ethan Buchman
5511bd8e85
p2p: exponential backoff on reconnect. closes #939
2017-12-11 13:41:09 -05:00
Ethan Buchman
a37c1143ca
adr: update 007 trust metric usage
2017-12-10 19:00:44 -05:00
Zach
12c5a57415
determinisitic linter ( #902 )
...
* linter: address gosimple lints
* linter: make deterministic & a rebase fix
* lint/rpc: fix a gosimple lint
* run linter in CI
* fix rebase mistake
* fix makefile
* ugh
* revert Makefile
* add metalinter to CI
* try this
* linter: last little fix
* need glide
* better
* okayy circle, have it your way
* lints: gosimple
* pr comments
2017-12-10 17:44:22 +00:00
caffix
44f62e5e27
built the WaitForStop functionality into the Stop method
2017-12-09 13:25:28 -05:00
caffix
5d464364a8
fixed the racy test and removed all the calls to Sleep
2017-12-08 15:51:18 -05:00
Anton Kaliaev
c609b18698
tolerate unresolvable seeds (Refs #880 )
2017-12-07 13:17:09 -06:00
Ethan Buchman
58b4a8395b
Merge pull request #917 from tendermint/trust-metric-cleanup
...
Trust metric cleanup
2017-12-06 02:11:38 -05:00
Ethan Buchman
e101aa9fc8
fix for legacy gowire
2017-12-06 01:21:14 -05:00
Ethan Buchman
cb9a1dbb4f
p2p/trust: lock on Copy()
2017-12-01 23:35:17 -05:00
Ethan Buchman
814541f6d9
p2p/trust: split into multiple files and improve function order
2017-12-01 23:35:12 -05:00
Anton Kaliaev
691e266bef
ignore ErrAlreadyStarted when starting addrbook in PEXReactor
2017-11-29 10:53:30 -06:00
Anton Kaliaev
69b5da766c
service#Start, service#Stop signatures were changed
...
See https://github.com/tendermint/tmlibs/issues/45
2017-11-29 10:38:58 -06:00
Ethan Buchman
9529f12c28
more linting
2017-11-27 22:39:12 +00:00
Ethan Buchman
55b81cc1a1
address linting FIXMEs
2017-11-27 22:39:12 +00:00
Zach Ramsay
478a10aa41
Write doesn't need error checked
2017-11-27 22:39:12 +00:00
Zach Ramsay
d033470817
lil fixes
2017-11-27 22:39:12 +00:00
Zach Ramsay
7ad8a8ab55
Tests almost passing
2017-11-27 22:39:12 +00:00
Zach Ramsay
a15c7f221d
linting: moar fixes
2017-11-27 22:39:11 +00:00
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
2017-11-27 22:39:11 +00:00
Zach Ramsay
15651a931e
linting errors: tackle p2p package
2017-11-27 22:39:11 +00:00
Zach Ramsay
68e7983c70
linting errors: afew more
2017-11-27 22:39:11 +00:00
Zach Ramsay
8f0237610e
linting errors: clean it all up
2017-11-27 22:39:11 +00:00
Zach Ramsay
b75d4f73e7
errcheck: PR comment fixes
2017-11-27 22:39:11 +00:00
Zach Ramsay
331857c9e6
linting: apply errcheck part2
2017-11-27 22:39:11 +00:00
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
2017-11-27 22:39:11 +00:00
Zach Ramsay
1721543e5c
linting: apply misspell
2017-11-27 22:39:11 +00:00
Zach Ramsay
46ccbcbff6
linting: apply 'gofmt -s -w' throughout
2017-11-27 22:39:11 +00:00
Ethan Buchman
94e400a5d6
Merge pull request #896 from tendermint/normalize-priority-and-id
...
normalize priority and id and remove pointers in ChannelDescriptor
2017-11-27 17:05:38 +00:00
Petabyte Storage
59b3dcb5cf
normalize priority and id and remove pointers in ChannelDescriptor
2017-11-25 22:01:23 -08:00
caffix
887cb6d0cd
added public methods to handle locking within the trust metric
2017-11-22 23:42:38 -05:00
caffix
aeaf2d0b20
Merge branch 'develop' of https://github.com/tendermint/tendermint into develop
2017-11-22 23:11:01 -05:00
Ethan Buchman
e845987503
p2p: disable trustmetric test while being fixed
2017-11-22 20:20:53 +00:00
Ethan Buchman
531b1197a7
Merge pull request #843 from tendermint/refactor-mconnection-with-go-wire-1
...
WIP: begin parallel refactoring: go-wire Write methods and MConnection
2017-11-22 19:34:22 +00:00
Ethan Buchman
e997db7a23
Merge pull request #859 from tendermint/fix/addrbook
...
Fix/addrbook
2017-11-21 15:31:48 +00:00
Ethan Buchman
c4b695f78d
minor fixes from review
2017-11-21 15:30:19 +00:00
Ethan Buchman
75463b8331
Merge pull request #877 from tendermint/p2p-switch-DialSeeds-undeterministically
...
p2p: make Switch.DialSeeds use a new PRNG per call
2017-11-21 15:24:29 +00:00
caffix
9c8100043e
made changes to address suggestions from the PR comments
2017-11-20 19:15:11 -05:00
Emmanuel Odeke
031e10133c
p2p: make Switch.DialSeeds use a new PRNG per call
...
Fixes https://github.com/tendermint/tendermint/issues/875
Ensure that every DialSeeds call uses a new PRNG seeded from
tendermint/tmlibs/common.RandInt which internally uses
crypto/rand to seed its source.
2017-11-20 15:28:42 -07:00
caffix
4087326f45
fixed race condition reported in issue #881
2017-11-20 16:47:05 -05:00
Ethan Buchman
f9bc22ec6a
p2p: fix comment on addPeer (thanks @odeke-em)
2017-11-20 21:36:01 +00:00
Ethan Buchman
26cd99c66e
p2p: fix non-routable addr in test
2017-11-20 19:56:44 +00:00
Emmanuel Odeke
5c34d087d9
p2p: use bytes.Equal for key comparison
...
Updates https://github.com/tendermint/tendermint/issues/850
My security alarms falsely blarred when I skimmed and noticed
keys being compared with `==`, without the proper context
so I mistakenly filed an issue, yet the purpose of that
comparison was to check if the local ephemeral public key
was just the least, sorted lexicographically.
Anyways, let's use the proper bytes.Equal check, to save future labor.
2017-11-18 23:34:27 -07:00
Ethan Buchman
53f15fde07
update changelog
2017-11-17 00:04:03 +00:00
Ethan Buchman
af0db599b0
minor fixes
2017-11-16 23:57:00 +00:00
Ethan Buchman
104368bd84
Merge pull request #787 from caffix/develop
...
Initial Trust Metric Implementation
2017-11-16 23:51:53 +00:00