Anton Kaliaev
|
108beae7a8
|
more tests for AddrBook
|
2017-03-04 22:44:25 -05:00 |
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
```
|
2017-03-04 22:40:48 -05:00 |
Anton Kalyaev
|
e7656873c1
|
public save API
|
2017-03-04 22:40:48 -05:00 |
Anton Kalyaev
|
332f7056f7
|
start/stop the book with reactor
Refs https://github.com/tendermint/tendermint/issues/335
|
2017-03-04 22:40:48 -05:00 |
Ethan Buchman
|
17e6ae813f
|
Merge pull request #15 from tendermint/seedsfix
Seedsfix
|
2017-03-03 17:33:23 -05:00 |
Ethan Buchman
|
dab31d0166
|
version bump to 0.4.0
|
2017-03-03 17:30:38 -05:00 |
Ethan Buchman
|
0e7baf027b
|
some dial seeds fixes
|
2017-03-03 16:42:10 -05:00 |
rigelrozanski
|
26275ba66c
|
dial seeds error handling
|
2017-03-03 16:42:10 -05:00 |
Ethan Buchman
|
3d98f675f3
|
Merge pull request #11 from tendermint/develop
Develop
|
2017-01-12 21:39:57 -05:00 |
Ethan Buchman
|
67c9086b74
|
optional panic on AddPeer err
|
2017-01-12 21:09:24 -05:00 |
Ethan Buchman
|
e47722ecb2
|
Connect2Switches: panic on err
|
2017-01-12 20:49:48 -05:00 |
Jae Kwon
|
2b750ea49f
|
Make Connect2Switches blocking
|
2017-01-12 20:49:48 -05:00 |
Ethan Buchman
|
58e42397f8
|
close conns on filter; fix order in MakeConnectedSwitch
|
2017-01-12 20:49:48 -05:00 |
Jae Kwon
|
bd353e004a
|
QuitService->BaseService
|
2017-01-12 20:49:48 -05:00 |
Jae Kwon
|
eab2baa363
|
use go-flowrate instead of flowcontrol
|
2016-12-04 18:20:37 -08:00 |
Ethan Buchman
|
2cee364692
|
addrbook: toggle strict routability
|
2016-11-30 22:57:21 -05:00 |
Ethan Buchman
|
1eb390680d
|
Merge pull request #8 from tendermint/develop
update MakeConnectedSwitches
|
2016-10-10 14:48:58 -04:00 |
Ethan Buchman
|
153ac88672
|
update MakeConnectedSwitches
|
2016-09-14 00:57:53 -04:00 |
Ethan Buchman
|
f508f3f20b
|
Merge pull request #6 from tendermint/develop
filter conn by addr/pubkey. closes #3
|
2016-09-09 19:45:12 -04:00 |
Ethan Buchman
|
642901d5aa
|
filter conn by addr/pubkey. closes #3
|
2016-08-25 13:46:43 -04:00 |
Ethan Buchman
|
929cf433b9
|
fix chDesc race
|
2016-06-26 00:34:34 -04:00 |
Ethan Buchman
|
711d2541f5
|
MakeConnectedSwitches function
|
2016-06-26 00:34:23 -04:00 |
Ethan Buchman
|
7376a72dd7
|
circle badge
|
2016-06-21 14:40:24 -04:00 |
Ethan Buchman
|
981c6868ad
|
fix race conditions in tests
|
2016-06-21 14:35:29 -04:00 |
Ethan Buchman
|
5bd7692323
|
version bump
|
2016-05-12 00:10:46 -04:00 |
Ethan Buchman
|
6684a18730
|
fix test
|
2016-05-12 00:08:41 -04:00 |
Ethan Buchman
|
0dc6ebc325
|
configurable fuzz conn
|
2016-05-12 00:00:52 -04:00 |
Ethan Buchman
|
ffbd6d8782
|
drop the p2p_
|
2016-05-11 23:47:51 -04:00 |
Jae Kwon
|
7d997ca8e6
|
No global config
|
2016-05-08 14:59:27 -07:00 |
Ethan Buchman
|
78c9d526c3
|
change some log.Info to log.Debug
|
2016-03-29 11:37:51 -07:00 |
Jae Kwon
|
4baf007fb8
|
Merge pull request #2 from tendermint/develop
make some params configurable
|
2016-03-27 20:44:10 -07:00 |
Ethan Buchman
|
69c7ae5e3f
|
version bump
|
2016-03-17 05:05:02 -04:00 |
Ethan Buchman
|
114d90bec8
|
don't reallocate on recvMsgPacket
|
2016-03-17 05:05:02 -04:00 |
Jae Kwon
|
10619248c6
|
Use go-crypto CRand*
|
2016-03-13 09:42:36 -07:00 |
Ethan Buchman
|
389e4b8b69
|
config: toggle authenticated encryption
|
2016-03-10 19:07:01 -05:00 |
Jae Kwon
|
1bc871162d
|
Conform to new go-config behavior; ApplyConfig not needed
|
2016-03-06 12:33:07 -08:00 |
Ethan Buchman
|
f28f791fff
|
make some params configurable
|
2016-03-06 12:24:01 -08:00 |
Jae Kwon
|
7f6aad20fb
|
Add note on nondeterminism of Broadcast
|
2016-03-04 22:04:05 -08:00 |
Ethan Buchman
|
9bc75eaf24
|
move DialSeeds in from tendermint/tendermint/node
|
2016-01-20 11:32:23 -05:00 |
Jae Kwon
|
0380e404bd
|
Conform to go-wire version 0.6.0
|
2016-01-17 21:30:06 -08:00 |
Jae Kwon
|
1f2c1d0760
|
Fix prioritization logic; Add Status()
|
2016-01-03 06:20:18 -08:00 |
Jae Kwon
|
3abc18d7ba
|
Add MConnection.Status()
|
2016-01-02 20:53:10 -08:00 |
Jae Kwon
|
0c9b9fe8bb
|
Change license to Apache2.0
|
2015-12-23 14:08:39 -08:00 |
Jae Kwon
|
44d8e62689
|
Confirm to go-wire new TypeByte behavior
|
2015-12-21 12:55:52 -08:00 |
Jae Kwon
|
8b308c1c08
|
Tweak send/recv rates for performance test
|
2015-12-09 13:53:50 -08:00 |
Jae Kwon
|
4347b91b89
|
Remove wrong comment
|
2015-12-05 09:48:08 -08:00 |
Jae Kwon
|
432a37857d
|
Add RemoteAddr and ListenAddr to NodeInfo; Refactor IPRange logic
|
2015-12-05 09:44:03 -08:00 |
Jae Kwon
|
c37e25e76b
|
Conform to go-common WriteFile*(path, mode)
|
2015-12-04 00:02:44 -08:00 |
Jae Kwon
|
1c628a97ad
|
Conform to go-wire 1.0
|
2015-11-10 12:29:43 -08:00 |
Jae Kwon
|
abc3a2cc3c
|
initial commit
|
2015-10-25 18:21:51 -07:00 |