Browse Source
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
pull/3994/head
Marko
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
5 additions and
2 deletions
CHANGELOG_PENDING.md
rpc/client/interface.go
rpc/client/mock/client.go
types/vote.go
@ -20,6 +20,7 @@ program](https://hackerone.com/tendermint).
### IMPROVEMENTS:
- [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:
@ -39,6 +39,7 @@ type Client interface {
SignClient
StatusClient
EvidenceClient
MempoolClient
}
// ABCIClient groups together the functionality that principally affects the
@ -37,6 +37,7 @@ type Client struct {
client . StatusClient
client . EventsClient
client . EvidenceClient
client . MempoolClient
cmn . Service
}
@ -12,8 +12,8 @@ import (
const (
// MaxVoteBytes is a maximum vote size (including amino overhead).
MaxVoteBytes int64 = 223
nilVoteStr = "nil-Vote"
MaxVoteBytes int64 = 223
nilVoteStr string = "nil-Vote"
)
var (