Documentation
¶
Overview ¶
Package rpcquery is a generated protocol buffer package.
It is generated from these files:
rpcquery.proto
It has these top-level messages:
StatusParam GetAccountParam GetStorageParam StorageValue ListAccountsParam GetNameParam ListNamesParam GetValidatorSetParam GetValidatorSetHistoryParam ValidatorSetHistory ValidatorSet GetProposalParam ListProposalsParam ProposalResult GetStatsParam Stats GetBlockParam
Index ¶
- Variables
- func NewQueryServer(state acmstate.IterableStatsReader, nameReg names.IterableReader, ...) *queryServer
- func RegisterQueryServer(s *grpc.Server, srv QueryServer)
- type GetAccountParam
- func (*GetAccountParam) Descriptor() ([]byte, []int)
- func (m *GetAccountParam) Marshal() (dAtA []byte, err error)
- func (m *GetAccountParam) MarshalTo(dAtA []byte) (int, error)
- func (*GetAccountParam) ProtoMessage()
- func (m *GetAccountParam) Reset()
- func (m *GetAccountParam) Size() (n int)
- func (m *GetAccountParam) String() string
- func (m *GetAccountParam) Unmarshal(dAtA []byte) error
- func (*GetAccountParam) XXX_MessageName() string
- type GetBlockParam
- func (*GetBlockParam) Descriptor() ([]byte, []int)
- func (m *GetBlockParam) GetHeight() uint64
- func (m *GetBlockParam) Marshal() (dAtA []byte, err error)
- func (m *GetBlockParam) MarshalTo(dAtA []byte) (int, error)
- func (*GetBlockParam) ProtoMessage()
- func (m *GetBlockParam) Reset()
- func (m *GetBlockParam) Size() (n int)
- func (m *GetBlockParam) String() string
- func (m *GetBlockParam) Unmarshal(dAtA []byte) error
- func (*GetBlockParam) XXX_MessageName() string
- type GetNameParam
- func (*GetNameParam) Descriptor() ([]byte, []int)
- func (m *GetNameParam) GetName() string
- func (m *GetNameParam) Marshal() (dAtA []byte, err error)
- func (m *GetNameParam) MarshalTo(dAtA []byte) (int, error)
- func (*GetNameParam) ProtoMessage()
- func (m *GetNameParam) Reset()
- func (m *GetNameParam) Size() (n int)
- func (m *GetNameParam) String() string
- func (m *GetNameParam) Unmarshal(dAtA []byte) error
- func (*GetNameParam) XXX_MessageName() string
- type GetProposalParam
- func (*GetProposalParam) Descriptor() ([]byte, []int)
- func (m *GetProposalParam) GetHash() []byte
- func (m *GetProposalParam) Marshal() (dAtA []byte, err error)
- func (m *GetProposalParam) MarshalTo(dAtA []byte) (int, error)
- func (*GetProposalParam) ProtoMessage()
- func (m *GetProposalParam) Reset()
- func (m *GetProposalParam) Size() (n int)
- func (m *GetProposalParam) String() string
- func (m *GetProposalParam) Unmarshal(dAtA []byte) error
- func (*GetProposalParam) XXX_MessageName() string
- type GetStatsParam
- func (*GetStatsParam) Descriptor() ([]byte, []int)
- func (m *GetStatsParam) Marshal() (dAtA []byte, err error)
- func (m *GetStatsParam) MarshalTo(dAtA []byte) (int, error)
- func (*GetStatsParam) ProtoMessage()
- func (m *GetStatsParam) Reset()
- func (m *GetStatsParam) Size() (n int)
- func (m *GetStatsParam) String() string
- func (m *GetStatsParam) Unmarshal(dAtA []byte) error
- func (*GetStatsParam) XXX_MessageName() string
- type GetStorageParam
- func (*GetStorageParam) Descriptor() ([]byte, []int)
- func (m *GetStorageParam) Marshal() (dAtA []byte, err error)
- func (m *GetStorageParam) MarshalTo(dAtA []byte) (int, error)
- func (*GetStorageParam) ProtoMessage()
- func (m *GetStorageParam) Reset()
- func (m *GetStorageParam) Size() (n int)
- func (m *GetStorageParam) String() string
- func (m *GetStorageParam) Unmarshal(dAtA []byte) error
- func (*GetStorageParam) XXX_MessageName() string
- type GetValidatorSetHistoryParam
- func (*GetValidatorSetHistoryParam) Descriptor() ([]byte, []int)
- func (m *GetValidatorSetHistoryParam) GetIncludePrevious() int64
- func (m *GetValidatorSetHistoryParam) Marshal() (dAtA []byte, err error)
- func (m *GetValidatorSetHistoryParam) MarshalTo(dAtA []byte) (int, error)
- func (*GetValidatorSetHistoryParam) ProtoMessage()
- func (m *GetValidatorSetHistoryParam) Reset()
- func (m *GetValidatorSetHistoryParam) Size() (n int)
- func (m *GetValidatorSetHistoryParam) String() string
- func (m *GetValidatorSetHistoryParam) Unmarshal(dAtA []byte) error
- func (*GetValidatorSetHistoryParam) XXX_MessageName() string
- type GetValidatorSetParam
- func (*GetValidatorSetParam) Descriptor() ([]byte, []int)
- func (m *GetValidatorSetParam) Marshal() (dAtA []byte, err error)
- func (m *GetValidatorSetParam) MarshalTo(dAtA []byte) (int, error)
- func (*GetValidatorSetParam) ProtoMessage()
- func (m *GetValidatorSetParam) Reset()
- func (m *GetValidatorSetParam) Size() (n int)
- func (m *GetValidatorSetParam) String() string
- func (m *GetValidatorSetParam) Unmarshal(dAtA []byte) error
- func (*GetValidatorSetParam) XXX_MessageName() string
- type ListAccountsParam
- func (*ListAccountsParam) Descriptor() ([]byte, []int)
- func (m *ListAccountsParam) GetQuery() string
- func (m *ListAccountsParam) Marshal() (dAtA []byte, err error)
- func (m *ListAccountsParam) MarshalTo(dAtA []byte) (int, error)
- func (*ListAccountsParam) ProtoMessage()
- func (m *ListAccountsParam) Reset()
- func (m *ListAccountsParam) Size() (n int)
- func (m *ListAccountsParam) String() string
- func (m *ListAccountsParam) Unmarshal(dAtA []byte) error
- func (*ListAccountsParam) XXX_MessageName() string
- type ListNamesParam
- func (*ListNamesParam) Descriptor() ([]byte, []int)
- func (m *ListNamesParam) GetQuery() string
- func (m *ListNamesParam) Marshal() (dAtA []byte, err error)
- func (m *ListNamesParam) MarshalTo(dAtA []byte) (int, error)
- func (*ListNamesParam) ProtoMessage()
- func (m *ListNamesParam) Reset()
- func (m *ListNamesParam) Size() (n int)
- func (m *ListNamesParam) String() string
- func (m *ListNamesParam) Unmarshal(dAtA []byte) error
- func (*ListNamesParam) XXX_MessageName() string
- type ListProposalsParam
- func (*ListProposalsParam) Descriptor() ([]byte, []int)
- func (m *ListProposalsParam) GetProposed() bool
- func (m *ListProposalsParam) Marshal() (dAtA []byte, err error)
- func (m *ListProposalsParam) MarshalTo(dAtA []byte) (int, error)
- func (*ListProposalsParam) ProtoMessage()
- func (m *ListProposalsParam) Reset()
- func (m *ListProposalsParam) Size() (n int)
- func (m *ListProposalsParam) String() string
- func (m *ListProposalsParam) Unmarshal(dAtA []byte) error
- func (*ListProposalsParam) XXX_MessageName() string
- type ProposalResult
- func (*ProposalResult) Descriptor() ([]byte, []int)
- func (m *ProposalResult) GetBallot() *payload.Ballot
- func (m *ProposalResult) GetHash() []byte
- func (m *ProposalResult) Marshal() (dAtA []byte, err error)
- func (m *ProposalResult) MarshalTo(dAtA []byte) (int, error)
- func (*ProposalResult) ProtoMessage()
- func (m *ProposalResult) Reset()
- func (m *ProposalResult) Size() (n int)
- func (m *ProposalResult) String() string
- func (m *ProposalResult) Unmarshal(dAtA []byte) error
- func (*ProposalResult) XXX_MessageName() string
- type QueryClient
- type QueryServer
- type Query_ListAccountsClient
- type Query_ListAccountsServer
- type Query_ListNamesClient
- type Query_ListNamesServer
- type Query_ListProposalsClient
- type Query_ListProposalsServer
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)
- func (m *Stats) GetAccountsWithCode() uint64
- func (m *Stats) GetAccountsWithoutCode() uint64
- func (m *Stats) Marshal() (dAtA []byte, err error)
- func (m *Stats) MarshalTo(dAtA []byte) (int, error)
- func (*Stats) ProtoMessage()
- func (m *Stats) Reset()
- func (m *Stats) Size() (n int)
- func (m *Stats) String() string
- func (m *Stats) Unmarshal(dAtA []byte) error
- func (*Stats) XXX_MessageName() string
- type StatusParam
- func (*StatusParam) Descriptor() ([]byte, []int)
- func (m *StatusParam) GetBlockSeenTimeWithin() string
- func (m *StatusParam) GetBlockTimeWithin() string
- func (m *StatusParam) Marshal() (dAtA []byte, err error)
- func (m *StatusParam) MarshalTo(dAtA []byte) (int, error)
- func (*StatusParam) ProtoMessage()
- func (m *StatusParam) Reset()
- func (m *StatusParam) Size() (n int)
- func (m *StatusParam) String() string
- func (m *StatusParam) Unmarshal(dAtA []byte) error
- func (*StatusParam) XXX_MessageName() string
- type StorageValue
- func (*StorageValue) Descriptor() ([]byte, []int)
- func (m *StorageValue) Marshal() (dAtA []byte, err error)
- func (m *StorageValue) MarshalTo(dAtA []byte) (int, error)
- func (*StorageValue) ProtoMessage()
- func (m *StorageValue) Reset()
- func (m *StorageValue) Size() (n int)
- func (m *StorageValue) String() string
- func (m *StorageValue) Unmarshal(dAtA []byte) error
- func (*StorageValue) XXX_MessageName() string
- type ValidatorSet
- func (*ValidatorSet) Descriptor() ([]byte, []int)
- func (m *ValidatorSet) GetHeight() uint64
- func (m *ValidatorSet) GetSet() []*validator.Validator
- func (m *ValidatorSet) Marshal() (dAtA []byte, err error)
- func (m *ValidatorSet) MarshalTo(dAtA []byte) (int, error)
- func (*ValidatorSet) ProtoMessage()
- func (m *ValidatorSet) Reset()
- func (m *ValidatorSet) Size() (n int)
- func (m *ValidatorSet) String() string
- func (m *ValidatorSet) Unmarshal(dAtA []byte) error
- func (*ValidatorSet) XXX_MessageName() string
- type ValidatorSetHistory
- func (*ValidatorSetHistory) Descriptor() ([]byte, []int)
- func (m *ValidatorSetHistory) GetHistory() []*ValidatorSet
- func (m *ValidatorSetHistory) Marshal() (dAtA []byte, err error)
- func (m *ValidatorSetHistory) MarshalTo(dAtA []byte) (int, error)
- func (*ValidatorSetHistory) ProtoMessage()
- func (m *ValidatorSetHistory) Reset()
- func (m *ValidatorSetHistory) Size() (n int)
- func (m *ValidatorSetHistory) String() string
- func (m *ValidatorSetHistory) Unmarshal(dAtA []byte) error
- func (*ValidatorSetHistory) XXX_MessageName() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthRpcquery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRpcquery = fmt.Errorf("proto: integer overflow") )
Functions ¶
func NewQueryServer ¶
func NewQueryServer(state acmstate.IterableStatsReader, nameReg names.IterableReader, proposalReg proposal.IterableReader, blockchain bcm.BlockchainInfo, validators validator.History, 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"`
}
func (*GetAccountParam) Descriptor ¶
func (*GetAccountParam) Descriptor() ([]byte, []int)
func (*GetAccountParam) Marshal ¶
func (m *GetAccountParam) Marshal() (dAtA []byte, err error)
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) Unmarshal ¶
func (m *GetAccountParam) Unmarshal(dAtA []byte) error
func (*GetAccountParam) XXX_MessageName ¶
func (*GetAccountParam) XXX_MessageName() string
type GetBlockParam ¶ added in v0.24.0
type GetBlockParam struct {
Height uint64 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"`
}
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) Marshal ¶ added in v0.24.0
func (m *GetBlockParam) Marshal() (dAtA []byte, err error)
func (*GetBlockParam) MarshalTo ¶ added in v0.24.0
func (m *GetBlockParam) MarshalTo(dAtA []byte) (int, error)
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) Unmarshal ¶ added in v0.24.0
func (m *GetBlockParam) Unmarshal(dAtA []byte) error
func (*GetBlockParam) XXX_MessageName ¶ added in v0.24.0
func (*GetBlockParam) XXX_MessageName() string
type GetNameParam ¶
type GetNameParam struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
}
func (*GetNameParam) Descriptor ¶
func (*GetNameParam) Descriptor() ([]byte, []int)
func (*GetNameParam) GetName ¶
func (m *GetNameParam) GetName() string
func (*GetNameParam) Marshal ¶
func (m *GetNameParam) Marshal() (dAtA []byte, err error)
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) Unmarshal ¶
func (m *GetNameParam) Unmarshal(dAtA []byte) error
func (*GetNameParam) XXX_MessageName ¶
func (*GetNameParam) XXX_MessageName() string
type GetProposalParam ¶ added in v0.23.0
type GetProposalParam struct {
Hash []byte `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"`
}
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) Marshal ¶ added in v0.23.0
func (m *GetProposalParam) Marshal() (dAtA []byte, err error)
func (*GetProposalParam) MarshalTo ¶ added in v0.23.0
func (m *GetProposalParam) MarshalTo(dAtA []byte) (int, error)
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) Unmarshal ¶ added in v0.23.0
func (m *GetProposalParam) Unmarshal(dAtA []byte) error
func (*GetProposalParam) XXX_MessageName ¶ added in v0.23.0
func (*GetProposalParam) XXX_MessageName() string
type GetStatsParam ¶ added in v0.24.0
type GetStatsParam struct { }
func (*GetStatsParam) Descriptor ¶ added in v0.24.0
func (*GetStatsParam) Descriptor() ([]byte, []int)
func (*GetStatsParam) Marshal ¶ added in v0.24.0
func (m *GetStatsParam) Marshal() (dAtA []byte, err error)
func (*GetStatsParam) MarshalTo ¶ added in v0.24.0
func (m *GetStatsParam) MarshalTo(dAtA []byte) (int, error)
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) Unmarshal ¶ added in v0.24.0
func (m *GetStatsParam) Unmarshal(dAtA []byte) error
func (*GetStatsParam) XXX_MessageName ¶ added in v0.24.0
func (*GetStatsParam) XXX_MessageName() string
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"` }
func (*GetStorageParam) Descriptor ¶ added in v0.24.0
func (*GetStorageParam) Descriptor() ([]byte, []int)
func (*GetStorageParam) Marshal ¶ added in v0.24.0
func (m *GetStorageParam) Marshal() (dAtA []byte, err error)
func (*GetStorageParam) MarshalTo ¶ added in v0.24.0
func (m *GetStorageParam) MarshalTo(dAtA []byte) (int, error)
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) Unmarshal ¶ added in v0.24.0
func (m *GetStorageParam) Unmarshal(dAtA []byte) error
func (*GetStorageParam) XXX_MessageName ¶ added in v0.24.0
func (*GetStorageParam) XXX_MessageName() string
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"` }
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) Marshal ¶ added in v0.24.0
func (m *GetValidatorSetHistoryParam) Marshal() (dAtA []byte, err error)
func (*GetValidatorSetHistoryParam) MarshalTo ¶ added in v0.24.0
func (m *GetValidatorSetHistoryParam) MarshalTo(dAtA []byte) (int, error)
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) Unmarshal ¶ added in v0.24.0
func (m *GetValidatorSetHistoryParam) Unmarshal(dAtA []byte) error
func (*GetValidatorSetHistoryParam) XXX_MessageName ¶ added in v0.24.0
func (*GetValidatorSetHistoryParam) XXX_MessageName() string
type GetValidatorSetParam ¶
type GetValidatorSetParam struct { }
func (*GetValidatorSetParam) Descriptor ¶
func (*GetValidatorSetParam) Descriptor() ([]byte, []int)
func (*GetValidatorSetParam) Marshal ¶
func (m *GetValidatorSetParam) Marshal() (dAtA []byte, err error)
func (*GetValidatorSetParam) MarshalTo ¶
func (m *GetValidatorSetParam) MarshalTo(dAtA []byte) (int, error)
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) Unmarshal ¶
func (m *GetValidatorSetParam) Unmarshal(dAtA []byte) error
func (*GetValidatorSetParam) XXX_MessageName ¶
func (*GetValidatorSetParam) XXX_MessageName() string
type ListAccountsParam ¶
type ListAccountsParam struct {
Query string `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"`
}
func (*ListAccountsParam) Descriptor ¶
func (*ListAccountsParam) Descriptor() ([]byte, []int)
func (*ListAccountsParam) GetQuery ¶
func (m *ListAccountsParam) GetQuery() string
func (*ListAccountsParam) Marshal ¶
func (m *ListAccountsParam) Marshal() (dAtA []byte, err error)
func (*ListAccountsParam) MarshalTo ¶
func (m *ListAccountsParam) MarshalTo(dAtA []byte) (int, error)
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) Unmarshal ¶
func (m *ListAccountsParam) Unmarshal(dAtA []byte) error
func (*ListAccountsParam) XXX_MessageName ¶
func (*ListAccountsParam) XXX_MessageName() string
type ListNamesParam ¶
type ListNamesParam struct {
Query string `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"`
}
func (*ListNamesParam) Descriptor ¶
func (*ListNamesParam) Descriptor() ([]byte, []int)
func (*ListNamesParam) GetQuery ¶
func (m *ListNamesParam) GetQuery() string
func (*ListNamesParam) Marshal ¶
func (m *ListNamesParam) Marshal() (dAtA []byte, err error)
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) Unmarshal ¶
func (m *ListNamesParam) Unmarshal(dAtA []byte) error
func (*ListNamesParam) XXX_MessageName ¶
func (*ListNamesParam) XXX_MessageName() string
type ListProposalsParam ¶ added in v0.23.0
type ListProposalsParam struct {
Proposed bool `protobuf:"varint,1,opt,name=Proposed,proto3" json:"Proposed,omitempty"`
}
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) Marshal ¶ added in v0.23.0
func (m *ListProposalsParam) Marshal() (dAtA []byte, err error)
func (*ListProposalsParam) MarshalTo ¶ added in v0.23.0
func (m *ListProposalsParam) MarshalTo(dAtA []byte) (int, error)
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) Unmarshal ¶ added in v0.23.0
func (m *ListProposalsParam) Unmarshal(dAtA []byte) error
func (*ListProposalsParam) XXX_MessageName ¶ added in v0.23.0
func (*ListProposalsParam) XXX_MessageName() string
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" json:"Ballot,omitempty"` }
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) Marshal ¶ added in v0.23.0
func (m *ProposalResult) Marshal() (dAtA []byte, err error)
func (*ProposalResult) MarshalTo ¶ added in v0.23.0
func (m *ProposalResult) MarshalTo(dAtA []byte) (int, error)
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) Unmarshal ¶ added in v0.23.0
func (m *ProposalResult) Unmarshal(dAtA []byte) error
func (*ProposalResult) XXX_MessageName ¶ added in v0.23.0
func (*ProposalResult) XXX_MessageName() string
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) 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) 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) }
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) GetStorage(context.Context, *GetStorageParam) (*StorageValue, error) ListAccounts(*ListAccountsParam, Query_ListAccountsServer) error GetName(context.Context, *GetNameParam) (*names.Entry, error) ListNames(*ListNamesParam, Query_ListNamesServer) 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) }
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 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"` }
func (*Stats) Descriptor ¶ added in v0.24.0
func (*Stats) GetAccountsWithCode ¶ added in v0.24.0
func (*Stats) GetAccountsWithoutCode ¶ added in v0.24.0
func (*Stats) ProtoMessage ¶ added in v0.24.0
func (*Stats) ProtoMessage()
func (*Stats) XXX_MessageName ¶ added in v0.24.0
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"` }
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) Marshal ¶
func (m *StatusParam) Marshal() (dAtA []byte, err error)
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) Unmarshal ¶
func (m *StatusParam) Unmarshal(dAtA []byte) error
func (*StatusParam) XXX_MessageName ¶
func (*StatusParam) XXX_MessageName() string
type StorageValue ¶ added in v0.24.0
type StorageValue struct {
Value github_com_hyperledger_burrow_binary.Word256 `protobuf:"bytes,1,opt,name=Value,proto3,customtype=github.com/hyperledger/burrow/binary.Word256" json:"Value"`
}
func (*StorageValue) Descriptor ¶ added in v0.24.0
func (*StorageValue) Descriptor() ([]byte, []int)
func (*StorageValue) Marshal ¶ added in v0.24.0
func (m *StorageValue) Marshal() (dAtA []byte, err error)
func (*StorageValue) MarshalTo ¶ added in v0.24.0
func (m *StorageValue) MarshalTo(dAtA []byte) (int, error)
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) Unmarshal ¶ added in v0.24.0
func (m *StorageValue) Unmarshal(dAtA []byte) error
func (*StorageValue) XXX_MessageName ¶ added in v0.24.0
func (*StorageValue) XXX_MessageName() string
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" json:"Set,omitempty"` }
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) Marshal ¶
func (m *ValidatorSet) Marshal() (dAtA []byte, err error)
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) Unmarshal ¶
func (m *ValidatorSet) Unmarshal(dAtA []byte) error
func (*ValidatorSet) XXX_MessageName ¶
func (*ValidatorSet) XXX_MessageName() string
type ValidatorSetHistory ¶ added in v0.24.0
type ValidatorSetHistory struct {
History []*ValidatorSet `protobuf:"bytes,1,rep,name=History" json:"History,omitempty"`
}
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) Marshal ¶ added in v0.24.0
func (m *ValidatorSetHistory) Marshal() (dAtA []byte, err error)
func (*ValidatorSetHistory) MarshalTo ¶ added in v0.24.0
func (m *ValidatorSetHistory) MarshalTo(dAtA []byte) (int, error)
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) Unmarshal ¶ added in v0.24.0
func (m *ValidatorSetHistory) Unmarshal(dAtA []byte) error
func (*ValidatorSetHistory) XXX_MessageName ¶ added in v0.24.0
func (*ValidatorSetHistory) XXX_MessageName() string
Click to show internal directories.
Click to hide internal directories.