Commit Graph

852 Commits

Author SHA1 Message Date
Alexis Sellier 538824d736 Change module import etc -> eyes 2017-08-07 19:24:58 +02:00
Alexis Sellier 15d2e2525f Start working on proof tests 2017-08-07 19:23:44 +02:00
Ethan Frey 2b1c4dd8b9 Really renames etc -> eyes... finish the job 2017-08-07 19:21:07 +02:00
Ethan Frey 3f6071da85 Merge pull request #216 from zramsay/key-management
docs: key management guide
2017-08-07 19:05:38 +02:00
Zach Ramsay 0cd8a7737c docs/keys: little PR fixes 2017-08-07 13:00:49 -04:00
Ethan Frey 13d739ac48 Merge pull request #211 from tendermint/feature/reimplement-merkleeyes
Reimplement merkleeyes
2017-08-07 18:56:58 +02:00
Ethan Frey ade9d4527b Rename module/etc to eyes as well 2017-08-07 18:50:34 +02:00
Ethan Frey 0133723aca Clean up comments 2017-08-07 18:50:33 +02:00
Ethan Frey 483ed6d87a Add cli tests for eyes query and add to Makefile 2017-08-07 18:50:33 +02:00
Ethan Frey 6bc5fa3876 Add eyes and eyescli main commands
Note how the all framework commands can be reused with a bit of configurations.
And one can add the custom query and tx commands.
2017-08-07 18:50:33 +02:00
Ethan Frey 6e38609e3f Add CLI commands as sub-package 2017-08-07 18:50:33 +02:00
Ethan Frey 464ea226f5 Test the handlers and fix type byte for no conflicts 2017-08-07 18:50:33 +02:00
Ethan Frey 4c663d5551 Add handler and store
Notice that everything has json tags and that we check price in CheckTx,
while we run real code in DeliverTx.  Return values are meant for the client.
2017-08-07 18:50:33 +02:00
Ethan Frey 9fe2f6b365 Setup first tx, error code 2017-08-07 18:50:33 +02:00
Ethan Frey f4c45b6273 Merge pull request #214 from zramsay/basecoin-basics
docs: clean up basecoin-basics
2017-08-07 18:38:04 +02:00
Zach Ramsay a33725e9f4 docs: key management guide 2017-08-07 11:39:54 -04:00
Zach Ramsay a7afe423e3 docs/basics: put clean up at the end 2017-08-07 09:46:51 -04:00
Zach Ramsay 2678529aed docs: simple in an unfavourable word for newsers 2017-08-07 09:20:23 -04:00
Ethan Frey 673814673e Refactored basecoin init a bit to use in eyes 2017-08-06 23:49:09 +02:00
Ethan Frey 3db48b8d9a Add helper function to parse a command flag 2017-08-06 22:51:29 +02:00
Ethan Frey c87174875a Merge pull request #210 from tendermint/feature/40-overhaul-proofs
Overhaul proofs and light-client / basecoin separation
2017-08-04 21:19:41 +02:00
Ethan Frey d6d6b75736 Renamed client/commands/proofs to client/commands/query 2017-08-04 20:50:36 +02:00
Ethan Frey 6dae258767 Lots of cleanup 2017-08-04 20:36:50 +02:00
Ethan Frey 0de3ecc741 Compiles and all tests pass - even IBC with new proofs 2017-08-04 20:02:23 +02:00
Alexis Sellier 831c9ae3ec Use Get/GetParsed everywhere 2017-08-04 19:21:40 +02:00
Alexis Sellier 391380bef2 Refactor app state query code 2017-08-04 19:21:40 +02:00
Ethan Frey 4df20df62a Fix meaning of --trust-node, pass tests 2017-08-04 18:51:16 +02:00
Ethan Frey 8d3576f0f7 Try to rip out tx stuff 2017-08-04 17:27:54 +02:00
Alexis Sellier d629f27800 Use new proof method 2017-08-04 17:03:07 +02:00
Ethan Frey 18a1dd7f6b Migrate Bonsai to GetWithProof 2017-08-04 15:46:00 +02:00
Ethan Frey f2adf3645a role cli uses hex for consistency 2017-08-04 14:44:28 +02:00
Ethan Frey 2113c9f884 Merge pull request #196 from tendermint/feature/184-overhaul-handler-interface
Feature/184 overhaul handler interface
2017-08-04 14:18:07 +02:00
Ethan Frey 640f06998a Moved all gas and payment values to uint64 to make sure we are safe here 2017-08-04 14:11:01 +02:00
Ethan Frey 2f4f875dd4 Cleanup from PR comments 2017-08-04 13:50:55 +02:00
Ethan Frey 21e2399fc4 Tested and fixed multiplexer, add more helpers 2017-08-03 21:41:24 +02:00
Ethan Frey 74070f1cac Add module tests for checktx return values 2017-08-03 21:41:24 +02:00
Ethan Frey 1715c0aeba Handlers and middlewares add gas prices 2017-08-03 21:41:24 +02:00
Ethan Frey 70fe2444ab Deduplicate validator changes in EndBlock and test this 2017-08-03 21:41:24 +02:00
Ethan Frey ff658f0326 Reenable multiplexer 2017-08-03 21:41:24 +02:00
Ethan Frey a46cb62272 Returns all validator changes from DeliverTx in EndBlock 2017-08-03 21:41:24 +02:00
Ethan Frey 37550ca91d Add InitValidate method for setup 2017-08-03 21:41:23 +02:00
Ethan Frey 4b69f1d5ba Rename SetOption to InitState 2017-08-03 21:41:23 +02:00
Ethan Frey eb08136104 Fix all tests for CheckTx/DeliverTx split 2017-08-03 21:41:23 +02:00
Ethan Frey cbfd2cd611 Make it all compile with new Deliver/CheckTx 2017-08-03 21:41:23 +02:00
Ethan Frey cb4277f4b7 Change Handler interface 2017-08-03 21:41:23 +02:00
Ethan Frey 2f220701fe Merge pull request #207 from orijtech/handlers-allow-main-to-choose-which-handlers-to-use
cmd/baseserver, */rest: allow baseserver to choose which handlers to use
2017-08-03 20:20:15 +02:00
Emmanuel Odeke ee5d22010a
cmd/baseserver, */rest: allow baseserver to choose which handlers to use
Make handlers easily configurable to use in cmd/baseserver/main.go.
This way client users can trivially change what functionality they'd
like.
It involves moving ServeCmd out of client/rest to */main.go
and lets client/rest become a bazaar for available mux.Router
registrars.

Updates #200
2017-08-03 11:41:51 -06:00
Ethan Frey 5d45c22690 Merge pull request #206 from tendermint/feature/fixup-store
Make state.Store / state.KVCache deterministic
2017-08-03 18:08:05 +02:00
Ethan Frey e63f3bc2d9 Ensure deterministic ordering of keys when applying KVCache 2017-08-03 17:37:15 +02:00
Ethan Frey 7cf20ef70a Add test to enforce deteministic application of cache order 2017-08-03 17:37:15 +02:00