proto3

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2019 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

Package proto3 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto3 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto3 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto3 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthNetwork = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNetwork   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTransaction = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTransaction   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterBlockChainHandler added in v0.5.0

func RegisterBlockChainHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBlockChainHandler registers the http handlers for service BlockChain to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBlockChainHandlerClient added in v0.5.0

func RegisterBlockChainHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BlockChainClient) error

RegisterBlockChainHandlerClient registers the http handlers for service BlockChain to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BlockChainClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BlockChainClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BlockChainClient" to call the correct interceptors.

func RegisterBlockChainHandlerFromEndpoint added in v0.5.0

func RegisterBlockChainHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterBlockChainHandlerFromEndpoint is same as RegisterBlockChainHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterBlockChainServer

func RegisterBlockChainServer(s *grpc.Server, srv BlockChainServer)

func RegisterEventsHandler added in v0.5.0

func RegisterEventsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterEventsHandler registers the http handlers for service Events to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterEventsHandlerClient added in v0.5.0

func RegisterEventsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventsClient) error

RegisterEventsHandlerClient registers the http handlers for service Events to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EventsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EventsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EventsClient" to call the correct interceptors.

func RegisterEventsHandlerFromEndpoint added in v0.5.0

func RegisterEventsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterEventsHandlerFromEndpoint is same as RegisterEventsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterEventsServer added in v0.5.0

func RegisterEventsServer(s *grpc.Server, srv EventsServer)

func RegisterNetworkHandler added in v0.5.0

func RegisterNetworkHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterNetworkHandler registers the http handlers for service Network to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterNetworkHandlerClient added in v0.5.0

func RegisterNetworkHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NetworkClient) error

RegisterNetworkHandlerClient registers the http handlers for service Network to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NetworkClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NetworkClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NetworkClient" to call the correct interceptors.

func RegisterNetworkHandlerFromEndpoint added in v0.5.0

func RegisterNetworkHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterNetworkHandlerFromEndpoint is same as RegisterNetworkHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterNetworkServer

func RegisterNetworkServer(s *grpc.Server, srv NetworkServer)

func RegisterTransactionHandler added in v0.5.0

func RegisterTransactionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterTransactionHandler registers the http handlers for service Transaction to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterTransactionHandlerClient added in v0.5.0

func RegisterTransactionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TransactionClient) error

RegisterTransactionHandlerClient registers the http handlers for service Transaction to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TransactionClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TransactionClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TransactionClient" to call the correct interceptors.

func RegisterTransactionHandlerFromEndpoint added in v0.5.0

func RegisterTransactionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTransactionHandlerFromEndpoint is same as RegisterTransactionHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTransactionServer

func RegisterTransactionServer(s *grpc.Server, srv TransactionServer)

Types

type AccountResponse

type AccountResponse struct {
	Account              *github_com_gallactic_gallactic_core_account.Account `protobuf:"bytes,1,opt,name=Account,customtype=github.com/gallactic/gallactic/core/account.Account" json:"Account,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                             `json:"-"`
	XXX_unrecognized     []byte                                               `json:"-"`
	XXX_sizecache        int32                                                `json:"-"`
}

func (*AccountResponse) Descriptor

func (*AccountResponse) Descriptor() ([]byte, []int)

func (*AccountResponse) ProtoMessage

func (*AccountResponse) ProtoMessage()

func (*AccountResponse) Reset

func (m *AccountResponse) Reset()

func (*AccountResponse) Size

func (m *AccountResponse) Size() (n int)

func (*AccountResponse) String

func (m *AccountResponse) String() string

func (*AccountResponse) XXX_DiscardUnknown

func (m *AccountResponse) XXX_DiscardUnknown()

func (*AccountResponse) XXX_Marshal

func (m *AccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountResponse) XXX_Merge

func (dst *AccountResponse) XXX_Merge(src proto.Message)

func (*AccountResponse) XXX_MessageName

func (*AccountResponse) XXX_MessageName() string

func (*AccountResponse) XXX_Size

func (m *AccountResponse) XXX_Size() int

func (*AccountResponse) XXX_Unmarshal

func (m *AccountResponse) XXX_Unmarshal(b []byte) error

type AccountsResponse

type AccountsResponse struct {
	BlockHeight          uint64             `protobuf:"varint,1,opt,name=BlockHeight,proto3" json:"BlockHeight,omitempty"`
	Accounts             []*AccountResponse `protobuf:"bytes,2,rep,name=Accounts" json:"Accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*AccountsResponse) Descriptor

func (*AccountsResponse) Descriptor() ([]byte, []int)

func (*AccountsResponse) GetAccounts

func (m *AccountsResponse) GetAccounts() []*AccountResponse

func (*AccountsResponse) GetBlockHeight

func (m *AccountsResponse) GetBlockHeight() uint64

func (*AccountsResponse) ProtoMessage

func (*AccountsResponse) ProtoMessage()

func (*AccountsResponse) Reset

func (m *AccountsResponse) Reset()

func (*AccountsResponse) Size

func (m *AccountsResponse) Size() (n int)

func (*AccountsResponse) String

func (m *AccountsResponse) String() string

func (*AccountsResponse) XXX_DiscardUnknown

func (m *AccountsResponse) XXX_DiscardUnknown()

func (*AccountsResponse) XXX_Marshal

func (m *AccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountsResponse) XXX_Merge

func (dst *AccountsResponse) XXX_Merge(src proto.Message)

func (*AccountsResponse) XXX_MessageName

func (*AccountsResponse) XXX_MessageName() string

func (*AccountsResponse) XXX_Size

func (m *AccountsResponse) XXX_Size() int

func (*AccountsResponse) XXX_Unmarshal

func (m *AccountsResponse) XXX_Unmarshal(b []byte) error

type AddressRequest

type AddressRequest struct {
	Address              string   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddressRequest) Descriptor

func (*AddressRequest) Descriptor() ([]byte, []int)

func (*AddressRequest) GetAddress added in v0.5.0

func (m *AddressRequest) GetAddress() string

func (*AddressRequest) ProtoMessage

func (*AddressRequest) ProtoMessage()

func (*AddressRequest) Reset

func (m *AddressRequest) Reset()

func (*AddressRequest) Size

func (m *AddressRequest) Size() (n int)

func (*AddressRequest) String

func (m *AddressRequest) String() string

func (*AddressRequest) XXX_DiscardUnknown

func (m *AddressRequest) XXX_DiscardUnknown()

func (*AddressRequest) XXX_Marshal

func (m *AddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddressRequest) XXX_Merge

func (dst *AddressRequest) XXX_Merge(src proto.Message)

func (*AddressRequest) XXX_MessageName

func (*AddressRequest) XXX_MessageName() string

func (*AddressRequest) XXX_Size

func (m *AddressRequest) XXX_Size() int

func (*AddressRequest) XXX_Unmarshal

func (m *AddressRequest) XXX_Unmarshal(b []byte) error

type BlockChainClient

type BlockChainClient interface {
	GetAccount(ctx context.Context, in *AddressRequest, opts ...grpc.CallOption) (*AccountResponse, error)
	GetAccounts(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*AccountsResponse, error)
	GetStorage(ctx context.Context, in *StorageRequest, opts ...grpc.CallOption) (*StorageResponse, error)
	GetStorageAt(ctx context.Context, in *StorageAtRequest, opts ...grpc.CallOption) (*StorageAtResponse, error)
	GetValidator(ctx context.Context, in *AddressRequest, opts ...grpc.CallOption) (*ValidatorResponse, error)
	GetValidators(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ValidatorsResponse, error)
	GetStatus(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StatusResponse, error)
	GetGenesis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GenesisResponse, error)
	GetChainID(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ChainResponse, error)
	GetLatestBlock(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BlockResponse, error)
	GetConsensusState(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ConsensusResponse, error)
	GetBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockResponse, error)
	GetBlocks(ctx context.Context, in *BlocksRequest, opts ...grpc.CallOption) (*BlocksResponse, error)
	GetBlockchainInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BlockchainInfoResponse, error)
	GetTx(ctx context.Context, in *TxRequest, opts ...grpc.CallOption) (*TxResponse, error)
	GetBlockTxs(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockTxsResponse, error)
}

BlockChainClient is the client API for BlockChain service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBlockChainClient

func NewBlockChainClient(cc *grpc.ClientConn) BlockChainClient

type BlockChainServer

BlockChainServer is the server API for BlockChain service.

type BlockInfo added in v0.5.0

type BlockInfo struct {
	Header               HeaderInfo     `protobuf:"bytes,1,opt,name=header" json:"header"`
	LastCommitInfo       CommitInfo     `protobuf:"bytes,2,opt,name=last_commit_info,json=lastCommitInfo" json:"last_commit_info"`
	ByzantineValidators  []EvidenceInfo `protobuf:"bytes,3,rep,name=byzantine_validators,json=byzantineValidators" json:"byzantine_validators"`
	Txs                  []TxInfo       `protobuf:"bytes,4,rep,name=Txs" json:"Txs"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*BlockInfo) Descriptor added in v0.5.0

func (*BlockInfo) Descriptor() ([]byte, []int)

func (*BlockInfo) GetByzantineValidators added in v0.5.0

func (m *BlockInfo) GetByzantineValidators() []EvidenceInfo

func (*BlockInfo) GetHeader added in v0.5.0

func (m *BlockInfo) GetHeader() HeaderInfo

func (*BlockInfo) GetLastCommitInfo added in v0.5.0

func (m *BlockInfo) GetLastCommitInfo() CommitInfo

func (*BlockInfo) GetTxs added in v0.5.0

func (m *BlockInfo) GetTxs() []TxInfo

func (*BlockInfo) ProtoMessage added in v0.5.0

func (*BlockInfo) ProtoMessage()

func (*BlockInfo) Reset added in v0.5.0

func (m *BlockInfo) Reset()

func (*BlockInfo) Size added in v0.5.0

func (m *BlockInfo) Size() (n int)

func (*BlockInfo) String added in v0.5.0

func (m *BlockInfo) String() string

func (*BlockInfo) XXX_DiscardUnknown added in v0.5.0

func (m *BlockInfo) XXX_DiscardUnknown()

func (*BlockInfo) XXX_Marshal added in v0.5.0

func (m *BlockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockInfo) XXX_Merge added in v0.5.0

func (dst *BlockInfo) XXX_Merge(src proto.Message)

func (*BlockInfo) XXX_MessageName added in v0.5.0

func (*BlockInfo) XXX_MessageName() string

func (*BlockInfo) XXX_Size added in v0.5.0

func (m *BlockInfo) XXX_Size() int

func (*BlockInfo) XXX_Unmarshal added in v0.5.0

func (m *BlockInfo) XXX_Unmarshal(b []byte) error

type BlockRequest

type BlockRequest struct {
	Height               uint64   `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockRequest) Descriptor

