Ethan Buchman
bb141794c8
client: use vars for retry intervals
7 years ago
Ethan Buchman
c7f54fb56c
everything takes Request, returns Response; expect DeliverTx/CheckTx/Commit
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
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
Ethan Buchman
667c2543ea
use request struct for Info
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
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
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
1b13f14e08
consolidate example tests; grpc fail fast
9 years ago
Ethan Buchman
1ab3c74718
silly grpc client
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
Ethan Buchman
f23822bf55
export NewReqRes
9 years ago
Jae Kwon
b2bd661a61
s/TMSPClient/Client/g
9 years ago
Jae Kwon
90e38f08f4
Added counter test written in Golang
9 years ago
Jae Kwon
88fcacac7a
s/GetHash/Commit/g
9 years ago
Jae Kwon
adf0392e56
Callbacks for ReqRes
9 years ago
Jae Kwon
2d5e1e8340
Callbacks for ReqRes
9 years ago
Jae Kwon
69e587f57f
Use protobuf enums for RetCode. s/RetCode/CodeType/g
9 years ago
Jae Kwon
012abc437b
Use protobuf enums
9 years ago
Jae Kwon
028cc4aa06
Query returns Code
9 years ago
Jae Kwon
2936c68339
Convert TMSP to use Protobuf
9 years ago
Jae Kwon
9696a71f6e
Log not error; Remove Listener TMSP messages...; Make counter BigEndian
9 years ago
Jae Kwon
e2426d2944
Start TMSPClient automatically
9 years ago
Jae Kwon
8ae0a0a481
Add Query; Add TMSPClient
9 years ago