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
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
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
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
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
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
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
Ethan Buchman
5dc7bee57b
Responses/Requests -> Value
9 years ago
Ethan Buchman
35f4f0e271
use real protobuf message types
9 years ago
Jae Kwon
82a411fca5
New TMSP message BeginBlock
9 years ago
Jae Kwon
062c33c109
TMSP Client is an interface
9 years ago
Jae Kwon
83fc4fc3b6
Allow late connecting
9 years ago
Jae Kwon
6785b9a3b6
CommitSync returns tmsp.Result
9 years ago
Jae Kwon
61c34ade0d
Remove BeginBlock
9 years ago
Jae Kwon
36c25f242f
s/InitValidators/InitChain/g, s/SyncValidators/EndBlock/g, added BeginBlock
9 years ago
Jae Kwon
dcabdad9b9
Implement Init/Sync Validators
9 years ago