Ethan Buchman
0ec7909ec3
more logging in p2p and consensus
7 years ago
Anton Kaliaev
c513649df4
strip protocol if defined
Fixes #934
7 years ago
Anton Kaliaev
a6911825b0
PanicCrisis is deprecated
7 years ago
Ethan Buchman
78a682e4b6
blockchain: test fixes
7 years ago
Ethan Buchman
462b755a60
activate PEX reactor by default
7 years ago
Ethan Buchman
90df9fa1bf
p2p/trust: remove extra channels
7 years ago
caffix
eae6e6381e
trust metric is now a service and the test ticker has been added
7 years ago
Petabyte Storage
8be708fe5b
fix spelling and makefile gometalinter.v2
7 years ago
Ethan Buchman
5511bd8e85
p2p: exponential backoff on reconnect. closes #939
7 years ago
Ethan Buchman
a37c1143ca
adr: update 007 trust metric usage
7 years ago
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
7 years ago
caffix
44f62e5e27
built the WaitForStop functionality into the Stop method
7 years ago
caffix
5d464364a8
fixed the racy test and removed all the calls to Sleep
7 years ago
Anton Kaliaev
c609b18698
tolerate unresolvable seeds (Refs #880 )
7 years ago
Ethan Buchman
e101aa9fc8
fix for legacy gowire
7 years ago
Ethan Buchman
cb9a1dbb4f
p2p/trust: lock on Copy()
7 years ago
Ethan Buchman
814541f6d9
p2p/trust: split into multiple files and improve function order
7 years ago
Anton Kaliaev
691e266bef
ignore ErrAlreadyStarted when starting addrbook in PEXReactor
7 years ago
Anton Kaliaev
69b5da766c
service#Start, service#Stop signatures were changed
See https://github.com/tendermint/tmlibs/issues/45
7 years ago
Ethan Buchman
9529f12c28
more linting
7 years ago
Ethan Buchman
55b81cc1a1
address linting FIXMEs
7 years ago
Zach Ramsay
478a10aa41
Write doesn't need error checked
7 years ago
Zach Ramsay
d033470817
lil fixes
7 years ago
Zach Ramsay
7ad8a8ab55
Tests almost passing
7 years ago
Zach Ramsay
a15c7f221d
linting: moar fixes
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
15651a931e
linting errors: tackle p2p package
7 years ago
Zach Ramsay
68e7983c70
linting errors: afew more
7 years ago
Zach Ramsay
8f0237610e
linting errors: clean it all up
7 years ago
Zach Ramsay
b75d4f73e7
errcheck: PR comment fixes
7 years ago
Zach Ramsay
331857c9e6
linting: apply errcheck part2
7 years ago
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
7 years ago
Zach Ramsay
1721543e5c
linting: apply misspell
7 years ago
Zach Ramsay
46ccbcbff6
linting: apply 'gofmt -s -w' throughout
7 years ago
Petabyte Storage
59b3dcb5cf
normalize priority and id and remove pointers in ChannelDescriptor
7 years ago
caffix
887cb6d0cd
added public methods to handle locking within the trust metric
7 years ago
Ethan Buchman
e845987503
p2p: disable trustmetric test while being fixed
7 years ago
Ethan Buchman
c4b695f78d
minor fixes from review
7 years ago
caffix
9c8100043e
made changes to address suggestions from the PR comments
7 years ago
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.
7 years ago
caffix
4087326f45
fixed race condition reported in issue #881
7 years ago
Ethan Buchman
f9bc22ec6a
p2p: fix comment on addPeer (thanks @odeke-em )
7 years ago
Ethan Buchman
26cd99c66e
p2p: fix non-routable addr in test
7 years ago
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.
7 years ago
Ethan Buchman
53f15fde07
update changelog
7 years ago
Ethan Buchman
af0db599b0
minor fixes
7 years ago
Ethan Buchman
feb3230160
some comments
7 years ago
Ethan Buchman
be1a16a601
p2p/pex: simplify ensurePeers
7 years ago
Ethan Buchman
8e044b0e6d
p2p/addrbook: some comments
7 years ago
Ethan Buchman
40e93a5f9e
p2p/addrbook: fix addToOldBucket
7 years ago