Ethan Buchman
c7f54fb56c
everything takes Request, returns Response; expect DeliverTx/CheckTx/Commit
2017-11-27 19:04:21 +00:00
Anton Kaliaev
0176a834d1
refactor code
2017-11-22 19:37:51 -06:00
Anton Kaliaev
f01f2bbf3a
DeliverTxSync/CheckTxSync/CommitSync now return error as well
2017-11-22 17:34:00 -06:00
Anton Kaliaev
f6a79dd7c5
add interface assertions for all clients
2017-11-21 17:50:06 -06:00
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.
2017-11-21 17:44:13 -06:00
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.
2017-10-17 22:08:22 -06:00
Ethan Buchman
667c2543ea
use request struct for Info
2017-09-22 11:10:55 -04:00
Zach Ramsay
36e96c5bf1
linting: catch some errors
2017-09-22 09:14:25 -04:00
Zach Ramsay
6a378d30f3
linting: cover the basics
2017-09-22 09:14:25 -04:00
Ethan Buchman
f279171a28
use request structs for InitChain and BeginBlock
2017-09-18 15:51:48 -04:00
Ethan Buchman
eda4f2dddc
NewXXXClient doesnt run Start or return error
2017-05-15 11:29:34 -04:00
Anton Kaliaev
1dc3629b1a
update log interface
2017-05-04 23:17:16 +04:00
Anton Kaliaev
986bdd00a5
new logging
2017-05-04 16:49:59 +04:00
Ethan Buchman
28d042fdae
use tmlibs
2017-04-21 18:25:13 -04:00
Jae Kwon
8df0bc3a40
Merge branch 'abci_proof' into develop
2017-01-27 22:27:32 -08:00
Jae Kwon
2a4894310d
Remove Proof message, replace with more flexible Query
2017-01-27 10:35:27 -08:00
Jae Kwon
9745f07bee
common -> cmn
2017-01-23 20:26:17 -08:00
Ethan Frey
fdc047ae7a
Proof uses uint64 for blockHeight
2017-01-17 17:22:34 +01:00
Ethan Frey
cfc3f24751
Everything compiles, test proof in dummy app
2017-01-17 15:44:41 +01:00
Ethan Frey
58ea995032
Begin adding proof calls
2017-01-17 15:42:54 +01:00
Tzu-Jung Lee
55cb08722d
lint: s/+=1/++, remove else clauses
2017-01-17 00:30:36 -08:00
Tzu-Jung Lee
1150bbfe36
lint: s/common.Fmt/fmt.Sprintf
2017-01-16 23:20:04 -08:00
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.
2017-01-16 23:20:04 -08:00
Tzu-Jung Lee
aae3c91e88
fmt: run 'make fmt'
2017-01-16 22:03:27 -08:00
Ethan Buchman
5189a2248d
TMSP -> ABCI
2017-01-12 16:04:32 -05:00
Ethan Buchman
80f377135b
AppendTx -> DeliverTx
2017-01-12 15:27:08 -05:00
Jae Kwon
f8167872d8
EndBlock also returns ResponseEndBlock
2017-01-12 14:50:41 -05:00
Jae Kwon
8b76f3dd00
Make fields in ResponseInfo be flat
2017-01-12 14:50:41 -05:00
Ethan Buchman
ddb2b01631
BeginBlock(hash, header)
2016-11-16 13:32:18 -05:00
Ethan Buchman
debbf122db
add version/block/config to Info. add header to BeginBlock
2016-11-16 13:32:01 -05:00
Ethan Buchman
6aa85b642e
BeginBlock
2016-11-15 14:39:13 -05:00
Jae Kwon
7998ba668a
QuitService->BaseService
2016-11-15 14:39:13 -05:00
Ethan Buchman
42e4f4693c
client: safe error handling
2016-09-08 21:41:35 -04:00
Ethan Buchman
1b13f14e08
consolidate example tests; grpc fail fast
2016-08-15 15:04:32 -04:00
Ethan Buchman
a8066f9c82
return error if not running
2016-08-10 19:35:54 -04:00
Ethan Buchman
d3bdb49aae
remote_client -> socket_client; use logger
2016-08-10 19:35:50 -04:00