zbo14
1d16df6a92
add test, TrySend in broadcast
7 years ago
Anton Kaliaev
3f9aa8d8fa
document that msgBytes in p2p/connection change
7 years ago
Anton Kaliaev
d6d1f8512d
do not reset pingTimer
don't bother with this "only ping when we havent heard from them". lets
just always ping every peer from the sendRoutine every 10s no matter
what. if they dont pong within pongTimeout, disconnect :)
7 years ago
Ethan Buchman
7640e6a29f
add some p2p TODOs
7 years ago
Ethan Buchman
426379dc47
remove use of wire/nowriter
7 years ago
Ethan Buchman
baff4bd8cc
p2p/conn: better handling for some stop conditions
7 years ago
Ethan Buchman
44e967184a
p2p: tmconn->conn and types->p2p
7 years ago
Ethan Buchman
5b5cbaa66a
p2p: use sub dirs
7 years ago
Ethan Buchman
c2f97e6454
p2p: seed mode fixes from rebase and review
7 years ago
Ethan Buchman
6e823c6e87
p2p: support addr format ID@IP:PORT
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
Petabyte Storage
8be708fe5b
fix spelling and makefile gometalinter.v2
7 years ago
Ethan Buchman
e101aa9fc8
fix for legacy gowire
7 years ago
Zach Ramsay
d033470817
lil fixes
7 years ago
Zach Ramsay
15651a931e
linting errors: tackle p2p package
7 years ago
Zach Ramsay
1721543e5c
linting: apply misspell
7 years ago
Petabyte Storage
59b3dcb5cf
normalize priority and id and remove pointers in ChannelDescriptor
7 years ago
Guanghua Guo
b5708825a7
Failed to compile comment code
7 years ago
Petabyte Storage
3863885c71
WIP: begin parallel refactoring with go-wire Write methods and MConnection
7 years ago
Ethan Buchman
37ce171061
p2p/connetion: remove panics, test error cases
7 years ago
Ethan Buchman
88138c38cf
mempool: reactor test
7 years ago
Ethan Buchman
daa258ea6d
p2p: put maxMsgPacketPayloadSize, recvRate, sendRate in config
Updates #628
7 years ago
Ethan Buchman
75df0d91ba
comments from review
7 years ago
Adrian Brink
b07d01f102
Add more comments on public functions and extra logging during 'enterPrevote'
Signed-off-by: Adrian Brink <adrian@brink-holdings.com>
7 years ago
Ethan Buchman
3c10f7a122
add p2p flush throttle to config
7 years ago
Ethan Buchman
3c0128a680
undo some megacheck suggestions
8 years ago
Anton Kaliaev
b4ece65726
standardize key for errors (should be "err")
8 years ago
zramsay
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
8 years ago
Anton Kaliaev
f803544195
new logging
8 years ago
Ethan Buchman
5d660e073a
remove viper from p2p
8 years ago
Ethan Buchman
23a6a6f8fc
move into p2p package
8 years ago
Ethan Buchman
eaeb547938
use tmlibs
8 years ago
Anton Kaliaev
2ac69176e1
add a comment for MConnection#CanSend
also add a note to TestMConnectionSend
8 years ago
Anton Kaliaev
ebe23f1379
refactor MConnection#sendBytes
8 years ago
Anton Kaliaev
06d219db8e
test peer with no auth enc
8 years ago
Anton Kaliaev
7dcc3dbcd1
test peer
8 years ago
Anton Kaliaev
5b0489cdb4
use plain struct instead of go-config
8 years ago
Anton Kaliaev
2b02843453
remove unused const
8 years ago
Anton Kaliaev
5be72672fe
use golang time datatype instead of time units in name
8 years ago
Anton Kaliaev
868017cf1a
import go-common as cmn
8 years ago
Jae Kwon
eab2baa363
use go-flowrate instead of flowcontrol
8 years ago
Ethan Buchman
929cf433b9
fix chDesc race
9 years ago
Ethan Buchman
981c6868ad
fix race conditions in tests
9 years ago
Jae Kwon
7d997ca8e6
No global config
9 years ago
Ethan Buchman
78c9d526c3
change some log.Info to log.Debug
9 years ago