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
|
75df0d91ba
|
comments from review
|
7 years ago |
Ethan Buchman
|
5f6b996d22
|
breakup some long lines; add more comments to consensus reactor
|
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 |
Ethan Buchman
|
3c0128a680
|
undo some megacheck suggestions
|
8 years ago |
Anton Kaliaev
|
b4ece65726
|
standardize key for errors (should be "err")
|
8 years ago |
zramsay
|
bf5181d9ca
|
address PR comments
|
8 years ago |
zramsay
|
cf31f8d06f
|
core: apply megacheck vet tool (unused, gosimple, staticcheck)
|
8 years ago |
Anton Kaliaev
|
4fe67652ff
|
move SetLogger down
|
8 years ago |
Anton Kaliaev
|
c5bccc5474
|
set missing logger on switch
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x882cec]
goroutine 328 [running]:
github.com/tendermint/tendermint/p2p.(*Switch).DialPeerWithAddress(0xc42000a500, 0xc4202088d0, 0xc420403500, 0x0, 0x0, 0x0)
/home/vagrant/go/src/github.com/tendermint/tendermint/p2p/switch.go:324 +0x2fc
github.com/tendermint/tendermint/p2p.(*PEXReactor).ensurePeers.func1(0xc4201663f0, 0xc4202088d0)
/home/vagrant/go/src/github.com/tendermint/tendermint/p2p/pex_reactor.go:280 +0x3e
created by github.com/tendermint/tendermint/p2p.(*PEXReactor).ensurePeers
/home/vagrant/go/src/github.com/tendermint/tendermint/p2p/pex_reactor.go:284 +0x5d4
```
|
8 years ago |
Anton Kaliaev
|
f8fdbe3dbc
|
changes as per Bucky's review
|
8 years ago |
Anton Kaliaev
|
c9cd8de9c6
|
set logger
|
8 years ago |
Anton Kaliaev
|
bc4e6566e7
|
[p2p] refactor upnp to use new 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
|
57527f9f67
|
One silly tests passes on osx, fails on linux... comment out so i can develop
|
8 years ago |
Ethan Buchman
|
46151720f8
|
fix tests
|
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
|
75b6c5215f
|
fewer structs. remove viper from consensus
|
8 years ago |
Ethan Buchman
|
fcf78a5da7
|
cleanup go-config/viper and some unnamed imports
|
8 years ago |
Ethan Buchman
|
56c60fba23
|
go-p2p -> tendermint/p2p
|
8 years ago |
Ethan Buchman
|
93c58d0b24
|
remove glide and license from rpc and p2p
|
8 years ago |
Ethan Buchman
|
23a6a6f8fc
|
move into p2p package
|
8 years ago |
Jae Kwon
|
c4ed55d801
|
Refactor to move common libraries out of project
|
9 years ago |
Ethan Buchman
|
cccb722ba8
|
mempool tests
|
9 years ago |
Ethan Buchman
|
bb662b8861
|
more config options
|
9 years ago |
Ethan Buchman
|
b54522c60f
|
more versioning
|
9 years ago |
Ethan Buchman
|
555ecb095d
|
precommit nil if locked and no POL
|
9 years ago |
Jae Kwon
|
1c17ea3b14
|
blockchain parameter && log tweaks
|
9 years ago |
Jae Kwon
|
21d45023d3
|
various bug fixes
|
9 years ago |
Jae Kwon
|
625f23af13
|
Blockpool better timeouts, download rate observation, quicker switching to consensus; Id -> ID (sorry, this doesn't belong here)
|
9 years ago |
Jae Kwon
|
afc3e3b6c7
|
mconnection constants adjustment
|
9 years ago |
Jae Kwon
|
1b9fd811a1
|
RPCResponse.Result && EventData are registered interfaces; -skip_upnp option
|
9 years ago |
Jae Kwon
|
908fd11665
|
more explicit _, err := Start() checking
|
9 years ago |
Jae Kwon
|
e86073ec96
|
Use rpc/client/ws_client; OnStart() returns error
|
9 years ago |
Jae Kwon
|
3be3647dc8
|
tendermint/binary -> tendermint/wire
|
9 years ago |
Jae Kwon
|
f91bc8d8c3
|
Retries for net.Listen to account for MacOSX socket close delay
|
9 years ago |
Jae Kwon
|
e7c1febb65
|
Simplify Service/Reactor pattern
|
9 years ago |
Ethan Buchman
|
8e50bf15de
|
panic wrapper functions
|
9 years ago |
Jae Kwon
|
3a9b465c75
|
Fix MConnection race condiiton
|
9 years ago |
Jae Kwon
|
c0a64d74be
|
Service log prettify
|
9 years ago |
Jae Kwon
|
1d362a71ed
|
Stop the peer to stop the mconn
|
9 years ago |