Ethan Buchman
|
7d5b62b61f
|
CHANGELOG and version bump
|
8 years ago |
Ethan Buchman
|
e6b7e66bbe
|
Merge pull request #23 from tendermint/more-tests
More tests
|
8 years ago |
Anton Kaliaev
|
2ac69176e1
|
add a comment for MConnection#CanSend
also add a note to TestMConnectionSend
|
8 years ago |
Anton Kaliaev
|
fbedb426ce
|
tests for NetAddress
|
8 years ago |
Anton Kaliaev
|
6dc113aa80
|
[netaddress] panic only when normal run
|
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
|
1d01f6af98
|
2 kinds of peers: outbound and inbound
|
8 years ago |
Anton Kaliaev
|
715b8c629f
|
use the peer struct to simulate remote peer
|
8 years ago |
Anton Kaliaev
|
a63e1bb2dc
|
fix possible panic
|
8 years ago |
Anton Kaliaev
|
5965578c56
|
[fuzz] only one way to set config variables
|
8 years ago |
Anton Kaliaev
|
7dcc3dbcd1
|
test peer
|
8 years ago |
Ethan Buchman
|
c39e001a95
|
Merge pull request #22 from tendermint/persistent
fix closing conn
|
8 years ago |
Ethan Buchman
|
8067cdb5f2
|
fix closing conn
|
8 years ago |
Ethan Buchman
|
ebd3929c0d
|
Merge pull request #18 from tendermint/13-reconnect-to-seeds
persistent peers (Refs 13)
|
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
|
f88d56b2f8
|
add glide
|
8 years ago |
Anton Kaliaev
|
5b0489cdb4
|
use plain struct instead of go-config
|
8 years ago |
Anton Kaliaev
|
b8a939a894
|
test non persistent mconnection
|
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
|
549d3bd09a
|
tests for MConnection
|
8 years ago |
Anton Kaliaev
|
868017cf1a
|
import go-common as cmn
|
8 years ago |
Ethan Buchman
|
97a5ed2d1a
|
Merge pull request #16 from tendermint/develop
v0.4.0
|
8 years ago |
Ethan Buchman
|
53d777a2d5
|
CHANGELOG.md
|
8 years ago |
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 |