rpcquery

package
v0.29.8-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 29 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryServer

func NewQueryServer(state QueryState, blockchain bcm.BlockchainInfo, nodeView *tendermint.NodeView, logger *logging.Logger) *queryServer

func RegisterQueryServer

func RegisterQueryServer(s *grpc.Server, srv QueryServer)

Types

type GetAccountParam

type GetAccountParam struct {
	Address              github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"`
	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
	XXX_unrecognized     []byte                                       `json:"-"`
	XXX_sizecache        int32                                        `json:"-"`
}

func (*GetAccountParam) Descriptor

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

func (*GetAccountParam) ProtoMessage

func (*GetAccountParam) ProtoMessage()

func (*GetAccountParam) Reset

func (m *GetAccountParam) Reset()

func (*GetAccountParam) Size

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

func (*GetAccountParam) String

func (m *GetAccountParam) String() string

func (*GetAccountParam) XXX_DiscardUnknown added in v0.23.0

func (m *GetAccountParam) XXX_DiscardUnknown()

func (*GetAccountParam) XXX_Marshal added in v0.23.0

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

func (*GetAccountParam) XXX_Merge added in v0.23.0

func (m *GetAccountParam) XXX_Merge(src proto.Message)

func (*GetAccountParam) XXX_MessageName

func (*GetAccountParam) XXX_MessageName() string

func (*GetAccountParam) XXX_Size added in v0.23.0

func (m *GetAccountParam) XXX_Size() int

func (*GetAccountParam) XXX_Unmarshal added in v0.23.0

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

type GetBlockParam added in v0.24.0

type GetBlockParam 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 (*GetBlockParam) Descriptor added in v0.24.0

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

func (*GetBlockParam) GetHeight added in v0.24.0

func (m *GetBlockParam) GetHeight() uint64

func (*GetBlockParam) ProtoMessage added in v0.24.0

func (*GetBlockParam) ProtoMessage()

func (*GetBlockParam) Reset added in v0.24.0

func (m *GetBlockParam) Reset()

func (*GetBlockParam) Size added in v0.24.0

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

func (*GetBlockParam) String added in v0.24.0

func (m *GetBlockParam) String() string

func (*GetBlockParam) XXX_DiscardUnknown added in v0.24.0

func (m *GetBlockParam) XXX_DiscardUnknown()

func (*GetBlockParam) XXX_Marshal added in v0.24.0

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

func (*GetBlockParam) XXX_Merge added in v0.24.0

func (m *GetBlockParam) XXX_Merge(src proto.Message)

func (*GetBlockParam) XXX_MessageName added in v0.24.0

func (*GetBlockParam) XXX_MessageName() string

func (*GetBlockParam) XXX_Size added in v0.24.0

func (m *GetBlockParam) XXX_Size() int

func (*GetBlockParam) XXX_Unmarshal added in v0.24.0

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

type GetMetadataParam added in v0.28.0

