Marko
4ffabb65a5
lint add deadcode unused ( #4606 )
...
Added deadcode and unused linters to the repo, it
helped find some unused code.
Ref #4589
2019-06-21 17:18:01 +02:00
Alessio Treglia
c530c1cbb7
Remove auth's AccountDecoder type ( #4588 )
...
AccountDecoder is now entirely redundant.
client package now does no longer depend on x/auth.
Context: #4488
2019-06-19 16:20:27 +02:00
Alexander Bezobchuk
3180e68c7b
Merge PR #4499 : Remove Client Codec Redundancy
2019-06-06 11:43:15 -04:00
Karoly Albert Szabo
c39fa755cb
Merge PR #4413 : Revert swagger removal
2019-05-28 09:46:26 -04:00
frog power 4000
73e5ef7c13
reduce module interdependancy, /client refactor ( #4415 )
...
* abstract staking BuildCreateValidatorMsg, genutil defines its own flags
* client/ refactor
* staking move keys from keeper to types
2019-05-28 09:44:04 +01:00
Alexander Bezobchuk
4b872d2eb4
Merge PR #4377 : Remove statik/Swagger UI
2019-05-20 11:19:53 -04:00
Alessio Treglia
71d71f2206
Remove gaia ( #4347 )
...
Gaia is removed from cosmos-sdk repository.
Few changes were required to make sure no packages depend on gaia subpackages.
CI config is amended accordingly.
Unnecessary targets are removed from Makefile.
Simulations run through a lightweight version of gaia renamed to simapp.
Closes : #4104
2019-05-18 10:42:24 +02:00
Alexander Bezobchuk
99df748dda
Merge PR #4285 : Update REST Client to Support Custom R/W Timeouts
2019-05-07 13:04:48 -04:00
Alessio Treglia
4d6480aa46
Move lcd tests into gaia ( #4245 )
...
Objective is to remove lcd -> gaia package dep.
Code cleanup.
2019-05-01 17:58:20 +01:00
Alexander Bezobchuk
92f653b35c
Merge PR #4001 : Upgrade Tendermint to v0.31.1
2019-03-29 13:13:45 -04:00
Alessio Treglia
8421008042
Remove REST server's secure mode altogether
2019-03-19 18:20:53 +01:00
Alessio Treglia
9a57ce0214
Merge PR #3514 : don't lock keybase on lcd startup
2019-02-06 11:23:49 -08:00
Alessio Treglia
857a65dc61
gaiacli switches back to insecure mode by default ( #3470 )
2019-02-01 19:06:54 -08:00
Alessio Treglia
f4cf45e17a
Merge PR #3453 : Make rest-server respect persistent flags
2019-01-31 01:49:14 +01:00
Alessio Treglia
7fbc2822e8
Merge PR #3317 : Reintroduce gaia server's insecure mode
2019-01-17 14:06:33 +01:00
Jack Zampolin
0360b12075
Remove unimplemented gaiacli init command ( #3156 )
2018-12-19 08:25:27 -08:00
Alessio Treglia
24a1670cf0
Run make format
2018-12-10 14:27:25 +00:00
Jack Zampolin
cfab1ad6ee
Add Account Decoder to the LCD ( #3013 )
2018-12-05 16:48:30 -08:00
Aleksandr Bezobchuk
155c553456
Refactor Gaia Lite bootstrapping
2018-11-27 16:03:53 -05:00
Alexander Bezobchuk
71aec4688b
Fix starting Gaia Lite ( #2918 )
...
* Fix starting Gaia Lite
2018-11-27 12:19:01 -08:00
Jae Kwon
d1e76221d8
Jae/simulator improvements ( #2900 )
...
* Make simulator operations predetermined
* Use new dbm.ReverseIterator API
* Simulation speed improvements
* Pin exact revisions, not branches
* Rename 'MountStoresIAVL' to 'MountStores'
* Zero Power Block fees to community pool
2018-11-27 00:14:22 -08:00
Jack Zampolin
f525717054
Standardize CLI Exports from Modules ( #2840 )
...
* Move query and tx commands to modules
* Move GetAccountDecoder to prevent import cycle and replace calls to it with one call in WithAccountDecoder
* Add moduleClients interface and implement in all applicable modules
* Use module clients in cli initialization
2018-11-19 09:02:34 -08:00
Jack Zampolin
9676ce7d48
Expose LCD router, allowing devs to register custom routes from their modules ( #2836 )
...
* Fixes #1081
2018-11-16 14:21:36 -08:00
Christopher Goes
02da397899
Merge 0.26.0 back to develop ( #2718 )
...
* PENDING => CHANGELOG
* Linkify changelog
* Merge PR #2716 : Temporarily disable gaia lite insecure mode
* TODO: need to update CHANGELOG w/ import-export PR #2690
2018-11-08 16:41:57 -08:00
Alessio Treglia
e598af9eb6
Fix lint
2018-11-02 13:47:14 +00:00
Alessio Treglia
36bb4409b6
Refactor TrapSignal
2018-11-02 13:44:40 +00:00
Alessio Treglia
48192ea3d4
Gaialite signal handling is broken, repair it
2018-11-02 08:42:29 +00:00
HaoyangLiu
8e1bfee6ca
Add swagger-ui for key management
2018-10-04 20:36:24 +08:00
Christopher Goes
c676eab46b
WithTrustNode, Makefile fixes, 'make format'
2018-10-04 08:34:39 +02:00
HaoyangLiu
5d259b1b39
Add post respones process to add json to header and decide whether bring in indent to make response more readable
2018-10-02 23:15:04 +08:00
HaoyangLiu
b7f27a0e1f
update gopkg.lock and fix compile error
2018-09-30 12:53:30 +08:00
HaoyangLiu
d6f6a1f87f
Merge with develop
2018-09-30 11:46:27 +08:00
Jae Kwon
1e26ba2e0e
CLIContext.Logger -> .Output as it isn't a logger ( #2420 )
...
This changes .Logger to .Output, as it isn't used anywhere except as os.Stdout.
2018-09-28 21:45:54 -07:00
HaoyangLiu
4e3066131e
Merge with develop
2018-09-27 19:41:38 +08:00
HaoyangLiu
c5affaa7bf
Remove docs/clients/lcd-rest-api.yaml and add its content to client/lcd/swagger-ui/swagger.json
2018-09-27 19:36:22 +08:00
Matthew Slipper
2fb3493ff5
Merge PR #2223 : Gaia CLI Config Command
...
* Allow a gaia-cli config file to be created
Closes #1613 .
Closes #1275 .
Closes #1956 .
* Add homedir to Gopkg.toml
* Updates from code review
* Post-rebase fixes
* Update test
* Code review refactor
* Fixes from code review
* Fix import
* Fix broken test
* Fixes from rebase
* Fix formatting
2018-09-25 17:36:42 -04:00
HaoyangLiu
0b021cfa45
Merge with develop
2018-09-23 15:35:29 +08:00
Alessio Treglia
e2da4caae4
Merge PR #2364 : Implement HTTPS for the LCD REST server
...
In order to guarantee a secure connection between apps and the LCD the
communication must be encrypted - even if clients and server run on the
same local machine, credentials must never be transmitted in clear text.
Upon start up, the server generates a self-signed certificate and a key.
Both are stored as temporary files; removal is guaranteed on exit.
This new behaviour is now enabled by default, though users are provided
with a --insecure flag to switch it off.
2018-09-22 00:33:58 +08:00
Jessy Irwin
9b6b00689c
Merge PR #2361 : Remove IBC entrypoints
2018-09-20 22:51:14 +08:00
HaoyangLiu
7dc09d0fc2
Merge PR 2210: Judge if trust-node predefined before create certifier add verification for getBlock, queryTx and getValidators ( #2210 )
...
Replace trust-node option with distrust-node option, and add varification in getting blocks, transactions and validator sets.
2018-09-15 02:41:21 +08:00
HaoyangLiu
173dccca47
go fmt root.go and statik/init.go
2018-09-14 14:14:16 +08:00
Dev Ojha
6b55093c75
Merge PR #2324 : rename wire to codec
...
* rename wire to codec
* fix formatting and cli
* fix the docs
2018-09-13 14:17:32 -04:00
HaoyangLiu
5a8d823324
change swaggerui to swagger-ui
2018-09-14 01:01:57 +08:00
HaoyangLiu
c2668335a7
merge with develop
2018-09-13 23:09:17 +08:00
HaoyangLiu
5d5bdbb743
Use http.Handler instead of mux.Router
2018-09-13 20:35:54 +08:00
HaoyangLiu
e704f095bd
Keep both subcommand: rest-server and lite-server
2018-09-13 20:30:24 +08:00
HaoyangLiu
ea96d8bc2a
Add governance and slashing, implement post /txs api
2018-09-03 13:40:23 +08:00
HaoyangLiu
8e032f850a
Rename rest-server to lite-server and add README to clarify how to update API docs
2018-09-02 20:30:59 +08:00
HaoyangLiu
79c0bc40c8
Add swagger-ui to gaiacli rest-server
2018-09-02 20:09:43 +08:00
HaoyangLiu
6d2fb8edef
IRISHUB-238: fix test_cli failure, move certifier creation from lcd/root.go to NewCLIContext
2018-08-31 11:29:55 +08:00