func (*BlockRequest) Descriptor() ([]byte, []int)

func (*BlockRequest) GetHeight

func (m *BlockRequest) GetHeight() uint64

func (*BlockRequest) ProtoMessage

func (*BlockRequest) ProtoMessage()

func (*BlockRequest) Reset

func (m *BlockRequest) Reset()

func (*BlockRequest) Size

func (m *BlockRequest) Size() (n int)

func (*BlockRequest) String

func (m *BlockRequest) String() string

func (*BlockRequest) XXX_DiscardUnknown

func (m *BlockRequest) XXX_DiscardUnknown()

func (*BlockRequest) XXX_Marshal

func (m *BlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockRequest) XXX_Merge

func (dst *BlockRequest) XXX_Merge(src proto.Message)

func (*BlockRequest) XXX_MessageName

func (*BlockRequest) XXX_MessageName() string

func (*BlockRequest) XXX_Size

func (m *BlockRequest) XXX_Size() int

func (*BlockRequest) XXX_Unmarshal

func (m *BlockRequest) XXX_Unmarshal(b []byte) error

type BlockResponse

type BlockResponse struct {
	Block                *BlockInfo `protobuf:"bytes,1,opt,name=Block" json:"Block,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*BlockResponse) Descriptor

func (*BlockResponse) Descriptor() ([]byte, []int)

func (*BlockResponse) GetBlock added in v0.5.0

func (m *BlockResponse) GetBlock() *BlockInfo

func (*BlockResponse) ProtoMessage

func (*BlockResponse) ProtoMessage()

func (*BlockResponse) Reset

func (m *BlockResponse) Reset()

func (*BlockResponse) Size

func (m *BlockResponse) Size() (n int)

func (*BlockResponse) String

func (m *BlockResponse) String() string

func (*BlockResponse) XXX_DiscardUnknown

func (m *BlockResponse) XXX_DiscardUnknown()

func (*BlockResponse) XXX_Marshal

func (m *BlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockResponse) XXX_Merge

func (dst *BlockResponse) XXX_Merge(src proto.Message)

func (*BlockResponse) XXX_MessageName

func (*BlockResponse) XXX_MessageName() string

func (*BlockResponse) XXX_Size

func (m *BlockResponse) XXX_Size() int

func (*BlockResponse) XXX_Unmarshal

func (m *BlockResponse) XXX_Unmarshal(b []byte) error

type BlockTxsResponse

type BlockTxsResponse struct {
	Count                int32    `protobuf:"varint,1,opt,name=Count,proto3" json:"Count,omitempty"`
	Txs                  []TxInfo `protobuf:"bytes,2,rep,name=Txs" json:"Txs"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockTxsResponse) Descriptor

func (*BlockTxsResponse) Descriptor() ([]byte, []int)

func (*BlockTxsResponse) GetCount

func (m *BlockTxsResponse) GetCount() int32

func (*BlockTxsResponse) GetTxs added in v0.5.0

func (m *BlockTxsResponse) GetTxs() []TxInfo

func (*BlockTxsResponse) ProtoMessage

func (*BlockTxsResponse) ProtoMessage()

func (*BlockTxsResponse) Reset

func (m *BlockTxsResponse) Reset()

func (*BlockTxsResponse) Size

func (m *BlockTxsResponse) Size() (n int)

func (*BlockTxsResponse) String

func (m *BlockTxsResponse) String() string

func (*BlockTxsResponse) XXX_DiscardUnknown

func (m *BlockTxsResponse) XXX_DiscardUnknown()

func (*BlockTxsResponse) XXX_Marshal

func (m *BlockTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockTxsResponse) XXX_Merge

func (dst *BlockTxsResponse) XXX_Merge(src proto.Message)

func (*BlockTxsResponse) XXX_MessageName

func (*BlockTxsResponse) XXX_MessageName() string

func (*BlockTxsResponse) XXX_Size

func (m *BlockTxsResponse) XXX_Size() int

func (*BlockTxsResponse) XXX_Unmarshal

func (m *BlockTxsResponse) XXX_Unmarshal(b []byte) error

type BlockchainInfoResponse added in v0.5.0