type GetMetadataParam struct {
	Address              *github_com_hyperledger_burrow_crypto.Address  `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address,omitempty"`
	MetadataHash         *github_com_hyperledger_burrow_binary.HexBytes `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
	XXX_unrecognized     []byte                                         `json:"-"`
	XXX_sizecache        int32                                          `json:"-"`
}

func (*GetMetadataParam) Descriptor added in v0.28.0

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

func (*GetMetadataParam) ProtoMessage added in v0.28.0

func (*GetMetadataParam) ProtoMessage()

func (*GetMetadataParam) Reset added in v0.28.0

func (m *GetMetadataParam) Reset()

func (*GetMetadataParam) Size added in v0.28.0

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

func (*GetMetadataParam) String added in v0.28.0

func (m *GetMetadataParam) String() string

func (*GetMetadataParam) XXX_DiscardUnknown added in v0.28.0

func (m *GetMetadataParam) XXX_DiscardUnknown()

func (*GetMetadataParam) XXX_Marshal added in v0.28.0

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

func (*GetMetadataParam) XXX_Merge added in v0.28.0

func (m *GetMetadataParam) XXX_Merge(src proto.Message)

func (*GetMetadataParam) XXX_MessageName added in v0.28.0

func (*GetMetadataParam) XXX_MessageName() string

func (*GetMetadataParam) XXX_Size added in v0.28.0

func (m *GetMetadataParam) XXX_Size() int

func (*GetMetadataParam) XXX_Unmarshal added in v0.28.0

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

type GetNameParam

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

func (*GetNameParam) Descriptor

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

func (*GetNameParam) GetName

func (m *GetNameParam) GetName() string

func (*GetNameParam) ProtoMessage

func (*GetNameParam) ProtoMessage()

func (*GetNameParam) Reset

func (m *GetNameParam) Reset()

func (*GetNameParam) Size

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

func (*GetNameParam) String

func (m *GetNameParam) String() string

func (*GetNameParam) XXX_DiscardUnknown added in v0.23.0

func (m *GetNameParam) XXX_DiscardUnknown()

func (*GetNameParam) XXX_Marshal added in v0.23.0

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

func (*GetNameParam) XXX_Merge added in v0.23.0

func (m *GetNameParam) XXX_Merge(src proto.Message)

func (*GetNameParam) XXX_MessageName

func (*GetNameParam) XXX_MessageName() string

func (*GetNameParam) XXX_Size added in v0.23.0

func (m *GetNameParam) XXX_Size() int

func (*GetNameParam) XXX_Unmarshal added in v0.23.0

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

type GetNetworkRegistryParam added in v0.29.0

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

func (*GetNetworkRegistryParam) Descriptor added in v0.29.0

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

func (*GetNetworkRegistryParam) ProtoMessage added in v0.29.0

func (*GetNetworkRegistryParam) ProtoMessage()

func (*GetNetworkRegistryParam) Reset added in v0.29.0

func (m *GetNetworkRegistryParam) Reset()

func (*GetNetworkRegistryParam) Size added in v0.29.0

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

func (*GetNetworkRegistryParam) String added in v0.29.0

func (m *GetNetworkRegistryParam) String() string

func (*GetNetworkRegistryParam) XXX_DiscardUnknown added in v0.29.0

func (m *GetNetworkRegistryParam) XXX_DiscardUnknown()

func (*GetNetworkRegistryParam) XXX_Marshal added in v0.29.0

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

func (*GetNetworkRegistryParam) XXX_Merge added in v0.29.0

func (m *GetNetworkRegistryParam) XXX_Merge(src proto.Message)

func (*GetNetworkRegistryParam) XXX_MessageName added in v0.29.0

func (*GetNetworkRegistryParam) XXX_MessageName() string

func (*GetNetworkRegistryParam) XXX_Size added in v0.29.0

func (m *GetNetworkRegistryParam) XXX_Size() int

func (*GetNetworkRegistryParam) XXX_Unmarshal added in v0.29.0

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

type GetProposalParam added in v0.23.0

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

func (*GetProposalParam) Descriptor added in v0.23.0

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

func (*GetProposalParam) GetHash added in v0.23.0

func (m *GetProposalParam) GetHash() []byte

func (*GetProposalParam) ProtoMessage added in v0.23.0

func (*GetProposalParam) ProtoMessage()

func (*GetProposalParam) Reset added in v0.23.0

func (m *GetProposalParam) Reset()

func (*GetProposalParam) Size added in v0.23.0

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

func (*GetProposalParam) String added in v0.23.0

func (m *GetProposalParam) String() string

func (*GetProposalParam) XXX_DiscardUnknown added in v0.23.0

func (m *GetProposalParam) XXX_DiscardUnknown()

func (*GetProposalParam) XXX_Marshal added in v0.23.0

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

func (*GetProposalParam) XXX_Merge added in v0.23.0

func (m *GetProposalParam) XXX_Merge(src proto.Message)

func (*GetProposalParam) XXX_MessageName added in v0.23.0

func (*GetProposalParam) XXX_MessageName() string

func (*GetProposalParam) XXX_Size added in v0.23.0

func (m *GetProposalParam) XXX_Size() int

func (*GetProposalParam) XXX_Unmarshal added in v0.23.0

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

type GetStatsParam added in v0.24.0

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

func (*GetStatsParam) Descriptor added in v0.24.0

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

func (*GetStatsParam) ProtoMessage added in v0.24.0

func (*GetStatsParam) ProtoMessage()

func (*GetStatsParam) Reset added in v0.24.0

func (m *GetStatsParam) Reset()

func (*GetStatsParam) Size added in v0.24.0

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

func (*GetStatsParam) String added in v0.24.0

func (m *GetStatsParam) String() string

func (*GetStatsParam) XXX_DiscardUnknown added in v0.24.0

func (m *GetStatsParam) XXX_DiscardUnknown()

func (*GetStatsParam) XXX_Marshal added in v0.24.0

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

func (*GetStatsParam) XXX_Merge added in v0.24.0

func (m *GetStatsParam) XXX_Merge(src proto.Message)

func (*GetStatsParam) XXX_MessageName added in v0.24.0

func (*GetStatsParam) XXX_MessageName() string

func (*GetStatsParam) XXX_Size added in v0.24.0

func (m *GetStatsParam) XXX_Size() int

func (*GetStatsParam) XXX_Unmarshal added in v0.24.0

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

type GetStorageParam added in v0.24.0

type GetStorageParam struct {
	Address              github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"`
	Key                  github_com_hyperledger_burrow_binary.Word256 `protobuf:"bytes,2,opt,name=Key,proto3,customtype=github.com/hyperledger/burrow/binary.Word256" json:"Key"`
	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
	XXX_unrecognized     []byte                                       `json:"-"`
	XXX_sizecache        int32                                        `json:"-"`
}

