Ethan Buchman
|
de0153a1c4
|
consensus: some more informative logging
|
8 years ago |
Ethan Buchman
|
d93d754972
|
test/p2p/fast_sync: use --pex on restart
|
8 years ago |
Ethan Buchman
|
a5ce4f6c36
|
update glide
|
8 years ago |
Ethan Buchman
|
05d8cd50b5
|
update glide and node.go for update to p2p.AddrBook
|
8 years ago |
Anton Kaliaev
|
af5cd5cc75
|
[p2p tests] test other peers connect to us
if we have neither seeds nor the addrbook
|
8 years ago |
Anton Kaliaev
|
4090a31d19
|
save seeds to addrBook (Refs #335)
|
8 years ago |
Anton Kalyaev
|
163fe1731b
|
test p2p pex reactor (Refs #335)
|
8 years ago |
Anton Kalyaev
|
eef9124d1b
|
fix typo
|
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
|
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 |