type BlockchainInfoResponse struct {
	LastBlockHeight      uint64                                                `protobuf:"varint,1,opt,name=LastBlockHeight,proto3" json:"LastBlockHeight,omitempty"`
	LastBlockTime        time.Time                                             `protobuf:"bytes,2,opt,name=LastBlockTime,stdtime" json:"LastBlockTime"`
	LastBlockHash        github_com_gallactic_gallactic_common_binary.HexBytes `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

func (*BlockchainInfoResponse) Descriptor added in v0.5.0

func (*BlockchainInfoResponse) Descriptor() ([]byte, []int)

func (*BlockchainInfoResponse) GetLastBlockHeight added in v0.5.0

func (m *BlockchainInfoResponse) GetLastBlockHeight() uint64

func (*BlockchainInfoResponse) GetLastBlockTime added in v0.5.0

func (m *BlockchainInfoResponse) GetLastBlockTime() time.Time

func (*BlockchainInfoResponse) ProtoMessage added in v0.5.0

func (*BlockchainInfoResponse) ProtoMessage()

func (*BlockchainInfoResponse) Reset added in v0.5.0

func (m *BlockchainInfoResponse) Reset()

func (*BlockchainInfoResponse) Size added in v0.5.0

func (m *BlockchainInfoResponse) Size() (n int)

func (*BlockchainInfoResponse) String added in v0.5.0

func (m *BlockchainInfoResponse) String() string

func (*BlockchainInfoResponse) XXX_DiscardUnknown added in v0.5.0

func (m *BlockchainInfoResponse) XXX_DiscardUnknown()

func (*BlockchainInfoResponse) XXX_Marshal added in v0.5.0

func (m *BlockchainInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockchainInfoResponse) XXX_Merge added in v0.5.0

func (dst *BlockchainInfoResponse) XXX_Merge(src proto.Message)

func (*BlockchainInfoResponse) XXX_MessageName added in v0.5.0

func (*BlockchainInfoResponse) XXX_MessageName() string

func (*BlockchainInfoResponse) XXX_Size added in v0.5.0

func (m *BlockchainInfoResponse) XXX_Size() int

func (*BlockchainInfoResponse) XXX_Unmarshal added in v0.5.0

func (m *BlockchainInfoResponse) XXX_Unmarshal(b []byte) error

type BlocksRequest

type BlocksRequest struct {
	MinHeight            uint64   `protobuf:"varint,1,opt,name=minHeight,proto3" json:"minHeight,omitempty"`
	MaxHeight            uint64   `protobuf:"varint,2,opt,name=maxHeight,proto3" json:"maxHeight,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlocksRequest) Descriptor

func (*BlocksRequest) Descriptor() ([]byte, []int)

func (*BlocksRequest) GetMaxHeight

func (m *BlocksRequest) GetMaxHeight() uint64

func (*BlocksRequest) GetMinHeight

func (m *BlocksRequest) GetMinHeight() uint64

func (*BlocksRequest) ProtoMessage

func (*BlocksRequest) ProtoMessage()

func (*BlocksRequest) Reset

func (m *BlocksRequest) Reset()

func (*BlocksRequest) Size

func (m *BlocksRequest) Size() (n int)

func (*BlocksRequest) String

func (m *BlocksRequest) String() string

func (*BlocksRequest) XXX_DiscardUnknown

func (m *BlocksRequest) XXX_DiscardUnknown()

func (*BlocksRequest) XXX_Marshal

func (m *BlocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlocksRequest) XXX_Merge

func (dst *BlocksRequest) XXX_Merge(src proto.Message)

func (*BlocksRequest) XXX_MessageName

func (*BlocksRequest) XXX_MessageName() string

func (*BlocksRequest) XXX_Size

func (m *BlocksRequest) XXX_Size() int

func (*BlocksRequest) XXX_Unmarshal

func (m *BlocksRequest) XXX_Unmarshal(b []byte) error

type BlocksResponse

type BlocksResponse struct {
	Blocks               []BlockInfo `protobuf:"bytes,1,rep,name=Blocks" json:"Blocks"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*BlocksResponse) Descriptor

func (*BlocksResponse) Descriptor() ([]byte, []int)

func (*BlocksResponse) GetBlocks added in v0.5.0

func (m *BlocksResponse) GetBlocks() []BlockInfo

func (*BlocksResponse) ProtoMessage

func (*BlocksResponse) ProtoMessage()

func (*BlocksResponse) Reset

func (m *BlocksResponse) Reset()

func (*BlocksResponse) Size

func (m *BlocksResponse) Size() (n int)

func (*BlocksResponse) String

func (m *BlocksResponse) String() string

func (*BlocksResponse) XXX_DiscardUnknown

func (m *BlocksResponse) XXX_DiscardUnknown()

func (*BlocksResponse) XXX_Marshal

func (m *BlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlocksResponse) XXX_Merge

func (dst *BlocksResponse) XXX_Merge(src proto.Message)

func (*BlocksResponse) XXX_MessageName

func (*BlocksResponse) XXX_MessageName() string

func (*BlocksResponse) XXX_Size

func (m *BlocksResponse) XXX_Size() int

func (*BlocksResponse) XXX_Unmarshal

func (m *BlocksResponse) XXX_Unmarshal(b []byte) error

type ChainResponse

type ChainResponse struct {
	ChainName            string                                                `protobuf:"bytes,1,opt,name=ChainName,proto3" json:"ChainName,omitempty"`
	ChainId              string                                                `protobuf:"bytes,2,opt,name=ChainId,proto3" json:"ChainId,omitempty"`
	GenesisHash          github_com_gallactic_gallactic_common_binary.HexBytes `` /* 130-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

func (*ChainResponse) Descriptor

func (*ChainResponse) Descriptor() ([]byte, []int)

func (*ChainResponse) GetChainId

func (m *ChainResponse) GetChainId() string

func (*ChainResponse) GetChainName

func (m *ChainResponse) GetChainName() string

func (*ChainResponse) ProtoMessage

func (*ChainResponse) ProtoMessage()

func (*ChainResponse) Reset

func (m *ChainResponse) Reset()

func (*ChainResponse) Size

func (m *ChainResponse) Size() (n int)

func (*ChainResponse) String

func (m *ChainResponse) String() string

func (*ChainResponse) XXX_DiscardUnknown

func (m *ChainResponse) XXX_DiscardUnknown()

func (*ChainResponse) XXX_Marshal

func (m *ChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainResponse) XXX_Merge

func (dst *ChainResponse) XXX_Merge(src proto.Message)

func (*ChainResponse) XXX_MessageName

func (*ChainResponse) XXX_MessageName() string

func (*ChainResponse) XXX_Size

func (m *ChainResponse) XXX_Size() int

func (*ChainResponse) XXX_Unmarshal

func (m *ChainResponse) XXX_Unmarshal(b []byte) error

type CommitInfo added in v0.5.0

type CommitInfo struct {
	BlockHash            github_com_gallactic_gallactic_common_binary.HexBytes `` /* 143-byte string literal not displayed */
	Votes                []*VoteInfo                                           `protobuf:"bytes,2,rep,name=votes" json:"votes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

func (*CommitInfo) Descriptor added in v0.5.0

func (*CommitInfo) Descriptor() ([]byte, []int)

func (*CommitInfo) GetVotes added in v0.5.0

func (m *CommitInfo) GetVotes() []*VoteInfo

func (*CommitInfo) ProtoMessage added in v0.5.0

func (*CommitInfo) ProtoMessage()

func (*CommitInfo) Reset added in v0.5.0

func (m *CommitInfo) Reset()

func (*CommitInfo) Size added in v0.5.0

func (m *CommitInfo) Size() (n int)

func (*CommitInfo) String added in v0.5.0

func (m *CommitInfo) String() string

func (*CommitInfo) XXX_DiscardUnknown added in v0.5.0

func (m *CommitInfo) XXX_DiscardUnknown()

func (*CommitInfo) XXX_Marshal added in v0.5.0

func (m *CommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommitInfo) XXX_Merge added in v0.5.0

func (dst *CommitInfo) XXX_Merge(src proto.Message)

func (*CommitInfo) XXX_MessageName added in v0.5.0

func (*CommitInfo) XXX_MessageName() string

func (*CommitInfo) XXX_Size added in v0.5.0

func (m *CommitInfo) XXX_Size() int

func (*CommitInfo) XXX_Unmarshal added in v0.5.0

func (m *CommitInfo) XXX_Unmarshal(b []byte) error

type ConsensusResponse

type ConsensusResponse struct {
	RoundState           github_com_tendermint_tendermint_consensus_types.RoundStateSimple `` /* 140-byte string literal not displayed */
	PeerRoundStates      []github_com_tendermint_tendermint_consensus_types.PeerRoundState `` /* 141-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                                          `json:"-"`
	XXX_unrecognized     []byte                                                            `json:"-"`
	XXX_sizecache        int32                                                             `json:"-"`
}

func (*ConsensusResponse) Descriptor

func (*ConsensusResponse) Descriptor() ([]byte, []int)

func (*ConsensusResponse) ProtoMessage

func (*ConsensusResponse) ProtoMessage()

func (*ConsensusResponse) Reset

func (m *ConsensusResponse) Reset()

func (*ConsensusResponse) Size

func (m *ConsensusResponse) Size() (n int)

func (*ConsensusResponse) String

func (m *ConsensusResponse) String() string

func (*ConsensusResponse) XXX_DiscardUnknown

func (m *ConsensusResponse) XXX_DiscardUnknown()

func (*ConsensusResponse) XXX_Marshal

func (m *ConsensusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsensusResponse) XXX_Merge

func (dst *ConsensusResponse) XXX_Merge(src proto.Message)

func (*ConsensusResponse) XXX_MessageName

func (*ConsensusResponse) XXX_MessageName() string

func (*ConsensusResponse) XXX_Size

func (m *ConsensusResponse) XXX_Size() int

func (*ConsensusResponse) XXX_Unmarshal

func (m *ConsensusResponse) XXX_Unmarshal(b []byte) error

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

func (*Empty) Descriptor() ([]byte, []int)

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) Size

func (m *Empty) Size() (n int)

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (dst *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_MessageName

func (*Empty) XXX_MessageName() string

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type Empty1

type Empty1 struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty1) Descriptor

func (*Empty1) Descriptor() ([]byte, []int)

func (*Empty1) Marshal

func (m *Empty1) Marshal() (dAtA []byte, err error)

func (*Empty1) MarshalTo

func (m *Empty1) MarshalTo(dAtA []byte) (int, error)

func (*Empty1) ProtoMessage

func (*Empty1) ProtoMessage()

func (*Empty1) Reset

func (m *Empty1) Reset()

func (*Empty1) Size

func (m *Empty1) Size() (n int)

func (*Empty1) String

func (m *Empty1) String() string

func (*Empty1) Unmarshal

func (m *Empty1) Unmarshal(dAtA []byte) error

func (*Empty1) XXX_DiscardUnknown

func (m *Empty1) XXX_DiscardUnknown()

func (*Empty1) XXX_Marshal

func (m *Empty1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty1) XXX_Merge

func (dst *Empty1) XXX_Merge(src proto.Message)

func (*Empty1) XXX_MessageName

func (*Empty1) XXX_MessageName() string

func (*Empty1) XXX_Size

func (m *Empty1) XXX_Size() int

func (*Empty1) XXX_Unmarshal

func (m *Empty1) XXX_Unmarshal(b []byte) error

type Empty2 added in v0.5.0

type Empty2 struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty2) Descriptor added in v0.5.0

func (*Empty2) Descriptor() ([]byte, []int)

func (*Empty2) Marshal added in v0.5.0

func (m *Empty2) Marshal() (dAtA []byte, err error)

func (*Empty2) MarshalTo added in v0.5.0

func (m *Empty2) MarshalTo(dAtA []byte) (int, error)

func (*Empty2) ProtoMessage added in v0.5.0

func (*Empty2) ProtoMessage()

func (*Empty2) Reset added in v0.5.0

func (m *Empty2) Reset()

func (*Empty2) Size added in v0.5.0

func (m *Empty2) Size() (n int)

func (*Empty2) String added in v0.5.0

func (m *Empty2) String() string

func (*Empty2) Unmarshal added in v0.5.0

func (m *Empty2) Unmarshal(dAtA []byte) error

func (*Empty2) XXX_DiscardUnknown added in v0.5.0

func (m *Empty2) XXX_DiscardUnknown()

func (*Empty2) XXX_Marshal added in v0.5.0

func (m *Empty2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty2) XXX_Merge added in v0.5.0

func (dst *Empty2) XXX_Merge(src proto.Message)

func (*Empty2) XXX_MessageName added in v0.5.0

func (*Empty2) XXX_MessageName() string

func (*Empty2) XXX_Size added in v0.5.0

func (m *Empty2) XXX_Size() int

func (*Empty2) XXX_Unmarshal added in v0.5.0

func (m *Empty2) XXX_Unmarshal(b []byte) error

type EventsClient added in v0.5.0

type EventsClient interface {
	Subscribe(ctx context.Context, in *SubscribeRequest, opts ...grpc.CallOption) (*SubscribeResponse, error)
}

EventsClient is the client API for Events service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEventsClient added in v0.5.0

func NewEventsClient(cc *grpc.ClientConn) EventsClient

type EventsServer added in v0.5.0

type EventsServer interface {
	Subscribe(context.Context, *SubscribeRequest) (*SubscribeResponse, error)
}

EventsServer is the server API for Events service.

type EvidenceInfo added in v0.5.0

type EvidenceInfo struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Height               int64    `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EvidenceInfo) Descriptor added in v0.5.0

func (*EvidenceInfo) Descriptor() ([]byte, []int)

func (*EvidenceInfo) GetAddress added in v0.5.0

func (m *EvidenceInfo) GetAddress() string

func (*EvidenceInfo) GetHeight added in v0.5.0

func (m *EvidenceInfo) GetHeight() int64

func (*EvidenceInfo) ProtoMessage added in v0.5.0

func (*EvidenceInfo) ProtoMessage()

func (*EvidenceInfo) Reset added in v0.5.0

func (m *EvidenceInfo) Reset()

func (*EvidenceInfo) Size added in v0.5.0

func (m *EvidenceInfo) Size() (n int)

func (*EvidenceInfo) String added in v0.5.0

func (m *EvidenceInfo) String() string

func (*EvidenceInfo) XXX_DiscardUnknown added in v0.5.0

func (m *EvidenceInfo) XXX_DiscardUnknown()

func (*EvidenceInfo) XXX_Marshal added in v0.5.0

func (m *EvidenceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvidenceInfo) XXX_Merge added in v0.5.0

func (dst *EvidenceInfo) XXX_Merge(src proto.Message)

func (*EvidenceInfo) XXX_MessageName added in v0.5.0

func (*EvidenceInfo) XXX_MessageName() string

func (*EvidenceInfo) XXX_Size added in v0.5.0

func (m *EvidenceInfo) XXX_Size() int

func (*EvidenceInfo) XXX_Unmarshal added in v0.5.0

func (m *EvidenceInfo) XXX_Unmarshal(b []byte) error

type GenesisResponse

type GenesisResponse struct {
	Genesis              *github_com_gallactic_gallactic_core_proposal.Genesis `protobuf:"bytes,1,opt,name=Genesis,customtype=github.com/gallactic/gallactic/core/proposal.Genesis" json:"Genesis,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

func (*GenesisResponse) Descriptor

func (*GenesisResponse) Descriptor() ([]byte, []int)

func (*GenesisResponse) ProtoMessage

func (*GenesisResponse) ProtoMessage()

func (*GenesisResponse) Reset

func (m *GenesisResponse) Reset()

func (*GenesisResponse) Size

func (m *GenesisResponse) Size() (n int)

func (*GenesisResponse) String

func (m *GenesisResponse) String() string

func (*GenesisResponse) XXX_DiscardUnknown

func (m *GenesisResponse) XXX_DiscardUnknown()

func (*GenesisResponse) XXX_Marshal

func (m *GenesisResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisResponse) XXX_Merge

func (dst *GenesisResponse) XXX_Merge(src proto.Message)

func (*GenesisResponse) XXX_MessageName

func (*GenesisResponse) XXX_MessageName() string

func (*GenesisResponse) XXX_Size

func (m *GenesisResponse) XXX_Size() int

func (*GenesisResponse) XXX_Unmarshal

func (m *GenesisResponse) XXX_Unmarshal(b []byte) error

type HeaderInfo added in v0.5.0

type HeaderInfo struct {
	// basic block info
	BlockHash github_com_gallactic_gallactic_common_binary.HexBytes `` /* 143-byte string literal not displayed */
	Version   Version                                               `protobuf:"bytes,2,opt,name=version" json:"version"`
	ChainID   string                                                `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Height    int64                                                 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	Time      time.Time                                             `protobuf:"bytes,5,opt,name=time,stdtime" json:"time"`
	NumTxs    int64                                                 `protobuf:"varint,6,opt,name=num_txs,json=numTxs,proto3" json:"num_txs,omitempty"`
	TotalTxs  int64                                                 `protobuf:"varint,7,opt,name=total_txs,json=totalTxs,proto3" json:"total_txs,omitempty"`
	// prev block info
	LastBlockId []byte `protobuf:"bytes,8,opt,name=last_block_id,json=lastBlockId,proto3" json:"last_block_id,omitempty"`
	// hashes of block data
	LastCommitHash github_com_gallactic_gallactic_common_binary.HexBytes `` /* 160-byte string literal not displayed */
	DataHash       github_com_gallactic_gallactic_common_binary.HexBytes `` /* 141-byte string literal not displayed */
	// hashes from the app output from the prev block
	ValidatorsHash     github_com_gallactic_gallactic_common_binary.HexBytes `` /* 159-byte string literal not displayed */
	NextValidatorsHash github_com_gallactic_gallactic_common_binary.HexBytes `` /* 173-byte string literal not displayed */
	ConsensusHash      github_com_gallactic_gallactic_common_binary.HexBytes `` /* 156-byte string literal not displayed */
	AppHash            github_com_gallactic_gallactic_common_binary.HexBytes `` /* 138-byte string literal not displayed */
	LastResultsHash    github_com_gallactic_gallactic_common_binary.HexBytes `` /* 164-byte string literal not displayed */
	// consensus info
	EvidenceHash         github_com_gallactic_gallactic_common_binary.HexBytes `` /* 153-byte string literal not displayed */
	ProposerAddress      string                                                `protobuf:"bytes,17,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

func (*HeaderInfo) Descriptor added in v0.5.0

func (*HeaderInfo) Descriptor() ([]byte, []int)

func (*HeaderInfo) GetChainID added in v0.5.0

func (m *HeaderInfo) GetChainID() string

func (*HeaderInfo) GetHeight added in v0.5.0

func (m *HeaderInfo) GetHeight() int64

func (*HeaderInfo) GetLastBlockId added in v0.5.0

func (m *HeaderInfo) GetLastBlockId() []byte

func (*HeaderInfo) GetNumTxs added in v0.5.0

func (m *HeaderInfo) GetNumTxs() int64

func (*HeaderInfo) GetProposerAddress added in v0.5.0

func (m *HeaderInfo) GetProposerAddress() string

func (*HeaderInfo) GetTime added in v0.5.0

func (m *HeaderInfo) GetTime() time.Time

func (*HeaderInfo) GetTotalTxs added in v0.5.0

func (m *HeaderInfo) GetTotalTxs() int64

func (*HeaderInfo) GetVersion added in v0.5.0

func (m *HeaderInfo) GetVersion() Version

func (*HeaderInfo) ProtoMessage added in v0.5.0

func (*HeaderInfo) ProtoMessage()

func (*HeaderInfo) Reset added in v0.5.0

func (m *HeaderInfo) Reset()

func (*HeaderInfo) Size added in v0.5.0

func (m *HeaderInfo) Size() (n int)

func (*HeaderInfo) String added in v0.5.0

func (m *HeaderInfo) String() string

func (*HeaderInfo) XXX_DiscardUnknown added in v0.5.0

func (m *HeaderInfo) XXX_DiscardUnknown()

func (*HeaderInfo) XXX_Marshal added in v0.5.0

func (m *HeaderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HeaderInfo) XXX_Merge added in v0.5.0

func (dst *HeaderInfo) XXX_Merge(src proto.Message)

func (*HeaderInfo) XXX_MessageName added in v0.5.0

func (*HeaderInfo) XXX_MessageName() string

func (*HeaderInfo) XXX_Size added in v0.5.0

func (m *HeaderInfo) XXX_Size() int

func (*HeaderInfo) XXX_Unmarshal added in v0.5.0

func (m *HeaderInfo) XXX_Unmarshal(b []byte) error

type ListAccountsParam

type ListAccountsParam struct {
	Query                string   `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListAccountsParam) Descriptor

func (*ListAccountsParam) Descriptor() ([]byte, []int)

func (*ListAccountsParam) GetQuery

func (m *ListAccountsParam) GetQuery() string

func (*ListAccountsParam) ProtoMessage

func (*ListAccountsParam) ProtoMessage()

func (*ListAccountsParam) Reset

func (m *ListAccountsParam) Reset()

func (*ListAccountsParam) Size

func (m *ListAccountsParam) Size() (n int)

func (*ListAccountsParam) String

func (m *ListAccountsParam) String() string

func (*ListAccountsParam) XXX_DiscardUnknown

func (m *ListAccountsParam) XXX_DiscardUnknown()

func (*ListAccountsParam) XXX_Marshal

func (m *ListAccountsParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAccountsParam) XXX_Merge

func (dst *ListAccountsParam) XXX_Merge(src proto.Message)

func (*ListAccountsParam) XXX_MessageName

func (*ListAccountsParam) XXX_MessageName() string

func (*ListAccountsParam) XXX_Size

func (m *ListAccountsParam) XXX_Size() int

func (*ListAccountsParam) XXX_Unmarshal

func (m *ListAccountsParam) XXX_Unmarshal(b []byte) error

type NetInfoResponse

type NetInfoResponse struct {
	Listening            bool     `protobuf:"varint,1,opt,name=Listening,proto3" json:"Listening,omitempty"`
	Listeners            []string `protobuf:"bytes,2,rep,name=Listeners" json:"Listeners,omitempty"`
	Peers                []*Peer  `protobuf:"bytes,3,rep,name=Peers" json:"Peers,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NetInfoResponse) Descriptor

func (*NetInfoResponse) Descriptor() ([]byte, []int)

func (*NetInfoResponse) GetListeners

func (m *NetInfoResponse) GetListeners() []string

func (*NetInfoResponse) GetListening

func (m *NetInfoResponse) GetListening() bool

func (*NetInfoResponse) GetPeers

func (m *NetInfoResponse) GetPeers() []*Peer

func (*NetInfoResponse) Marshal

func (m *NetInfoResponse) Marshal() (dAtA []byte, err error)

func (*NetInfoResponse) MarshalTo

func (m *NetInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*NetInfoResponse) ProtoMessage

func (*NetInfoResponse) ProtoMessage()

func (*NetInfoResponse) Reset

func (m *NetInfoResponse) Reset()

func (*NetInfoResponse) Size

func (m *NetInfoResponse) Size() (n int)

func (*NetInfoResponse) String

func (m *NetInfoResponse) String() string

func (*NetInfoResponse) Unmarshal

func (m *NetInfoResponse) Unmarshal(dAtA []byte) error

func (*NetInfoResponse) XXX_DiscardUnknown

func (m *NetInfoResponse) XXX_DiscardUnknown()

func (*NetInfoResponse) XXX_Marshal

func (m *NetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetInfoResponse) XXX_Merge

func (dst *NetInfoResponse) XXX_Merge(src proto.Message)

func (*NetInfoResponse) XXX_MessageName

func (*NetInfoResponse) XXX_MessageName() string

func (*NetInfoResponse) XXX_Size

func (m *NetInfoResponse) XXX_Size() int

func (*NetInfoResponse) XXX_Unmarshal

func (m *NetInfoResponse) XXX_Unmarshal(b []byte) error

type NetworkClient

type NetworkClient interface {
	GetNetworkInfo(ctx context.Context, in *Empty1, opts ...grpc.CallOption) (*NetInfoResponse, error)
	GetPeers(ctx context.Context, in *Empty1, opts ...grpc.CallOption) (*PeerResponse, error)
}

NetworkClient is the client API for Network service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNetworkClient

func NewNetworkClient(cc *grpc.ClientConn) NetworkClient

type NetworkServer

type NetworkServer interface {
	GetNetworkInfo(context.Context, *Empty1) (*NetInfoResponse, error)
	GetPeers(context.Context, *Empty1) (*PeerResponse, error)
}

NetworkServer is the server API for Network service.

type Peer

type Peer struct {
	NodeInfo             github_com_gallactic_gallactic_core_consensus_tendermint_p2p.GNodeInfo `` /* 141-byte string literal not displayed */
	IsOutbound           bool                                                                   `protobuf:"varint,2,opt,name=IsOutbound,proto3" json:"IsOutbound,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                               `json:"-"`
	XXX_unrecognized     []byte                                                                 `json:"-"`
	XXX_sizecache        int32                                                                  `json:"-"`
}

func (*Peer) Descriptor

func (*Peer) Descriptor() ([]byte, []int)

func (*Peer) GetIsOutbound

func (m *Peer) GetIsOutbound() bool

func (*Peer) Marshal

func (m *Peer) Marshal() (dAtA []byte, err error)

func (*Peer) MarshalTo

func (m *Peer) MarshalTo(dAtA []byte) (int, error)

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) Reset

func (m *Peer) Reset()

func (*Peer) Size

func (m *Peer) Size() (n int)

func (*Peer) String

func (m *Peer) String() string

func (*Peer) Unmarshal

func (m *Peer) Unmarshal(dAtA []byte) error

func (*Peer) XXX_DiscardUnknown

func (m *Peer) XXX_DiscardUnknown()

func (*Peer) XXX_Marshal

func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Peer) XXX_Merge

func (dst *Peer) XXX_Merge(src proto.Message)

func (*Peer) XXX_MessageName

func (*Peer) XXX_MessageName() string

func (*Peer) XXX_Size

func (m *Peer) XXX_Size() int

func (*Peer) XXX_Unmarshal

func (m *Peer) XXX_Unmarshal(b []byte) error

type PeerResponse

type PeerResponse struct {
	Peer                 []*Peer  `protobuf:"bytes,1,rep,name=Peer" json:"Peer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PeerResponse) Descriptor

func (*PeerResponse) Descriptor() ([]byte, []int)

func (*PeerResponse) GetPeer

func (m *PeerResponse) GetPeer() []*Peer

func (*PeerResponse) Marshal

func (m *PeerResponse) Marshal() (dAtA []byte, err error)

func (*PeerResponse) MarshalTo

func (m *PeerResponse) MarshalTo(dAtA []byte) (int, error)

func (*PeerResponse) ProtoMessage

func (*PeerResponse) ProtoMessage()

func (*PeerResponse) Reset

func (m *PeerResponse) Reset()

func (*PeerResponse) Size

func (m *PeerResponse) Size() (n int)

func (*PeerResponse) String

func (m *PeerResponse) String() string

func (*PeerResponse) Unmarshal

func (m *PeerResponse) Unmarshal(dAtA []byte) error

func (*PeerResponse) XXX_DiscardUnknown

func (m *PeerResponse) XXX_DiscardUnknown()

func (*PeerResponse) XXX_Marshal

func (m *PeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PeerResponse) XXX_Merge

func (dst *PeerResponse) XXX_Merge(src proto.Message)

func (*PeerResponse) XXX_MessageName

func (*PeerResponse) XXX_MessageName() string

func (*PeerResponse) XXX_Size

func (m *PeerResponse) XXX_Size() int

func (*PeerResponse) XXX_Unmarshal

func (m *PeerResponse) XXX_Unmarshal(b []byte) error

type ReceiptResponse

type ReceiptResponse struct {
	TxReceipt            *github_com_gallactic_gallactic_txs.Receipt `protobuf:"bytes,1,opt,name=TxReceipt,proto3,customtype=github.com/gallactic/gallactic/txs.Receipt" json:"TxReceipt,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                    `json:"-"`
	XXX_unrecognized     []byte                                      `json:"-"`
	XXX_sizecache        int32                                       `json:"-"`
}

func (*ReceiptResponse) Descriptor

func (*ReceiptResponse) Descriptor() ([]byte, []int)

func (*ReceiptResponse) Marshal

func (m *ReceiptResponse) Marshal() (dAtA []byte, err error)

func (*ReceiptResponse) MarshalTo

func (m *ReceiptResponse) MarshalTo(dAtA []byte) (int, error)

func (*ReceiptResponse) ProtoMessage

func (*ReceiptResponse) ProtoMessage()

func (*ReceiptResponse) Reset

func (m *ReceiptResponse) Reset()

func (*ReceiptResponse) Size

func (m *ReceiptResponse) Size() (n int)

func (*ReceiptResponse) String

func (m *ReceiptResponse) String() string

func (*ReceiptResponse) Unmarshal

func (m *ReceiptResponse) Unmarshal(dAtA []byte) error

func (*ReceiptResponse) XXX_DiscardUnknown

func (m *ReceiptResponse) XXX_DiscardUnknown()

func (*ReceiptResponse) XXX_Marshal

func (m *ReceiptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptResponse) XXX_Merge

func (dst *ReceiptResponse) XXX_Merge(src proto.Message)

func (*ReceiptResponse) XXX_MessageName

func (*ReceiptResponse) XXX_MessageName() string

func (*ReceiptResponse) XXX_Size

func (m *ReceiptResponse) XXX_Size() int

func (*ReceiptResponse) XXX_Unmarshal

func (m *ReceiptResponse) XXX_Unmarshal(b []byte) error

type StatusResponse

type StatusResponse struct {
	NodeInfo             github_com_gallactic_gallactic_core_consensus_tendermint_p2p.GNodeInfo `` /* 141-byte string literal not displayed */
	GenesisHash          github_com_gallactic_gallactic_common_binary.HexBytes                  `` /* 130-byte string literal not displayed */
	PubKey               github_com_gallactic_gallactic_crypto.PublicKey                        `protobuf:"bytes,3,opt,name=PubKey,proto3,customtype=github.com/gallactic/gallactic/crypto.PublicKey" json:"PubKey"`
	LatestBlockHash      github_com_gallactic_gallactic_common_binary.HexBytes                  `` /* 138-byte string literal not displayed */
	LatestBlockHeight    uint64                                                                 `protobuf:"varint,5,opt,name=LatestBlockHeight,proto3" json:"LatestBlockHeight,omitempty"`
	LatestBlockTime      int64                                                                  `protobuf:"varint,6,opt,name=LatestBlockTime,proto3" json:"LatestBlockTime,omitempty"`
	NodeVersion          string                                                                 `protobuf:"bytes,7,opt,name=NodeVersion,proto3" json:"NodeVersion,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                               `json:"-"`
	XXX_unrecognized     []byte                                                                 `json:"-"`
	XXX_sizecache        int32                                                                  `json:"-"`
}

func (*StatusResponse) Descriptor

func (*StatusResponse) Descriptor() ([]byte, []int)

func (*StatusResponse) GetLatestBlockHeight

func (m *StatusResponse) GetLatestBlockHeight() uint64

func (*StatusResponse) GetLatestBlockTime

func (m *StatusResponse) GetLatestBlockTime() int64

func (*StatusResponse) GetNodeVersion

func (m *StatusResponse) GetNodeVersion() string

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) Reset

func (m *StatusResponse) Reset()

func (*StatusResponse) Size

func (m *StatusResponse) Size() (n int)

func (*StatusResponse) String

func (m *StatusResponse) String() string

func (*StatusResponse) XXX_DiscardUnknown

func (m *StatusResponse) XXX_DiscardUnknown()

func (*StatusResponse) XXX_Marshal

func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatusResponse) XXX_Merge

func (dst *StatusResponse) XXX_Merge(src proto.Message)

func (*StatusResponse) XXX_MessageName

func (*StatusResponse) XXX_MessageName() string

func (*StatusResponse) XXX_Size

func (m *StatusResponse) XXX_Size() int

func (*StatusResponse) XXX_Unmarshal

func (m *StatusResponse) XXX_Unmarshal(b []byte) error

type StorageAtRequest

type StorageAtRequest struct {
	Address              string                                                `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	Key                  github_com_gallactic_gallactic_common_binary.HexBytes `protobuf:"bytes,2,opt,name=Key,proto3,customtype=github.com/gallactic/gallactic/common/binary.HexBytes" json:"Key"`
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

func (*StorageAtRequest) Descriptor

func (*StorageAtRequest) Descriptor() ([]byte, []int)

func (*StorageAtRequest) GetAddress added in v0.5.0

func (m *StorageAtRequest) GetAddress() string

func (*StorageAtRequest) ProtoMessage

func (*StorageAtRequest) ProtoMessage()

func (*StorageAtRequest) Reset

func (m *StorageAtRequest) Reset()

func (*StorageAtRequest) Size

func (m *StorageAtRequest) Size() (n int)

func (*StorageAtRequest) String

func (m *StorageAtRequest) String() string

func (*StorageAtRequest) XXX_DiscardUnknown

func (m *StorageAtRequest) XXX_DiscardUnknown()

func (*StorageAtRequest) XXX_Marshal

func (m *StorageAtRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageAtRequest) XXX_Merge

func (dst *StorageAtRequest) XXX_Merge(src proto.Message)

func (*StorageAtRequest) XXX_MessageName

func (*StorageAtRequest) XXX_MessageName() string

func (*StorageAtRequest) XXX_Size

func (m *StorageAtRequest) XXX_Size() int

func (*StorageAtRequest) XXX_Unmarshal

func (m *StorageAtRequest) XXX_Unmarshal(b []byte) error

type StorageAtResponse added in v0.5.0

type StorageAtResponse struct {
	Key                  github_com_gallactic_gallactic_common_binary.HexBytes `protobuf:"bytes,1,opt,name=Key,proto3,customtype=github.com/gallactic/gallactic/common/binary.HexBytes" json:"Key"`
	Value                github_com_gallactic_gallactic_common_binary.HexBytes `protobuf:"bytes,2,opt,name=Value,proto3,customtype=github.com/gallactic/gallactic/common/binary.HexBytes" json:"Value"`
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

func (*StorageAtResponse) Descriptor added in v0.5.0

func (*StorageAtResponse) Descriptor() ([]byte, []int)

func (*StorageAtResponse) ProtoMessage added in v0.5.0

func (*StorageAtResponse) ProtoMessage()

func (*StorageAtResponse) Reset added in v0.5.0

func (m *StorageAtResponse) Reset()

func (*StorageAtResponse) Size added in v0.5.0

func (m *StorageAtResponse) Size() (n int)

func (*StorageAtResponse) String added in v0.5.0

func (m *StorageAtResponse) String() string

func (*StorageAtResponse) XXX_DiscardUnknown added in v0.5.0

func (m *StorageAtResponse) XXX_DiscardUnknown()

func (*StorageAtResponse) XXX_Marshal added in v0.5.0

func (m *StorageAtResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageAtResponse) XXX_Merge added in v0.5.0

func (dst *StorageAtResponse) XXX_Merge(src proto.Message)

func (*StorageAtResponse) XXX_MessageName added in v0.5.0

func (*StorageAtResponse) XXX_MessageName() string

func (*StorageAtResponse) XXX_Size added in v0.5.0

func (m *StorageAtResponse) XXX_Size() int

func (*StorageAtResponse) XXX_Unmarshal added in v0.5.0

func (m *StorageAtResponse) XXX_Unmarshal(b []byte) error

type StorageItem added in v0.5.0

type StorageItem struct {
	Key                  github_com_gallactic_gallactic_common_binary.HexBytes `protobuf:"bytes,1,opt,name=Key,proto3,customtype=github.com/gallactic/gallactic/common/binary.HexBytes" json:"Key"`
	Value                github_com_gallactic_gallactic_common_binary.HexBytes `protobuf:"bytes,2,opt,name=Value,proto3,customtype=github.com/gallactic/gallactic/common/binary.HexBytes" json:"Value"`
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

func (*StorageItem) Descriptor added in v0.5.0

func (*StorageItem) Descriptor() ([]byte, []int)

func (*StorageItem) ProtoMessage added in v0.5.0

func (*StorageItem) ProtoMessage()

func (*StorageItem) Reset added in v0.5.0

func (m *StorageItem) Reset()

func (*StorageItem) Size added in v0.5.0

func (m *StorageItem) Size() (n int)

func (*StorageItem) String added in v0.5.0

func (m *StorageItem) String() string

func (*StorageItem) XXX_DiscardUnknown added in v0.5.0

func (m *StorageItem) XXX_DiscardUnknown()

func (*StorageItem) XXX_Marshal added in v0.5.0

func (m *StorageItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageItem) XXX_Merge added in v0.5.0

func (dst *StorageItem) XXX_Merge(src proto.Message)

func (*StorageItem) XXX_MessageName added in v0.5.0

func (*StorageItem) XXX_MessageName() string

func (*StorageItem) XXX_Size added in v0.5.0

func (m *StorageItem) XXX_Size() int

func (*StorageItem) XXX_Unmarshal added in v0.5.0

func (m *StorageItem) XXX_Unmarshal(b []byte) error

type StorageRequest added in v0.5.0

type StorageRequest struct {
	Address              string   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StorageRequest) Descriptor added in v0.5.0

func (*StorageRequest) Descriptor() ([]byte, []int)

func (*StorageRequest) GetAddress added in v0.5.0

func (m *StorageRequest) GetAddress() string

func (*StorageRequest) ProtoMessage added in v0.5.0

func (*StorageRequest) ProtoMessage()

func (*StorageRequest) Reset added in v0.5.0

func (m *StorageRequest) Reset()

func (*StorageRequest) Size added in v0.5.0

func (m *StorageRequest) Size() (n int)

func (*StorageRequest) String added in v0.5.0

func (m *StorageRequest) String() string

func (*StorageRequest) XXX_DiscardUnknown added in v0.5.0

func (m *StorageRequest) XXX_DiscardUnknown()

func (*StorageRequest) XXX_Marshal added in v0.5.0

func (m *StorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageRequest) XXX_Merge added in v0.5.0

func (dst *StorageRequest) XXX_Merge(src proto.Message)

func (*StorageRequest) XXX_MessageName added in v0.5.0

func (*StorageRequest) XXX_MessageName() string

func (*StorageRequest) XXX_Size added in v0.5.0

func (m *StorageRequest) XXX_Size() int

func (*StorageRequest) XXX_Unmarshal added in v0.5.0

func (m *StorageRequest) XXX_Unmarshal(b []byte) error

type StorageResponse

type StorageResponse struct {
	StorageItems         []StorageItem `protobuf:"bytes,1,rep,name=StorageItems" json:"StorageItems"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*StorageResponse) Descriptor

func (*StorageResponse) Descriptor() ([]byte, []int)

func (*StorageResponse) GetStorageItems added in v0.5.0

func (m *StorageResponse) GetStorageItems() []StorageItem

func (*StorageResponse) ProtoMessage

func (*StorageResponse) ProtoMessage()

func (*StorageResponse) Reset

func (m *StorageResponse) Reset()

func (*StorageResponse) Size

func (m *StorageResponse) Size() (n int)

func (*StorageResponse) String

func (m *StorageResponse) String() string

func (*StorageResponse) XXX_DiscardUnknown

func (m *StorageResponse) XXX_DiscardUnknown()

func (*StorageResponse) XXX_Marshal

func (m *StorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageResponse) XXX_Merge

func (dst *StorageResponse) XXX_Merge(src proto.Message)

func (*StorageResponse) XXX_MessageName

func (*StorageResponse) XXX_MessageName() string

func (*StorageResponse) XXX_Size

func (m *StorageResponse) XXX_Size() int

func (*StorageResponse) XXX_Unmarshal

func (m *StorageResponse) XXX_Unmarshal(b []byte) error

type SubscribeRequest added in v0.5.0

type SubscribeRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SubscribeRequest) Descriptor added in v0.5.0

func (*SubscribeRequest) Descriptor() ([]byte, []int)

func (*SubscribeRequest) Marshal added in v0.5.0

func (m *SubscribeRequest) Marshal() (dAtA []byte, err error)

func (*SubscribeRequest) MarshalTo added in v0.5.0

func (m *SubscribeRequest) MarshalTo(dAtA []byte) (int, error)

func (*SubscribeRequest) ProtoMessage added in v0.5.0

func (*SubscribeRequest) ProtoMessage()

func (*SubscribeRequest) Reset added in v0.5.0

func (m *SubscribeRequest) Reset()

func (*SubscribeRequest) Size added in v0.5.0

func (m *SubscribeRequest) Size() (n int)

func (*SubscribeRequest) String added in v0.5.0

func (m *SubscribeRequest) String() string

func (*SubscribeRequest) Unmarshal added in v0.5.0

func (m *SubscribeRequest) Unmarshal(dAtA []byte) error

func (*SubscribeRequest) XXX_DiscardUnknown added in v0.5.0

func (m *SubscribeRequest) XXX_DiscardUnknown()

func (*SubscribeRequest) XXX_Marshal added in v0.5.0

func (m *SubscribeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscribeRequest) XXX_Merge added in v0.5.0

func (dst *SubscribeRequest) XXX_Merge(src proto.Message)

func (*SubscribeRequest) XXX_MessageName added in v0.5.0

func (*SubscribeRequest) XXX_MessageName() string

func (*SubscribeRequest) XXX_Size added in v0.5.0

func (m *SubscribeRequest) XXX_Size() int

func (*SubscribeRequest) XXX_Unmarshal added in v0.5.0

func (m *SubscribeRequest) XXX_Unmarshal(b []byte) error

type SubscribeResponse added in v0.5.0

type SubscribeResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SubscribeResponse) Descriptor added in v0.5.0

func (*SubscribeResponse) Descriptor() ([]byte, []int)

func (*SubscribeResponse) Marshal added in v0.5.0

func (m *SubscribeResponse) Marshal() (dAtA []byte, err error)

func (*SubscribeResponse) MarshalTo added in v0.5.0

func (m *SubscribeResponse) MarshalTo(dAtA []byte) (int, error)

func (*SubscribeResponse) ProtoMessage added in v0.5.0

func (*SubscribeResponse) ProtoMessage()

func (*SubscribeResponse) Reset added in v0.5.0

func (m *SubscribeResponse) Reset()

func (*SubscribeResponse) Size added in v0.5.0

func (m *SubscribeResponse) Size() (n int)

func (*SubscribeResponse) String added in v0.5.0

func (m *SubscribeResponse) String() string

func (*SubscribeResponse) Unmarshal added in v0.5.0

func (m *SubscribeResponse) Unmarshal(dAtA []byte) error

func (*SubscribeResponse) XXX_DiscardUnknown added in v0.5.0

func (m *SubscribeResponse) XXX_DiscardUnknown()

func (*SubscribeResponse) XXX_Marshal added in v0.5.0

func (m *SubscribeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscribeResponse) XXX_Merge added in v0.5.0

func (dst *SubscribeResponse) XXX_Merge(src proto.Message)

func (*SubscribeResponse) XXX_MessageName added in v0.5.0

func (*SubscribeResponse) XXX_MessageName() string

func (*SubscribeResponse) XXX_Size added in v0.5.0

func (m *SubscribeResponse) XXX_Size() int

func (*SubscribeResponse) XXX_Unmarshal added in v0.5.0

func (m *SubscribeResponse) XXX_Unmarshal(b []byte) error

type TransactRequest

type TransactRequest struct {
	TxEnvelope           *github_com_gallactic_gallactic_txs.Envelope `protobuf:"bytes,1,opt,name=txEnvelope,customtype=github.com/gallactic/gallactic/txs.Envelope" json:"txEnvelope,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
	XXX_unrecognized     []byte                                       `json:"-"`
	XXX_sizecache        int32                                        `json:"-"`
}

func (*TransactRequest) Descriptor

func (*TransactRequest) Descriptor() ([]byte, []int)

func (*TransactRequest) Marshal

func (m *TransactRequest) Marshal() (dAtA []byte, err error)

func (*TransactRequest) MarshalTo

func (m *TransactRequest) MarshalTo(dAtA []byte) (int, error)

func (*TransactRequest) ProtoMessage

func (*TransactRequest) ProtoMessage()

func (*TransactRequest) Reset

func (m *TransactRequest) Reset()

func (*TransactRequest) Size

func (m *TransactRequest) Size() (n int)

func (*TransactRequest) String

func (m *TransactRequest) String() string

func (*TransactRequest) Unmarshal

func (m *TransactRequest) Unmarshal(dAtA []byte) error

func (*TransactRequest) XXX_DiscardUnknown

func (m *TransactRequest) XXX_DiscardUnknown()

func (*TransactRequest) XXX_Marshal

func (m *TransactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactRequest) XXX_Merge

func (dst *TransactRequest) XXX_Merge(src proto.Message)

func (*TransactRequest) XXX_MessageName

func (*TransactRequest) XXX_MessageName() string

func (*TransactRequest) XXX_Size

func (m *TransactRequest) XXX_Size() int

func (*TransactRequest) XXX_Unmarshal

func (m *TransactRequest) XXX_Unmarshal(b []byte) error

type TransactionClient

type TransactionClient interface {
	BroadcastTxSync(ctx context.Context, in *TransactRequest, opts ...grpc.CallOption) (*ReceiptResponse, error)
	GetUnconfirmedTxs(ctx context.Context, in *Empty2, opts ...grpc.CallOption) (*UnconfirmTxsResponse, error)
	BroadcastTxAsync(ctx context.Context, in *TransactRequest, opts ...grpc.CallOption) (*ReceiptResponse, error)
}

TransactionClient is the client API for Transaction service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTransactionClient

func NewTransactionClient(cc *grpc.ClientConn) TransactionClient

type TransactionServer

type TransactionServer interface {
	BroadcastTxSync(context.Context, *TransactRequest) (*ReceiptResponse, error)
	GetUnconfirmedTxs(context.Context, *Empty2) (*UnconfirmTxsResponse, error)
	BroadcastTxAsync(context.Context, *TransactRequest) (*ReceiptResponse, error)
}

TransactionServer is the server API for Transaction service.

type TxInfo added in v0.5.0

type TxInfo struct {
	Height               int64    `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Hash                 string   `protobuf:"bytes,2,opt,name=Hash,proto3" json:"Hash,omitempty"`
	GasUsed              int64    `protobuf:"varint,3,opt,name=GasUsed,proto3" json:"GasUsed,omitempty"`
	GasWanted            int64    `protobuf:"varint,4,opt,name=GasWanted,proto3" json:"GasWanted,omitempty"`
	Envelope             string   `protobuf:"bytes,5,opt,name=Envelope,proto3" json:"Envelope,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxInfo) Descriptor added in v0.5.0

func (*TxInfo) Descriptor() ([]byte, []int)

func (*TxInfo) GetEnvelope added in v0.5.0

func (m *TxInfo) GetEnvelope() string

func (*TxInfo) GetGasUsed added in v0.5.0

func (m *TxInfo) GetGasUsed() int64

func (*TxInfo) GetGasWanted added in v0.5.0

func (m *TxInfo) GetGasWanted() int64

func (*TxInfo) GetHash added in v0.5.0

func (m *TxInfo) GetHash() string

func (*TxInfo) GetHeight added in v0.5.0

func (m *TxInfo) GetHeight() int64

func (*TxInfo) ProtoMessage added in v0.5.0

func (*TxInfo) ProtoMessage()

func (*TxInfo) Reset added in v0.5.0

func (m *TxInfo) Reset()

func (*TxInfo) Size added in v0.5.0

func (m *TxInfo) Size() (n int)

func (*TxInfo) String added in v0.5.0

func (m *TxInfo) String() string

func (*TxInfo) XXX_DiscardUnknown added in v0.5.0

func (m *TxInfo) XXX_DiscardUnknown()

func (*TxInfo) XXX_Marshal added in v0.5.0

func (m *TxInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxInfo) XXX_Merge added in v0.5.0

func (dst *TxInfo) XXX_Merge(src proto.Message)

func (*TxInfo) XXX_MessageName added in v0.5.0

func (*TxInfo) XXX_MessageName() string

func (*TxInfo) XXX_Size added in v0.5.0

func (m *TxInfo) XXX_Size() int

func (*TxInfo) XXX_Unmarshal added in v0.5.0

func (m *TxInfo) XXX_Unmarshal(b []byte) error

type TxRequest added in v0.5.0

type TxRequest struct {
	Hash                 string   `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxRequest) Descriptor added in v0.5.0

func (*TxRequest) Descriptor() ([]byte, []int)

func (*TxRequest) GetHash added in v0.5.0

func (m *TxRequest) GetHash() string

func (*TxRequest) ProtoMessage added in v0.5.0

func (*TxRequest) ProtoMessage()

func (*TxRequest) Reset added in v0.5.0

func (m *TxRequest) Reset()

func (*TxRequest) Size added in v0.5.0

func (m *TxRequest) Size() (n int)

func (*TxRequest) String added in v0.5.0

func (m *TxRequest) String() string

func (*TxRequest) XXX_DiscardUnknown added in v0.5.0

func (m *TxRequest) XXX_DiscardUnknown()

func (*TxRequest) XXX_Marshal added in v0.5.0

func (m *TxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxRequest) XXX_Merge added in v0.5.0

func (dst *TxRequest) XXX_Merge(src proto.Message)

func (*TxRequest) XXX_MessageName added in v0.5.0

func (*TxRequest) XXX_MessageName() string

func (*TxRequest) XXX_Size added in v0.5.0

func (m *TxRequest) XXX_Size() int

func (*TxRequest) XXX_Unmarshal added in v0.5.0

func (m *TxRequest) XXX_Unmarshal(b []byte) error

type TxResponse added in v0.5.0

type TxResponse struct {
	Tx                   *TxInfo  `protobuf:"bytes,1,opt,name=Tx" json:"Tx,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TxResponse) Descriptor added in v0.5.0

func (*TxResponse) Descriptor() ([]byte, []int)

func (*TxResponse) GetTx added in v0.5.0

func (m *TxResponse) GetTx() *TxInfo

func (*TxResponse) ProtoMessage added in v0.5.0

func (*TxResponse) ProtoMessage()

func (*TxResponse) Reset added in v0.5.0

func (m *TxResponse) Reset()

func (*TxResponse) Size added in v0.5.0

func (m *TxResponse) Size() (n int)

func (*TxResponse) String added in v0.5.0

func (m *TxResponse) String() string

func (*TxResponse) XXX_DiscardUnknown added in v0.5.0

func (m *TxResponse) XXX_DiscardUnknown()

func (*TxResponse) XXX_Marshal added in v0.5.0

func (m *TxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxResponse) XXX_Merge added in v0.5.0

func (dst *TxResponse) XXX_Merge(src proto.Message)

func (*TxResponse) XXX_MessageName added in v0.5.0

func (*TxResponse) XXX_MessageName() string

func (*TxResponse) XXX_Size added in v0.5.0

func (m *TxResponse) XXX_Size() int

func (*TxResponse) XXX_Unmarshal added in v0.5.0

func (m *TxResponse) XXX_Unmarshal(b []byte) error

type UnconfirmTxsResponse

type UnconfirmTxsResponse struct {
	Count                int32                                         `protobuf:"varint,1,opt,name=Count,proto3" json:"Count,omitempty"`
	TxEnvelopes          []github_com_gallactic_gallactic_txs.Envelope `protobuf:"bytes,2,rep,name=txEnvelopes,customtype=github.com/gallactic/gallactic/txs.Envelope" json:"txEnvelopes"`
	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
	XXX_unrecognized     []byte                                        `json:"-"`
	XXX_sizecache        int32                                         `json:"-"`
}

func (*UnconfirmTxsResponse) Descriptor

func (*UnconfirmTxsResponse) Descriptor() ([]byte, []int)

func (*UnconfirmTxsResponse) GetCount

func (m *UnconfirmTxsResponse) GetCount() int32

func (*UnconfirmTxsResponse) Marshal

func (m *UnconfirmTxsResponse) Marshal() (dAtA []byte, err error)

func (*UnconfirmTxsResponse) MarshalTo

func (m *UnconfirmTxsResponse) MarshalTo(dAtA []byte) (int, error)

func (*UnconfirmTxsResponse) ProtoMessage

func (*UnconfirmTxsResponse) ProtoMessage()

func (*UnconfirmTxsResponse) Reset

func (m *UnconfirmTxsResponse) Reset()

func (*UnconfirmTxsResponse) Size

func (m *UnconfirmTxsResponse) Size() (n int)

func (*UnconfirmTxsResponse) String

func (m *UnconfirmTxsResponse) String() string

func (*UnconfirmTxsResponse) Unmarshal

func (m *UnconfirmTxsResponse) Unmarshal(dAtA []byte) error

func (*UnconfirmTxsResponse) XXX_DiscardUnknown

func (m *UnconfirmTxsResponse) XXX_DiscardUnknown()

func (*UnconfirmTxsResponse) XXX_Marshal

func (m *UnconfirmTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnconfirmTxsResponse) XXX_Merge

func (dst *UnconfirmTxsResponse) XXX_Merge(src proto.Message)

func (*UnconfirmTxsResponse) XXX_MessageName

func (*UnconfirmTxsResponse) XXX_MessageName() string

func (*UnconfirmTxsResponse) XXX_Size

func (m *UnconfirmTxsResponse) XXX_Size() int

func (*UnconfirmTxsResponse) XXX_Unmarshal

func (m *UnconfirmTxsResponse) XXX_Unmarshal(b []byte) error

type UnconfirmedTxsRequest

type UnconfirmedTxsRequest struct {
	MaxTxs               int32    `protobuf:"varint,1,opt,name=maxTxs,proto3" json:"maxTxs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnconfirmedTxsRequest) Descriptor

func (*UnconfirmedTxsRequest) Descriptor() ([]byte, []int)

func (*UnconfirmedTxsRequest) GetMaxTxs

func (m *UnconfirmedTxsRequest) GetMaxTxs() int32

func (*UnconfirmedTxsRequest) Marshal

func (m *UnconfirmedTxsRequest) Marshal() (dAtA []byte, err error)

func (*UnconfirmedTxsRequest) MarshalTo

func (m *UnconfirmedTxsRequest) MarshalTo(dAtA []byte) (int, error)

func (*UnconfirmedTxsRequest) ProtoMessage

func (*UnconfirmedTxsRequest) ProtoMessage()

func (*UnconfirmedTxsRequest) Reset

func (m *UnconfirmedTxsRequest) Reset()

func (*UnconfirmedTxsRequest) Size

func (m *UnconfirmedTxsRequest) Size() (n int)

func (*UnconfirmedTxsRequest) String

func (m *UnconfirmedTxsRequest) String() string

func (*UnconfirmedTxsRequest) Unmarshal

func (m *UnconfirmedTxsRequest) Unmarshal(dAtA []byte) error

func (*UnconfirmedTxsRequest) XXX_DiscardUnknown

func (m *UnconfirmedTxsRequest) XXX_DiscardUnknown()

func (*UnconfirmedTxsRequest) XXX_Marshal

func (m *UnconfirmedTxsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnconfirmedTxsRequest) XXX_Merge

func (dst *UnconfirmedTxsRequest) XXX_Merge(src proto.Message)

func (*UnconfirmedTxsRequest) XXX_MessageName

func (*UnconfirmedTxsRequest) XXX_MessageName() string

func (*UnconfirmedTxsRequest) XXX_Size

func (m *UnconfirmedTxsRequest) XXX_Size() int

func (*UnconfirmedTxsRequest) XXX_Unmarshal

func (m *UnconfirmedTxsRequest) XXX_Unmarshal(b []byte) error

type ValidatorInfo added in v0.5.0

type ValidatorInfo struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	PubKey               string   `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	Power                int64    `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"`
	Stake                uint64   `protobuf:"varint,4,opt,name=stake,proto3" json:"stake,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValidatorInfo) Descriptor added in v0.5.0

func (*ValidatorInfo) Descriptor() ([]byte, []int)

func (*ValidatorInfo) GetAddress added in v0.5.0

func (m *ValidatorInfo) GetAddress() string

func (*ValidatorInfo) GetPower added in v0.5.0

func (m *ValidatorInfo) GetPower() int64

func (*ValidatorInfo) GetPubKey added in v0.5.0

func (m *ValidatorInfo) GetPubKey() string

func (*ValidatorInfo) GetStake added in v0.5.0

func (m *ValidatorInfo) GetStake() uint64

func (*ValidatorInfo) ProtoMessage added in v0.5.0

func (*ValidatorInfo) ProtoMessage()

func (*ValidatorInfo) Reset added in v0.5.0

func (m *ValidatorInfo) Reset()

func (*ValidatorInfo) Size added in v0.5.0

func (m *ValidatorInfo) Size() (n int)

func (*ValidatorInfo) String added in v0.5.0

func (m *ValidatorInfo) String() string

func (*ValidatorInfo) XXX_DiscardUnknown added in v0.5.0

func (m *ValidatorInfo) XXX_DiscardUnknown()

func (*ValidatorInfo) XXX_Marshal added in v0.5.0

func (m *ValidatorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorInfo) XXX_Merge added in v0.5.0

func (dst *ValidatorInfo) XXX_Merge(src proto.Message)

func (*ValidatorInfo) XXX_MessageName added in v0.5.0

func (*ValidatorInfo) XXX_MessageName() string

func (*ValidatorInfo) XXX_Size added in v0.5.0

func (m *ValidatorInfo) XXX_Size() int

func (*ValidatorInfo) XXX_Unmarshal added in v0.5.0

func (m *ValidatorInfo) XXX_Unmarshal(b []byte) error

type ValidatorResponse

type ValidatorResponse struct {
	Validator            *ValidatorInfo `protobuf:"bytes,1,opt,name=Validator" json:"Validator,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ValidatorResponse) Descriptor

func (*ValidatorResponse) Descriptor() ([]byte, []int)

func (*ValidatorResponse) GetValidator added in v0.5.0

func (m *ValidatorResponse) GetValidator() *ValidatorInfo

func (*ValidatorResponse) ProtoMessage

func (*ValidatorResponse) ProtoMessage()

func (*ValidatorResponse) Reset

func (m *ValidatorResponse) Reset()

func (*ValidatorResponse) Size

func (m *ValidatorResponse) Size() (n int)

func (*ValidatorResponse) String

func (m *ValidatorResponse) String() string

func (*ValidatorResponse) XXX_DiscardUnknown

func (m *ValidatorResponse) XXX_DiscardUnknown()

func (*ValidatorResponse) XXX_Marshal

func (m *ValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorResponse) XXX_Merge

func (dst *ValidatorResponse) XXX_Merge(src proto.Message)

func (*ValidatorResponse) XXX_MessageName

func (*ValidatorResponse) XXX_MessageName() string

func (*ValidatorResponse) XXX_Size

func (m *ValidatorResponse) XXX_Size() int

func (*ValidatorResponse) XXX_Unmarshal

func (m *ValidatorResponse) XXX_Unmarshal(b []byte) error

type ValidatorsResponse

type ValidatorsResponse struct {
	BlockHeight          uint64           `protobuf:"varint,1,opt,name=BlockHeight,proto3" json:"BlockHeight,omitempty"`
	Validators           []*ValidatorInfo `protobuf:"bytes,2,rep,name=Validators" json:"Validators,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ValidatorsResponse) Descriptor

func (*ValidatorsResponse) Descriptor() ([]byte, []int)

func (*ValidatorsResponse) GetBlockHeight

func (m *ValidatorsResponse) GetBlockHeight() uint64

func (*ValidatorsResponse) GetValidators

func (m *ValidatorsResponse) GetValidators() []*ValidatorInfo

func (*ValidatorsResponse) ProtoMessage

func (*ValidatorsResponse) ProtoMessage()

func (*ValidatorsResponse) Reset

func (m *ValidatorsResponse) Reset()

func (*ValidatorsResponse) Size

func (m *ValidatorsResponse) Size() (n int)

func (*ValidatorsResponse) String

func (m *ValidatorsResponse) String() string

func (*ValidatorsResponse) XXX_DiscardUnknown

func (m *ValidatorsResponse) XXX_DiscardUnknown()

func (*ValidatorsResponse) XXX_Marshal

func (m *ValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorsResponse) XXX_Merge

func (dst *ValidatorsResponse) XXX_Merge(src proto.Message)

func (*ValidatorsResponse) XXX_MessageName

func (*ValidatorsResponse) XXX_MessageName() string

func (*ValidatorsResponse) XXX_Size

func (m *ValidatorsResponse) XXX_Size() int

func (*ValidatorsResponse) XXX_Unmarshal

func (m *ValidatorsResponse) XXX_Unmarshal(b []byte) error

type Version added in v0.5.0

type Version struct {
	Block                uint64   `protobuf:"varint,1,opt,name=Block,proto3" json:"Block,omitempty"`
	App                  uint64   `protobuf:"varint,2,opt,name=App,proto3" json:"App,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Version) Descriptor added in v0.5.0

func (*Version) Descriptor() ([]byte, []int)

func (*Version) GetApp added in v0.5.0

func (m *Version) GetApp() uint64

func (*Version) GetBlock added in v0.5.0

func (m *Version) GetBlock() uint64

func (*Version) ProtoMessage added in v0.5.0

func (*Version) ProtoMessage()

func (*Version) Reset added in v0.5.0

func (m *Version) Reset()

func (*Version) Size added in v0.5.0

func (m *Version) Size() (n int)

func (*Version) String added in v0.5.0

func (m *Version) String() string

func (*Version) XXX_DiscardUnknown added in v0.5.0

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal added in v0.5.0

func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Version) XXX_Merge added in v0.5.0

func (dst *Version) XXX_Merge(src proto.Message)

func (*Version) XXX_MessageName added in v0.5.0

func (*Version) XXX_MessageName() string

func (*Version) XXX_Size added in v0.5.0

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal added in v0.5.0

func (m *Version) XXX_Unmarshal(b []byte) error

type VoteInfo added in v0.5.0

type VoteInfo struct {
	ValidatorAddress     string    `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Signature            []byte    `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	Round                int32     `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	Height               int64     `protobuf:"varint,4,opt,name=Height,proto3" json:"Height,omitempty"`
	Time                 time.Time `protobuf:"bytes,5,opt,name=time,stdtime" json:"time"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*VoteInfo) Descriptor added in v0.5.0

func (*VoteInfo) Descriptor() ([]byte, []int)

func (*VoteInfo) GetHeight added in v0.5.0

func (m *VoteInfo) GetHeight() int64

func (*VoteInfo) GetRound added in v0.5.0

func (m *VoteInfo) GetRound() int32

func (*VoteInfo) GetSignature added in v0.5.0

func (m *VoteInfo) GetSignature() []byte

func (*VoteInfo) GetTime added in v0.5.0

func (m *VoteInfo) GetTime() time.Time

func (*VoteInfo) GetValidatorAddress added in v0.5.0

func (m *VoteInfo) GetValidatorAddress() string

func (*VoteInfo) ProtoMessage added in v0.5.0

func (*VoteInfo) ProtoMessage()

func (*VoteInfo) Reset added in v0.5.0

func (m *VoteInfo) Reset()

func (*VoteInfo) Size added in v0.5.0

func (m *VoteInfo) Size() (n int)

func (*VoteInfo) String added in v0.5.0

func (m *VoteInfo) String() string

func (*VoteInfo) XXX_DiscardUnknown added in v0.5.0

func (m *VoteInfo) XXX_DiscardUnknown()

func (*VoteInfo) XXX_Marshal added in v0.5.0

func (m *VoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VoteInfo) XXX_Merge added in v0.5.0

func (dst *VoteInfo) XXX_Merge(src proto.Message)

func (*VoteInfo) XXX_MessageName added in v0.5.0

func (*VoteInfo) XXX_MessageName() string

func (*VoteInfo) XXX_Size added in v0.5.0

func (m *VoteInfo) XXX_Size() int

func (*VoteInfo) XXX_Unmarshal added in v0.5.0

func (m *VoteInfo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL