Ethan Buchman
|
beb3eda438
|
fix addrbook start/stop
|
8 years ago |
Ethan Buchman
|
c94bc2bc2b
|
DialSeeds takes an addrbook
|
8 years ago |
Ethan Buchman
|
56eebb95ee
|
Merge pull request #12 from tendermint/bugfix/pex-issues-335
PEX issues #335
|
8 years ago |
Ethan Buchman
|
88b5c724f2
|
remove public addr book funcs from pex
|
8 years ago |
Anton Kaliaev
|
65b1756978
|
expose 2 API functions for tendermint#node/node.go
|
8 years ago |
Anton Kaliaev
|
108beae7a8
|
more tests for AddrBook
|
8 years ago |
Anton Kaliaev
|
2773410de4
|
prevent nil addr
Error:
```
Error: runtime error: invalid memoryaddress or nil pointer dereference\nStack:
goroutine 549 [running]:\nruntime/debug.Stack(0x0, 0x0,
0x0)\n\t/usr/local/go/src/runtime/debug/stack.go:24
+0x80\ngithub.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p.(*MConnection)._recover(0xc821723b00)\n\t/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p/connection.go:173
+0x53\npanic(0xbe1500, 0xc820012080)\n\t/usr/local/go/src/runtime/panic.go:443
+0x4e9\ngithub.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p.(*NetAddress).Valid(0x0,
0x0)\n\t/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p/netaddress.go:125
+0x1c\ngithub.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p.(*NetAddress).Routable(0x0,
0xc8217bb740)\n\t/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p/netaddress.go:117
+0x25\ngithub.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p.(*AddrBook).addAddress(0xc820108380,
0x0,
0xc821739590)\n\t/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p/addrbook.go:524
+0x45\ngithub.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p.(*AddrBook).AddAddress(0xc820108380,
0x0,
0xc821739590)\n\t/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p/addrbook.go:160
+0x286\ngithub.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p.(*PEXReactor).Receive(0xc82000be60,
0xc820149f00, 0xc8218163f0, 0xc82184e000, 0x5b,
0x1000)\n\t/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p/pex_reactor.go:109
+0x457\ngithub.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p.newPeer.func1(0xc82011d500,
0xc82184e000, 0x5b,
0x1000)\n\t/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p/peer.go:58
+0x202\ngithub.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p.(*MConnection).recvRoutine(0xc821723b00)\n\t/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p/connection.go:439
+0x1177\ncreated by
github.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p.(*MConnection).OnStart\n\t/go/src/github.com/tendermint/tendermint/vendor/github.com/tendermint/go-p2p/connection.go:138
+0x1a1\n
```
|
8 years ago |
Anton Kalyaev
|
e7656873c1
|
public save API
|
8 years ago |
Anton Kalyaev
|
332f7056f7
|
start/stop the book with reactor
Refs https://github.com/tendermint/tendermint/issues/335
|
8 years ago |
Ethan Buchman
|
17e6ae813f
|
Merge pull request #15 from tendermint/seedsfix
Seedsfix
|
8 years ago |
Ethan Buchman
|
dab31d0166
|
version bump to 0.4.0
|
8 years ago |
Ethan Buchman
|
0e7baf027b
|
some dial seeds fixes
|
8 years ago |
rigelrozanski
|
26275ba66c
|
dial seeds error handling
|
8 years ago |
Ethan Buchman
|
3d98f675f3
|
Merge pull request #11 from tendermint/develop
Develop
|
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 |
Jae Kwon
|
eab2baa363
|
use go-flowrate instead of flowcontrol
|
8 years ago |
Ethan Buchman
|
2cee364692
|
addrbook: toggle strict routability
|
8 years ago |
Ethan Buchman
|
1eb390680d
|
Merge pull request #8 from tendermint/develop
update MakeConnectedSwitches
|
8 years ago |
Ethan Buchman
|
153ac88672
|
update MakeConnectedSwitches
|
8 years ago |
Ethan Buchman
|
f508f3f20b
|
Merge pull request #6 from tendermint/develop
filter conn by addr/pubkey. closes #3
|
8 years ago |
Ethan Buchman
|
642901d5aa
|
filter conn by addr/pubkey. closes #3
|
8 years ago |
Ethan Buchman
|
929cf433b9
|
fix chDesc race
|
8 years ago |
Ethan Buchman
|
711d2541f5
|
MakeConnectedSwitches function
|
8 years ago |
Ethan Buchman
|
7376a72dd7
|
circle badge
|
8 years ago |
Ethan Buchman
|
981c6868ad
|
fix race conditions in tests
|
8 years ago |
Ethan Buchman
|
5bd7692323
|
version bump
|
9 years ago |
Ethan Buchman
|
6684a18730
|
fix test
|
9 years ago |
Ethan Buchman
|
0dc6ebc325
|
configurable fuzz conn
|
9 years ago |
Ethan Buchman
|
ffbd6d8782
|
drop the p2p_
|
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 |
Jae Kwon
|
4baf007fb8
|
Merge pull request #2 from tendermint/develop
make some params configurable
|
9 years ago |
Ethan Buchman
|
69c7ae5e3f
|
version bump
|
9 years ago |
Ethan Buchman
|
114d90bec8
|
don't reallocate on recvMsgPacket
|
9 years ago |
Jae Kwon
|
10619248c6
|
Use go-crypto CRand*
|
9 years ago |
Ethan Buchman
|
389e4b8b69
|
config: toggle authenticated encryption
|
9 years ago |
Jae Kwon
|
1bc871162d
|
Conform to new go-config behavior; ApplyConfig not needed
|
9 years ago |
Ethan Buchman
|
f28f791fff
|
make some params configurable
|
9 years ago |
Jae Kwon
|
7f6aad20fb
|
Add note on nondeterminism of Broadcast
|
9 years ago |
Ethan Buchman
|
9bc75eaf24
|
move DialSeeds in from tendermint/tendermint/node
|
9 years ago |
Jae Kwon
|
0380e404bd
|
Conform to go-wire version 0.6.0
|
9 years ago |
Jae Kwon
|
1f2c1d0760
|
Fix prioritization logic; Add Status()
|
9 years ago |
Jae Kwon
|
3abc18d7ba
|
Add MConnection.Status()
|
9 years ago |
Jae Kwon
|
0c9b9fe8bb
|
Change license to Apache2.0
|
9 years ago |
Jae Kwon
|
44d8e62689
|
Confirm to go-wire new TypeByte behavior
|
9 years ago |
Jae Kwon
|
8b308c1c08
|
Tweak send/recv rates for performance test
|
9 years ago |