add client methods

This commit is contained in:
Anton Kaliaev
2017-11-29 15:19:44 -06:00
parent 1e19860585
commit acbc0717d4
6 changed files with 67 additions and 4 deletions
+1
View File
@@ -50,6 +50,7 @@ type SignClient interface {
Commit(height *int) (*ctypes.ResultCommit, error)
Validators(height *int) (*ctypes.ResultValidators, error)
Tx(hash []byte, prove bool) (*ctypes.ResultTx, error)
TxSearch(query string, prove bool) ([]*ctypes.ResultTx, error)
}
// HistoryClient shows us data from genesis to now in large chunks.