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
parent
commit
45ddd67bd6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 2 deletions
  1. +1
    -0
      CHANGELOG_PENDING.md
  2. +1
    -0
      rpc/client/interface.go
  3. +1
    -0
      rpc/client/mock/client.go
  4. +2
    -2
      types/vote.go

+ 1
- 0
CHANGELOG_PENDING.md View File

@ -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:


+ 1
- 0
rpc/client/interface.go View File

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


+ 1
- 0
rpc/client/mock/client.go View File

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


+ 2
- 2
types/vote.go View File

@ -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 (


Loading…
Cancel
Save