Max
64c796f1d2
A redundant "listen address" flag removed
7 years ago
zramsay
594db86069
rename dummy*.go files to kvstore*.go
7 years ago
zramsay
a3362ccf35
s/Dummy/KVStore/g
7 years ago
Ethan Buchman
a488c0f027
update changelog and glide and a fix
7 years ago
Zach Ramsay
a77213e6c5
update readme, closes #134
7 years ago
Zach Ramsay
47d5fd0f1b
prettify the command helpers
7 years ago
Jae Kwon
8f87efd7f8
ABCI message updates (code/log/info)
* Add info to Response[CheckTx/DeliverTx/Query]
* Remove code and log from Response[SetOption/Commit]
7 years ago
Jae Kwon
a861d68a31
Update glide.yaml and fix tests
7 years ago
Ethan Buchman
2927caa0eb
fix flag parsing in console mode
7 years ago
Emmanuel Odeke
e3d244091d
cleanup requested from review by @melekes
7 years ago
Emmanuel Odeke
5ea42475ce
cmd/abci-cli: implement batch
Can now run batch which can be tested by:
```shell
echo -e "echo foo\necho blue" | abci-cli batch
```
giving
```shell
I[12-12|07:55:55.513] Starting socketClient
module=abci-client impl=socketClient
-> code: OK
-> data: foo
-> data.hex: 0x666F6F
-> code: OK
-> data: blue
-> data.hex: 0x626C7565
```
7 years ago
Zach Ramsay
cabc516726
batch: progress
7 years ago
Emmanuel Odeke
ecc13d5a8e
cmd/abci-cli: use a single connection per session
Use the single client connection at startup time
for sending over commands instead of shelling out
for every command.
This code fixes the regression from
https://github.com/tendermint/abci/pull/117
which instead used "os/exec".Command with:
"abci-cli <the_command> [args...]"
The purpose of this code is to restore us
back to the state after cobra replace urlfave/cli.
There is still a bit of work to implement Batch
itself, but that should be simpler as a focused
command.
Fixes #133
7 years ago
Krzysztof Jurewicz
6633889632
Short-circuit assertions in test command
7 years ago
Ethan Buchman
47216538fd
types: add UnmarshalJSON funcs for Response types
7 years ago
Ethan Buchman
1b2c383205
ResponseSetOption includes a response Code. Closes #64"
7 years ago
Krzysztof Jurewicz
8357326db0
Fix test command
7 years ago
Adrian Brink
e99e6ea0c7
Extend abci-cli to allow integration tests
This commit adds the basic test command 'abci-cli test' that will
allow developers of server for their own language to continuously test
their implementation.
8 years ago
Ethan Buchman
b59fe60e65
abci-cli: prefix flag variables with flag
7 years ago
Ethan Buchman
ed393f9934
abci-cli: print OK if code is 0
7 years ago
Ethan Buchman
10031f57d5
fix grpc version; add log_level and some logging
7 years ago
Ethan Buchman
24fbe291ab
update glide; update services for new signature
7 years ago
Ethan Buchman
42a8e3240c
remove CodeType
7 years ago
Ethan Buchman
26d967af7e
linter
7 years ago
Ethan Buchman
fb612e5a7b
fixup tests
7 years ago
Ethan Buchman
c7f54fb56c
everything takes Request, returns Response; expect DeliverTx/CheckTx/Commit
7 years ago
Anton Kaliaev
f01f2bbf3a
DeliverTxSync/CheckTxSync/CommitSync now return error as well
7 years ago
Anton Kaliaev
5be9c50b47
fix megacheck warning
7 years ago
Anton Kaliaev
fbe7234639
remove Result from the client package
plus make Client interface more consistent. All *Sync functions now
return an error as a second return param. Deliver/Check/Commit use Code
to indicate errors and have IsErr() func defined on ResponseXYZ structs.
7 years ago
Anton Kaliaev
ecb1f02f77
add version cmd (Refs #124 )
7 years ago
Zach Ramsay
f013ee5cf9
cli: use cobra's new ExactArgs() feature
7 years ago
Zach Ramsay
461191d2f7
cli: clean up error handling
7 years ago
Zach Ramsay
36de70be10
console: fix output, closes #93
7 years ago
Zach Ramsay
3330cb4856
cleanup
7 years ago
Zach Ramsay
f9e14ad61b
disable PersistenPreRun for counter/dummy
7 years ago
Zach Ramsay
df5d9ac1bb
consolidate counter/dummy into the binary, #95
7 years ago
Zach Ramsay
9883013adf
use cobra, closes #101
7 years ago
Ethan Buchman
667c2543ea
use request struct for Info
7 years ago
Zach Ramsay
6a378d30f3
linting: cover the basics
7 years ago
Ethan Buchman
d07b2352ad
NewXXXServer doesnt run Start or return error
8 years ago
Ethan Buchman
894f3fca73
cmd: query params are flags
8 years ago
Ethan Buchman
eda4f2dddc
NewXXXClient doesnt run Start or return error
8 years ago
Adrian Brink
b55e695d3d
Remove debug statement
8 years ago
Adrian Brink
4674bf96b0
Extend the query command
8 years ago
Anton Kaliaev
1dc3629b1a
update log interface
8 years ago
Anton Kaliaev
d2a4b16b28
introduce testing logger
8 years ago
Anton Kaliaev
9a6d190282
remove stdlog
8 years ago
Anton Kaliaev
986bdd00a5
new logging
8 years ago
Ethan Buchman
28d042fdae
use tmlibs
8 years ago
Ethan Buchman
0b1ee4b673
version bump to 0.4.0
8 years ago