5097 Commits

Author SHA1 Message Date
Ethan Frey
9e57d521ef Add type assertions for sig/pub/privkey implemenetations 2017-04-10 19:51:02 +02:00
Jae Kwon
f17e6bf44c Fix bitcoin addr scheme 2017-04-10 19:51:02 +02:00
Jae Kwon
926741c0a1 remove coin param 2017-04-10 19:51:02 +02:00
Jae Kwon
a3324cc97b Cleanup; Implement .Wrap() 2017-04-10 19:51:02 +02:00
Ethan Frey
eb6fcef8d2 Better docs and naming thanks to bucky 2017-04-10 19:51:01 +02:00
Ethan Frey
5b94758d4c Make PubKey struct compatible with go-wire.JSONBytes/ReadJSON 2017-04-10 19:51:01 +02:00
Ethan Frey
66ecd7705f Use new naming scheme PubKey{PubKeyInner} 2017-04-10 19:51:01 +02:00
Ethan Frey
750b25c47a Update go-data, test embedding strategies 2017-04-10 19:41:30 +02:00
Ethan Frey
49569ac244 Wrap constructor to create xxxS structs and avoid recursion 2017-04-10 19:41:30 +02:00
Ethan Buchman
fc95c9872f Merge pull request #438 from tendermint/replay-fix
consensus: timeout on replayLastBlock
2017-04-10 10:33:48 -04:00
Jae Kwon
e49fdf7be7 Add HD functions 2017-04-08 22:57:59 -07:00
Ethan Frey
ae55713864 Move tx from light-client and add tests 2017-03-29 20:41:11 +02:00
Ethan Buchman
09f7dabd5e update comment 2017-03-28 14:06:03 -04:00
Ethan Frey
58e537a42d Refactor setting up the key manager from config 2017-03-28 19:05:33 +02:00
Ethan Buchman
4fd1471f11 remove BaseService.OnStart 2017-03-28 12:09:11 -04:00
Ethan Buchman
85e83934a1 fixes from review 2017-03-28 12:07:32 -04:00
Anton Kaliaev
ba5382b70e
open result&error channels on start 2017-03-28 14:17:40 +04:00
Anton Kaliaev
b0d2032488
use BaseService.OnReset method to recreate channels 2017-03-28 14:01:22 +04:00
Ethan Buchman
162fbdd17b Merge pull request #419 from tendermint/cli_cobra
added use of Cobra CLI
2017-03-27 17:16:43 -04:00
Ethan Buchman
0413a87eb4 fix typo 2017-03-27 16:59:54 -04:00
Ethan Buchman
c1dc1a1a45 Merge pull request #437 from tendermint/feature/431-data-flag
rename TMROOT to TMHOME
2017-03-27 15:47:02 -04:00
Ethan Buchman
077cf13a1f consensus: timeout on replayLastBlock 2017-03-27 15:41:45 -04:00
Anton Kaliaev
a416c37ebd Merge pull request #12 from tendermint/close-ws-connection
close ws connection on Stop
2017-03-27 20:50:18 +04:00
Anton Kaliaev
12ead6cc7e
make changes backwards compatible (Refs #431) 2017-03-27 20:41:00 +04:00
Anton Kaliaev
5f6de800a0
rename TMROOT to TMHOME (Refs #431) 2017-03-27 15:17:10 +04:00
Ethan Frey
398ac046da Reorganize cobra cmd to enable better reuse 2017-03-23 21:23:05 +01:00
Ethan Buchman
6fddcdf245 hd test: check masters too 2017-03-22 20:13:16 -04:00
Ethan Buchman
c6be97c71c error testing the hd 2017-03-22 16:45:30 -04:00
Ethan Buchman
ce9c57fca8 hd test 2017-03-22 15:59:48 -04:00
Ethan Buchman
3a1313ab7d secp256k1: use compressed pubkey, bitcoin-style address 2017-03-22 01:18:56 -04:00
Anton Kaliaev
d6587be7bc
[WSClient] allow for multiple restarts
needed for 3044f66ba9
See https://github.com/tendermint/tools/issues/6
2017-03-21 22:08:08 +04:00
Anton Kaliaev
afc39febed
close ws connection on Stop 2017-03-21 22:02:25 +04:00
Ethan Frey
76ace96925 Create nested directories as needed to store keys 2017-03-20 09:55:07 +01:00
Ethan Frey
07ac3201c2 Merge pull request #4 from tendermint/glide
Added glide dependency handling
2017-03-20 09:41:51 +01:00
Ethan Buchman
af792eac77 readme: js-tmsp -> js-abci 2017-03-13 17:20:31 -04:00
Ethan Buchman
1a565b83ec fix readme 2017-03-13 17:18:10 -04:00
Ethan Buchman
c32338f29b Merge pull request #66 from tendermint/readme
update readme
2017-03-13 16:54:00 -04:00
Ethan Buchman
e6a5b060f9 update readme 2017-03-13 16:46:45 -04:00
Anton Kaliaev
b54b9b4ecc
update url to network monitor [ci skip] [circleci skip] 2017-03-13 14:25:57 +04:00
Anton Kaliaev
5d19a008ce
add Call method to WSClient, which does proper encoding of params 2017-03-10 15:33:45 +04:00
Anton Kaliaev
3233c9c003
WSClient failed to "echo_bytes"
Error:
```
Expected nil, but got: encoding/hex: invalid byte: U+0078 'x'
```
2017-03-10 14:56:04 +04:00
Anton Kaliaev
c88257b038
rename rpc function status to echo
echo means we're returning the input, which is exactly what this
function does.
2017-03-10 12:57:14 +04:00
Anton Kaliaev
0874c72819
refactor tests 2017-03-10 12:52:40 +04:00
Anton Kaliaev
d66ebbd904
use testify package 2017-03-10 12:03:16 +04:00
Anton Kaliaev
1a3573bf17 Merge pull request #10 from tendermint/feature/4-rename-http-clients
rename ClientURI -> URIClient, ClientJSONRPC -> JSONRPCClient
2017-03-10 10:42:22 +04:00
Anton Kaliaev
e6c083f589
rename ClientURI -> URIClient, ClientJSONRPC -> JSONRPCClient (Refs #4) 2017-03-10 10:41:10 +04:00
Anton Kaliaev
759060f47e Merge pull request #9 from tendermint/feature/8-http-interface-and-1-key-value-params-json-rpc
support key-value params in JSONRPC
2017-03-10 10:29:00 +04:00
Ethan Frey
715f78e26a
Properly encode json.RawMessage 2017-03-10 10:20:38 +04:00
Anton Kaliaev
db69845ded
introduce errors pkg 2017-03-09 19:01:37 +04:00
Anton Kaliaev
ff90224ba8
fix "Expected map but got type string" error
Error from tendermint:

```
panic: Expected map but got type string [recovered]
        panic: Expected map but got type string

goroutine 82 [running]:
testing.tRunner.func1(0xc420464000)
        /usr/local/go/src/testing/testing.go:622 +0x29d
panic(0xa1fda0, 0xc4201eecd0)
        /usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/tendermint/tendermint/rpc/test.waitForEvent(0xc420464000, 0xc420064000, 0xae6fae, 0x8, 0xae6f01, 0xc2e998, 0xc2e9a0)
        /home/vagrant/go/src/github.com/tendermint/tendermint/rpc/test/helpers.go:179 +0x53a
github.com/tendermint/tendermint/rpc/test.TestWSNewBlock(0xc420464000)
        /home/vagrant/go/src/github.com/tendermint/tendermint/rpc/test/client_test.go:190 +0x12e
testing.tRunner(0xc420464000, 0xc2e9a8)
        /usr/local/go/src/testing/testing.go:657 +0x96
created by testing.(*T).Run
        /usr/local/go/src/testing/testing.go:697 +0x2ca
```
2017-03-09 19:01:32 +04:00