Add MempoolClient to Client Interface (#3987)

* Add MempoolClient to Client Interface

closes #3984

- add mempoolclient interface to client interface

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* Update CHANGELOG_PENDING.md

* add golang-ci version
This commit is contained in:
Marko 2019-09-16 11:26:13 +02:00 committed by GitHub
parent 522a849ba9
commit 45ddd67bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 2 deletions

View File

@ -20,6 +20,7 @@ program](https://hackerone.com/tendermint).
### IMPROVEMENTS: ### IMPROVEMENTS:
- [rpc] \#2010 Add NewHTTPWithClient and NewJSONRPCClientWithHTTPClient (note these and NewHTTP, NewJSONRPCClient functions panic if remote is invalid) (@gracenoah) - [rpc] \#2010 Add NewHTTPWithClient and NewJSONRPCClientWithHTTPClient (note these and NewHTTP, NewJSONRPCClient functions panic if remote is invalid) (@gracenoah)
- [rpc] \#3984 Add `MempoolClient` interface to `Client` interface
### BUG FIXES: ### BUG FIXES:

View File

@ -39,6 +39,7 @@ type Client interface {
SignClient SignClient
StatusClient StatusClient
EvidenceClient EvidenceClient
MempoolClient
} }
// ABCIClient groups together the functionality that principally affects the // ABCIClient groups together the functionality that principally affects the

View File

@ -37,6 +37,7 @@ type Client struct {
client.StatusClient client.StatusClient
client.EventsClient client.EventsClient
client.EvidenceClient client.EvidenceClient
client.MempoolClient
cmn.Service cmn.Service
} }

View File

@ -13,7 +13,7 @@ import (
const ( const (
// MaxVoteBytes is a maximum vote size (including amino overhead). // MaxVoteBytes is a maximum vote size (including amino overhead).
MaxVoteBytes int64 = 223 MaxVoteBytes int64 = 223
nilVoteStr = "nil-Vote" nilVoteStr string = "nil-Vote"
) )
var ( var (