Jae Kwon
4e02184676
Remove pkg/errors; Update Gopkg.toml, but not GRPC because it breaks.
7 years ago
Anton Kaliaev
5913ae8960
Quit method was added to Service/BaseService
Refs https://github.com/tendermint/tendermint/issues/1205
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
5d2838ebab
fix from review
7 years ago
Ethan Buchman
10031f57d5
fix grpc version; add log_level and some logging
7 years ago
Ethan Buchman
42a8e3240c
remove CodeType
7 years ago
Ethan Buchman
bb141794c8
client: use vars for retry intervals
7 years ago
Ethan Buchman
5a46675185
minor things
7 years ago
Ethan Buchman
c7f54fb56c
everything takes Request, returns Response; expect DeliverTx/CheckTx/Commit
7 years ago
Anton Kaliaev
0176a834d1
refactor code
7 years ago
Anton Kaliaev
cbf347e2aa
add comment for Client interface [ci skip]
7 years ago
Anton Kaliaev
f01f2bbf3a
DeliverTxSync/CheckTxSync/CommitSync now return error as well
7 years ago
Anton Kaliaev
f6a79dd7c5
add interface assertions for all clients
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
3a3d508e5c
CheckTx and DeliverTx return ResponseCheckTx and ResponseDeliverTx respectively
Commit now returns ResponseCommit
7 years ago
Anton Kaliaev
fc7db13fa8
remove tags from CheckTx
add value_type field to KVPair
7 years ago
Anton Kaliaev
bb0d7e9526
add tags field to DeliverTx and CheckTx
7 years ago
Emmanuel Odeke
46d94f8325
socketClient: fix and test for StopForError deadlock
Fixes https://github.com/tendermint/abci/issues/114 .
Fix and test for StopForError deadlock due to accidental
Mutex misuse. The test should return instantenously if
StopForError works without erraneous contention, lest it regressed.
7 years ago
Ethan Buchman
667c2543ea
use request struct for Info
7 years ago
Zach Ramsay
36e96c5bf1
linting: catch some errors
7 years ago
Zach Ramsay
6a378d30f3
linting: cover the basics
7 years ago
Ethan Buchman
f279171a28
use request structs for InitChain and BeginBlock
7 years ago
Ethan Buchman
eda4f2dddc
NewXXXClient doesnt run Start or return error
8 years ago
Anton Kaliaev
1dc3629b1a
update log interface
8 years ago
Anton Kaliaev
986bdd00a5
new logging
8 years ago
Ethan Buchman
28d042fdae
use tmlibs
8 years ago
Ethan Buchman
b025c13f67
drop BlockchainAware
8 years ago
Jae Kwon
2a4894310d
Remove Proof message, replace with more flexible Query
8 years ago
Jae Kwon
9745f07bee
common -> cmn
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
55cb08722d
lint: s/+=1/++, remove else clauses
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
Tzu-Jung Lee
aae3c91e88
fmt: run 'make fmt'
8 years ago
Ethan Buchman
5189a2248d
TMSP -> ABCI
8 years ago
Ethan Buchman
80f377135b
AppendTx -> DeliverTx
8 years ago
Jae Kwon
f8167872d8
EndBlock also returns ResponseEndBlock
8 years ago
Jae Kwon
8b76f3dd00
Make fields in ResponseInfo be flat
8 years ago
Ethan Buchman
ddb2b01631
BeginBlock(hash, header)
8 years ago
Ethan Buchman
7901825ad9
persistent dummy
8 years ago
Ethan Buchman
debbf122db
add version/block/config to Info. add header to BeginBlock
8 years ago
Ethan Buchman
6aa85b642e
BeginBlock
8 years ago
Jae Kwon
7998ba668a
QuitService->BaseService
8 years ago
Ethan Buchman
42e4f4693c
client: safe error handling
8 years ago
Ethan Buchman
3329868a1d
grpc fix
8 years ago
Ethan Buchman
83920a1c37
fixes from review
8 years ago
Ethan Buchman
1b13f14e08
consolidate example tests; grpc fail fast
8 years ago
Ethan Buchman
a8066f9c82
return error if not running
8 years ago