Commit Graph

675 Commits

Author SHA1 Message Date
rigel rozanski 375fad3bec go linting working 2017-07-04 23:28:27 -04:00
Ethan Frey 6d56891a0f Re-implement counter plugin 2017-07-04 13:43:25 +02:00
Ethan Frey 9cd303d1fd Cleaned up unneeded adapters 2017-07-03 22:34:30 +02:00
Ethan Frey 413ea2e23f basecli works for sendtx and cli tests 2017-07-03 22:30:12 +02:00
Ethan Frey af132fbab8 Fixed basecli query for 0.7 2017-07-03 21:53:58 +02:00
Ethan Frey fa1a300943 Add SetOption to all middleware and handlers 2017-07-03 18:10:46 +02:00
Ethan Frey 159574db89 Move ChainID into context 2017-07-03 17:32:01 +02:00
Ethan Frey ef0ab758ed Cleaned up logger on constructors in App, State 2017-07-03 16:54:47 +02:00
Ethan Frey d0a2041c89 Remove references to IBC from binaries 2017-07-03 16:47:03 +02:00
rigel rozanski ec7ef41fdc First Full Auto-Tutorial Test 2017-06-29 05:47:38 -04:00
Ethan Frey 7fa01a2a74 Add experimental support for bash autocomplete 2017-06-28 11:54:48 +02:00
Ethan Frey 71946ada6f Add new rpc subcommand from light-client 2017-06-27 18:13:29 +02:00
Ethan Frey 41bc371a1d Update dependencies, set merkleeyes logger 2017-06-27 15:20:32 +02:00
Ethan Frey ad5c129b8e #127: init messages refer to command name 2017-06-27 14:07:55 +02:00
Ethan Frey e839a92f88 Updated RequireInit, latest light-client 2017-06-26 21:36:49 +02:00
Ethan Frey e37c0cf538 Update dependencies, improve basecli init check 2017-06-26 18:22:51 +02:00
Ethan Frey 14c39e7312 Support all "tendermint node" flags in "basecoin start" 2017-06-26 18:22:50 +02:00
Ethan Frey 18d7b6426b Add support for --log_level 2017-06-26 18:22:50 +02:00
Ethan Frey c36352e4a5 Refactor tendermint config loading 2017-06-26 18:22:50 +02:00
rigel rozanski fc36b21669 Add Signers in ReadAppTxFlags 2017-06-23 17:50:54 -04:00
Ethan Frey f5e96a8d31 Bump version to 0.6.0, add to basecli command 2017-06-22 16:21:59 +02:00
Ethan Frey 4cabad0980 Minor cleanup 2017-06-21 16:24:51 +02:00
Ethan Buchman 824050a0b4 basecoin init --chain-id 2017-06-21 02:48:09 -04:00
Ethan Buchman 43378a9b7b fix up basecli readme and basecoin-tool.md 2017-06-21 00:43:32 -04:00
Ethan Buchman e671ce6030 bring back key.json. ibc guide edits 2017-06-21 00:32:59 -04:00
Ethan Buchman 105cdbac38 cmd/commands -> cmd/basecoin/commands 2017-06-21 00:27:23 -04:00
Ethan Buchman 7b595b3f87 user ErrNoData from light-client 2017-06-20 21:35:46 -04:00
Ethan Buchman a3bc96c56b basecoin init takes an account address 2017-06-20 21:35:22 -04:00
rigel rozanski 24bd0f5ed6 update docs, move counter
int

int

int
2017-06-18 19:01:54 -04:00
Ethan Frey a57e2d34b1 Remove remnants of basecoin tx as ibc functions are now under relay 2017-06-16 20:42:41 +02:00
Ethan Frey cb075bbb7e Working with relay init 2017-06-16 20:36:38 +02:00
Ethan Frey b63f8bd15a Move relay to basecoin relay start 2017-06-16 20:20:23 +02:00
Ethan Frey d7cddb252a Cleaned up comments 2017-06-16 19:31:09 +02:00
Ethan Frey 9bf34cbac2 Removed many more unneeded commands 2017-06-16 17:28:26 +02:00
Ethan Frey b15f882ff4 Ripped out query, tx send, account, keys, and more 2017-06-16 17:20:45 +02:00
Ethan Frey 33d4f930da basecli sendtx handles chain/addr format 2017-06-16 15:42:18 +02:00
Ethan Frey 2f3c7002fa Create new command, countercli, removed counter from basecli 2017-06-16 14:00:43 +02:00
rigel rozanski 9c8ccefd35 reorganize basecli appTx commands
int
2017-06-16 13:41:42 +02:00
Ethan Frey 3c18c33e92 Fix basecli --chainid to --chain-id 2017-06-15 20:29:26 +02:00
Ethan Frey 282a157997 Update to use new helper methods, less code dups 2017-06-15 15:59:45 +02:00
Ethan Frey 8f67b6be84 Got counter tx working, needs testing 2017-06-15 13:36:18 +02:00
Ethan Frey 66ec2f266c Port sendtx to new format 2017-06-15 13:11:09 +02:00
Ethan Frey 65837cf952 Clean up queries, part 1 2017-06-15 12:27:55 +02:00
rigel rozanski 25e7a79174 replace basecli state presenters with cmds 2017-06-14 05:02:42 -04:00
Anton Kaliaev 20ce43e472
parse log level using tmlibs/cli/flags package (Fixes #97)
```
$ basecoin start
loading existing db
I[06-02|06:18:29.290] Done setting Account via SetOption           module=app result=Success
I[06-02|06:18:29.290] Starting Basecoin with Tendermint            module=main chain_id=test_chain_id
ERROR: Expected either "info", "debug", "error" or "none" level, given state:info,*:error
```
2017-06-02 10:56:15 +03:00
Ethan Frey 9444427d7e Make sure we export hex not base64 for byte slices 2017-05-30 18:28:25 +02:00
Ethan Frey bcf3212462 Fix up tendermint cli flags to 0.10.0-rc2 in demo 2017-05-30 18:11:10 +02:00
Ethan Frey 935c74d970 Make sure cmd uses encoding/json not wire.JSONBytes 2017-05-30 17:51:35 +02:00
Ethan Frey ddf434276c Added brief docs on light-client proxy 2017-05-29 16:16:55 +02:00
Ethan Frey 6fec396fbd 92: Fix ParseCoins regexp in general 2017-05-29 16:16:55 +02:00
Ethan Frey da698bb7af 94: init creates config, like tendermint init 2017-05-24 15:21:56 +02:00
Ethan Buchman 1f5a278965 fix build/tests 2017-05-22 07:44:50 -04:00
Ethan Buchman 7f2d25c593 [cmd] support SendTx to other chains via IBC 2017-05-22 07:35:23 -04:00
Ethan Buchman 444b96dfe7 fixes for relay 2017-05-22 07:35:23 -04:00
Ethan Buchman 7b83dea0d6 [cmd] new relay command for IBC relay 2017-05-22 07:35:23 -04:00
Ethan Buchman f4c5edaca3 fixes to compile 2017-05-22 07:35:23 -04:00
Ethan Frey 8daa916729 88: Correct functioning of unsafe_reset_all to mirror tendermint 2017-05-22 13:30:42 +02:00
Ethan Frey 029c0e9c72 90: don't panic on missing pk in tx construction 2017-05-22 13:16:08 +02:00
Jae Kwon 2983f5018b Allow keyfile to be absolute path 2017-05-21 20:10:29 -07:00
Ethan Frey bd62b21d6e Bump version to 0.5.0, update deps 2017-05-17 12:46:08 +02:00
Ethan Frey a8866bdd2d Reorg basecli for nicer apptx reusage 2017-05-17 01:14:31 +02:00
Ethan Frey ab6e5c3da2 Add counter app to basecli 2017-05-16 23:53:58 +02:00
Ethan Frey a32bf5475f Start working on apptx for counter in basecli 2017-05-16 21:40:07 +02:00
Ethan Frey 0843c4428b Cleanup merge 2017-05-16 20:21:55 +02:00
rigel rozanski 4207275d18 basecli cleanup
glide fix

int

int
2017-05-16 19:08:07 +02:00
Ethan Frey 4a380bb6e8 Start abci server when running --without-tendermint 2017-05-16 18:54:19 +02:00
Anton Kaliaev e42849b4b8 move logger to state
also remove redundant root.go logger
2017-05-14 20:48:11 +02:00
Ethan Buchman c92c9de342 update glide 2017-05-14 20:48:10 +02:00
Ethan Buchman 59c3d05dfa updates for structs using data.Bytes 2017-05-14 20:48:10 +02:00
Anton Kaliaev f2e452435a use helper func 2017-05-14 20:47:01 +02:00
Anton Kaliaev 41ef8af108 new logging 2017-05-14 20:47:01 +02:00
Ethan Frey ab93d969bc Fixed typos in readme 2017-05-14 20:44:35 +02:00
Ethan Buchman 4a1920a2a7 exit code on error 2017-05-13 20:03:53 -04:00
Ethan Frey d0be11682b Embed light-client proxy 2017-05-13 15:08:45 +02:00
Ethan Frey 93c4e4d82a Add basic info on using basecli 2017-05-12 22:15:20 +02:00
Ethan Frey 5aec321b76 Fix start command 2017-05-12 21:47:18 +02:00
Ethan Frey 2324f5d766 Fix all tests with new tendermint style 2017-05-12 20:54:50 +02:00
Ethan Frey 73435303af Fix basecoin cli to newest tendermint develop (0.10) 2017-05-12 20:29:13 +02:00
Jae Kwon 76b9580045 Fix tabs in init files 2017-04-30 15:21:41 -07:00
Ethan Frey b907d34dea Imported basecli wholesale 2017-04-27 23:17:06 +02:00
Ethan Frey b02bc358b1 Update basecoin init configs for tendermint 0.10 2017-04-27 21:14:40 +02:00
Ethan Buchman 525cb4c80b fix tendermint rpc link 2017-04-27 12:52:47 -04:00
Ethan Buchman 9c391a08a9 fix some imports 2017-04-27 15:55:23 +02:00
Ethan Buchman 1a6fae6af6 update import paths for repo merge 2017-04-27 15:55:23 +02:00
Ethan Frey b6ebf9f8b8 Update to latest go-crypto, adjust code and tests 2017-04-27 15:53:49 +02:00
Ethan Frey 787cf0ebac Update to patched go-p2p, tendermint, fix a few tests 2017-04-27 15:53:49 +02:00
Ethan Frey 57356beab6 Use WrapXxx to safelt construct XxxS structs 2017-04-27 15:52:53 +02:00
rigel rozanski 3c2a6c5d8c cleanup/small fixes 2017-04-21 16:59:16 -04:00
Ethan Buchman 9d620e449b glide update and rebase fixes 2017-04-21 12:56:50 -04:00
rigel rozanski 55e4cf17fd minor fix x2 2017-04-21 12:34:29 -04:00
rigel rozanski 6da5f72de9 tiny fixes 2017-04-21 12:34:29 -04:00
Ethan Buchman 04f79f3ad2 cmd.SilenceUsage 2017-04-21 12:34:11 -04:00
Rigel Rozanski c292d54e47 Debug Flag, Run -> RunE 2017-04-21 12:34:11 -04:00
Ethan Frey 587461afa4 Make initializing files more robust to some files existing 2017-04-21 12:34:11 -04:00
rigelrozanski b60845c818 BCHOME default dir change
int

int

int

int
2017-04-21 12:34:11 -04:00
rigelrozanski 02b4fd5f17 doc update 2017-04-21 12:34:11 -04:00
rigelrozanski 18f1142d4c v0.4.0
int
2017-04-21 12:34:11 -04:00
rigelrozanski 6eb511670f cmd init cleanup 2017-04-21 12:34:11 -04:00
rigelrozanski fb3fd1b425 added cli cobra
rebaseFixes

int

removed ExitOnErr

int

int

int

int

int

added uint64 to RegisterFlags
2017-04-21 12:34:11 -04:00
rigelrozanski d19f52c893 review changes
int

int
2017-04-13 23:31:52 -04:00
rigelrozanski 0720a03dae tests cleanup
cleanup
2017-04-13 23:31:52 -04:00
Anton Kaliaev 924d11397e update go-rpc
rpc clients were renamed
2017-04-13 21:39:04 -04:00
Ethan Frey 52353433a3 Update all dependencies to develop, fix method names 2017-04-13 14:25:06 +02:00
Ethan Frey 146ca88f2c cast bytes to string before printing 2017-04-03 13:28:14 +02:00
Ethan Buchman 30da6eebb0 cmd: log errors 2017-03-23 18:51:15 -04:00
Ethan Buchman 06a8478a70 update changelog and remove dead wire code 2017-03-23 18:07:31 -04:00
Ethan Buchman 9fc2668c37 clean up some logging 2017-03-18 20:48:48 -04:00
Ethan Buchman de5506dd8f fix keys and glide 2017-03-14 17:29:43 -04:00
Ethan Buchman 09433299ca add plugin_options and fix tests 2017-03-14 13:55:46 -04:00
Ethan Buchman 03ea00f1e6 consolidate genesis files 2017-03-14 13:32:39 -04:00
Ethan Buchman 4a6b7131e4 BASECOIN_ROOT -> BCHOME 2017-03-14 01:50:10 -04:00
Ethan Buchman e0df8da40a --abci-server -> --without-tendermint 2017-03-14 01:47:10 -04:00
Ethan Buchman 75da135755 basecoin unsafe_reset_all 2017-03-13 20:20:07 -04:00
Ethan Buchman 44189d9055 basecoin init, default to in-proc, fix up guide 2017-03-13 19:28:34 -04:00
Ethan Buchman cd3a545264 version bump to 0.2.0 2017-02-26 13:51:39 -05:00
Ethan Frey c1fa8cb0d2 Use new go-crypto S structs to get full go-data support 2017-02-25 00:12:15 +01:00
Ethan Buchman 57013fa8a2 Merge branch 'unitTests' into develop 2017-02-23 19:10:26 -05:00
Ethan Buchman 157d46ff51 string formatting 2017-02-23 18:55:20 -05:00
rigelrozanski e6579cf9e9 table driven testing
squash
2017-02-22 18:17:29 -05:00
Ethan Buchman 8a59315d59 Merge pull request #36 from tendermint/fix-ibc
Fix ibc
2017-02-21 16:56:16 -05:00
Ethan Buchman 2728af1f3b Merge branch 'queryReg' into develop 2017-02-19 14:08:31 -05:00
rigelrozanski 78167b4e3a added unit tests
squash me

squash me

squash
2017-02-18 19:19:26 -05:00
Ethan Buchman 33cafd1b86 demo: fix waitForBlocks 2017-02-17 09:39:41 -05:00
Ethan Buchman 35c221b496 use new tendermint /commit endpoint 2017-02-17 09:39:41 -05:00
Ethan Buchman e4ec1a651f Query: LastHeight -> Height :) 2017-02-17 09:39:41 -05:00
Ethan Buchman dcfc9a542d fetch commit separate from header 2017-02-17 09:39:16 -05:00
Ethan Buchman bc6c79ef04 cmd: fix query height 2017-02-17 09:38:59 -05:00
Ethan Buchman 0b77bcfce6 Query: Height -> LastHeight 2017-02-17 09:38:59 -05:00
Ethan Buchman 558df7da15 enable ibc by default 2017-02-17 09:37:48 -05:00
rigelrozanski 6a21ad5144 tests, now uses mycoin
whoops
2017-02-16 22:06:03 -05:00
Ethan Frey 0cf7ce2f23 Print warning when no genesis file found 2017-02-16 18:03:01 +01:00
rigelrozanski 49c3ab0828 addressed ebuchman comments 2017-02-13 17:07:13 -05:00
rigelrozanski 05c975e7fe comment update 2017-02-13 17:01:28 -05:00
rigelrozanski c835ebf650 Fix Coin.IsGTE logic bug
flag redescription
2017-02-13 17:01:28 -05:00
rigelrozanski d2ac609fa3 CLI no coins sent fix 2017-02-13 17:01:28 -05:00
rigelrozanski e3302bb1bb CLI fee and amount now use string inputs specifying the coin type
readme update