func (*GetStorageParam) Descriptor added in v0.24.0

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

func (*GetStorageParam) ProtoMessage added in v0.24.0

func (*GetStorageParam) ProtoMessage()

func (*GetStorageParam) Reset added in v0.24.0

func (m *GetStorageParam) Reset()

func (*GetStorageParam) Size added in v0.24.0

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

func (*GetStorageParam) String added in v0.24.0

func (m *GetStorageParam) String() string

func (*GetStorageParam) XXX_DiscardUnknown added in v0.24.0

func (m *GetStorageParam) XXX_DiscardUnknown()

func (*GetStorageParam) XXX_Marshal added in v0.24.0

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

func (*GetStorageParam) XXX_Merge added in v0.24.0

func (m *GetStorageParam) XXX_Merge(src proto.Message)

func (*GetStorageParam) XXX_MessageName added in v0.24.0

func (*GetStorageParam) XXX_MessageName() string

func (*GetStorageParam) XXX_Size added in v0.24.0

func (m *GetStorageParam) XXX_Size() int

func (*GetStorageParam) XXX_Unmarshal added in v0.24.0

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

type GetValidatorSetHistoryParam added in v0.24.0

type GetValidatorSetHistoryParam struct {
	// Use -1 for all available history
	IncludePrevious      int64    `protobuf:"varint,1,opt,name=IncludePrevious,proto3" json:"IncludePrevious,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetValidatorSetHistoryParam) Descriptor added in v0.24.0

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

func (*GetValidatorSetHistoryParam) GetIncludePrevious added in v0.24.0

func (m *GetValidatorSetHistoryParam) GetIncludePrevious() int64

func (*GetValidatorSetHistoryParam) ProtoMessage added in v0.24.0

func (*GetValidatorSetHistoryParam) ProtoMessage()

func (*GetValidatorSetHistoryParam) Reset added in v0.24.0

func (m *GetValidatorSetHistoryParam) Reset()

func (*GetValidatorSetHistoryParam) Size added in v0.24.0

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

func (*GetValidatorSetHistoryParam) String added in v0.24.0

func (m *GetValidatorSetHistoryParam) String() string

func (*GetValidatorSetHistoryParam) XXX_DiscardUnknown added in v0.24.0

func (m *GetValidatorSetHistoryParam) XXX_DiscardUnknown()

func (*GetValidatorSetHistoryParam) XXX_Marshal added in v0.24.0

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

func (*GetValidatorSetHistoryParam) XXX_Merge added in v0.24.0

func (m *GetValidatorSetHistoryParam) XXX_Merge(src proto.Message)

func (*GetValidatorSetHistoryParam) XXX_MessageName added in v0.24.0

func (*GetValidatorSetHistoryParam) XXX_MessageName() string

func (*GetValidatorSetHistoryParam) XXX_Size added in v0.24.0

func (m *GetValidatorSetHistoryParam) XXX_Size() int

func (*GetValidatorSetHistoryParam) XXX_Unmarshal added in v0.24.0

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

type GetValidatorSetParam

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

func (*GetValidatorSetParam) Descriptor

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

func (*GetValidatorSetParam) ProtoMessage

func (*GetValidatorSetParam) ProtoMessage()

func (*GetValidatorSetParam) Reset

func (m *GetValidatorSetParam) Reset()

func (*GetValidatorSetParam) Size

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

func (*GetValidatorSetParam) String

func (m *GetValidatorSetParam) String() string

func (*GetValidatorSetParam) XXX_DiscardUnknown added in v0.23.0

func (m *GetValidatorSetParam) XXX_DiscardUnknown()

func (*GetValidatorSetParam) XXX_Marshal added in v0.23.0

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

func (*GetValidatorSetParam) XXX_Merge added in v0.23.0

func (m *GetValidatorSetParam) XXX_Merge(src proto.Message)

func (*GetValidatorSetParam) XXX_MessageName

func (*GetValidatorSetParam) XXX_MessageName() string

func (*GetValidatorSetParam) XXX_Size added in v0.23.0

func (m *GetValidatorSetParam) XXX_Size() int

func (*GetValidatorSetParam) XXX_Unmarshal added in v0.23.0

func (m *GetValidatorSetParam) 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 added in v0.23.0

func (m *ListAccountsParam) XXX_DiscardUnknown()

func (*ListAccountsParam) XXX_Marshal added in v0.23.0

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

func (*ListAccountsParam) XXX_Merge added in v0.23.0

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

func (*ListAccountsParam) XXX_MessageName

func (*ListAccountsParam) XXX_MessageName() string

func (*ListAccountsParam) XXX_Size added in v0.23.0

func (m *ListAccountsParam) XXX_Size() int

func (*ListAccountsParam) XXX_Unmarshal added in v0.23.0

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

type ListNamesParam

type ListNamesParam 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 (*ListNamesParam) Descriptor

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

func (*ListNamesParam) GetQuery

func (m *ListNamesParam) GetQuery() string

func (*ListNamesParam) ProtoMessage

func (*ListNamesParam) ProtoMessage()

func (*ListNamesParam) Reset

func (m *ListNamesParam) Reset()

func (*ListNamesParam) Size

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

func (*ListNamesParam) String

func (m *ListNamesParam) String() string

func (*ListNamesParam) XXX_DiscardUnknown added in v0.23.0

func (m *ListNamesParam) XXX_DiscardUnknown()

func (*ListNamesParam) XXX_Marshal added in v0.23.0

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

func (*ListNamesParam) XXX_Merge added in v0.23.0

func (m *ListNamesParam) XXX_Merge(src proto.Message)

func (*ListNamesParam) XXX_MessageName

func (*ListNamesParam) XXX_MessageName() string

func (*ListNamesParam) XXX_Size added in v0.23.0

func (m *ListNamesParam) XXX_Size() int

func (*ListNamesParam) XXX_Unmarshal added in v0.23.0

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

type ListProposalsParam added in v0.23.0

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

func (*ListProposalsParam) Descriptor added in v0.23.0

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

func (*ListProposalsParam) GetProposed added in v0.23.0

func (m *ListProposalsParam) GetProposed() bool

func (*ListProposalsParam) ProtoMessage added in v0.23.0

func (*ListProposalsParam) ProtoMessage()

func (*ListProposalsParam) Reset added in v0.23.0

func (m *ListProposalsParam) Reset()

func (*ListProposalsParam) Size added in v0.23.0

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

func (*ListProposalsParam) String added in v0.23.0

func (m *ListProposalsParam) String() string

func (*ListProposalsParam) XXX_DiscardUnknown added in v0.23.0

func (m *ListProposalsParam) XXX_DiscardUnknown()

func (*ListProposalsParam) XXX_Marshal added in v0.23.0

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

func (*ListProposalsParam) XXX_Merge added in v0.23.0

func (m *ListProposalsParam) XXX_Merge(src proto.Message)

func (*ListProposalsParam) XXX_MessageName added in v0.23.0

func (*ListProposalsParam) XXX_MessageName() string

func (*ListProposalsParam) XXX_Size added in v0.23.0

func (m *ListProposalsParam) XXX_Size() int

func (*ListProposalsParam) XXX_Unmarshal added in v0.23.0

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

type MetadataResult added in v0.28.0

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

func (*MetadataResult) Descriptor added in v0.28.0

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

func (*MetadataResult) GetMetadata added in v0.28.0

func (m *MetadataResult) GetMetadata() string

func (*MetadataResult) ProtoMessage added in v0.28.0

func (*MetadataResult) ProtoMessage()

func (*MetadataResult) Reset added in v0.28.0

func (m *MetadataResult) Reset()

func (*MetadataResult) Size added in v0.28.0

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

func (*MetadataResult) String added in v0.28.0

func (m *MetadataResult) String() string

func (*MetadataResult) XXX_DiscardUnknown added in v0.28.0

func (m *MetadataResult) XXX_DiscardUnknown()

func (*MetadataResult) XXX_Marshal added in v0.28.0

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

func (*MetadataResult) XXX_Merge added in v0.28.0

func (m *MetadataResult) XXX_Merge(src proto.Message)

func (*MetadataResult) XXX_MessageName added in v0.28.0

func (*MetadataResult) XXX_MessageName() string

func (*MetadataResult) XXX_Size added in v0.28.0

func (m *MetadataResult) XXX_Size() int

func (*MetadataResult) XXX_Unmarshal added in v0.28.0

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

type NetworkRegistry added in v0.29.0

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

func (*NetworkRegistry) Descriptor added in v0.29.0

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

func (*NetworkRegistry) GetSet added in v0.29.0

func (m *NetworkRegistry) GetSet() []*RegisteredValidator

func (*NetworkRegistry) ProtoMessage added in v0.29.0

func (*NetworkRegistry) ProtoMessage()

func (*NetworkRegistry) Reset added in v0.29.0

func (m *NetworkRegistry) Reset()

func (*NetworkRegistry) Size added in v0.29.0

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

func (*NetworkRegistry) String added in v0.29.0

func (m *NetworkRegistry) String() string

func (*NetworkRegistry) XXX_DiscardUnknown added in v0.29.0

func (m *NetworkRegistry) XXX_DiscardUnknown()

func (*NetworkRegistry) XXX_Marshal added in v0.29.0

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

func (*NetworkRegistry) XXX_Merge added in v0.29.0

func (m *NetworkRegistry) XXX_Merge(src proto.Message)

func (*NetworkRegistry) XXX_MessageName added in v0.29.0

func (*NetworkRegistry) XXX_MessageName() string

func (*NetworkRegistry) XXX_Size added in v0.29.0

func (m *NetworkRegistry) XXX_Size() int

func (*NetworkRegistry) XXX_Unmarshal added in v0.29.0

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

type ProposalResult added in v0.23.0

type ProposalResult struct {
	Hash                 []byte          `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"`
	Ballot               *payload.Ballot `protobuf:"bytes,2,opt,name=Ballot,proto3" json:"Ballot,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ProposalResult) Descriptor added in v0.23.0

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

func (*ProposalResult) GetBallot added in v0.23.0

func (m *ProposalResult) GetBallot() *payload.Ballot

func (*ProposalResult) GetHash added in v0.23.0

func (m *ProposalResult) GetHash() []byte

func (*ProposalResult) ProtoMessage added in v0.23.0

func (*ProposalResult) ProtoMessage()

func (*ProposalResult) Reset added in v0.23.0

func (m *ProposalResult) Reset()

func (*ProposalResult) Size added in v0.23.0

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

func (*ProposalResult) String added in v0.23.0

func (m *ProposalResult) String() string

func (*ProposalResult) XXX_DiscardUnknown added in v0.23.0

func (m *ProposalResult) XXX_DiscardUnknown()

func (*ProposalResult) XXX_Marshal added in v0.23.0

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

func (*ProposalResult) XXX_Merge added in v0.23.0

func (m *ProposalResult) XXX_Merge(src proto.Message)

func (*ProposalResult) XXX_MessageName added in v0.23.0

func (*ProposalResult) XXX_MessageName() string

func (*ProposalResult) XXX_Size added in v0.23.0

func (m *ProposalResult) XXX_Size() int

func (*ProposalResult) XXX_Unmarshal added in v0.23.0

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

type QueryClient

type QueryClient interface {
	Status(ctx context.Context, in *StatusParam, opts ...grpc.CallOption) (*rpc.ResultStatus, error)
	GetAccount(ctx context.Context, in *GetAccountParam, opts ...grpc.CallOption) (*acm.Account, error)
	GetMetadata(ctx context.Context, in *GetMetadataParam, opts ...grpc.CallOption) (*MetadataResult, error)
	GetStorage(ctx context.Context, in *GetStorageParam, opts ...grpc.CallOption) (*StorageValue, error)
	ListAccounts(ctx context.Context, in *ListAccountsParam, opts ...grpc.CallOption) (Query_ListAccountsClient, error)
	GetName(ctx context.Context, in *GetNameParam, opts ...grpc.CallOption) (*names.Entry, error)
	ListNames(ctx context.Context, in *ListNamesParam, opts ...grpc.CallOption) (Query_ListNamesClient, error)
	// GetNetworkRegistry returns for each validator address, the list of their identified node at the current state
	GetNetworkRegistry(ctx context.Context, in *GetNetworkRegistryParam, opts ...grpc.CallOption) (*NetworkRegistry, error)
	GetValidatorSet(ctx context.Context, in *GetValidatorSetParam, opts ...grpc.CallOption) (*ValidatorSet, error)
	GetValidatorSetHistory(ctx context.Context, in *GetValidatorSetHistoryParam, opts ...grpc.CallOption) (*ValidatorSetHistory, error)
	GetProposal(ctx context.Context, in *GetProposalParam, opts ...grpc.CallOption) (*payload.Ballot, error)
	ListProposals(ctx context.Context, in *ListProposalsParam, opts ...grpc.CallOption) (Query_ListProposalsClient, error)
	GetStats(ctx context.Context, in *GetStatsParam, opts ...grpc.CallOption) (*Stats, error)
	GetBlockHeader(ctx context.Context, in *GetBlockParam, opts ...grpc.CallOption) (*types.Header, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient

func NewQueryClient(cc *grpc.ClientConn) QueryClient

type QueryServer

type QueryServer interface {
	Status(context.Context, *StatusParam) (*rpc.ResultStatus, error)
	GetAccount(context.Context, *GetAccountParam) (*acm.Account, error)
	GetMetadata(context.Context, *GetMetadataParam) (*MetadataResult, error)
	GetStorage(context.Context, *GetStorageParam) (*StorageValue, error)
	ListAccounts(*ListAccountsParam, Query_ListAccountsServer) error
	GetName(context.Context, *GetNameParam) (*names.Entry, error)
	ListNames(*ListNamesParam, Query_ListNamesServer) error
	// GetNetworkRegistry returns for each validator address, the list of their identified node at the current state
	GetNetworkRegistry(context.Context, *GetNetworkRegistryParam) (*NetworkRegistry, error)
	GetValidatorSet(context.Context, *GetValidatorSetParam) (*ValidatorSet, error)
	GetValidatorSetHistory(context.Context, *GetValidatorSetHistoryParam) (*ValidatorSetHistory, error)
	GetProposal(context.Context, *GetProposalParam) (*payload.Ballot, error)
	ListProposals(*ListProposalsParam, Query_ListProposalsServer) error
	GetStats(context.Context, *GetStatsParam) (*Stats, error)
	GetBlockHeader(context.Context, *GetBlockParam) (*types.Header, error)
}

QueryServer is the server API for Query service.

type Query_ListAccountsClient

type Query_ListAccountsClient interface {
	Recv() (*acm.Account, error)
	grpc.ClientStream
}

type Query_ListAccountsServer

type Query_ListAccountsServer interface {
	Send(*acm.Account) error
	grpc.ServerStream
}

type Query_ListNamesClient

type Query_ListNamesClient interface {
	Recv() (*names.Entry, error)
	grpc.ClientStream
}

type Query_ListNamesServer

type Query_ListNamesServer interface {
	Send(*names.Entry) error
	grpc.ServerStream
}

type Query_ListProposalsClient added in v0.23.0

type Query_ListProposalsClient interface {
	Recv() (*ProposalResult, error)
	grpc.ClientStream
}

type Query_ListProposalsServer added in v0.23.0

type Query_ListProposalsServer interface {
	Send(*ProposalResult) error
	grpc.ServerStream
}

type RegisteredValidator added in v0.29.0

type RegisteredValidator struct {
	Address              github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"`
	Node                 *registry.NodeIdentity                       `protobuf:"bytes,2,opt,name=Node,proto3" json:"Node,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
	XXX_unrecognized     []byte                                       `json:"-"`
	XXX_sizecache        int32                                        `json:"-"`
}

func (*RegisteredValidator) Descriptor added in v0.29.0

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

func (*RegisteredValidator) GetNode added in v0.29.0

func (*RegisteredValidator) ProtoMessage added in v0.29.0

func (*RegisteredValidator) ProtoMessage()

func (*RegisteredValidator) Reset added in v0.29.0

func (m *RegisteredValidator) Reset()

func (*RegisteredValidator) Size added in v0.29.0

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

func (*RegisteredValidator) String added in v0.29.0

func (m *RegisteredValidator) String() string

func (*RegisteredValidator) XXX_DiscardUnknown added in v0.29.0

func (m *RegisteredValidator) XXX_DiscardUnknown()

func (*RegisteredValidator) XXX_Marshal added in v0.29.0

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

func (*RegisteredValidator) XXX_Merge added in v0.29.0

func (m *RegisteredValidator) XXX_Merge(src proto.Message)

func (*RegisteredValidator) XXX_MessageName added in v0.29.0

func (*RegisteredValidator) XXX_MessageName() string

func (*RegisteredValidator) XXX_Size added in v0.29.0

func (m *RegisteredValidator) XXX_Size() int

func (*RegisteredValidator) XXX_Unmarshal added in v0.29.0

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

type Stats added in v0.24.0

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

func (*Stats) Descriptor added in v0.24.0

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

func (*Stats) GetAccountsWithCode added in v0.24.0

func (m *Stats) GetAccountsWithCode() uint64

func (*Stats) GetAccountsWithoutCode added in v0.24.0

func (m *Stats) GetAccountsWithoutCode() uint64

func (*Stats) ProtoMessage added in v0.24.0

func (*Stats) ProtoMessage()

func (*Stats) Reset added in v0.24.0

func (m *Stats) Reset()

func (*Stats) Size added in v0.24.0

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

func (*Stats) String added in v0.24.0

func (m *Stats) String() string

func (*Stats) XXX_DiscardUnknown added in v0.24.0

func (m *Stats) XXX_DiscardUnknown()

func (*Stats) XXX_Marshal added in v0.24.0

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

func (*Stats) XXX_Merge added in v0.24.0

func (m *Stats) XXX_Merge(src proto.Message)

func (*Stats) XXX_MessageName added in v0.24.0

func (*Stats) XXX_MessageName() string

func (*Stats) XXX_Size added in v0.24.0

func (m *Stats) XXX_Size() int

func (*Stats) XXX_Unmarshal added in v0.24.0

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

type StatusParam

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

func (*StatusParam) Descriptor

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

func (*StatusParam) GetBlockSeenTimeWithin added in v0.20.1

func (m *StatusParam) GetBlockSeenTimeWithin() string

func (*StatusParam) GetBlockTimeWithin added in v0.20.1

func (m *StatusParam) GetBlockTimeWithin() string

func (*StatusParam) ProtoMessage

func (*StatusParam) ProtoMessage()

func (*StatusParam) Reset

func (m *StatusParam) Reset()

func (*StatusParam) Size

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

func (*StatusParam) String

func (m *StatusParam) String() string

func (*StatusParam) XXX_DiscardUnknown added in v0.23.0

func (m *StatusParam) XXX_DiscardUnknown()

func (*StatusParam) XXX_Marshal added in v0.23.0

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

func (*StatusParam) XXX_Merge added in v0.23.0

func (m *StatusParam) XXX_Merge(src proto.Message)

func (*StatusParam) XXX_MessageName

func (*StatusParam) XXX_MessageName() string

func (*StatusParam) XXX_Size added in v0.23.0

func (m *StatusParam) XXX_Size() int

func (*StatusParam) XXX_Unmarshal added in v0.23.0

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

type StorageValue added in v0.24.0

type StorageValue struct {
	Value                github_com_hyperledger_burrow_binary.HexBytes `protobuf:"bytes,1,opt,name=Value,proto3,customtype=github.com/hyperledger/burrow/binary.HexBytes" json:"Value"`
	XXX_NoUnkeyedLiteral struct{}                                      `json:"-"`
	XXX_unrecognized     []byte                                        `json:"-"`
	XXX_sizecache        int32                                         `json:"-"`
}

func (*StorageValue) Descriptor added in v0.24.0

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

func (*StorageValue) ProtoMessage added in v0.24.0

func (*StorageValue) ProtoMessage()

func (*StorageValue) Reset added in v0.24.0

func (m *StorageValue) Reset()

func (*StorageValue) Size added in v0.24.0

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

func (*StorageValue) String added in v0.24.0

func (m *StorageValue) String() string

func (*StorageValue) XXX_DiscardUnknown added in v0.24.0

func (m *StorageValue) XXX_DiscardUnknown()

func (*StorageValue) XXX_Marshal added in v0.24.0

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

func (*StorageValue) XXX_Merge added in v0.24.0

func (m *StorageValue) XXX_Merge(src proto.Message)

func (*StorageValue) XXX_MessageName added in v0.24.0

func (*StorageValue) XXX_MessageName() string

func (*StorageValue) XXX_Size added in v0.24.0

func (m *StorageValue) XXX_Size() int

func (*StorageValue) XXX_Unmarshal added in v0.24.0

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

type UnimplementedQueryServer added in v0.28.0

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetAccount added in v0.28.0

func (*UnimplementedQueryServer) GetBlockHeader added in v0.28.0

func (*UnimplementedQueryServer) GetBlockHeader(ctx context.Context, req *GetBlockParam) (*types.Header, error)

func (*UnimplementedQueryServer) GetMetadata added in v0.28.0

func (*UnimplementedQueryServer) GetName added in v0.28.0

func (*UnimplementedQueryServer) GetNetworkRegistry added in v0.30.0

func (*UnimplementedQueryServer) GetProposal added in v0.28.0

func (*UnimplementedQueryServer) GetStats added in v0.28.0

func (*UnimplementedQueryServer) GetStorage added in v0.28.0

func (*UnimplementedQueryServer) GetValidatorSet added in v0.28.0

func (*UnimplementedQueryServer) GetValidatorSetHistory added in v0.28.0

func (*UnimplementedQueryServer) ListAccounts added in v0.28.0

func (*UnimplementedQueryServer) ListNames added in v0.28.0

func (*UnimplementedQueryServer) ListProposals added in v0.28.0

func (*UnimplementedQueryServer) Status added in v0.28.0

type ValidatorSet

type ValidatorSet struct {
	Height               uint64                 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Set                  []*validator.Validator `protobuf:"bytes,2,rep,name=Set,proto3" json:"Set,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ValidatorSet) Descriptor

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

func (*ValidatorSet) GetHeight

func (m *ValidatorSet) GetHeight() uint64

func (*ValidatorSet) GetSet

func (m *ValidatorSet) GetSet() []*validator.Validator

func (*ValidatorSet) ProtoMessage

func (*ValidatorSet) ProtoMessage()

func (*ValidatorSet) Reset

func (m *ValidatorSet) Reset()

func (*ValidatorSet) Size

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

func (*ValidatorSet) String

func (m *ValidatorSet) String() string

func (*ValidatorSet) XXX_DiscardUnknown added in v0.23.0

func (m *ValidatorSet) XXX_DiscardUnknown()

func (*ValidatorSet) XXX_Marshal added in v0.23.0

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

func (*ValidatorSet) XXX_Merge added in v0.23.0

func (m *ValidatorSet) XXX_Merge(src proto.Message)

func (*ValidatorSet) XXX_MessageName

func (*ValidatorSet) XXX_MessageName() string

func (*ValidatorSet) XXX_Size added in v0.23.0

func (m *ValidatorSet) XXX_Size() int

func (*ValidatorSet) XXX_Unmarshal added in v0.23.0

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

type ValidatorSetHistory added in v0.24.0

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

func (*ValidatorSetHistory) Descriptor added in v0.24.0

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

func (*ValidatorSetHistory) GetHistory added in v0.24.0

func (m *ValidatorSetHistory) GetHistory() []*ValidatorSet

func (*ValidatorSetHistory) ProtoMessage added in v0.24.0

func (*ValidatorSetHistory) ProtoMessage()

func (*ValidatorSetHistory) Reset added in v0.24.0

func (m *ValidatorSetHistory) Reset()

func (*ValidatorSetHistory) Size added in v0.24.0

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

func (*ValidatorSetHistory) String added in v0.24.0

func (m *ValidatorSetHistory) String() string

func (*ValidatorSetHistory) XXX_DiscardUnknown added in v0.24.0

func (m *ValidatorSetHistory) XXX_DiscardUnknown()

func (*ValidatorSetHistory) XXX_Marshal added in v0.24.0

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

func (*ValidatorSetHistory) XXX_Merge added in v0.24.0

func (m *ValidatorSetHistory) XXX_Merge(src proto.Message)

func (*ValidatorSetHistory) XXX_MessageName added in v0.24.0

func (*ValidatorSetHistory) XXX_MessageName() string

func (*ValidatorSetHistory) XXX_Size added in v0.24.0

func (m *ValidatorSetHistory) XXX_Size() int

func (*ValidatorSetHistory) XXX_Unmarshal added in v0.24.0

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

Jump to

Keyboard shortcuts

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