Commit Graph

31 Commits

Author SHA1 Message Date
Ethan Buchman c7f54fb56c everything takes Request, returns Response; expect DeliverTx/CheckTx/Commit 2017-11-27 19:04:21 +00: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
Anton Kaliaev 3a3d508e5c
CheckTx and DeliverTx return ResponseCheckTx and ResponseDeliverTx respectively
Commit now returns ResponseCommit
2017-11-20 20:36:42 -06:00
Anton Kaliaev fc7db13fa8
remove tags from CheckTx
add value_type field to KVPair
2017-11-20 18:21:59 -06:00
Anton Kaliaev bb0d7e9526
add tags field to DeliverTx and CheckTx 2017-11-20 16:56:57 -06:00
Ethan Buchman 667c2543ea use request struct for Info 2017-09-22 11:10:55 -04:00
Ethan Buchman f279171a28 use request structs for InitChain and BeginBlock 2017-09-18 15:51:48 -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
Ethan Buchman b025c13f67 drop BlockchainAware 2017-02-06 19:20:02 -05: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 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 83920a1c37 fixes from review 2016-08-17 23:27:49 -04:00
Ethan Buchman 1b13f14e08 consolidate example tests; grpc fail fast 2016-08-15 15:04:32 -04:00
Ethan Buchman 35f4f0e271 use real protobuf message types 2016-05-14 02:22:32 -04:00
Jae Kwon 82a411fca5 New TMSP message BeginBlock 2016-03-26 22:35:23 -07:00
Jae Kwon 062c33c109 TMSP Client is an interface 2016-03-24 10:42:25 -07:00