Commit Graph
9140 Commits
Author SHA1 Message Date
Ethan Frey 0c92c8516f Rename proxy to server for clarity 2017-02-28 21:53:05 +01:00
Ethan Frey 6389d208cc Key server API integrated in CLI 2017-02-28 21:33:27 +01:00
Ethan Frey 6ec2330eb8 Import keys server from light-client, with changes 2017-02-28 21:09:35 +01:00
Ethan Frey e1c717a048 Add support for hex / base64 / btc (b58) encoding of binary data 2017-02-28 20:31:08 +01:00
Ethan Frey c59e2d7d13 Expose address in keyinfo, add get command 2017-02-28 20:07:44 +01:00
Ethan Frey d5931c9ee3 Set key algorithm on key creation 2017-02-28 19:43:18 +01:00
Ethan Frey 9c427e95e2 Add update cli command, cleanup 2017-02-28 19:02:24 +01:00
Ethan Frey 506ff7d85a Expose new and list via cli 2017-02-28 18:52:52 +01:00
Ethan Frey 78bb9f9cd8 Import keystore logic from light-client 2017-02-28 18:07:59 +01:00
Ethan Frey d979bfc49e Add flag validation 2017-02-28 16:56:17 +01:00
Ethan Frey f80957ad3c Basic cobra/viper cli framework 2017-02-28 16:30:15 +01:00
Ethan Frey 21501815dd Fix EventSwitch usage in WaitForOneEvent 2017-02-27 14:55:29 +01:00
Ethan Frey a816ff0bab Add test 2017-02-27 14:52:48 +01:00
Ethan Frey d56cb2ab4b fix typo 2017-02-24 23:40:05 +01:00
Ethan Frey 4fead237f0 Client embeds EventSwitch, client.HTTP properly un/subscribes events over websocket 2017-02-24 21:26:17 +01:00
Ethan Frey 6282fad518 Clean up event switch add helper function 2017-02-24 19:59:40 +01:00
Ethan Frey 175bb329e4 Expose EventSwitch on top of websocket client 2017-02-24 19:15:22 +01:00
Ethan Frey 9be3064904 Expose and test EventSwitch in client.Local 2017-02-24 17:51:19 +01:00
Ethan Frey 98450ee2db Client: DumpConsensusState, not DialSeeds. Cleanup 2017-02-24 17:05:15 +01:00
Ethan Frey 931af6a072 Combine local and http into client package, unify tests with table-driven tests 2017-02-24 17:05:15 +01:00
Ethan Frey 202146e4ce Fix up checktx/delivertx in broadcastTx(A)sync 2017-02-24 17:05:15 +01:00
Ethan Frey 9693795c4c Move common code to merkleeyes/testutil 2017-02-24 17:05:15 +01:00
Ethan Frey cd9ee9d84b cleanup 2017-02-24 17:05:15 +01:00
Ethan Frey 42a9b847ec Make all client tests safe to run in parallel 2017-02-24 17:05:15 +01:00
Ethan Frey d92a5b1074 Reworked WaitForHeight to avoid race conditions 2017-02-24 17:05:14 +01:00
Ethan Frey f7f7cf576a Fix race condition in websocket event listening 2017-02-24 17:05:14 +01:00
Ethan Frey 26f4b5c98e Clean up package names 2017-02-24 17:05:14 +01:00
Ethan Frey 70f19e809b Add MockStatus, WaitForHeight helper 2017-02-24 17:05:14 +01:00
Ethan Frey 0905332f1d MockClient for real abci app 2017-02-24 17:05:14 +01:00
Ethan Frey df172fa840 Provide mock interfaces for calling abci app over tendermint rpc 2017-02-24 17:05:14 +01:00
Ethan Frey ce044dbb76 Extracted Clients into a consistent interface, fixed type issue in http.Client 2017-02-24 17:05:14 +01:00
Ethan Frey 7c26be3242 Begin implementation of local client 2017-02-24 17:05:13 +01:00
Ethan Frey bf1ee89b27 Moved httpclient into subpackage 2017-02-24 17:05:13 +01:00
Ethan Frey a0bdae4f9c Added missing pkg/errors dependency 2017-02-24 17:05:13 +01:00
Ethan Frey 64feaa05f4 Full test coverage for rpc client 2017-02-24 17:05:13 +01:00
Ethan Frey 5ea3f24304 test info 2017-02-24 17:05:13 +01:00
Ethan Frey c9d36cd713 Add dependencies, pull out HTTPClient test code 2017-02-24 17:05:13 +01:00
Ethan Frey 2c75c9daf9 Clean up tests, remove panics 2017-02-24 17:05:12 +01:00
Ethan Frey d971416d12 collision merge of light-client code 2017-02-24 17:05:12 +01:00
Anton Kaliaev 1f1dcead3d [Vagrantfile] go 1.8 and permissions fix 2017-02-24 13:31:27 +04:00
Anton Kaliaev d38a6e329f verbose output when get_deps 2017-02-24 13:30:46 +04:00
Ethan BuchmanandGitHub 562b4cc9ef Merge pull request #3 from tendermint/feature/go-data
Use go-data for nice json un/marshaling
2017-02-23 19:14:53 -05:00
Ethan Frey 0e92dd5bb5 One name, type byte per algorithm 2017-02-24 00:31:43 +01:00
Ethan Frey 8c9b889ccf Support json encode/decode for nil values in S structs 2017-02-23 18:11:20 +01:00
Ethan Frey b6a2c5949f Add helper methods for nil checks in structs 2017-02-23 15:35:04 +01:00
Ethan Frey cbe35e07d1 Add more tests for de/en-coding public and private keys 2017-02-23 14:56:25 +01:00
Ethan Frey 6c2bf8c24b Clean up test cases -> testify 2017-02-23 13:20:30 +01:00
Anton Kaliaev f73f53c486 [Dockerfile.develop] fix error "/bin/sh: #: not found" when building 2017-02-23 12:17:20 +04:00
Ethan Frey 1bc1947e3f First tests of go-data encoding 2017-02-22 23:43:26 +01:00
Ethan Frey e6d35ee641 Add structs for go-data support 2017-02-22 23:15:10 +01:00