Anton Kaliaev
705d51aa42
move dialSeedsIfAddrBookIsEmptyOrPEXFailedToConnect into PEX reactor
7 years ago
Anton Kaliaev
e4897b7bdd
rename manual peers to persistent peers
7 years ago
Anton Kaliaev
28fc15028a
distinguish between seeds and manual peers in the config/flags
- we only use seeds if we can’t connect to peers in the addrbook.
- we always connect to nodes given in config/flags
Refs #864
7 years ago
Adrian Brink
f602de437e
Move P2P docs into docs folder
7 years ago
Ethan Buchman
bc71840f06
more p2p docs
7 years ago
Ethan Buchman
1acb12edf5
p2p docs
7 years ago
Ethan Buchman
14c812a39c
tmlibs timer fix
7 years ago
Ethan Buchman
cb3ac6987e
remove some debugs
7 years ago
Ethan Buchman
5d04ccbe51
excessive logging. update tmlibs for timer fix
7 years ago
Ethan Buchman
d7cb2f850d
more logs in p2p
7 years ago
Ethan Buchman
bfe0a4a8ac
more logging
7 years ago
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