intermin
2017-02-13 17:01:28 -05:00
rigelrozanski 50e787af0a added query subcommand register 2017-02-13 16:56:22 -05:00
Jae Kwon 62a61e8b7d s/blank/mycoin/g 2017-02-12 22:15:01 -08:00
Jae Kwon b189018090 s/adam/basecoin/g; fix tests 2017-02-12 19:01:17 -08:00
Ethan Buchman b3834bc5d0 docs: update ibc 2017-02-07 20:35:43 -05:00
Ethan Buchman d54763965e cli: key command 2017-02-07 16:12:50 -05:00
Ethan Buchman abac65bacc cli: refactor ibc and counter into own binaries 2017-02-07 16:12:50 -05:00
Ethan Frey 215c377fae Show result from AppTx 2017-01-31 17:00:23 +01:00
Ethan Frey 63612f8204 Expose Query globally, to use from other packages 2017-01-31 15:33:34 +01:00
Ethan Frey 6e3a199f09 Fix sendtx to not panic on error 2017-01-30 19:11:44 +01:00
Ethan Frey 15904ea7a7 cmd start allows plugin registration 2017-01-30 17:16:00 +01:00
Ethan Frey 53786ab4ce Remove obsolete paytovote cmd 2017-01-30 15:57:37 +01:00
Ethan Frey 3fbd282f2e Allow registering plugin subcommand to apptx 2017-01-30 15:56:47 +01:00
Ethan Frey cb4f6a4bca Made all flag names public 2017-01-30 15:27:02 +01:00
Ethan Frey 28f6a20a98 Moved all commands into a subdir, for easier importing 2017-01-30 15:16:51 +01:00
Ethan Buchman 699e0f6ae4 bring back paytovote 2017-01-29 23:35:37 -08:00
Ethan Buchman e578d1f07b fixes to make demo work 2017-01-29 22:45:12 -08:00
Ethan Buchman 1ffe00def6 cmd: fixes 2017-01-29 21:29:52 -08:00
Ethan Buchman e69395c01f cmd: fix some serialization 2017-01-29 20:06:25 -08:00
Ethan Buchman a5eefe12fa cmd: verify iavl proof 2017-01-29 19:45:21 -08:00
Ethan Buchman d3518213c6 cmd: ibc packet 2017-01-29 19:18:50 -08:00
Ethan Buchman 90d0b53a2f cmd: ibc 2017-01-29 18:56:43 -08:00
Ethan Buchman f811502826 cmd: counter tx 2017-01-29 16:30:25 -08:00
Ethan Buchman 4ff02fd681 cmd: utils.go 2017-01-29 13:34:48 -08:00
Ethan Buchman 241c163876 update README, add data 2017-01-29 12:48:28 -08:00
Ethan Buchman 8262d0cc71 cli: working txs and account fetching 2017-01-29 11:41:21 -08:00
Ethan Buchman 665b39e330 new cli 2017-01-28 19:00:21 -08:00
Jae Kwon b8374f4a9c Merge abci_proof 2017-01-28 09:33:07 -08:00
Jae Kwon 6cb95498fd TMSP -> ABCI 2017-01-14 20:42:47 -08:00
rigelrozanski c1c79d1e3d pubkey not nil error 2017-01-12 14:57:59 -08:00
rigelrozanski 73c7edd588 runs in-tendermint 2017-01-12 00:07:56 -05:00
Jae Kwon 056106a43a Incomplete fix to make Basecoin compile 2016-09-22 17:46:42 +08:00
Jae Kwon 9cfc6614ba Defaults to embedded MerkleEyes 2016-03-28 09:42:02 -07:00
Jae Kwon 8d5274639b Fix Genesis.json parsing 2016-03-27 22:23:44 -07:00
Jae Kwon fa39c9da5c s/CallTx/AppTx/g; NamedPlugins 2016-03-27 12:47:50 -07:00
Jae Kwon c134fa7efd Allow genesis file 2016-03-22 15:44:58 -07:00
Jae Kwon 5049c35efc Merge basecoin with tendermint_classic 2016-03-21 15:31:25 -07:00
Jae Kwon 3d8cb897b8 Move cmd/main.go to cmd/basecoin/main.go 2016-03-15 15:04:03 -07:00
Jae Kwon 479ef98ec6 Conform to TMSP NewServer 2016-02-21 23:44:43 -08:00
Jae Kwon 3235172a74 Move main.go to cmd/main.go 2016-02-21 15:09:47 -08:00