Ethan Buchman
|
aea8629272
|
peer interface
|
7 years ago |
Ethan Buchman
|
daa258ea6d
|
p2p: put maxMsgPacketPayloadSize, recvRate, sendRate in config
Updates #628
|
7 years ago |
caojingqi
|
086544e367
|
p2p: sw.peers.List() is empty in sw.OnStart
|
7 years ago |
Ethan Buchman
|
74a3a2b56a
|
fix comments
|
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
|
e6cecb9595
|
p2p: fix test
|
7 years ago |
Ethan Buchman
|
3c10f7a122
|
add p2p flush throttle to config
|
7 years ago |
Ethan Buchman
|
0d1fa8e884
|
fixes from review
|
7 years ago |
Anton Kaliaev
|
b4ece65726
|
standardize key for errors (should be "err")
|
8 years ago |
Anton Kaliaev
|
4fe67652ff
|
move SetLogger down
|
8 years ago |
Anton Kaliaev
|
f8fdbe3dbc
|
changes as per Bucky's review
|
8 years ago |
Anton Kaliaev
|
c9cd8de9c6
|
set logger
|
8 years ago |
Ethan Buchman
|
16509ac3db
|
p2p: fix race by peer.Start() before peers.Add()
|
8 years ago |
Anton Kaliaev
|
f803544195
|
new logging
|
8 years ago |
Ethan Frey
|
604bf03f3a
|
Pulled out all config structs (except p2p.PeerConfig) into config package
|
8 years ago |
Ethan Buchman
|
92bafa7ecd
|
consensus: fix tests
|
8 years ago |
Ethan Buchman
|
57151d6043
|
p2p: use cmn instead of .
|
8 years ago |
Ethan Buchman
|
5d660e073a
|
remove viper from p2p
|
8 years ago |
Ethan Buchman
|
fcf78a5da7
|
cleanup go-config/viper and some unnamed imports
|
8 years ago |
Ethan Buchman
|
23a6a6f8fc
|
move into p2p package
|
8 years ago |
Ethan Buchman
|
34965f610d
|
crypto Wrap/Unwrap
|
8 years ago |
Ethan Buchman
|
eaeb547938
|
use tmlibs
|
8 years ago |
Anton Kalyaev
|
0109f1e524
|
test ensurePeers goroutine
|
8 years ago |
Anton Kaliaev
|
06d219db8e
|
test peer with no auth enc
|
8 years ago |
Anton Kaliaev
|
1d01f6af98
|
2 kinds of peers: outbound and inbound
|
8 years ago |
Anton Kaliaev
|
a63e1bb2dc
|
fix possible panic
|
8 years ago |
Anton Kaliaev
|
7dcc3dbcd1
|
test peer
|
8 years ago |
Ethan Buchman
|
8067cdb5f2
|
fix closing conn
|
8 years ago |
Ethan Buchman
|
9a1a6c56b4
|
dont expose makePersistent
|
8 years ago |
Ethan Buchman
|
b6f744c732
|
fix AddPeerWithConnection
|
8 years ago |
Ethan Buchman
|
a9bb6734e7
|
SetDeadline for authEnc. Stop peer if Add fails
|
8 years ago |
Anton Kaliaev
|
8bb3a2e1d7
|
persistent peers (Refs #13)
|
8 years ago |
Anton Kaliaev
|
5b0489cdb4
|
use plain struct instead of go-config
|
8 years ago |
Ethan Buchman
|
c94bc2bc2b
|
DialSeeds takes an addrbook
|
8 years ago |
Ethan Buchman
|
0e7baf027b
|
some dial seeds fixes
|
8 years ago |
rigelrozanski
|
26275ba66c
|
dial seeds error handling
|
8 years ago |
Ethan Buchman
|
67c9086b74
|
optional panic on AddPeer err
|
8 years ago |
Ethan Buchman
|
e47722ecb2
|
Connect2Switches: panic on err
|
8 years ago |
Jae Kwon
|
2b750ea49f
|
Make Connect2Switches blocking
|
8 years ago |
Ethan Buchman
|
58e42397f8
|
close conns on filter; fix order in MakeConnectedSwitch
|
8 years ago |
Jae Kwon
|
bd353e004a
|
QuitService->BaseService
|
8 years ago |
Ethan Buchman
|
153ac88672
|
update MakeConnectedSwitches
|
8 years ago |
Ethan Buchman
|
642901d5aa
|
filter conn by addr/pubkey. closes #3
|
8 years ago |
Ethan Buchman
|
711d2541f5
|
MakeConnectedSwitches function
|
9 years ago |
Ethan Buchman
|
981c6868ad
|
fix race conditions in tests
|
9 years ago |
Ethan Buchman
|
0dc6ebc325
|
configurable fuzz conn
|
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 |
Ethan Buchman
|
389e4b8b69
|
config: toggle authenticated encryption
|
9 years ago |
Ethan Buchman
|
f28f791fff
|
make some params configurable
|
9 years ago |