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
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
0b1ee4b673
version bump to 0.4.0
8 years ago
Ethan Buchman
eaeb2658ea
fixes from review
8 years ago
Ethan Buchman
31bdda27ad
Query: LastHeight -> Height :)
8 years ago
Ethan Buchman
b6afa8d85b
Query: Height -> LastHeight
8 years ago
Jae Kwon
2a4894310d
Remove Proof message, replace with more flexible Query
8 years ago
Ethan Frey
fdc047ae7a
Proof uses uint64 for blockHeight
8 years ago
Ethan Frey
cfc3f24751
Everything compiles, test proof in dummy app
8 years ago
Ethan Frey
58ea995032
Begin adding proof calls
8 years ago
Tzu-Jung Lee
9134905f42
cleanup: replace common.Exit with log.Crit or log.Fatal
Later we can pick another logger that has fatal, like zap?
8 years ago
Tzu-Jung Lee
1150bbfe36
lint: s/common.Fmt/fmt.Sprintf
8 years ago
Tzu-Jung Lee
fcaa545e1e
lint: remove dot import (go-common)
Spell out the package explicitly.
This commit is totally textual, and does not change any logic.
The swiss-army knife package may serve a kick-start in early
stage development. But as the codebase growing, we might want
to retire it gradually:
For simple wrapping functions, just inline it on the call site.
For larger pice of code, make it an independent package.
8 years ago
Ethan Buchman
42b7bfbf0c
update version and glide
8 years ago
Ethan Buchman
5189a2248d
TMSP -> ABCI
8 years ago