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
|
027cb8dc6b
|
glide: use versions where applicable
|
8 years ago |
Ethan Buchman
|
c7386b139b
|
glide update
|
8 years ago |
rigelrozanski
|
f5c4fdc82a
|
seeds fix
|
8 years ago |
Ethan Buchman
|
8352ec4e5d
|
circle sigh
|
8 years ago |
Ethan Buchman
|
8192bb0aaf
|
stop rpc listeners in node.OnStop()
|
8 years ago |
Ethan Buchman
|
b13924701e
|
test/persist: wait for ports to be freed
|
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
|
7098e5c7eb
|
glide update
|
8 years ago |
Ethan Buchman
|
4747f14a2c
|
version bump to 0.9.0
|
8 years ago |
Ethan Buchman
|
692691938c
|
remove comment
|
8 years ago |
Ethan Buchman
|
a200505ae5
|
Merge pull request #422 from tendermint/fix-race
Fix race
|
8 years ago |
Ethan Buchman
|
8ba79252c8
|
types: use mtx on PartSet.String()
|
8 years ago |
Ethan Buchman
|
6456654307
|
test: add extra kill after fail index triggered
|
8 years ago |
Ethan Frey
|
21501815dd
|
Fix EventSwitch usage in WaitForOneEvent
|
8 years ago |
Ethan Frey
|
d56cb2ab4b
|
fix typo
|
8 years ago |
Ethan Frey
|
4fead237f0
|
Client embeds EventSwitch, client.HTTP properly un/subscribes events over websocket
|
8 years ago |
Ethan Frey
|
6282fad518
|
Clean up event switch add helper function
|
8 years ago |
Ethan Frey
|
175bb329e4
|
Expose EventSwitch on top of websocket client
|
8 years ago |
Ethan Frey
|
9be3064904
|
Expose and test EventSwitch in client.Local
|
8 years ago |
Ethan Frey
|
98450ee2db
|
Client: DumpConsensusState, not DialSeeds. Cleanup
|
8 years ago |
Ethan Frey
|
931af6a072
|
Combine local and http into client package, unify tests with table-driven tests
|
8 years ago |
Ethan Frey
|
202146e4ce
|
Fix up checktx/delivertx in broadcastTx(A)sync
|
8 years ago |
Ethan Frey
|
9693795c4c
|
Move common code to merkleeyes/testutil
|
8 years ago |
Ethan Frey
|
cd9ee9d84b
|
cleanup
|
8 years ago |
Ethan Frey
|
42a9b847ec
|
Make all client tests safe to run in parallel
|
8 years ago |
Ethan Frey
|
d92a5b1074
|
Reworked WaitForHeight to avoid race conditions
|
8 years ago |
Ethan Frey
|
f7f7cf576a
|
Fix race condition in websocket event listening
|
8 years ago |
Ethan Frey
|
26f4b5c98e
|
Clean up package names
|
8 years ago |
Ethan Frey
|
70f19e809b
|
Add MockStatus, WaitForHeight helper
|
8 years ago |
Ethan Frey
|
0905332f1d
|
MockClient for real abci app
|
8 years ago |
Ethan Frey
|
df172fa840
|
Provide mock interfaces for calling abci app over tendermint rpc
|
8 years ago |
Ethan Frey
|
ce044dbb76
|
Extracted Clients into a consistent interface, fixed type issue in http.Client
|
8 years ago |
Ethan Frey
|
7c26be3242
|
Begin implementation of local client
|
8 years ago |
Ethan Frey
|
bf1ee89b27
|
Moved httpclient into subpackage
|
8 years ago |
Ethan Frey
|
a0bdae4f9c
|
Added missing pkg/errors dependency
|
8 years ago |
Ethan Frey
|
64feaa05f4
|
Full test coverage for rpc client
|
8 years ago |
Ethan Frey
|
5ea3f24304
|
test info
|
8 years ago |
Ethan Frey
|
c9d36cd713
|
Add dependencies, pull out HTTPClient test code
|
8 years ago |
Ethan Frey
|
2c75c9daf9
|
Clean up tests, remove panics
|
8 years ago |
Ethan Frey
|
d971416d12
|
collision merge of light-client code
|
8 years ago |
Anton Kaliaev
|
1f1dcead3d
|
[Vagrantfile] go 1.8 and permissions fix
|
8 years ago |
Anton Kaliaev
|
d38a6e329f
|
verbose output when get_deps
|
8 years ago |
Anton Kaliaev
|
f73f53c486
|
[Dockerfile.develop] fix error "/bin/sh: #: not found" when building
|
8 years ago |
Ethan Buchman
|
b8279d424c
|
Merge pull request #414 from tendermint/ci
Ci
|
8 years ago |