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
Ethan Buchman
d3bdb49aae
remote_client -> socket_client; use logger
8 years ago
Ethan Buchman
49a67aee8a
add circle.yml. disable js test
8 years ago
Ethan Buchman
732634112b
run grpc finishAsyncCall in go routine
8 years ago
Ethan Buchman
2c21c7be89
call reqRes.SetDone in grpc client
9 years ago
Ethan Buchman
516a929e5f
some cleanup
9 years ago
Ethan Buchman
1ab3c74718
silly grpc client
9 years ago
Ethan Buchman
c3cc5375be
ignore mustConnect for now. fix test_counter
9 years ago