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
Ethan Buchman
80f377135b
AppendTx -> DeliverTx
8 years ago
Jae Kwon
8b76f3dd00
Make fields in ResponseInfo be flat
8 years ago
Ethan Buchman
e6b9a2b6aa
response struct and persistent args
8 years ago
rigelrozanski
81b2697cce
fix console exit, closes #35
8 years ago
Matt Bell
cd6fa3018c
Return errors from cmd functions instead of printing
8 years ago
Matt Bell
86a6deba3f
Remove debug printing
8 years ago
Matt Bell
e748127b7f
Don't include quotes in quoted string args
8 years ago
Matt Bell
115e6939d0
Require quotes or 0x<hex> for string args
8 years ago
Jae Kwon
c5f008d60f
Fix TMSP tutorial outputs
8 years ago
Ethan Buchman
debbf122db
add version/block/config to Info. add header to BeginBlock
8 years ago
Ethan Buchman
ab98bffbb1
codegangsta => urfave
8 years ago
Ethan Buchman
538862321a
bump version
8 years ago
Ethan Frey
dcd4ab5cd2
Make console more robust to typos
8 years ago
Ethan Buchman
a263323d5c
update readme. --verbose makes batch look like console
9 years ago