Anton Kaliaev
66867bf949
remove "rpc" prefix from package imports
2017-03-07 19:27:32 +04:00
Anton Kaliaev
e1d5873bdf
support key-value params in JSONRPC (Refs #1 )
...
More changes:
- remove Client interface (reason: empty)
- introduce HTTPClient interface, which can be used for both ClientURI
and ClientJSONRPC clients (so our users don't have to create their own) (Refs #8 )
- rename integration tests script to `integration_test.sh`
- do not update deps on `get_deps`
2017-03-07 19:27:27 +04:00
Anton Kaliaev
b03facd828
add Dockerfile
2017-03-07 18:34:13 +04:00
rigelrozanski
4e743649be
glide update
2017-03-06 17:36:53 -05:00
rigelrozanski
fab518fc98
flag fix, glide update
...
squash
2017-03-06 17:32:42 -05:00
rigelrozanski
fa609366d4
melekes change request
2017-03-06 17:30:06 -05:00
rigelrozanski
569fd474c2
added use of Cobra CLI
...
squash
2017-03-06 17:30:06 -05:00
Ethan Buchman
d4f6254551
Merge pull request #426 from tendermint/release-0.9.0
...
Release 0.9.0
v0.9.0
2017-03-06 05:34:45 -05:00
Ethan Buchman
e31ed6dc2f
Merge branch 'master' into release-0.9.0 (woops)
2017-03-06 04:27:38 -05:00
Ethan Buchman
8449e9794a
CHANGELOG
2017-03-06 04:25:55 -05:00
Ethan Buchman
07a9242dba
update glide
2017-03-06 04:02:09 -05:00
Ethan Buchman
097da55a2c
test/p2p: shellcheck
2017-03-06 03:49:48 -05:00
Ethan Buchman
97a5ed2d1a
Merge pull request #16 from tendermint/develop
...
v0.4.0
2017-03-06 03:11:04 -05:00
Ethan Buchman
1236e8fb6e
Merge pull request #65 from tendermint/develop
...
v0.4.0
2017-03-06 03:10:22 -05:00
Ethan Buchman
be5a4345a3
formatting and update CHANGELOG
2017-03-06 02:58:26 -05:00
Ethan Buchman
700a62c22e
CHANGELOG
2017-03-06 02:53:15 -05:00
Ethan Buchman
caaafa192b
test/persist: use unix socket for rpc
2017-03-06 02:42:00 -05:00
Ethan Buchman
53d777a2d5
CHANGELOG.md
2017-03-06 01:30:41 -05:00
Ethan Buchman
fc6d22db32
test: better client naming
2017-03-06 01:11:00 -05:00
Ethan Buchman
d58a666445
test/persist: bump sleep to 5 for bound ports release
2017-03-06 00:32:24 -05:00
Ethan Buchman
22d95c7b51
test: docker exec doesnt work on circle
2017-03-05 23:38:11 -05:00
Ethan Buchman
b1cd677711
types: valSet LastProposer->Proposer and Proposer()->GetProposer()
2017-03-05 23:28:42 -05:00
Ethan Buchman
1208296dc0
DialSeeds takes an AddrBook
2017-03-05 23:14:15 -05:00
Ethan Buchman
cfc7fed31c
test/pex: dial_seeds
2017-03-05 23:14:11 -05:00
Ethan Buchman
beb3eda438
fix addrbook start/stop
2017-03-05 22:59:18 -05:00
Ethan Buchman
c94bc2bc2b
DialSeeds takes an addrbook
2017-03-05 21:57:07 -05:00
Ethan Buchman
e4e70ece3f
test: fix docker and apps
2017-03-05 20:39:52 -05:00
Ethan Buchman
0fa34f7f67
fix ProposerSelection by persisting proposer
2017-03-05 19:45:24 -05:00
Ethan Buchman
55602b9be6
failing ProposerSelection test
2017-03-05 15:05:36 -05:00
Ethan Buchman
749df0536f
test/docker: install abci apps first
2017-03-05 14:59:02 -05:00
Ethan Buchman
2037d2631a
fix race
2017-03-05 03:40:36 -05:00
Ethan Buchman
de0153a1c4
consensus: some more informative logging
2017-03-05 02:15:46 -05:00
Ethan Buchman
d93d754972
test/p2p/fast_sync: use --pex on restart
2017-03-05 02:03:49 -05:00
Ethan Buchman
a5ce4f6c36
update glide
2017-03-05 00:19:53 -05:00
Ethan Buchman
05d8cd50b5
update glide and node.go for update to p2p.AddrBook
2017-03-04 23:45:54 -05:00
Anton Kaliaev
af5cd5cc75
[p2p tests] test other peers connect to us
...
if we have neither seeds nor the addrbook
2017-03-04 23:23:02 -05:00
Anton Kaliaev
4090a31d19
save seeds to addrBook (Refs #335 )
2017-03-04 23:23:02 -05:00
Anton Kalyaev
163fe1731b
test p2p pex reactor (Refs #335 )
2017-03-04 23:22:48 -05:00
Anton Kalyaev
eef9124d1b
fix typo
2017-03-04 23:21:57 -05:00
Ethan Buchman
56eebb95ee
Merge pull request #12 from tendermint/bugfix/pex-issues-335
...
PEX issues #335
2017-03-04 23:19:51 -05:00
Ethan Buchman
88b5c724f2
remove public addr book funcs from pex
2017-03-04 22:55:42 -05:00
Anton Kaliaev
65b1756978
expose 2 API functions for tendermint#node/node.go
2017-03-04 22:44:25 -05:00
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
027cb8dc6b
glide: use versions where applicable
2017-03-04 22:11:44 -05:00
Ethan Buchman
c7386b139b
glide update
2017-03-04 22:05:14 -05:00
rigelrozanski
f5c4fdc82a
seeds fix
2017-03-04 21:43:03 -05:00
Ethan Buchman
8352ec4e5d
circle sigh
2017-03-03 19:58:17 -05:00