Documentation ¶
Overview ¶
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterAChainHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAChainHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AChainClient) error
- func RegisterAChainHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAChainServer(s *grpc.Server, srv AChainServer)
- func RegisterXcheckServer(s *grpc.Server, srv XcheckServer)
- type AChainClient
- type AChainErrorEnum
- type AChainServer
- type AK2AccountRequest
- func (*AK2AccountRequest) Descriptor() ([]byte, []int)
- func (m *AK2AccountRequest) GetAddress() string
- func (m *AK2AccountRequest) GetBcname() string
- func (m *AK2AccountRequest) GetHeader() *Header
- func (*AK2AccountRequest) ProtoMessage()
- func (m *AK2AccountRequest) Reset()
- func (m *AK2AccountRequest) String() string
- func (m *AK2AccountRequest) XXX_DiscardUnknown()
- func (m *AK2AccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AK2AccountRequest) XXX_Merge(src proto.Message)
- func (m *AK2AccountRequest) XXX_Size() int
- func (m *AK2AccountRequest) XXX_Unmarshal(b []byte) error
- type AK2AccountResponse
- func (*AK2AccountResponse) Descriptor() ([]byte, []int)
- func (m *AK2AccountResponse) GetAccount() []string
- func (m *AK2AccountResponse) GetBcname() string
- func (m *AK2AccountResponse) GetHeader() *Header
- func (*AK2AccountResponse) ProtoMessage()
- func (m *AK2AccountResponse) Reset()
- func (m *AK2AccountResponse) String() string
- func (m *AK2AccountResponse) XXX_DiscardUnknown()
- func (m *AK2AccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AK2AccountResponse) XXX_Merge(src proto.Message)
- func (m *AK2AccountResponse) XXX_Size() int
- func (m *AK2AccountResponse) XXX_Unmarshal(b []byte) error
- type Acl
- func (*Acl) Descriptor() ([]byte, []int)
- func (m *Acl) GetAkSets() *AkSets
- func (m *Acl) GetAksWeight() map[string]float64
- func (m *Acl) GetPm() *PermissionModel
- func (*Acl) ProtoMessage()
- func (m *Acl) Reset()
- func (m *Acl) String() string
- func (m *Acl) XXX_DiscardUnknown()
- func (m *Acl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Acl) XXX_Merge(src proto.Message)
- func (m *Acl) XXX_Size() int
- func (m *Acl) XXX_Unmarshal(b []byte) error
- type AclStatus
- func (*AclStatus) Descriptor() ([]byte, []int)
- func (m *AclStatus) GetAccountName() string
- func (m *AclStatus) GetAcl() *Acl
- func (m *AclStatus) GetBcname() string
- func (m *AclStatus) GetConfirmed() bool
- func (m *AclStatus) GetContractName() string
- func (m *AclStatus) GetHeader() *Header
- func (m *AclStatus) GetMethodName() string
- func (*AclStatus) ProtoMessage()
- func (m *AclStatus) Reset()
- func (m *AclStatus) String() string
- func (m *AclStatus) XXX_DiscardUnknown()
- func (m *AclStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AclStatus) XXX_Merge(src proto.Message)
- func (m *AclStatus) XXX_Size() int
- func (m *AclStatus) XXX_Unmarshal(b []byte) error
- type AddressStatus
- func (*AddressStatus) Descriptor() ([]byte, []int)
- func (m *AddressStatus) GetAddress() string
- func (m *AddressStatus) GetBcs() []*TokenDetail
- func (m *AddressStatus) GetHeader() *Header
- func (*AddressStatus) ProtoMessage()
- func (m *AddressStatus) Reset()
- func (m *AddressStatus) String() string
- func (m *AddressStatus) XXX_DiscardUnknown()
- func (m *AddressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddressStatus) XXX_Merge(src proto.Message)
- func (m *AddressStatus) XXX_Size() int
- func (m *AddressStatus) XXX_Unmarshal(b []byte) error
- type AkSet
- func (*AkSet) Descriptor() ([]byte, []int)
- func (m *AkSet) GetAks() []string
- func (*AkSet) ProtoMessage()
- func (m *AkSet) Reset()
- func (m *AkSet) String() string
- func (m *AkSet) XXX_DiscardUnknown()
- func (m *AkSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AkSet) XXX_Merge(src proto.Message)
- func (m *AkSet) XXX_Size() int
- func (m *AkSet) XXX_Unmarshal(b []byte) error
- type AkSets
- func (*AkSets) Descriptor() ([]byte, []int)
- func (m *AkSets) GetExpression() string
- func (m *AkSets) GetSets() map[string]*AkSet
- func (*AkSets) ProtoMessage()
- func (m *AkSets) Reset()
- func (m *AkSets) String() string
- func (m *AkSets) XXX_DiscardUnknown()
- func (m *AkSets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AkSets) XXX_Merge(src proto.Message)
- func (m *AkSets) XXX_Size() int
- func (m *AkSets) XXX_Unmarshal(b []byte) error
- type AmpChainClient
- func (c *AmpChainClient) DeployNativeCode(ctx context.Context, in *DeployNativeCodeRequest, opts ...grpc.CallOption) (*DeployNativeCodeResponse, error)
- func (c *AmpChainClient) DposCandidates(ctx context.Context, in *DposCandidatesRequest, opts ...grpc.CallOption) (*DposCandidatesResponse, error)
- func (c *AmpChainClient) DposCheckResults(ctx context.Context, in *DposCheckResultsRequest, opts ...grpc.CallOption) (*DposCheckResultsResponse, error)
- func (c *AmpChainClient) DposNominateRecords(ctx context.Context, in *DposNominateRecordsRequest, opts ...grpc.CallOption) (*DposNominateRecordsResponse, error)
- func (c *AmpChainClient) DposNomineeRecords(ctx context.Context, in *DposNomineeRecordsRequest, opts ...grpc.CallOption) (*DposNomineeRecordsResponse, error)
- func (c *AmpChainClient) DposStatus(ctx context.Context, in *DposStatusRequest, opts ...grpc.CallOption) (*DposStatusResponse, error)
- func (c *AmpChainClient) DposVoteRecords(ctx context.Context, in *DposVoteRecordsRequest, opts ...grpc.CallOption) (*DposVoteRecordsResponse, error)
- func (c *AmpChainClient) DposVotedRecords(ctx context.Context, in *DposVotedRecordsRequest, opts ...grpc.CallOption) (*DposVotedRecordsResponse, error)
- func (c *AmpChainClient) GetAccountByAK(ctx context.Context, in *AK2AccountRequest, opts ...grpc.CallOption) (*AK2AccountResponse, error)
- func (c *AmpChainClient) GetAccountContracts(ctx context.Context, in *GetAccountContractsRequest, opts ...grpc.CallOption) (*GetAccountContractsResponse, error)
- func (c *AmpChainClient) GetBalance(ctx context.Context, in *AddressStatus, opts ...grpc.CallOption) (*AddressStatus, error)
- func (c *AmpChainClient) GetBlock(ctx context.Context, in *BlockID, opts ...grpc.CallOption) (*Block, error)
- func (c *AmpChainClient) GetBlockByHeight(ctx context.Context, in *BlockHeight, opts ...grpc.CallOption) (*Block, error)
- func (c *AmpChainClient) GetBlockChainStatus(ctx context.Context, in *BCStatus, opts ...grpc.CallOption) (*BCStatus, error)
- func (c *AmpChainClient) GetBlockChains(ctx context.Context, in *CommonIn, opts ...grpc.CallOption) (*BlockChains, error)
- func (c *AmpChainClient) GetFrozenBalance(ctx context.Context, in *AddressStatus, opts ...grpc.CallOption) (*AddressStatus, error)
- func (c *AmpChainClient) GetNetURL(ctx context.Context, in *CommonIn, opts ...grpc.CallOption) (*RawUrl, error)
- func (c *AmpChainClient) GetSystemStatus(ctx context.Context, in *CommonIn, opts ...grpc.CallOption) (*SystemsStatusReply, error)
- func (c *AmpChainClient) NativeCodeStatus(ctx context.Context, in *NativeCodeStatusRequest, opts ...grpc.CallOption) (*NativeCodeStatusResponse, error)
- func (c *AmpChainClient) PostTx(ctx context.Context, in *TxStatus, opts ...grpc.CallOption) (*CommonReply, error)
- func (c *AmpChainClient) PreExec(ctx context.Context, in *InvokeRPCRequest, opts ...grpc.CallOption) (*InvokeRPCResponse, error)
- func (c *AmpChainClient) QueryACL(ctx context.Context, in *AclStatus, opts ...grpc.CallOption) (*AclStatus, error)
- func (c *AmpChainClient) QueryTx(ctx context.Context, in *TxStatus, opts ...grpc.CallOption) (*TxStatus, error)
- func (c *AmpChainClient) SelectUTXO(ctx context.Context, in *UtxoInput, opts ...grpc.CallOption) (*UtxoOutput, error)
- type BCSpeeds
- func (*BCSpeeds) Descriptor() ([]byte, []int)
- func (m *BCSpeeds) GetBcSpeed() map[string]float64
- func (*BCSpeeds) ProtoMessage()
- func (m *BCSpeeds) Reset()
- func (m *BCSpeeds) String() string
- func (m *BCSpeeds) XXX_DiscardUnknown()
- func (m *BCSpeeds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BCSpeeds) XXX_Merge(src proto.Message)
- func (m *BCSpeeds) XXX_Size() int
- func (m *BCSpeeds) XXX_Unmarshal(b []byte) error
- type BCStatus
- func (*BCStatus) Descriptor() ([]byte, []int)
- func (m *BCStatus) GetBcname() string
- func (m *BCStatus) GetBlock() *InternalBlock
- func (m *BCStatus) GetHeader() *Header
- func (m *BCStatus) GetMeta() *LedgerMeta
- func (m *BCStatus) GetUtxoMeta() *UtxoMeta
- func (*BCStatus) ProtoMessage()
- func (m *BCStatus) Reset()
- func (m *BCStatus) String() string
- func (m *BCStatus) XXX_DiscardUnknown()
- func (m *BCStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BCStatus) XXX_Merge(src proto.Message)
- func (m *BCStatus) XXX_Size() int
- func (m *BCStatus) XXX_Unmarshal(b []byte) error
- type BCTipStatus
- func (*BCTipStatus) Descriptor() ([]byte, []int)
- func (m *BCTipStatus) GetHeader() *Header
- func (m *BCTipStatus) GetIsTrunkTip() bool
- func (*BCTipStatus) ProtoMessage()
- func (m *BCTipStatus) Reset()
- func (m *BCTipStatus) String() string
- func (m *BCTipStatus) XXX_DiscardUnknown()
- func (m *BCTipStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BCTipStatus) XXX_Merge(src proto.Message)
- func (m *BCTipStatus) XXX_Size() int
- func (m *BCTipStatus) XXX_Unmarshal(b []byte) error
- type BatchTxs
- func (*BatchTxs) Descriptor() ([]byte, []int)
- func (m *BatchTxs) GetHeader() *Header
- func (m *BatchTxs) GetTxs() []*TxStatus
- func (*BatchTxs) ProtoMessage()
- func (m *BatchTxs) Reset()
- func (m *BatchTxs) String() string
- func (m *BatchTxs) XXX_DiscardUnknown()
- func (m *BatchTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchTxs) XXX_Merge(src proto.Message)
- func (m *BatchTxs) XXX_Size() int
- func (m *BatchTxs) XXX_Unmarshal(b []byte) error
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetBcname() string
- func (m *Block) GetBlock() *InternalBlock
- func (m *Block) GetBlockid() []byte
- func (m *Block) GetHeader() *Header
- func (m *Block) GetStatus() Block_EBlockStatus
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) String() string
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type BlockChains
- func (*BlockChains) Descriptor() ([]byte, []int)
- func (m *BlockChains) GetBlockchains() []string
- func (m *BlockChains) GetHeader() *Header
- func (*BlockChains) ProtoMessage()
- func (m *BlockChains) Reset()
- func (m *BlockChains) String() string
- func (m *BlockChains) XXX_DiscardUnknown()
- func (m *BlockChains) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockChains) XXX_Merge(src proto.Message)
- func (m *BlockChains) XXX_Size() int
- func (m *BlockChains) XXX_Unmarshal(b []byte) error
- type BlockHeight
- func (*BlockHeight) Descriptor() ([]byte, []int)
- func (m *BlockHeight) GetBcname() string
- func (m *BlockHeight) GetHeader() *Header
- func (m *BlockHeight) GetHeight() int64
- func (*BlockHeight) ProtoMessage()
- func (m *BlockHeight) Reset()
- func (m *BlockHeight) String() string
- func (m *BlockHeight) XXX_DiscardUnknown()
- func (m *BlockHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHeight) XXX_Merge(src proto.Message)
- func (m *BlockHeight) XXX_Size() int
- func (m *BlockHeight) XXX_Unmarshal(b []byte) error
- type BlockID
- func (*BlockID) Descriptor() ([]byte, []int)
- func (m *BlockID) GetBcname() string
- func (m *BlockID) GetBlockid() []byte
- func (m *BlockID) GetHeader() *Header
- func (m *BlockID) GetNeedContent() bool
- func (*BlockID) ProtoMessage()
- func (m *BlockID) Reset()
- func (m *BlockID) String() string
- func (m *BlockID) XXX_DiscardUnknown()
- func (m *BlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockID) XXX_Merge(src proto.Message)
- func (m *BlockID) XXX_Size() int
- func (m *BlockID) XXX_Unmarshal(b []byte) error
- type Block_EBlockStatus
- type CommonIn
- func (*CommonIn) Descriptor() ([]byte, []int)
- func (m *CommonIn) GetHeader() *Header
- func (*CommonIn) ProtoMessage()
- func (m *CommonIn) Reset()
- func (m *CommonIn) String() string
- func (m *CommonIn) XXX_DiscardUnknown()
- func (m *CommonIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommonIn) XXX_Merge(src proto.Message)
- func (m *CommonIn) XXX_Size() int
- func (m *CommonIn) XXX_Unmarshal(b []byte) error
- type CommonReply
- func (*CommonReply) Descriptor() ([]byte, []int)
- func (m *CommonReply) GetHeader() *Header
- func (*CommonReply) ProtoMessage()
- func (m *CommonReply) Reset()
- func (m *CommonReply) String() string
- func (m *CommonReply) XXX_DiscardUnknown()
- func (m *CommonReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommonReply) XXX_Merge(src proto.Message)
- func (m *CommonReply) XXX_Size() int
- func (m *CommonReply) XXX_Unmarshal(b []byte) error
- type ComplianceCheckResponse
- func (*ComplianceCheckResponse) Descriptor() ([]byte, []int)
- func (m *ComplianceCheckResponse) GetHeader() *Header
- func (m *ComplianceCheckResponse) GetSignature() *SignatureInfo
- func (*ComplianceCheckResponse) ProtoMessage()
- func (m *ComplianceCheckResponse) Reset()
- func (m *ComplianceCheckResponse) String() string
- func (m *ComplianceCheckResponse) XXX_DiscardUnknown()
- func (m *ComplianceCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ComplianceCheckResponse) XXX_Merge(src proto.Message)
- func (m *ComplianceCheckResponse) XXX_Size() int
- func (m *ComplianceCheckResponse) XXX_Unmarshal(b []byte) error
- type ContractStatus
- func (*ContractStatus) Descriptor() ([]byte, []int)
- func (m *ContractStatus) GetContractName() string
- func (m *ContractStatus) GetDesc() []byte
- func (m *ContractStatus) GetIsBanned() bool
- func (m *ContractStatus) GetTxid() string
- func (*ContractStatus) ProtoMessage()
- func (m *ContractStatus) Reset()
- func (m *ContractStatus) String() string
- func (m *ContractStatus) XXX_DiscardUnknown()
- func (m *ContractStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractStatus) XXX_Merge(src proto.Message)
- func (m *ContractStatus) XXX_Size() int
- func (m *ContractStatus) XXX_Unmarshal(b []byte) error
- type DeployNativeCodeRequest
- func (*DeployNativeCodeRequest) Descriptor() ([]byte, []int)
- func (m *DeployNativeCodeRequest) GetAddress() string
- func (m *DeployNativeCodeRequest) GetBcname() string
- func (m *DeployNativeCodeRequest) GetCode() []byte
- func (m *DeployNativeCodeRequest) GetDesc() *NativeCodeDesc
- func (m *DeployNativeCodeRequest) GetHeader() *Header
- func (m *DeployNativeCodeRequest) GetPubkey() []byte
- func (m *DeployNativeCodeRequest) GetSign() []byte
- func (*DeployNativeCodeRequest) ProtoMessage()
- func (m *DeployNativeCodeRequest) Reset()
- func (m *DeployNativeCodeRequest) String() string
- func (m *DeployNativeCodeRequest) XXX_DiscardUnknown()
- func (m *DeployNativeCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeployNativeCodeRequest) XXX_Merge(src proto.Message)
- func (m *DeployNativeCodeRequest) XXX_Size() int
- func (m *DeployNativeCodeRequest) XXX_Unmarshal(b []byte) error
- type DeployNativeCodeResponse
- func (*DeployNativeCodeResponse) Descriptor() ([]byte, []int)
- func (m *DeployNativeCodeResponse) GetHeader() *Header
- func (*DeployNativeCodeResponse) ProtoMessage()
- func (m *DeployNativeCodeResponse) Reset()
- func (m *DeployNativeCodeResponse) String() string
- func (m *DeployNativeCodeResponse) XXX_DiscardUnknown()
- func (m *DeployNativeCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeployNativeCodeResponse) XXX_Merge(src proto.Message)
- func (m *DeployNativeCodeResponse) XXX_Size() int
- func (m *DeployNativeCodeResponse) XXX_Unmarshal(b []byte) error
- type DposCandidatesRequest
- func (*DposCandidatesRequest) Descriptor() ([]byte, []int)
- func (m *DposCandidatesRequest) GetBcname() string
- func (m *DposCandidatesRequest) GetHeader() *Header
- func (*DposCandidatesRequest) ProtoMessage()
- func (m *DposCandidatesRequest) Reset()
- func (m *DposCandidatesRequest) String() string
- func (m *DposCandidatesRequest) XXX_DiscardUnknown()
- func (m *DposCandidatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposCandidatesRequest) XXX_Merge(src proto.Message)
- func (m *DposCandidatesRequest) XXX_Size() int
- func (m *DposCandidatesRequest) XXX_Unmarshal(b []byte) error
- type DposCandidatesResponse
- func (*DposCandidatesResponse) Descriptor() ([]byte, []int)
- func (m *DposCandidatesResponse) GetCandidatesInfo() []string
- func (m *DposCandidatesResponse) GetHeader() *Header
- func (*DposCandidatesResponse) ProtoMessage()
- func (m *DposCandidatesResponse) Reset()
- func (m *DposCandidatesResponse) String() string
- func (m *DposCandidatesResponse) XXX_DiscardUnknown()
- func (m *DposCandidatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposCandidatesResponse) XXX_Merge(src proto.Message)
- func (m *DposCandidatesResponse) XXX_Size() int
- func (m *DposCandidatesResponse) XXX_Unmarshal(b []byte) error
- type DposCheckResultsRequest
- func (*DposCheckResultsRequest) Descriptor() ([]byte, []int)
- func (m *DposCheckResultsRequest) GetBcname() string
- func (m *DposCheckResultsRequest) GetHeader() *Header
- func (m *DposCheckResultsRequest) GetTerm() int64
- func (*DposCheckResultsRequest) ProtoMessage()
- func (m *DposCheckResultsRequest) Reset()
- func (m *DposCheckResultsRequest) String() string
- func (m *DposCheckResultsRequest) XXX_DiscardUnknown()
- func (m *DposCheckResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposCheckResultsRequest) XXX_Merge(src proto.Message)
- func (m *DposCheckResultsRequest) XXX_Size() int
- func (m *DposCheckResultsRequest) XXX_Unmarshal(b []byte) error
- type DposCheckResultsResponse
- func (*DposCheckResultsResponse) Descriptor() ([]byte, []int)
- func (m *DposCheckResultsResponse) GetCheckResult() []string
- func (m *DposCheckResultsResponse) GetHeader() *Header
- func (m *DposCheckResultsResponse) GetTerm() int64
- func (*DposCheckResultsResponse) ProtoMessage()
- func (m *DposCheckResultsResponse) Reset()
- func (m *DposCheckResultsResponse) String() string
- func (m *DposCheckResultsResponse) XXX_DiscardUnknown()
- func (m *DposCheckResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposCheckResultsResponse) XXX_Merge(src proto.Message)
- func (m *DposCheckResultsResponse) XXX_Size() int
- func (m *DposCheckResultsResponse) XXX_Unmarshal(b []byte) error
- type DposNominateInfo
- func (*DposNominateInfo) Descriptor() ([]byte, []int)
- func (m *DposNominateInfo) GetCandidate() string
- func (m *DposNominateInfo) GetTxid() string
- func (*DposNominateInfo) ProtoMessage()
- func (m *DposNominateInfo) Reset()
- func (m *DposNominateInfo) String() string
- func (m *DposNominateInfo) XXX_DiscardUnknown()
- func (m *DposNominateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposNominateInfo) XXX_Merge(src proto.Message)
- func (m *DposNominateInfo) XXX_Size() int
- func (m *DposNominateInfo) XXX_Unmarshal(b []byte) error
- type DposNominateRecordsRequest
- func (*DposNominateRecordsRequest) Descriptor() ([]byte, []int)
- func (m *DposNominateRecordsRequest) GetAddress() string
- func (m *DposNominateRecordsRequest) GetBcname() string
- func (m *DposNominateRecordsRequest) GetHeader() *Header
- func (*DposNominateRecordsRequest) ProtoMessage()
- func (m *DposNominateRecordsRequest) Reset()
- func (m *DposNominateRecordsRequest) String() string
- func (m *DposNominateRecordsRequest) XXX_DiscardUnknown()
- func (m *DposNominateRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposNominateRecordsRequest) XXX_Merge(src proto.Message)
- func (m *DposNominateRecordsRequest) XXX_Size() int
- func (m *DposNominateRecordsRequest) XXX_Unmarshal(b []byte) error
- type DposNominateRecordsResponse
- func (*DposNominateRecordsResponse) Descriptor() ([]byte, []int)
- func (m *DposNominateRecordsResponse) GetHeader() *Header
- func (m *DposNominateRecordsResponse) GetNominateRecords() []*DposNominateInfo
- func (*DposNominateRecordsResponse) ProtoMessage()
- func (m *DposNominateRecordsResponse) Reset()
- func (m *DposNominateRecordsResponse) String() string
- func (m *DposNominateRecordsResponse) XXX_DiscardUnknown()
- func (m *DposNominateRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposNominateRecordsResponse) XXX_Merge(src proto.Message)
- func (m *DposNominateRecordsResponse) XXX_Size() int
- func (m *DposNominateRecordsResponse) XXX_Unmarshal(b []byte) error
- type DposNomineeRecordsRequest
- func (*DposNomineeRecordsRequest) Descriptor() ([]byte, []int)
- func (m *DposNomineeRecordsRequest) GetAddress() string
- func (m *DposNomineeRecordsRequest) GetBcname() string
- func (m *DposNomineeRecordsRequest) GetHeader() *Header
- func (*DposNomineeRecordsRequest) ProtoMessage()
- func (m *DposNomineeRecordsRequest) Reset()
- func (m *DposNomineeRecordsRequest) String() string
- func (m *DposNomineeRecordsRequest) XXX_DiscardUnknown()
- func (m *DposNomineeRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposNomineeRecordsRequest) XXX_Merge(src proto.Message)
- func (m *DposNomineeRecordsRequest) XXX_Size() int
- func (m *DposNomineeRecordsRequest) XXX_Unmarshal(b []byte) error
- type DposNomineeRecordsResponse
- func (*DposNomineeRecordsResponse) Descriptor() ([]byte, []int)
- func (m *DposNomineeRecordsResponse) GetHeader() *Header
- func (m *DposNomineeRecordsResponse) GetTxid() string
- func (*DposNomineeRecordsResponse) ProtoMessage()
- func (m *DposNomineeRecordsResponse) Reset()
- func (m *DposNomineeRecordsResponse) String() string
- func (m *DposNomineeRecordsResponse) XXX_DiscardUnknown()
- func (m *DposNomineeRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposNomineeRecordsResponse) XXX_Merge(src proto.Message)
- func (m *DposNomineeRecordsResponse) XXX_Size() int
- func (m *DposNomineeRecordsResponse) XXX_Unmarshal(b []byte) error
- type DposStatus
- func (*DposStatus) Descriptor() ([]byte, []int)
- func (m *DposStatus) GetBlockNum() int64
- func (m *DposStatus) GetCheckResult() []string
- func (m *DposStatus) GetProposer() string
- func (m *DposStatus) GetProposerNum() int64
- func (m *DposStatus) GetTerm() int64
- func (*DposStatus) ProtoMessage()
- func (m *DposStatus) Reset()
- func (m *DposStatus) String() string
- func (m *DposStatus) XXX_DiscardUnknown()
- func (m *DposStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposStatus) XXX_Merge(src proto.Message)
- func (m *DposStatus) XXX_Size() int
- func (m *DposStatus) XXX_Unmarshal(b []byte) error
- type DposStatusRequest
- func (*DposStatusRequest) Descriptor() ([]byte, []int)
- func (m *DposStatusRequest) GetBcname() string
- func (m *DposStatusRequest) GetHeader() *Header
- func (*DposStatusRequest) ProtoMessage()
- func (m *DposStatusRequest) Reset()
- func (m *DposStatusRequest) String() string
- func (m *DposStatusRequest) XXX_DiscardUnknown()
- func (m *DposStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposStatusRequest) XXX_Merge(src proto.Message)
- func (m *DposStatusRequest) XXX_Size() int
- func (m *DposStatusRequest) XXX_Unmarshal(b []byte) error
- type DposStatusResponse
- func (*DposStatusResponse) Descriptor() ([]byte, []int)
- func (m *DposStatusResponse) GetHeader() *Header
- func (m *DposStatusResponse) GetStatus() *DposStatus
- func (*DposStatusResponse) ProtoMessage()
- func (m *DposStatusResponse) Reset()
- func (m *DposStatusResponse) String() string
- func (m *DposStatusResponse) XXX_DiscardUnknown()
- func (m *DposStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposStatusResponse) XXX_Merge(src proto.Message)
- func (m *DposStatusResponse) XXX_Size() int
- func (m *DposStatusResponse) XXX_Unmarshal(b []byte) error
- type DposVoteRecordsRequest
- func (*DposVoteRecordsRequest) Descriptor() ([]byte, []int)
- func (m *DposVoteRecordsRequest) GetAddress() string
- func (m *DposVoteRecordsRequest) GetBcname() string
- func (m *DposVoteRecordsRequest) GetHeader() *Header
- func (*DposVoteRecordsRequest) ProtoMessage()
- func (m *DposVoteRecordsRequest) Reset()
- func (m *DposVoteRecordsRequest) String() string
- func (m *DposVoteRecordsRequest) XXX_DiscardUnknown()
- func (m *DposVoteRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVoteRecordsRequest) XXX_Merge(src proto.Message)
- func (m *DposVoteRecordsRequest) XXX_Size() int
- func (m *DposVoteRecordsRequest) XXX_Unmarshal(b []byte) error
- type DposVoteRecordsResponse
- func (*DposVoteRecordsResponse) Descriptor() ([]byte, []int)
- func (m *DposVoteRecordsResponse) GetHeader() *Header
- func (m *DposVoteRecordsResponse) GetVoteTxidRecords() []*VoteRecord
- func (*DposVoteRecordsResponse) ProtoMessage()
- func (m *DposVoteRecordsResponse) Reset()
- func (m *DposVoteRecordsResponse) String() string
- func (m *DposVoteRecordsResponse) XXX_DiscardUnknown()
- func (m *DposVoteRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVoteRecordsResponse) XXX_Merge(src proto.Message)
- func (m *DposVoteRecordsResponse) XXX_Size() int
- func (m *DposVoteRecordsResponse) XXX_Unmarshal(b []byte) error
- type DposVotedRecordsRequest
- func (*DposVotedRecordsRequest) Descriptor() ([]byte, []int)
- func (m *DposVotedRecordsRequest) GetAddress() string
- func (m *DposVotedRecordsRequest) GetBcname() string
- func (m *DposVotedRecordsRequest) GetHeader() *Header
- func (*DposVotedRecordsRequest) ProtoMessage()
- func (m *DposVotedRecordsRequest) Reset()
- func (m *DposVotedRecordsRequest) String() string
- func (m *DposVotedRecordsRequest) XXX_DiscardUnknown()
- func (m *DposVotedRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVotedRecordsRequest) XXX_Merge(src proto.Message)
- func (m *DposVotedRecordsRequest) XXX_Size() int
- func (m *DposVotedRecordsRequest) XXX_Unmarshal(b []byte) error
- type DposVotedRecordsResponse
- func (*DposVotedRecordsResponse) Descriptor() ([]byte, []int)
- func (m *DposVotedRecordsResponse) GetHeader() *Header
- func (m *DposVotedRecordsResponse) GetVotedTxidRecords() []*VotedRecord
- func (*DposVotedRecordsResponse) ProtoMessage()
- func (m *DposVotedRecordsResponse) Reset()
- func (m *DposVotedRecordsResponse) String() string
- func (m *DposVotedRecordsResponse) XXX_DiscardUnknown()
- func (m *DposVotedRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DposVotedRecordsResponse) XXX_Merge(src proto.Message)
- func (m *DposVotedRecordsResponse) XXX_Size() int
- func (m *DposVotedRecordsResponse) XXX_Unmarshal(b []byte) error
- type ECDSAAccount
- func (*ECDSAAccount) Descriptor() ([]byte, []int)
- func (m *ECDSAAccount) GetAddress() string
- func (m *ECDSAAccount) GetEntropyByte() []byte
- func (m *ECDSAAccount) GetJsonPrivateKey() string
- func (m *ECDSAAccount) GetJsonPublicKey() string
- func (m *ECDSAAccount) GetMnemonic() string
- func (*ECDSAAccount) ProtoMessage()
- func (m *ECDSAAccount) Reset()
- func (m *ECDSAAccount) String() string
- func (m *ECDSAAccount) XXX_DiscardUnknown()
- func (m *ECDSAAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ECDSAAccount) XXX_Merge(src proto.Message)
- func (m *ECDSAAccount) XXX_Size() int
- func (m *ECDSAAccount) XXX_Unmarshal(b []byte) error
- type ECDSAAccountFromCloud
- func (*ECDSAAccountFromCloud) Descriptor() ([]byte, []int)
- func (m *ECDSAAccountFromCloud) GetAddress() string
- func (m *ECDSAAccountFromCloud) GetEncryptedMnemonic() string
- func (m *ECDSAAccountFromCloud) GetJsonEncryptedPrivateKey() string
- func (*ECDSAAccountFromCloud) ProtoMessage()
- func (m *ECDSAAccountFromCloud) Reset()
- func (m *ECDSAAccountFromCloud) String() string
- func (m *ECDSAAccountFromCloud) XXX_DiscardUnknown()
- func (m *ECDSAAccountFromCloud) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ECDSAAccountFromCloud) XXX_Merge(src proto.Message)
- func (m *ECDSAAccountFromCloud) XXX_Size() int
- func (m *ECDSAAccountFromCloud) XXX_Unmarshal(b []byte) error
- type ECDSAAccountToCloud
- func (*ECDSAAccountToCloud) Descriptor() ([]byte, []int)
- func (m *ECDSAAccountToCloud) GetAddress() string
- func (m *ECDSAAccountToCloud) GetEncryptedMnemonic() string
- func (m *ECDSAAccountToCloud) GetJsonEncryptedPrivateKey() string
- func (m *ECDSAAccountToCloud) GetPassword() string
- func (*ECDSAAccountToCloud) ProtoMessage()
- func (m *ECDSAAccountToCloud) Reset()
- func (m *ECDSAAccountToCloud) String() string
- func (m *ECDSAAccountToCloud) XXX_DiscardUnknown()
- func (m *ECDSAAccountToCloud) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ECDSAAccountToCloud) XXX_Merge(src proto.Message)
- func (m *ECDSAAccountToCloud) XXX_Size() int
- func (m *ECDSAAccountToCloud) XXX_Unmarshal(b []byte) error
- type ECDSAInfo
- func (*ECDSAInfo) Descriptor() ([]byte, []int)
- func (m *ECDSAInfo) GetAddress() string
- func (m *ECDSAInfo) GetEntropyByte() []byte
- func (m *ECDSAInfo) GetMnemonic() string
- func (*ECDSAInfo) ProtoMessage()
- func (m *ECDSAInfo) Reset()
- func (m *ECDSAInfo) String() string
- func (m *ECDSAInfo) XXX_DiscardUnknown()
- func (m *ECDSAInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ECDSAInfo) XXX_Merge(src proto.Message)
- func (m *ECDSAInfo) XXX_Size() int
- func (m *ECDSAInfo) XXX_Unmarshal(b []byte) error
- type GetAccountContractsRequest
- func (*GetAccountContractsRequest) Descriptor() ([]byte, []int)
- func (m *GetAccountContractsRequest) GetAccount() string
- func (m *GetAccountContractsRequest) GetBcname() string
- func (m *GetAccountContractsRequest) GetHeader() *Header
- func (*GetAccountContractsRequest) ProtoMessage()
- func (m *GetAccountContractsRequest) Reset()
- func (m *GetAccountContractsRequest) String() string
- func (m *GetAccountContractsRequest) XXX_DiscardUnknown()
- func (m *GetAccountContractsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccountContractsRequest) XXX_Merge(src proto.Message)
- func (m *GetAccountContractsRequest) XXX_Size() int
- func (m *GetAccountContractsRequest) XXX_Unmarshal(b []byte) error
- type GetAccountContractsResponse
- func (*GetAccountContractsResponse) Descriptor() ([]byte, []int)
- func (m *GetAccountContractsResponse) GetContractsStatus() []*ContractStatus
- func (m *GetAccountContractsResponse) GetHeader() *Header
- func (*GetAccountContractsResponse) ProtoMessage()
- func (m *GetAccountContractsResponse) Reset()
- func (m *GetAccountContractsResponse) String() string
- func (m *GetAccountContractsResponse) XXX_DiscardUnknown()
- func (m *GetAccountContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccountContractsResponse) XXX_Merge(src proto.Message)
- func (m *GetAccountContractsResponse) XXX_Size() int
- func (m *GetAccountContractsResponse) XXX_Unmarshal(b []byte) error
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetError() AChainErrorEnum
- func (m *Header) GetFromNode() string
- func (m *Header) GetLogid() string
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) String() string
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type IdentityAuth
- func (*IdentityAuth) Descriptor() ([]byte, []int)
- func (m *IdentityAuth) GetAddr() string
- func (m *IdentityAuth) GetPeerID() string
- func (m *IdentityAuth) GetPubkey() []byte
- func (m *IdentityAuth) GetSign() []byte
- func (m *IdentityAuth) GetTimestamp() string
- func (*IdentityAuth) ProtoMessage()
- func (m *IdentityAuth) Reset()
- func (m *IdentityAuth) String() string
- func (m *IdentityAuth) XXX_DiscardUnknown()
- func (m *IdentityAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentityAuth) XXX_Merge(src proto.Message)
- func (m *IdentityAuth) XXX_Size() int
- func (m *IdentityAuth) XXX_Unmarshal(b []byte) error
- type IdentityAuths
- func (*IdentityAuths) Descriptor() ([]byte, []int)
- func (m *IdentityAuths) GetAuth() []*IdentityAuth
- func (*IdentityAuths) ProtoMessage()
- func (m *IdentityAuths) Reset()
- func (m *IdentityAuths) String() string
- func (m *IdentityAuths) XXX_DiscardUnknown()
- func (m *IdentityAuths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentityAuths) XXX_Merge(src proto.Message)
- func (m *IdentityAuths) XXX_Size() int
- func (m *IdentityAuths) XXX_Unmarshal(b []byte) error
- type InternalBlock
- func (ib *InternalBlock) ContainsTx(txid []byte) bool
- func (*InternalBlock) Descriptor() ([]byte, []int)
- func (m *InternalBlock) GetBlockid() []byte
- func (ib *InternalBlock) GetCoinbaseTotal() *big.Int
- func (m *InternalBlock) GetCurBlockNum() int64
- func (m *InternalBlock) GetCurTerm() int64
- func (m *InternalBlock) GetFailedTxs() map[string]string
- func (m *InternalBlock) GetHeight() int64
- func (m *InternalBlock) GetInTrunk() bool
- func (m *InternalBlock) GetMerkleRoot() []byte
- func (m *InternalBlock) GetMerkleTree() [][]byte
- func (m *InternalBlock) GetNextHash() []byte
- func (m *InternalBlock) GetNonce() int32
- func (m *InternalBlock) GetPreHash() []byte
- func (m *InternalBlock) GetProposer() []byte
- func (m *InternalBlock) GetPubkey() []byte
- func (m *InternalBlock) GetSign() []byte
- func (m *InternalBlock) GetTimestamp() int64
- func (m *InternalBlock) GetTransactions() []*Transaction
- func (ib *InternalBlock) GetTx(txid []byte) *Transaction
- func (m *InternalBlock) GetTxCount() int32
- func (m *InternalBlock) GetVersion() int32
- func (*InternalBlock) ProtoMessage()
- func (m *InternalBlock) Reset()
- func (m *InternalBlock) String() string
- func (m *InternalBlock) XXX_DiscardUnknown()
- func (m *InternalBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InternalBlock) XXX_Merge(src proto.Message)
- func (m *InternalBlock) XXX_Size() int
- func (m *InternalBlock) XXX_Unmarshal(b []byte) error
- type InvokeRPCRequest
- func (*InvokeRPCRequest) Descriptor() ([]byte, []int)
- func (m *InvokeRPCRequest) GetAuthRequire() []string
- func (m *InvokeRPCRequest) GetBcname() string
- func (m *InvokeRPCRequest) GetHeader() *Header
- func (m *InvokeRPCRequest) GetInitiator() string
- func (m *InvokeRPCRequest) GetRequests() []*InvokeRequest
- func (*InvokeRPCRequest) ProtoMessage()
- func (m *InvokeRPCRequest) Reset()
- func (m *InvokeRPCRequest) String() string
- func (m *InvokeRPCRequest) XXX_DiscardUnknown()
- func (m *InvokeRPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InvokeRPCRequest) XXX_Merge(src proto.Message)
- func (m *InvokeRPCRequest) XXX_Size() int
- func (m *InvokeRPCRequest) XXX_Unmarshal(b []byte) error
- type InvokeRPCResponse
- func (*InvokeRPCResponse) Descriptor() ([]byte, []int)
- func (m *InvokeRPCResponse) GetBcname() string
- func (m *InvokeRPCResponse) GetHeader() *Header
- func (m *InvokeRPCResponse) GetResponse() *InvokeResponse
- func (*InvokeRPCResponse) ProtoMessage()
- func (m *InvokeRPCResponse) Reset()
- func (m *InvokeRPCResponse) String() string
- func (m *InvokeRPCResponse) XXX_DiscardUnknown()
- func (m *InvokeRPCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InvokeRPCResponse) XXX_Merge(src proto.Message)
- func (m *InvokeRPCResponse) XXX_Size() int
- func (m *InvokeRPCResponse) XXX_Unmarshal(b []byte) error
- type InvokeRequest
- func (*InvokeRequest) Descriptor() ([]byte, []int)
- func (m *InvokeRequest) GetArgs() map[string][]byte
- func (m *InvokeRequest) GetContractName() string
- func (m *InvokeRequest) GetMethodName() string
- func (m *InvokeRequest) GetModuleName() string
- func (m *InvokeRequest) GetResourceLimits() []*ResourceLimit
- func (*InvokeRequest) ProtoMessage()
- func (m *InvokeRequest) Reset()
- func (m *InvokeRequest) String() string
- func (m *InvokeRequest) XXX_DiscardUnknown()
- func (m *InvokeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InvokeRequest) XXX_Merge(src proto.Message)
- func (m *InvokeRequest) XXX_Size() int
- func (m *InvokeRequest) XXX_Unmarshal(b []byte) error
- type InvokeResponse
- func (*InvokeResponse) Descriptor() ([]byte, []int)
- func (m *InvokeResponse) GetGasUsed() int64
- func (m *InvokeResponse) GetInputs() []*TxInputExt
- func (m *InvokeResponse) GetOutputs() []*TxOutputExt
- func (m *InvokeResponse) GetRequests() []*InvokeRequest
- func (m *InvokeResponse) GetResponse() [][]byte
- func (*InvokeResponse) ProtoMessage()
- func (m *InvokeResponse) Reset()
- func (m *InvokeResponse) String() string
- func (m *InvokeResponse) XXX_DiscardUnknown()
- func (m *InvokeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InvokeResponse) XXX_Merge(src proto.Message)
- func (m *InvokeResponse) XXX_Size() int
- func (m *InvokeResponse) XXX_Unmarshal(b []byte) error
- type LedgerMeta
- func (*LedgerMeta) Descriptor() ([]byte, []int)
- func (m *LedgerMeta) GetMaxBlockSize() int64
- func (m *LedgerMeta) GetRootBlockid() []byte
- func (m *LedgerMeta) GetTipBlockid() []byte
- func (m *LedgerMeta) GetTrunkHeight() int64
- func (*LedgerMeta) ProtoMessage()
- func (m *LedgerMeta) Reset()
- func (m *LedgerMeta) String() string
- func (m *LedgerMeta) XXX_DiscardUnknown()
- func (m *LedgerMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LedgerMeta) XXX_Merge(src proto.Message)
- func (m *LedgerMeta) XXX_Size() int
- func (m *LedgerMeta) XXX_Unmarshal(b []byte) error
- type NativeCodeDesc
- func (*NativeCodeDesc) Descriptor() ([]byte, []int)
- func (m *NativeCodeDesc) GetAmperApiVersion() int32
- func (m *NativeCodeDesc) GetDigest() []byte
- func (m *NativeCodeDesc) GetName() string
- func (m *NativeCodeDesc) GetPrevVersion() string
- func (m *NativeCodeDesc) GetVersion() string
- func (*NativeCodeDesc) ProtoMessage()
- func (m *NativeCodeDesc) Reset()
- func (m *NativeCodeDesc) String() string
- func (m *NativeCodeDesc) XXX_DiscardUnknown()
- func (m *NativeCodeDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NativeCodeDesc) XXX_Merge(src proto.Message)
- func (m *NativeCodeDesc) XXX_Size() int
- func (m *NativeCodeDesc) XXX_Unmarshal(b []byte) error
- type NativeCodeStatus
- func (*NativeCodeStatus) Descriptor() ([]byte, []int)
- func (m *NativeCodeStatus) GetDesc() *NativeCodeDesc
- func (m *NativeCodeStatus) GetHealthy() bool
- func (m *NativeCodeStatus) GetStatus() int32
- func (*NativeCodeStatus) ProtoMessage()
- func (m *NativeCodeStatus) Reset()
- func (m *NativeCodeStatus) String() string
- func (m *NativeCodeStatus) XXX_DiscardUnknown()
- func (m *NativeCodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NativeCodeStatus) XXX_Merge(src proto.Message)
- func (m *NativeCodeStatus) XXX_Size() int
- func (m *NativeCodeStatus) XXX_Unmarshal(b []byte) error
- type NativeCodeStatusRequest
- func (*NativeCodeStatusRequest) Descriptor() ([]byte, []int)
- func (m *NativeCodeStatusRequest) GetBcname() string
- func (m *NativeCodeStatusRequest) GetHeader() *Header
- func (*NativeCodeStatusRequest) ProtoMessage()
- func (m *NativeCodeStatusRequest) Reset()
- func (m *NativeCodeStatusRequest) String() string
- func (m *NativeCodeStatusRequest) XXX_DiscardUnknown()
- func (m *NativeCodeStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NativeCodeStatusRequest) XXX_Merge(src proto.Message)
- func (m *NativeCodeStatusRequest) XXX_Size() int
- func (m *NativeCodeStatusRequest) XXX_Unmarshal(b []byte) error
- type NativeCodeStatusResponse
- func (*NativeCodeStatusResponse) Descriptor() ([]byte, []int)
- func (m *NativeCodeStatusResponse) GetHeader() *Header
- func (m *NativeCodeStatusResponse) GetStatus() []*NativeCodeStatus
- func (*NativeCodeStatusResponse) ProtoMessage()
- func (m *NativeCodeStatusResponse) Reset()
- func (m *NativeCodeStatusResponse) String() string
- func (m *NativeCodeStatusResponse) XXX_DiscardUnknown()
- func (m *NativeCodeStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NativeCodeStatusResponse) XXX_Merge(src proto.Message)
- func (m *NativeCodeStatusResponse) XXX_Size() int
- func (m *NativeCodeStatusResponse) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetBalanceQueryUrl() []byte
- func (m *Node) GetHost() []byte
- func (m *Node) GetTxPostUrl() []byte
- func (m *Node) GetUtxoQueryUrl() []byte
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type PermissionModel
- func (*PermissionModel) Descriptor() ([]byte, []int)
- func (m *PermissionModel) GetAcceptValue() float64
- func (m *PermissionModel) GetRule() PermissionRule
- func (*PermissionModel) ProtoMessage()
- func (m *PermissionModel) Reset()
- func (m *PermissionModel) String() string
- func (m *PermissionModel) XXX_DiscardUnknown()
- func (m *PermissionModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PermissionModel) XXX_Merge(src proto.Message)
- func (m *PermissionModel) XXX_Size() int
- func (m *PermissionModel) XXX_Unmarshal(b []byte) error
- type PermissionRule
- type RawUrl
- func (*RawUrl) Descriptor() ([]byte, []int)
- func (m *RawUrl) GetHeader() *Header
- func (m *RawUrl) GetRawUrl() string
- func (*RawUrl) ProtoMessage()
- func (m *RawUrl) Reset()
- func (m *RawUrl) String() string
- func (m *RawUrl) XXX_DiscardUnknown()
- func (m *RawUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RawUrl) XXX_Merge(src proto.Message)
- func (m *RawUrl) XXX_Size() int
- func (m *RawUrl) XXX_Unmarshal(b []byte) error
- type ResourceLimit
- func (*ResourceLimit) Descriptor() ([]byte, []int)
- func (m *ResourceLimit) GetLimit() int64
- func (m *ResourceLimit) GetType() ResourceType
- func (*ResourceLimit) ProtoMessage()
- func (m *ResourceLimit) Reset()
- func (m *ResourceLimit) String() string
- func (m *ResourceLimit) XXX_DiscardUnknown()
- func (m *ResourceLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceLimit) XXX_Merge(src proto.Message)
- func (m *ResourceLimit) XXX_Size() int
- func (m *ResourceLimit) XXX_Unmarshal(b []byte) error
- type ResourceType
- type ReturnCode
- type SignatureInfo
- func (*SignatureInfo) Descriptor() ([]byte, []int)
- func (m *SignatureInfo) GetPublicKey() string
- func (m *SignatureInfo) GetSign() []byte
- func (*SignatureInfo) ProtoMessage()
- func (m *SignatureInfo) Reset()
- func (m *SignatureInfo) String() string
- func (m *SignatureInfo) XXX_DiscardUnknown()
- func (m *SignatureInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignatureInfo) XXX_Merge(src proto.Message)
- func (m *SignatureInfo) XXX_Size() int
- func (m *SignatureInfo) XXX_Unmarshal(b []byte) error
- type Speeds
- func (*Speeds) Descriptor() ([]byte, []int)
- func (m *Speeds) GetBcSpeeds() map[string]*BCSpeeds
- func (m *Speeds) GetSumSpeeds() map[string]float64
- func (*Speeds) ProtoMessage()
- func (m *Speeds) Reset()
- func (m *Speeds) String() string
- func (m *Speeds) XXX_DiscardUnknown()
- func (m *Speeds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Speeds) XXX_Merge(src proto.Message)
- func (m *Speeds) XXX_Size() int
- func (m *Speeds) XXX_Unmarshal(b []byte) error
- type SystemsStatus
- func (*SystemsStatus) Descriptor() ([]byte, []int)
- func (m *SystemsStatus) GetBcsStatus() []*BCStatus
- func (m *SystemsStatus) GetHeader() *Header
- func (m *SystemsStatus) GetPeerUrls() []string
- func (m *SystemsStatus) GetSpeeds() *Speeds
- func (*SystemsStatus) ProtoMessage()
- func (m *SystemsStatus) Reset()
- func (m *SystemsStatus) String() string
- func (m *SystemsStatus) XXX_DiscardUnknown()
- func (m *SystemsStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SystemsStatus) XXX_Merge(src proto.Message)
- func (m *SystemsStatus) XXX_Size() int
- func (m *SystemsStatus) XXX_Unmarshal(b []byte) error
- type SystemsStatusReply
- func (*SystemsStatusReply) Descriptor() ([]byte, []int)
- func (m *SystemsStatusReply) GetHeader() *Header
- func (m *SystemsStatusReply) GetSystemsStatus() *SystemsStatus
- func (*SystemsStatusReply) ProtoMessage()
- func (m *SystemsStatusReply) Reset()
- func (m *SystemsStatusReply) String() string
- func (m *SystemsStatusReply) XXX_DiscardUnknown()
- func (m *SystemsStatusReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SystemsStatusReply) XXX_Merge(src proto.Message)
- func (m *SystemsStatusReply) XXX_Size() int
- func (m *SystemsStatusReply) XXX_Unmarshal(b []byte) error
- type TokenDetail
- func (*TokenDetail) Descriptor() ([]byte, []int)
- func (m *TokenDetail) GetBalance() string
- func (m *TokenDetail) GetBcname() string
- func (m *TokenDetail) GetError() AChainErrorEnum
- func (*TokenDetail) ProtoMessage()
- func (m *TokenDetail) Reset()
- func (m *TokenDetail) String() string
- func (m *TokenDetail) XXX_DiscardUnknown()
- func (m *TokenDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenDetail) XXX_Merge(src proto.Message)
- func (m *TokenDetail) XXX_Size() int
- func (m *TokenDetail) XXX_Unmarshal(b []byte) error
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (tx *Transaction) FromAddrInList(whiteList map[string]bool) bool
- func (tx *Transaction) GetAmountByAddress(address string) *big.Int
- func (m *Transaction) GetAuthRequire() []string
- func (m *Transaction) GetAuthRequireSigns() []*SignatureInfo
- func (m *Transaction) GetAutogen() bool
- func (m *Transaction) GetBlockid() []byte
- func (m *Transaction) GetCoinbase() bool
- func (m *Transaction) GetContractRequests() []*InvokeRequest
- func (m *Transaction) GetDesc() []byte
- func (tx *Transaction) GetFee() *big.Int
- func (tx *Transaction) GetFrozenAmount(height int64) *big.Int
- func (m *Transaction) GetInitiator() string
- func (m *Transaction) GetInitiatorSigns() []*SignatureInfo
- func (m *Transaction) GetNonce() string
- func (m *Transaction) GetReceivedTimestamp() int64
- func (m *Transaction) GetTimestamp() int64
- func (m *Transaction) GetTxInputs() []*TxInput
- func (m *Transaction) GetTxInputsExt() []*TxInputExt
- func (m *Transaction) GetTxOutputs() []*TxOutput
- func (m *Transaction) GetTxOutputsExt() []*TxOutputExt
- func (m *Transaction) GetTxid() []byte
- func (m *Transaction) GetVersion() int32
- func (tx *Transaction) HexTxid() string
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) String() string
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type TransactionStatus
- type TransferCheckResponse
- func (*TransferCheckResponse) Descriptor() ([]byte, []int)
- func (m *TransferCheckResponse) GetHeader() *Header
- func (m *TransferCheckResponse) GetSignature() *SignatureInfo
- func (*TransferCheckResponse) ProtoMessage()
- func (m *TransferCheckResponse) Reset()
- func (m *TransferCheckResponse) String() string
- func (m *TransferCheckResponse) XXX_DiscardUnknown()
- func (m *TransferCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransferCheckResponse) XXX_Merge(src proto.Message)
- func (m *TransferCheckResponse) XXX_Size() int
- func (m *TransferCheckResponse) XXX_Unmarshal(b []byte) error
- type TxData
- func (*TxData) Descriptor() ([]byte, []int)
- func (m *TxData) GetAccount() []*TxDataAccount
- func (m *TxData) GetBcname() string
- func (m *TxData) GetDesc() []byte
- func (m *TxData) GetFromAddr() string
- func (m *TxData) GetFromPubkey() string
- func (m *TxData) GetFromScrkey() string
- func (m *TxData) GetHeader() *Header
- func (m *TxData) GetNonce() string
- func (m *TxData) GetTimestamp() int64
- func (m *TxData) GetTxid() []byte
- func (m *TxData) GetUserSign() []byte
- func (m *TxData) GetVersion() int32
- func (*TxData) ProtoMessage()
- func (m *TxData) Reset()
- func (m *TxData) String() string
- func (m *TxData) XXX_DiscardUnknown()
- func (m *TxData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxData) XXX_Merge(src proto.Message)
- func (m *TxData) XXX_Size() int
- func (m *TxData) XXX_Unmarshal(b []byte) error
- type TxDataAccount
- func (*TxDataAccount) Descriptor() ([]byte, []int)
- func (m *TxDataAccount) GetAddress() string
- func (m *TxDataAccount) GetAmount() string
- func (m *TxDataAccount) GetFrozenHeight() int64
- func (*TxDataAccount) ProtoMessage()
- func (m *TxDataAccount) Reset()
- func (m *TxDataAccount) String() string
- func (m *TxDataAccount) XXX_DiscardUnknown()
- func (m *TxDataAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxDataAccount) XXX_Merge(src proto.Message)
- func (m *TxDataAccount) XXX_Size() int
- func (m *TxDataAccount) XXX_Unmarshal(b []byte) error
- type TxInput
- func (*TxInput) Descriptor() ([]byte, []int)
- func (m *TxInput) GetAmount() []byte
- func (m *TxInput) GetFromAddr() []byte
- func (m *TxInput) GetFrozenHeight() int64
- func (m *TxInput) GetRefOffset() int32
- func (m *TxInput) GetRefTxid() []byte
- func (*TxInput) ProtoMessage()
- func (m *TxInput) Reset()
- func (m *TxInput) String() string
- func (m *TxInput) XXX_DiscardUnknown()
- func (m *TxInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxInput) XXX_Merge(src proto.Message)
- func (m *TxInput) XXX_Size() int
- func (m *TxInput) XXX_Unmarshal(b []byte) error
- type TxInputExt
- func (*TxInputExt) Descriptor() ([]byte, []int)
- func (m *TxInputExt) GetBucket() string
- func (m *TxInputExt) GetKey() []byte
- func (m *TxInputExt) GetRefOffset() int32
- func (m *TxInputExt) GetRefTxid() []byte
- func (txIn *TxInputExt) GetVersion() string
- func (*TxInputExt) ProtoMessage()
- func (m *TxInputExt) Reset()
- func (m *TxInputExt) String() string
- func (m *TxInputExt) XXX_DiscardUnknown()
- func (m *TxInputExt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxInputExt) XXX_Merge(src proto.Message)
- func (m *TxInputExt) XXX_Size() int
- func (m *TxInputExt) XXX_Unmarshal(b []byte) error
- type TxInputs
- func (*TxInputs) Descriptor() ([]byte, []int)
- func (m *TxInputs) GetTxInputList() []*TxInput
- func (*TxInputs) ProtoMessage()
- func (m *TxInputs) Reset()
- func (m *TxInputs) String() string
- func (m *TxInputs) XXX_DiscardUnknown()
- func (m *TxInputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxInputs) XXX_Merge(src proto.Message)
- func (m *TxInputs) XXX_Size() int
- func (m *TxInputs) XXX_Unmarshal(b []byte) error
- type TxOutput
- func (*TxOutput) Descriptor() ([]byte, []int)
- func (m *TxOutput) GetAmount() []byte
- func (m *TxOutput) GetFrozenHeight() int64
- func (m *TxOutput) GetToAddr() []byte
- func (*TxOutput) ProtoMessage()
- func (m *TxOutput) Reset()
- func (m *TxOutput) String() string
- func (m *TxOutput) XXX_DiscardUnknown()
- func (m *TxOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxOutput) XXX_Merge(src proto.Message)
- func (m *TxOutput) XXX_Size() int
- func (m *TxOutput) XXX_Unmarshal(b []byte) error
- type TxOutputExt
- func (*TxOutputExt) Descriptor() ([]byte, []int)
- func (m *TxOutputExt) GetBucket() string
- func (m *TxOutputExt) GetKey() []byte
- func (m *TxOutputExt) GetValue() []byte
- func (*TxOutputExt) ProtoMessage()
- func (m *TxOutputExt) Reset()
- func (m *TxOutputExt) String() string
- func (m *TxOutputExt) XXX_DiscardUnknown()
- func (m *TxOutputExt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxOutputExt) XXX_Merge(src proto.Message)
- func (m *TxOutputExt) XXX_Size() int
- func (m *TxOutputExt) XXX_Unmarshal(b []byte) error
- type TxOutputs
- func (*TxOutputs) Descriptor() ([]byte, []int)
- func (m *TxOutputs) GetTxOutputList() []*TxOutput
- func (*TxOutputs) ProtoMessage()
- func (m *TxOutputs) Reset()
- func (m *TxOutputs) String() string
- func (m *TxOutputs) XXX_DiscardUnknown()
- func (m *TxOutputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxOutputs) XXX_Merge(src proto.Message)
- func (m *TxOutputs) XXX_Size() int
- func (m *TxOutputs) XXX_Unmarshal(b []byte) error
- type TxStatus
- func (*TxStatus) Descriptor() ([]byte, []int)
- func (m *TxStatus) GetBcname() string
- func (m *TxStatus) GetDistance() int64
- func (m *TxStatus) GetHeader() *Header
- func (m *TxStatus) GetStatus() TransactionStatus
- func (m *TxStatus) GetTx() *Transaction
- func (m *TxStatus) GetTxid() []byte
- func (*TxStatus) ProtoMessage()
- func (m *TxStatus) Reset()
- func (m *TxStatus) String() string
- func (m *TxStatus) XXX_DiscardUnknown()
- func (m *TxStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxStatus) XXX_Merge(src proto.Message)
- func (m *TxStatus) XXX_Size() int
- func (m *TxStatus) XXX_Unmarshal(b []byte) error
- type UTXO
- func (*UTXO) Descriptor() ([]byte, []int)
- func (m *UTXO) GetAmount() []byte
- func (m *UTXO) GetRefOffset() int32
- func (m *UTXO) GetRefTxid() []byte
- func (m *UTXO) GetToAddr() []byte
- func (m *UTXO) GetToPubkey() []byte
- func (*UTXO) ProtoMessage()
- func (m *UTXO) Reset()
- func (m *UTXO) String() string
- func (m *UTXO) XXX_DiscardUnknown()
- func (m *UTXO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UTXO) XXX_Merge(src proto.Message)
- func (m *UTXO) XXX_Size() int
- func (m *UTXO) XXX_Unmarshal(b []byte) error
- type UTXOs
- func (*UTXOs) Descriptor() ([]byte, []int)
- func (m *UTXOs) GetUTXOList() []*UTXO
- func (*UTXOs) ProtoMessage()
- func (m *UTXOs) Reset()
- func (m *UTXOs) String() string
- func (m *UTXOs) XXX_DiscardUnknown()
- func (m *UTXOs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UTXOs) XXX_Merge(src proto.Message)
- func (m *UTXOs) XXX_Size() int
- func (m *UTXOs) XXX_Unmarshal(b []byte) error
- type Utxo
- func (*Utxo) Descriptor() ([]byte, []int)
- func (m *Utxo) GetAmount() []byte
- func (m *Utxo) GetRefOffset() int32
- func (m *Utxo) GetRefTxid() []byte
- func (m *Utxo) GetToAddr() []byte
- func (m *Utxo) GetToPubkey() []byte
- func (*Utxo) ProtoMessage()
- func (m *Utxo) Reset()
- func (m *Utxo) String() string
- func (m *Utxo) XXX_DiscardUnknown()
- func (m *Utxo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Utxo) XXX_Merge(src proto.Message)
- func (m *Utxo) XXX_Size() int
- func (m *Utxo) XXX_Unmarshal(b []byte) error
- type UtxoInput
- func (*UtxoInput) Descriptor() ([]byte, []int)
- func (m *UtxoInput) GetAddress() string
- func (m *UtxoInput) GetBcname() string
- func (m *UtxoInput) GetHeader() *Header
- func (m *UtxoInput) GetNeedLock() bool
- func (m *UtxoInput) GetPublickey() string
- func (m *UtxoInput) GetTotalNeed() string
- func (m *UtxoInput) GetUserSign() []byte
- func (*UtxoInput) ProtoMessage()
- func (m *UtxoInput) Reset()
- func (m *UtxoInput) String() string
- func (m *UtxoInput) XXX_DiscardUnknown()
- func (m *UtxoInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UtxoInput) XXX_Merge(src proto.Message)
- func (m *UtxoInput) XXX_Size() int
- func (m *UtxoInput) XXX_Unmarshal(b []byte) error
- type UtxoMeta
- func (*UtxoMeta) Descriptor() ([]byte, []int)
- func (m *UtxoMeta) GetAvgDelay() int64
- func (m *UtxoMeta) GetLatestBlockid() []byte
- func (m *UtxoMeta) GetLockKeyList() []string
- func (m *UtxoMeta) GetUnconfirmTxAmount() int64
- func (m *UtxoMeta) GetUtxoTotal() string
- func (*UtxoMeta) ProtoMessage()
- func (m *UtxoMeta) Reset()
- func (m *UtxoMeta) String() string
- func (m *UtxoMeta) XXX_DiscardUnknown()
- func (m *UtxoMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UtxoMeta) XXX_Merge(src proto.Message)
- func (m *UtxoMeta) XXX_Size() int
- func (m *UtxoMeta) XXX_Unmarshal(b []byte) error
- type UtxoOutput
- func (*UtxoOutput) Descriptor() ([]byte, []int)
- func (m *UtxoOutput) GetHeader() *Header
- func (m *UtxoOutput) GetTotalSelected() string
- func (m *UtxoOutput) GetUtxoList() []*Utxo
- func (*UtxoOutput) ProtoMessage()
- func (m *UtxoOutput) Reset()
- func (m *UtxoOutput) String() string
- func (m *UtxoOutput) XXX_DiscardUnknown()
- func (m *UtxoOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UtxoOutput) XXX_Merge(src proto.Message)
- func (m *UtxoOutput) XXX_Size() int
- func (m *UtxoOutput) XXX_Unmarshal(b []byte) error
- type VoteRecord
- func (*VoteRecord) Descriptor() ([]byte, []int)
- func (m *VoteRecord) GetCandidate() string
- func (m *VoteRecord) GetTxid() string
- func (*VoteRecord) ProtoMessage()
- func (m *VoteRecord) Reset()
- func (m *VoteRecord) String() string
- func (m *VoteRecord) XXX_DiscardUnknown()
- func (m *VoteRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteRecord) XXX_Merge(src proto.Message)
- func (m *VoteRecord) XXX_Size() int
- func (m *VoteRecord) XXX_Unmarshal(b []byte) error
- type VotedRecord
- func (*VotedRecord) Descriptor() ([]byte, []int)
- func (m *VotedRecord) GetTxid() string
- func (m *VotedRecord) GetVoter() string
- func (*VotedRecord) ProtoMessage()
- func (m *VotedRecord) Reset()
- func (m *VotedRecord) String() string
- func (m *VotedRecord) XXX_DiscardUnknown()
- func (m *VotedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VotedRecord) XXX_Merge(src proto.Message)
- func (m *VotedRecord) XXX_Size() int
- func (m *VotedRecord) XXX_Unmarshal(b []byte) error
- type WasmCodeDesc
- func (*WasmCodeDesc) Descriptor() ([]byte, []int)
- func (m *WasmCodeDesc) GetCompiler() string
- func (m *WasmCodeDesc) GetDigest() []byte
- func (m *WasmCodeDesc) GetRuntime() string
- func (*WasmCodeDesc) ProtoMessage()
- func (m *WasmCodeDesc) Reset()
- func (m *WasmCodeDesc) String() string
- func (m *WasmCodeDesc) XXX_DiscardUnknown()
- func (m *WasmCodeDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WasmCodeDesc) XXX_Merge(src proto.Message)
- func (m *WasmCodeDesc) XXX_Size() int
- func (m *WasmCodeDesc) XXX_Unmarshal(b []byte) error
- type XcheckClient
- type XcheckServer
Constants ¶
const ( BlocksTablePrefix = "B" //表名prefix必须用一个字母,否则拼key在compare的时候会和后面的后缀无法区分开 UTXOTablePrefix = "U" UnconfirmedTablePrefix = "N" ConfirmedTablePrefix = "C" MetaTablePrefix = "M" EVMMetaStatePrefix = "S" EVMOutputPrefix = "O" TriggerPrefix = "T" VoteProposalPrefix = "V" PlugConsPrefix = "P" ConsTDposPrefix = "D" PendingBlocksTablePrefix = "E" TxExtensionPrefix = "X" WithdrawPrefix = "W" ExtUtxoTablePrefix = "ZU" ExtUtxoDelTablePrefix = "ZD" BlockHeightPrefix = "ZH" )
common definition for KV prefix
const FeePlaceholder = "$"
FeePlaceholder fee identifier to miner
Variables ¶
var AChainErrorEnum_name = map[int32]string{
0: "SUCCESS",
1: "UNKNOW_ERROR",
2: "CONNECT_REFUSE",
3: "NOT_ENOUGH_UTXO_ERROR",
4: "UTXOVM_ALREADY_UNCONFIRM_ERROR",
5: "UTXOVM_NOT_FOUND_ERROR",
6: "INPUT_OUTPUT_NOT_EQUAL_ERROR",
7: "TX_NOT_FOUND_ERROR",
8: "TX_SIGN_ERROR",
9: "BLOCKCHAIN_NOTEXIST",
10: "VALIDATE_ERROR",
11: "CANNOT_SYNC_BLOCK_ERROR",
12: "CONFIRM_BLOCK_ERROR",
13: "UTXOVM_PLAY_ERROR",
14: "WALK_ERROR",
15: "NOT_READY_ERROR",
16: "BLOCK_EXIST_ERROR",
17: "ROOT_BLOCK_EXIST_ERROR",
19: "TX_DUPLICATE_ERROR",
20: "SERVICE_REFUSED_ERROR",
21: "TXDATA_SIGN_ERROR",
25: "TX_SLE_ERROR",
26: "TX_FEE_NOT_ENOUGH_ERROR",
28: "UTXO_SIGN_ERROR",
31: "DPOS_QUERY_ERROR",
33: "RWSET_INVALID_ERROR",
34: "RWACL_INVALID_ERROR",
35: "GAS_NOT_ENOUGH_ERROR",
36: "TX_VERSION_INVALID_ERROR",
37: "COMPLIANCE_CHECK_NOT_APPROVED",
38: "ACCOUNT_CONTRACT_STATUS_ERROR",
}
var AChainErrorEnum_value = map[string]int32{
"SUCCESS": 0,
"UNKNOW_ERROR": 1,
"CONNECT_REFUSE": 2,
"NOT_ENOUGH_UTXO_ERROR": 3,
"UTXOVM_ALREADY_UNCONFIRM_ERROR": 4,
"UTXOVM_NOT_FOUND_ERROR": 5,
"INPUT_OUTPUT_NOT_EQUAL_ERROR": 6,
"TX_NOT_FOUND_ERROR": 7,
"TX_SIGN_ERROR": 8,
"BLOCKCHAIN_NOTEXIST": 9,
"VALIDATE_ERROR": 10,
"CANNOT_SYNC_BLOCK_ERROR": 11,
"CONFIRM_BLOCK_ERROR": 12,
"UTXOVM_PLAY_ERROR": 13,
"WALK_ERROR": 14,
"NOT_READY_ERROR": 15,
"BLOCK_EXIST_ERROR": 16,
"ROOT_BLOCK_EXIST_ERROR": 17,
"TX_DUPLICATE_ERROR": 19,
"SERVICE_REFUSED_ERROR": 20,
"TXDATA_SIGN_ERROR": 21,
"TX_SLE_ERROR": 25,
"TX_FEE_NOT_ENOUGH_ERROR": 26,
"UTXO_SIGN_ERROR": 28,
"DPOS_QUERY_ERROR": 31,
"RWSET_INVALID_ERROR": 33,
"RWACL_INVALID_ERROR": 34,
"GAS_NOT_ENOUGH_ERROR": 35,
"TX_VERSION_INVALID_ERROR": 36,
"COMPLIANCE_CHECK_NOT_APPROVED": 37,
"ACCOUNT_CONTRACT_STATUS_ERROR": 38,
}
var Block_EBlockStatus_name = map[int32]string{
0: "ERROR",
1: "TRUNK",
2: "BRANCH",
3: "NOEXIST",
}
var Block_EBlockStatus_value = map[string]int32{
"ERROR": 0,
"TRUNK": 1,
"BRANCH": 2,
"NOEXIST": 3,
}
var PermissionRule_name = map[int32]string{
0: "NULL",
1: "SIGN_THRESHOLD",
2: "SIGN_AKSET",
3: "SIGN_RATE",
4: "SIGN_SUM",
5: "CA_SERVER",
6: "COMMUNITY_VOTE",
}
var PermissionRule_value = map[string]int32{
"NULL": 0,
"SIGN_THRESHOLD": 1,
"SIGN_AKSET": 2,
"SIGN_RATE": 3,
"SIGN_SUM": 4,
"CA_SERVER": 5,
"COMMUNITY_VOTE": 6,
}
var ResourceType_name = map[int32]string{
0: "CPU",
1: "MEMORY",
2: "DISK",
3: "XFEE",
}
var ResourceType_value = map[string]int32{
"CPU": 0,
"MEMORY": 1,
"DISK": 2,
"XFEE": 3,
}
var ReturnCode_name = map[int32]string{
0: "RETURNSUCCESS",
101000: "INTERNALERR",
101002: "FILENOTEXIST",
101003: "PARAMERR",
101004: "HTTPREQUERTFAIL",
101005: "HTTPRESPONSEFAIL",
101008: "ACCOUNTNOTEXIST",
101009: "PWNOTEXIST",
101010: "PWEXIST",
101012: "NOTLOGIN",
102001: "CONNECTNODEFAIL",
102002: "UTXONOTENOUGH",
102003: "ADDRESSINVALID",
102004: "FEEINVALID",
102005: "CONNECTREFUSED",
102006: "UTXOENCRYPTERR",
102007: "FEENOTENOUGN",
102008: "PARAMSINVALID",
102009: "TXSIGNERR",
102010: "REPOSTTXERR",
102011: "BLOCKCHAINNOTEXIST",
102012: "SERVERERR",
}
var ReturnCode_value = map[string]int32{
"RETURNSUCCESS": 0,
"INTERNALERR": 101000,
"FILENOTEXIST": 101002,
"PARAMERR": 101003,
"HTTPREQUERTFAIL": 101004,
"HTTPRESPONSEFAIL": 101005,
"ACCOUNTNOTEXIST": 101008,
"PWNOTEXIST": 101009,
"PWEXIST": 101010,
"NOTLOGIN": 101012,
"CONNECTNODEFAIL": 102001,
"UTXONOTENOUGH": 102002,
"ADDRESSINVALID": 102003,
"FEEINVALID": 102004,
"CONNECTREFUSED": 102005,
"UTXOENCRYPTERR": 102006,
"FEENOTENOUGN": 102007,
"PARAMSINVALID": 102008,
"TXSIGNERR": 102009,
"REPOSTTXERR": 102010,
"BLOCKCHAINNOTEXIST": 102011,
"SERVERERR": 102012,
}
var TransactionStatus_name = map[int32]string{
0: "UNDEFINE",
1: "NOEXIST",
2: "CONFIRM",
3: "FURCATION",
4: "UNCONFIRM",
}
var TransactionStatus_value = map[string]int32{
"UNDEFINE": 0,
"NOEXIST": 1,
"CONFIRM": 2,
"FURCATION": 3,
"UNCONFIRM": 4,
}
Functions ¶
func RegisterAChainHandler ¶
RegisterAChainHandler registers the http handlers for service AChain to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAChainHandlerClient ¶
func RegisterAChainHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AChainClient) error
RegisterAChainHandlerClient registers the http handlers for service AChain to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AChainClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AChainClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AChainClient" to call the correct interceptors.
func RegisterAChainHandlerFromEndpoint ¶
func RegisterAChainHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAChainHandlerFromEndpoint is same as RegisterAChainHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAChainServer ¶
func RegisterAChainServer(s *grpc.Server, srv AChainServer)
func RegisterXcheckServer ¶
func RegisterXcheckServer(s *grpc.Server, srv XcheckServer)
Types ¶
type AChainClient ¶
type AChainClient interface { // PostTx post Transaction to a node PostTx(ctx context.Context, in *TxStatus, opts ...grpc.CallOption) (*CommonReply, error) QueryACL(ctx context.Context, in *AclStatus, opts ...grpc.CallOption) (*AclStatus, error) GetAccountContracts(ctx context.Context, in *GetAccountContractsRequest, opts ...grpc.CallOption) (*GetAccountContractsResponse, error) // QueryTx query Transaction by TxStatus, // Bcname and Txid are required for this QueryTx(ctx context.Context, in *TxStatus, opts ...grpc.CallOption) (*TxStatus, error) // GetBalance get balance of an address, // Address is required for this GetBalance(ctx context.Context, in *AddressStatus, opts ...grpc.CallOption) (*AddressStatus, error) // GetFrozenBalance get balance that still be frozen of an address, // Address is required for this GetFrozenBalance(ctx context.Context, in *AddressStatus, opts ...grpc.CallOption) (*AddressStatus, error) // GetBlock get block by blockid and return if the block in trunk or in branch GetBlock(ctx context.Context, in *BlockID, opts ...grpc.CallOption) (*Block, error) // GetBlockByHeight get block by height and return if the block in trunk or in branch GetBlockByHeight(ctx context.Context, in *BlockHeight, opts ...grpc.CallOption) (*Block, error) GetBlockChainStatus(ctx context.Context, in *BCStatus, opts ...grpc.CallOption) (*BCStatus, error) // Get blockchains query blockchains GetBlockChains(ctx context.Context, in *CommonIn, opts ...grpc.CallOption) (*BlockChains, error) // GetSystemStatus query system status GetSystemStatus(ctx context.Context, in *CommonIn, opts ...grpc.CallOption) (*SystemsStatusReply, error) // GetNetURL return net url GetNetURL(ctx context.Context, in *CommonIn, opts ...grpc.CallOption) (*RawUrl, error) // 新的Select utxos接口, 不需要签名,可以支持选择账户的utxo SelectUTXO(ctx context.Context, in *UtxoInput, opts ...grpc.CallOption) (*UtxoOutput, error) // Native code deploy interface DeployNativeCode(ctx context.Context, in *DeployNativeCodeRequest, opts ...grpc.CallOption) (*DeployNativeCodeResponse, error) // Native code status NativeCodeStatus(ctx context.Context, in *NativeCodeStatusRequest, opts ...grpc.CallOption) (*NativeCodeStatusResponse, error) // DposCandidates get all candidates of the tdpos consensus DposCandidates(ctx context.Context, in *DposCandidatesRequest, opts ...grpc.CallOption) (*DposCandidatesResponse, error) // DposNominateRecords get all records nominated by an user DposNominateRecords(ctx context.Context, in *DposNominateRecordsRequest, opts ...grpc.CallOption) (*DposNominateRecordsResponse, error) // DposNomineeRecords get nominated record of a candidate DposNomineeRecords(ctx context.Context, in *DposNomineeRecordsRequest, opts ...grpc.CallOption) (*DposNomineeRecordsResponse, error) // DposVoteRecords get all vote records voted by an user DposVoteRecords(ctx context.Context, in *DposVoteRecordsRequest, opts ...grpc.CallOption) (*DposVoteRecordsResponse, error) // DposVotedRecords get all vote records of a candidate DposVotedRecords(ctx context.Context, in *DposVotedRecordsRequest, opts ...grpc.CallOption) (*DposVotedRecordsResponse, error) // DposCheckResults get check results of a specific term DposCheckResults(ctx context.Context, in *DposCheckResultsRequest, opts ...grpc.CallOption) (*DposCheckResultsResponse, error) // DposStatus get dpos status DposStatus(ctx context.Context, in *DposStatusRequest, opts ...grpc.CallOption) (*DposStatusResponse, error) // GetAccountByAK get account sets contain a specific address GetAccountByAK(ctx context.Context, in *AK2AccountRequest, opts ...grpc.CallOption) (*AK2AccountResponse, error) //预执行合约 PreExec(ctx context.Context, in *InvokeRPCRequest, opts ...grpc.CallOption) (*InvokeRPCResponse, error) }
AChainClient is the client API for AChain service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAChainClient ¶
func NewAChainClient(cc *grpc.ClientConn) AChainClient
type AChainErrorEnum ¶
type AChainErrorEnum int32
const ( AChainErrorEnum_SUCCESS AChainErrorEnum = 0 AChainErrorEnum_UNKNOW_ERROR AChainErrorEnum = 1 AChainErrorEnum_CONNECT_REFUSE AChainErrorEnum = 2 AChainErrorEnum_NOT_ENOUGH_UTXO_ERROR AChainErrorEnum = 3 AChainErrorEnum_UTXOVM_ALREADY_UNCONFIRM_ERROR AChainErrorEnum = 4 AChainErrorEnum_UTXOVM_NOT_FOUND_ERROR AChainErrorEnum = 5 AChainErrorEnum_INPUT_OUTPUT_NOT_EQUAL_ERROR AChainErrorEnum = 6 AChainErrorEnum_TX_NOT_FOUND_ERROR AChainErrorEnum = 7 AChainErrorEnum_TX_SIGN_ERROR AChainErrorEnum = 8 AChainErrorEnum_BLOCKCHAIN_NOTEXIST AChainErrorEnum = 9 AChainErrorEnum_VALIDATE_ERROR AChainErrorEnum = 10 AChainErrorEnum_CANNOT_SYNC_BLOCK_ERROR AChainErrorEnum = 11 AChainErrorEnum_CONFIRM_BLOCK_ERROR AChainErrorEnum = 12 AChainErrorEnum_UTXOVM_PLAY_ERROR AChainErrorEnum = 13 AChainErrorEnum_WALK_ERROR AChainErrorEnum = 14 AChainErrorEnum_NOT_READY_ERROR AChainErrorEnum = 15 AChainErrorEnum_BLOCK_EXIST_ERROR AChainErrorEnum = 16 AChainErrorEnum_ROOT_BLOCK_EXIST_ERROR AChainErrorEnum = 17 AChainErrorEnum_TX_DUPLICATE_ERROR AChainErrorEnum = 19 AChainErrorEnum_SERVICE_REFUSED_ERROR AChainErrorEnum = 20 AChainErrorEnum_TXDATA_SIGN_ERROR AChainErrorEnum = 21 AChainErrorEnum_TX_SLE_ERROR AChainErrorEnum = 25 AChainErrorEnum_TX_FEE_NOT_ENOUGH_ERROR AChainErrorEnum = 26 AChainErrorEnum_UTXO_SIGN_ERROR AChainErrorEnum = 28 AChainErrorEnum_DPOS_QUERY_ERROR AChainErrorEnum = 31 AChainErrorEnum_RWSET_INVALID_ERROR AChainErrorEnum = 33 AChainErrorEnum_RWACL_INVALID_ERROR AChainErrorEnum = 34 AChainErrorEnum_GAS_NOT_ENOUGH_ERROR AChainErrorEnum = 35 AChainErrorEnum_TX_VERSION_INVALID_ERROR AChainErrorEnum = 36 AChainErrorEnum_COMPLIANCE_CHECK_NOT_APPROVED AChainErrorEnum = 37 AChainErrorEnum_ACCOUNT_CONTRACT_STATUS_ERROR AChainErrorEnum = 38 )
func (AChainErrorEnum) EnumDescriptor ¶
func (AChainErrorEnum) EnumDescriptor() ([]byte, []int)
func (AChainErrorEnum) String ¶
func (x AChainErrorEnum) String() string
type AChainServer ¶
type AChainServer interface { // PostTx post Transaction to a node PostTx(context.Context, *TxStatus) (*CommonReply, error) QueryACL(context.Context, *AclStatus) (*AclStatus, error) GetAccountContracts(context.Context, *GetAccountContractsRequest) (*GetAccountContractsResponse, error) // QueryTx query Transaction by TxStatus, // Bcname and Txid are required for this QueryTx(context.Context, *TxStatus) (*TxStatus, error) // GetBalance get balance of an address, // Address is required for this GetBalance(context.Context, *AddressStatus) (*AddressStatus, error) // GetFrozenBalance get balance that still be frozen of an address, // Address is required for this GetFrozenBalance(context.Context, *AddressStatus) (*AddressStatus, error) // GetBlock get block by blockid and return if the block in trunk or in branch GetBlock(context.Context, *BlockID) (*Block, error) // GetBlockByHeight get block by height and return if the block in trunk or in branch GetBlockByHeight(context.Context, *BlockHeight) (*Block, error) GetBlockChainStatus(context.Context, *BCStatus) (*BCStatus, error) // Get blockchains query blockchains GetBlockChains(context.Context, *CommonIn) (*BlockChains, error) // GetSystemStatus query system status GetSystemStatus(context.Context, *CommonIn) (*SystemsStatusReply, error) // GetNetURL return net url GetNetURL(context.Context, *CommonIn) (*RawUrl, error) // 新的Select utxos接口, 不需要签名,可以支持选择账户的utxo SelectUTXO(context.Context, *UtxoInput) (*UtxoOutput, error) // Native code deploy interface DeployNativeCode(context.Context, *DeployNativeCodeRequest) (*DeployNativeCodeResponse, error) // Native code status NativeCodeStatus(context.Context, *NativeCodeStatusRequest) (*NativeCodeStatusResponse, error) // DposCandidates get all candidates of the tdpos consensus DposCandidates(context.Context, *DposCandidatesRequest) (*DposCandidatesResponse, error) // DposNominateRecords get all records nominated by an user DposNominateRecords(context.Context, *DposNominateRecordsRequest) (*DposNominateRecordsResponse, error) // DposNomineeRecords get nominated record of a candidate DposNomineeRecords(context.Context, *DposNomineeRecordsRequest) (*DposNomineeRecordsResponse, error) // DposVoteRecords get all vote records voted by an user DposVoteRecords(context.Context, *DposVoteRecordsRequest) (*DposVoteRecordsResponse, error) // DposVotedRecords get all vote records of a candidate DposVotedRecords(context.Context, *DposVotedRecordsRequest) (*DposVotedRecordsResponse, error) // DposCheckResults get check results of a specific term DposCheckResults(context.Context, *DposCheckResultsRequest) (*DposCheckResultsResponse, error) // DposStatus get dpos status DposStatus(context.Context, *DposStatusRequest) (*DposStatusResponse, error) // GetAccountByAK get account sets contain a specific address GetAccountByAK(context.Context, *AK2AccountRequest) (*AK2AccountResponse, error) //预执行合约 PreExec(context.Context, *InvokeRPCRequest) (*InvokeRPCResponse, error) }
AChainServer is the server API for AChain service.
type AK2AccountRequest ¶
type AK2AccountRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AK2AccountRequest) Descriptor ¶
func (*AK2AccountRequest) Descriptor() ([]byte, []int)
func (*AK2AccountRequest) GetAddress ¶
func (m *AK2AccountRequest) GetAddress() string
func (*AK2AccountRequest) GetBcname ¶
func (m *AK2AccountRequest) GetBcname() string
func (*AK2AccountRequest) GetHeader ¶
func (m *AK2AccountRequest) GetHeader() *Header
func (*AK2AccountRequest) ProtoMessage ¶
func (*AK2AccountRequest) ProtoMessage()
func (*AK2AccountRequest) Reset ¶
func (m *AK2AccountRequest) Reset()
func (*AK2AccountRequest) String ¶
func (m *AK2AccountRequest) String() string
func (*AK2AccountRequest) XXX_DiscardUnknown ¶
func (m *AK2AccountRequest) XXX_DiscardUnknown()
func (*AK2AccountRequest) XXX_Marshal ¶
func (m *AK2AccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AK2AccountRequest) XXX_Merge ¶
func (m *AK2AccountRequest) XXX_Merge(src proto.Message)
func (*AK2AccountRequest) XXX_Size ¶
func (m *AK2AccountRequest) XXX_Size() int
func (*AK2AccountRequest) XXX_Unmarshal ¶
func (m *AK2AccountRequest) XXX_Unmarshal(b []byte) error
type AK2AccountResponse ¶
type AK2AccountResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` Account []string `protobuf:"bytes,3,rep,name=account,proto3" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AK2AccountResponse) Descriptor ¶
func (*AK2AccountResponse) Descriptor() ([]byte, []int)
func (*AK2AccountResponse) GetAccount ¶
func (m *AK2AccountResponse) GetAccount() []string
func (*AK2AccountResponse) GetBcname ¶
func (m *AK2AccountResponse) GetBcname() string
func (*AK2AccountResponse) GetHeader ¶
func (m *AK2AccountResponse) GetHeader() *Header
func (*AK2AccountResponse) ProtoMessage ¶
func (*AK2AccountResponse) ProtoMessage()
func (*AK2AccountResponse) Reset ¶
func (m *AK2AccountResponse) Reset()
func (*AK2AccountResponse) String ¶
func (m *AK2AccountResponse) String() string
func (*AK2AccountResponse) XXX_DiscardUnknown ¶
func (m *AK2AccountResponse) XXX_DiscardUnknown()
func (*AK2AccountResponse) XXX_Marshal ¶
func (m *AK2AccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AK2AccountResponse) XXX_Merge ¶
func (m *AK2AccountResponse) XXX_Merge(src proto.Message)
func (*AK2AccountResponse) XXX_Size ¶
func (m *AK2AccountResponse) XXX_Size() int
func (*AK2AccountResponse) XXX_Unmarshal ¶
func (m *AK2AccountResponse) XXX_Unmarshal(b []byte) error
type Acl ¶
type Acl struct { Pm *PermissionModel `protobuf:"bytes,1,opt,name=pm,proto3" json:"pm,omitempty"` AksWeight map[string]float64 `` /* 161-byte string literal not displayed */ AkSets *AkSets `protobuf:"bytes,3,opt,name=akSets,proto3" json:"akSets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Acl实际使用的结构
func (*Acl) Descriptor ¶
func (*Acl) GetAksWeight ¶
func (*Acl) GetPm ¶
func (m *Acl) GetPm() *PermissionModel
func (*Acl) ProtoMessage ¶
func (*Acl) ProtoMessage()
func (*Acl) XXX_DiscardUnknown ¶
func (m *Acl) XXX_DiscardUnknown()
func (*Acl) XXX_Unmarshal ¶
type AclStatus ¶
type AclStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` AccountName string `protobuf:"bytes,3,opt,name=accountName,proto3" json:"accountName,omitempty"` ContractName string `protobuf:"bytes,4,opt,name=contractName,proto3" json:"contractName,omitempty"` MethodName string `protobuf:"bytes,5,opt,name=methodName,proto3" json:"methodName,omitempty"` Confirmed bool `protobuf:"varint,6,opt,name=confirmed,proto3" json:"confirmed,omitempty"` Acl *Acl `protobuf:"bytes,7,opt,name=acl,proto3" json:"acl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询Acl
func (*AclStatus) Descriptor ¶
func (*AclStatus) GetAccountName ¶
func (*AclStatus) GetConfirmed ¶
func (*AclStatus) GetContractName ¶
func (*AclStatus) GetMethodName ¶
func (*AclStatus) ProtoMessage ¶
func (*AclStatus) ProtoMessage()
func (*AclStatus) XXX_DiscardUnknown ¶
func (m *AclStatus) XXX_DiscardUnknown()
func (*AclStatus) XXX_Marshal ¶
func (*AclStatus) XXX_Unmarshal ¶
type AddressStatus ¶
type AddressStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Bcs []*TokenDetail `protobuf:"bytes,3,rep,name=bcs,proto3" json:"bcs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddressStatus) Descriptor ¶
func (*AddressStatus) Descriptor() ([]byte, []int)
func (*AddressStatus) GetAddress ¶
func (m *AddressStatus) GetAddress() string
func (*AddressStatus) GetBcs ¶
func (m *AddressStatus) GetBcs() []*TokenDetail
func (*AddressStatus) GetHeader ¶
func (m *AddressStatus) GetHeader() *Header
func (*AddressStatus) ProtoMessage ¶
func (*AddressStatus) ProtoMessage()
func (*AddressStatus) Reset ¶
func (m *AddressStatus) Reset()
func (*AddressStatus) String ¶
func (m *AddressStatus) String() string
func (*AddressStatus) XXX_DiscardUnknown ¶
func (m *AddressStatus) XXX_DiscardUnknown()
func (*AddressStatus) XXX_Marshal ¶
func (m *AddressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressStatus) XXX_Merge ¶
func (m *AddressStatus) XXX_Merge(src proto.Message)
func (*AddressStatus) XXX_Size ¶
func (m *AddressStatus) XXX_Size() int
func (*AddressStatus) XXX_Unmarshal ¶
func (m *AddressStatus) XXX_Unmarshal(b []byte) error
type AkSet ¶
type AkSet struct { Aks []string `protobuf:"bytes,1,rep,name=aks,proto3" json:"aks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
AK集的表示方法
func (*AkSet) Descriptor ¶
func (*AkSet) ProtoMessage ¶
func (*AkSet) ProtoMessage()
func (*AkSet) XXX_DiscardUnknown ¶
func (m *AkSet) XXX_DiscardUnknown()
func (*AkSet) XXX_Marshal ¶
func (*AkSet) XXX_Unmarshal ¶
type AkSets ¶
type AkSets struct { Sets map[string]*AkSet `` /* 149-byte string literal not displayed */ Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AkSets) Descriptor ¶
func (*AkSets) GetExpression ¶
func (*AkSets) ProtoMessage ¶
func (*AkSets) ProtoMessage()
func (*AkSets) XXX_DiscardUnknown ¶
func (m *AkSets) XXX_DiscardUnknown()
func (*AkSets) XXX_Marshal ¶
func (*AkSets) XXX_Unmarshal ¶
type AmpChainClient ¶
type AmpChainClient struct {
// contains filtered or unexported fields
}
func (*AmpChainClient) DeployNativeCode ¶
func (c *AmpChainClient) DeployNativeCode(ctx context.Context, in *DeployNativeCodeRequest, opts ...grpc.CallOption) (*DeployNativeCodeResponse, error)
func (*AmpChainClient) DposCandidates ¶
func (c *AmpChainClient) DposCandidates(ctx context.Context, in *DposCandidatesRequest, opts ...grpc.CallOption) (*DposCandidatesResponse, error)
func (*AmpChainClient) DposCheckResults ¶
func (c *AmpChainClient) DposCheckResults(ctx context.Context, in *DposCheckResultsRequest, opts ...grpc.CallOption) (*DposCheckResultsResponse, error)
func (*AmpChainClient) DposNominateRecords ¶
func (c *AmpChainClient) DposNominateRecords(ctx context.Context, in *DposNominateRecordsRequest, opts ...grpc.CallOption) (*DposNominateRecordsResponse, error)
func (*AmpChainClient) DposNomineeRecords ¶
func (c *AmpChainClient) DposNomineeRecords(ctx context.Context, in *DposNomineeRecordsRequest, opts ...grpc.CallOption) (*DposNomineeRecordsResponse, error)
func (*AmpChainClient) DposStatus ¶
func (c *AmpChainClient) DposStatus(ctx context.Context, in *DposStatusRequest, opts ...grpc.CallOption) (*DposStatusResponse, error)
func (*AmpChainClient) DposVoteRecords ¶
func (c *AmpChainClient) DposVoteRecords(ctx context.Context, in *DposVoteRecordsRequest, opts ...grpc.CallOption) (*DposVoteRecordsResponse, error)
func (*AmpChainClient) DposVotedRecords ¶
func (c *AmpChainClient) DposVotedRecords(ctx context.Context, in *DposVotedRecordsRequest, opts ...grpc.CallOption) (*DposVotedRecordsResponse, error)
func (*AmpChainClient) GetAccountByAK ¶
func (c *AmpChainClient) GetAccountByAK(ctx context.Context, in *AK2AccountRequest, opts ...grpc.CallOption) (*AK2AccountResponse, error)
func (*AmpChainClient) GetAccountContracts ¶
func (c *AmpChainClient) GetAccountContracts(ctx context.Context, in *GetAccountContractsRequest, opts ...grpc.CallOption) (*GetAccountContractsResponse, error)
func (*AmpChainClient) GetBalance ¶
func (c *AmpChainClient) GetBalance(ctx context.Context, in *AddressStatus, opts ...grpc.CallOption) (*AddressStatus, error)
func (*AmpChainClient) GetBlock ¶
func (c *AmpChainClient) GetBlock(ctx context.Context, in *BlockID, opts ...grpc.CallOption) (*Block, error)
func (*AmpChainClient) GetBlockByHeight ¶
func (c *AmpChainClient) GetBlockByHeight(ctx context.Context, in *BlockHeight, opts ...grpc.CallOption) (*Block, error)
func (*AmpChainClient) GetBlockChainStatus ¶
func (c *AmpChainClient) GetBlockChainStatus(ctx context.Context, in *BCStatus, opts ...grpc.CallOption) (*BCStatus, error)
func (*AmpChainClient) GetBlockChains ¶
func (c *AmpChainClient) GetBlockChains(ctx context.Context, in *CommonIn, opts ...grpc.CallOption) (*BlockChains, error)
func (*AmpChainClient) GetFrozenBalance ¶
func (c *AmpChainClient) GetFrozenBalance(ctx context.Context, in *AddressStatus, opts ...grpc.CallOption) (*AddressStatus, error)
func (*AmpChainClient) GetNetURL ¶
func (c *AmpChainClient) GetNetURL(ctx context.Context, in *CommonIn, opts ...grpc.CallOption) (*RawUrl, error)
func (*AmpChainClient) GetSystemStatus ¶
func (c *AmpChainClient) GetSystemStatus(ctx context.Context, in *CommonIn, opts ...grpc.CallOption) (*SystemsStatusReply, error)
func (*AmpChainClient) NativeCodeStatus ¶
func (c *AmpChainClient) NativeCodeStatus(ctx context.Context, in *NativeCodeStatusRequest, opts ...grpc.CallOption) (*NativeCodeStatusResponse, error)
func (*AmpChainClient) PostTx ¶
func (c *AmpChainClient) PostTx(ctx context.Context, in *TxStatus, opts ...grpc.CallOption) (*CommonReply, error)
func (*AmpChainClient) PreExec ¶
func (c *AmpChainClient) PreExec(ctx context.Context, in *InvokeRPCRequest, opts ...grpc.CallOption) (*InvokeRPCResponse, error)
func (*AmpChainClient) QueryACL ¶
func (c *AmpChainClient) QueryACL(ctx context.Context, in *AclStatus, opts ...grpc.CallOption) (*AclStatus, error)
func (*AmpChainClient) QueryTx ¶
func (c *AmpChainClient) QueryTx(ctx context.Context, in *TxStatus, opts ...grpc.CallOption) (*TxStatus, error)
func (*AmpChainClient) SelectUTXO ¶
func (c *AmpChainClient) SelectUTXO(ctx context.Context, in *UtxoInput, opts ...grpc.CallOption) (*UtxoOutput, error)
type BCSpeeds ¶
type BCSpeeds struct { BcSpeed map[string]float64 `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BCSpeeds) Descriptor ¶
func (*BCSpeeds) GetBcSpeed ¶
func (*BCSpeeds) ProtoMessage ¶
func (*BCSpeeds) ProtoMessage()
func (*BCSpeeds) XXX_DiscardUnknown ¶
func (m *BCSpeeds) XXX_DiscardUnknown()
func (*BCSpeeds) XXX_Marshal ¶
func (*BCSpeeds) XXX_Unmarshal ¶
type BCStatus ¶
type BCStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // block name Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` // ledger metadata Meta *LedgerMeta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"` // The information of the longest block Block *InternalBlock `protobuf:"bytes,4,opt,name=block,proto3" json:"block,omitempty"` // Utox information UtxoMeta *UtxoMeta `protobuf:"bytes,5,opt,name=utxoMeta,proto3" json:"utxoMeta,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BlockChain status
func (*BCStatus) Descriptor ¶
func (*BCStatus) GetBlock ¶
func (m *BCStatus) GetBlock() *InternalBlock
func (*BCStatus) GetMeta ¶
func (m *BCStatus) GetMeta() *LedgerMeta
func (*BCStatus) GetUtxoMeta ¶
func (*BCStatus) ProtoMessage ¶
func (*BCStatus) ProtoMessage()
func (*BCStatus) XXX_DiscardUnknown ¶
func (m *BCStatus) XXX_DiscardUnknown()
func (*BCStatus) XXX_Marshal ¶
func (*BCStatus) XXX_Unmarshal ¶
type BCTipStatus ¶
type BCTipStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` IsTrunkTip bool `protobuf:"varint,2,opt,name=is_trunk_tip,json=isTrunkTip,proto3" json:"is_trunk_tip,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BCTipStatus) Descriptor ¶
func (*BCTipStatus) Descriptor() ([]byte, []int)
func (*BCTipStatus) GetHeader ¶
func (m *BCTipStatus) GetHeader() *Header
func (*BCTipStatus) GetIsTrunkTip ¶
func (m *BCTipStatus) GetIsTrunkTip() bool
func (*BCTipStatus) ProtoMessage ¶
func (*BCTipStatus) ProtoMessage()
func (*BCTipStatus) Reset ¶
func (m *BCTipStatus) Reset()
func (*BCTipStatus) String ¶
func (m *BCTipStatus) String() string
func (*BCTipStatus) XXX_DiscardUnknown ¶
func (m *BCTipStatus) XXX_DiscardUnknown()
func (*BCTipStatus) XXX_Marshal ¶
func (m *BCTipStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BCTipStatus) XXX_Merge ¶
func (m *BCTipStatus) XXX_Merge(src proto.Message)
func (*BCTipStatus) XXX_Size ¶
func (m *BCTipStatus) XXX_Size() int
func (*BCTipStatus) XXX_Unmarshal ¶
func (m *BCTipStatus) XXX_Unmarshal(b []byte) error
type BatchTxs ¶
type BatchTxs struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Txs []*TxStatus `protobuf:"bytes,2,rep,name=Txs,proto3" json:"Txs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BatchTxs) Descriptor ¶
func (*BatchTxs) ProtoMessage ¶
func (*BatchTxs) ProtoMessage()
func (*BatchTxs) XXX_DiscardUnknown ¶
func (m *BatchTxs) XXX_DiscardUnknown()
func (*BatchTxs) XXX_Marshal ¶
func (*BatchTxs) XXX_Unmarshal ¶
type Block ¶
type Block struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` Blockid []byte `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"` Status Block_EBlockStatus `protobuf:"varint,4,opt,name=status,proto3,enum=pb.Block_EBlockStatus" json:"status,omitempty"` Block *InternalBlock `protobuf:"bytes,5,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Block) Descriptor ¶
func (*Block) GetBlock ¶
func (m *Block) GetBlock() *InternalBlock
func (*Block) GetBlockid ¶
func (*Block) GetStatus ¶
func (m *Block) GetStatus() Block_EBlockStatus
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type BlockChains ¶
type BlockChains struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Blockchains []string `protobuf:"bytes,2,rep,name=blockchains,proto3" json:"blockchains,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockChains) Descriptor ¶
func (*BlockChains) Descriptor() ([]byte, []int)
func (*BlockChains) GetBlockchains ¶
func (m *BlockChains) GetBlockchains() []string
func (*BlockChains) GetHeader ¶
func (m *BlockChains) GetHeader() *Header
func (*BlockChains) ProtoMessage ¶
func (*BlockChains) ProtoMessage()
func (*BlockChains) Reset ¶
func (m *BlockChains) Reset()
func (*BlockChains) String ¶
func (m *BlockChains) String() string
func (*BlockChains) XXX_DiscardUnknown ¶
func (m *BlockChains) XXX_DiscardUnknown()
func (*BlockChains) XXX_Marshal ¶
func (m *BlockChains) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockChains) XXX_Merge ¶
func (m *BlockChains) XXX_Merge(src proto.Message)
func (*BlockChains) XXX_Size ¶
func (m *BlockChains) XXX_Size() int
func (*BlockChains) XXX_Unmarshal ¶
func (m *BlockChains) XXX_Unmarshal(b []byte) error
type BlockHeight ¶
type BlockHeight struct { Header *Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,1,opt,name=bcname,proto3" json:"bcname,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 (*BlockHeight) Descriptor ¶
func (*BlockHeight) Descriptor() ([]byte, []int)
func (*BlockHeight) GetBcname ¶
func (m *BlockHeight) GetBcname() string
func (*BlockHeight) GetHeader ¶
func (m *BlockHeight) GetHeader() *Header
func (*BlockHeight) GetHeight ¶
func (m *BlockHeight) GetHeight() int64
func (*BlockHeight) ProtoMessage ¶
func (*BlockHeight) ProtoMessage()
func (*BlockHeight) Reset ¶
func (m *BlockHeight) Reset()
func (*BlockHeight) String ¶
func (m *BlockHeight) String() string
func (*BlockHeight) XXX_DiscardUnknown ¶
func (m *BlockHeight) XXX_DiscardUnknown()
func (*BlockHeight) XXX_Marshal ¶
func (m *BlockHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeight) XXX_Merge ¶
func (m *BlockHeight) XXX_Merge(src proto.Message)
func (*BlockHeight) XXX_Size ¶
func (m *BlockHeight) XXX_Size() int
func (*BlockHeight) XXX_Unmarshal ¶
func (m *BlockHeight) XXX_Unmarshal(b []byte) error
type BlockID ¶
type BlockID struct { Header *Header `protobuf:"bytes,4,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,1,opt,name=bcname,proto3" json:"bcname,omitempty"` Blockid []byte `protobuf:"bytes,2,opt,name=blockid,proto3" json:"blockid,omitempty"` // if need content NeedContent bool `protobuf:"varint,3,opt,name=need_content,json=needContent,proto3" json:"need_content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockID) Descriptor ¶
func (*BlockID) GetBlockid ¶
func (*BlockID) GetNeedContent ¶
func (*BlockID) ProtoMessage ¶
func (*BlockID) ProtoMessage()
func (*BlockID) XXX_DiscardUnknown ¶
func (m *BlockID) XXX_DiscardUnknown()
func (*BlockID) XXX_Marshal ¶
func (*BlockID) XXX_Unmarshal ¶
type Block_EBlockStatus ¶
type Block_EBlockStatus int32
const ( Block_ERROR Block_EBlockStatus = 0 Block_TRUNK Block_EBlockStatus = 1 Block_BRANCH Block_EBlockStatus = 2 Block_NOEXIST Block_EBlockStatus = 3 )
func (Block_EBlockStatus) EnumDescriptor ¶
func (Block_EBlockStatus) EnumDescriptor() ([]byte, []int)
func (Block_EBlockStatus) String ¶
func (x Block_EBlockStatus) String() string
type CommonIn ¶
type CommonIn struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommonIn) Descriptor ¶
func (*CommonIn) ProtoMessage ¶
func (*CommonIn) ProtoMessage()
func (*CommonIn) XXX_DiscardUnknown ¶
func (m *CommonIn) XXX_DiscardUnknown()
func (*CommonIn) XXX_Marshal ¶
func (*CommonIn) XXX_Unmarshal ¶
type CommonReply ¶
type CommonReply struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommonReply) Descriptor ¶
func (*CommonReply) Descriptor() ([]byte, []int)
func (*CommonReply) GetHeader ¶
func (m *CommonReply) GetHeader() *Header
func (*CommonReply) ProtoMessage ¶
func (*CommonReply) ProtoMessage()
func (*CommonReply) Reset ¶
func (m *CommonReply) Reset()
func (*CommonReply) String ¶
func (m *CommonReply) String() string
func (*CommonReply) XXX_DiscardUnknown ¶
func (m *CommonReply) XXX_DiscardUnknown()
func (*CommonReply) XXX_Marshal ¶
func (m *CommonReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommonReply) XXX_Merge ¶
func (m *CommonReply) XXX_Merge(src proto.Message)
func (*CommonReply) XXX_Size ¶
func (m *CommonReply) XXX_Size() int
func (*CommonReply) XXX_Unmarshal ¶
func (m *CommonReply) XXX_Unmarshal(b []byte) error
type ComplianceCheckResponse ¶
type ComplianceCheckResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Signature *SignatureInfo `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ComplianceCheckResponse) Descriptor ¶
func (*ComplianceCheckResponse) Descriptor() ([]byte, []int)
func (*ComplianceCheckResponse) GetHeader ¶
func (m *ComplianceCheckResponse) GetHeader() *Header
func (*ComplianceCheckResponse) GetSignature ¶
func (m *ComplianceCheckResponse) GetSignature() *SignatureInfo
func (*ComplianceCheckResponse) ProtoMessage ¶
func (*ComplianceCheckResponse) ProtoMessage()
func (*ComplianceCheckResponse) Reset ¶
func (m *ComplianceCheckResponse) Reset()
func (*ComplianceCheckResponse) String ¶
func (m *ComplianceCheckResponse) String() string
func (*ComplianceCheckResponse) XXX_DiscardUnknown ¶
func (m *ComplianceCheckResponse) XXX_DiscardUnknown()
func (*ComplianceCheckResponse) XXX_Marshal ¶
func (m *ComplianceCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComplianceCheckResponse) XXX_Merge ¶
func (m *ComplianceCheckResponse) XXX_Merge(src proto.Message)
func (*ComplianceCheckResponse) XXX_Size ¶
func (m *ComplianceCheckResponse) XXX_Size() int
func (*ComplianceCheckResponse) XXX_Unmarshal ¶
func (m *ComplianceCheckResponse) XXX_Unmarshal(b []byte) error
type ContractStatus ¶
type ContractStatus struct { ContractName string `protobuf:"bytes,1,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"` Txid string `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` Desc []byte `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"` IsBanned bool `protobuf:"varint,4,opt,name=is_banned,json=isBanned,proto3" json:"is_banned,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Status of a contract
func (*ContractStatus) Descriptor ¶
func (*ContractStatus) Descriptor() ([]byte, []int)
func (*ContractStatus) GetContractName ¶
func (m *ContractStatus) GetContractName() string
func (*ContractStatus) GetDesc ¶
func (m *ContractStatus) GetDesc() []byte
func (*ContractStatus) GetIsBanned ¶
func (m *ContractStatus) GetIsBanned() bool
func (*ContractStatus) GetTxid ¶
func (m *ContractStatus) GetTxid() string
func (*ContractStatus) ProtoMessage ¶
func (*ContractStatus) ProtoMessage()
func (*ContractStatus) Reset ¶
func (m *ContractStatus) Reset()
func (*ContractStatus) String ¶
func (m *ContractStatus) String() string
func (*ContractStatus) XXX_DiscardUnknown ¶
func (m *ContractStatus) XXX_DiscardUnknown()
func (*ContractStatus) XXX_Marshal ¶
func (m *ContractStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractStatus) XXX_Merge ¶
func (m *ContractStatus) XXX_Merge(src proto.Message)
func (*ContractStatus) XXX_Size ¶
func (m *ContractStatus) XXX_Size() int
func (*ContractStatus) XXX_Unmarshal ¶
func (m *ContractStatus) XXX_Unmarshal(b []byte) error
type DeployNativeCodeRequest ¶
type DeployNativeCodeRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // chain name Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` // native code desc Desc *NativeCodeDesc `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"` // code is the bytes of binary code Code []byte `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` // the address of deployer Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` // the public key of deployer Pubkey []byte `protobuf:"bytes,6,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // the sign of desc Sign []byte `protobuf:"bytes,7,opt,name=sign,proto3" json:"sign,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeployNativeCodeRequest) Descriptor ¶
func (*DeployNativeCodeRequest) Descriptor() ([]byte, []int)
func (*DeployNativeCodeRequest) GetAddress ¶
func (m *DeployNativeCodeRequest) GetAddress() string
func (*DeployNativeCodeRequest) GetBcname ¶
func (m *DeployNativeCodeRequest) GetBcname() string
func (*DeployNativeCodeRequest) GetCode ¶
func (m *DeployNativeCodeRequest) GetCode() []byte
func (*DeployNativeCodeRequest) GetDesc ¶
func (m *DeployNativeCodeRequest) GetDesc() *NativeCodeDesc
func (*DeployNativeCodeRequest) GetHeader ¶
func (m *DeployNativeCodeRequest) GetHeader() *Header
func (*DeployNativeCodeRequest) GetPubkey ¶
func (m *DeployNativeCodeRequest) GetPubkey() []byte
func (*DeployNativeCodeRequest) GetSign ¶
func (m *DeployNativeCodeRequest) GetSign() []byte
func (*DeployNativeCodeRequest) ProtoMessage ¶
func (*DeployNativeCodeRequest) ProtoMessage()
func (*DeployNativeCodeRequest) Reset ¶
func (m *DeployNativeCodeRequest) Reset()
func (*DeployNativeCodeRequest) String ¶
func (m *DeployNativeCodeRequest) String() string
func (*DeployNativeCodeRequest) XXX_DiscardUnknown ¶
func (m *DeployNativeCodeRequest) XXX_DiscardUnknown()
func (*DeployNativeCodeRequest) XXX_Marshal ¶
func (m *DeployNativeCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeployNativeCodeRequest) XXX_Merge ¶
func (m *DeployNativeCodeRequest) XXX_Merge(src proto.Message)
func (*DeployNativeCodeRequest) XXX_Size ¶
func (m *DeployNativeCodeRequest) XXX_Size() int
func (*DeployNativeCodeRequest) XXX_Unmarshal ¶
func (m *DeployNativeCodeRequest) XXX_Unmarshal(b []byte) error
type DeployNativeCodeResponse ¶
type DeployNativeCodeResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeployNativeCodeResponse) Descriptor ¶
func (*DeployNativeCodeResponse) Descriptor() ([]byte, []int)
func (*DeployNativeCodeResponse) GetHeader ¶
func (m *DeployNativeCodeResponse) GetHeader() *Header
func (*DeployNativeCodeResponse) ProtoMessage ¶
func (*DeployNativeCodeResponse) ProtoMessage()
func (*DeployNativeCodeResponse) Reset ¶
func (m *DeployNativeCodeResponse) Reset()
func (*DeployNativeCodeResponse) String ¶
func (m *DeployNativeCodeResponse) String() string
func (*DeployNativeCodeResponse) XXX_DiscardUnknown ¶
func (m *DeployNativeCodeResponse) XXX_DiscardUnknown()
func (*DeployNativeCodeResponse) XXX_Marshal ¶
func (m *DeployNativeCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeployNativeCodeResponse) XXX_Merge ¶
func (m *DeployNativeCodeResponse) XXX_Merge(src proto.Message)
func (*DeployNativeCodeResponse) XXX_Size ¶
func (m *DeployNativeCodeResponse) XXX_Size() int
func (*DeployNativeCodeResponse) XXX_Unmarshal ¶
func (m *DeployNativeCodeResponse) XXX_Unmarshal(b []byte) error
type DposCandidatesRequest ¶
type DposCandidatesRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人列表接口
func (*DposCandidatesRequest) Descriptor ¶
func (*DposCandidatesRequest) Descriptor() ([]byte, []int)
func (*DposCandidatesRequest) GetBcname ¶
func (m *DposCandidatesRequest) GetBcname() string
func (*DposCandidatesRequest) GetHeader ¶
func (m *DposCandidatesRequest) GetHeader() *Header
func (*DposCandidatesRequest) ProtoMessage ¶
func (*DposCandidatesRequest) ProtoMessage()
func (*DposCandidatesRequest) Reset ¶
func (m *DposCandidatesRequest) Reset()
func (*DposCandidatesRequest) String ¶
func (m *DposCandidatesRequest) String() string
func (*DposCandidatesRequest) XXX_DiscardUnknown ¶
func (m *DposCandidatesRequest) XXX_DiscardUnknown()
func (*DposCandidatesRequest) XXX_Marshal ¶
func (m *DposCandidatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCandidatesRequest) XXX_Merge ¶
func (m *DposCandidatesRequest) XXX_Merge(src proto.Message)
func (*DposCandidatesRequest) XXX_Size ¶
func (m *DposCandidatesRequest) XXX_Size() int
func (*DposCandidatesRequest) XXX_Unmarshal ¶
func (m *DposCandidatesRequest) XXX_Unmarshal(b []byte) error
type DposCandidatesResponse ¶
type DposCandidatesResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` CandidatesInfo []string `protobuf:"bytes,2,rep,name=candidatesInfo,proto3" json:"candidatesInfo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人列表返回
func (*DposCandidatesResponse) Descriptor ¶
func (*DposCandidatesResponse) Descriptor() ([]byte, []int)
func (*DposCandidatesResponse) GetCandidatesInfo ¶
func (m *DposCandidatesResponse) GetCandidatesInfo() []string
func (*DposCandidatesResponse) GetHeader ¶
func (m *DposCandidatesResponse) GetHeader() *Header
func (*DposCandidatesResponse) ProtoMessage ¶
func (*DposCandidatesResponse) ProtoMessage()
func (*DposCandidatesResponse) Reset ¶
func (m *DposCandidatesResponse) Reset()
func (*DposCandidatesResponse) String ¶
func (m *DposCandidatesResponse) String() string
func (*DposCandidatesResponse) XXX_DiscardUnknown ¶
func (m *DposCandidatesResponse) XXX_DiscardUnknown()
func (*DposCandidatesResponse) XXX_Marshal ¶
func (m *DposCandidatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCandidatesResponse) XXX_Merge ¶
func (m *DposCandidatesResponse) XXX_Merge(src proto.Message)
func (*DposCandidatesResponse) XXX_Size ¶
func (m *DposCandidatesResponse) XXX_Size() int
func (*DposCandidatesResponse) XXX_Unmarshal ¶
func (m *DposCandidatesResponse) XXX_Unmarshal(b []byte) error
type DposCheckResultsRequest ¶
type DposCheckResultsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` Term int64 `protobuf:"varint,3,opt,name=term,proto3" json:"term,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询检票结果记录请求
func (*DposCheckResultsRequest) Descriptor ¶
func (*DposCheckResultsRequest) Descriptor() ([]byte, []int)
func (*DposCheckResultsRequest) GetBcname ¶
func (m *DposCheckResultsRequest) GetBcname() string
func (*DposCheckResultsRequest) GetHeader ¶
func (m *DposCheckResultsRequest) GetHeader() *Header
func (*DposCheckResultsRequest) GetTerm ¶
func (m *DposCheckResultsRequest) GetTerm() int64
func (*DposCheckResultsRequest) ProtoMessage ¶
func (*DposCheckResultsRequest) ProtoMessage()
func (*DposCheckResultsRequest) Reset ¶
func (m *DposCheckResultsRequest) Reset()
func (*DposCheckResultsRequest) String ¶
func (m *DposCheckResultsRequest) String() string
func (*DposCheckResultsRequest) XXX_DiscardUnknown ¶
func (m *DposCheckResultsRequest) XXX_DiscardUnknown()
func (*DposCheckResultsRequest) XXX_Marshal ¶
func (m *DposCheckResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCheckResultsRequest) XXX_Merge ¶
func (m *DposCheckResultsRequest) XXX_Merge(src proto.Message)
func (*DposCheckResultsRequest) XXX_Size ¶
func (m *DposCheckResultsRequest) XXX_Size() int
func (*DposCheckResultsRequest) XXX_Unmarshal ¶
func (m *DposCheckResultsRequest) XXX_Unmarshal(b []byte) error
type DposCheckResultsResponse ¶
type DposCheckResultsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Term int64 `protobuf:"varint,2,opt,name=term,proto3" json:"term,omitempty"` CheckResult []string `protobuf:"bytes,3,rep,name=checkResult,proto3" json:"checkResult,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
查询检票结果记录返回
func (*DposCheckResultsResponse) Descriptor ¶
func (*DposCheckResultsResponse) Descriptor() ([]byte, []int)
func (*DposCheckResultsResponse) GetCheckResult ¶
func (m *DposCheckResultsResponse) GetCheckResult() []string
func (*DposCheckResultsResponse) GetHeader ¶
func (m *DposCheckResultsResponse) GetHeader() *Header
func (*DposCheckResultsResponse) GetTerm ¶
func (m *DposCheckResultsResponse) GetTerm() int64
func (*DposCheckResultsResponse) ProtoMessage ¶
func (*DposCheckResultsResponse) ProtoMessage()
func (*DposCheckResultsResponse) Reset ¶
func (m *DposCheckResultsResponse) Reset()
func (*DposCheckResultsResponse) String ¶
func (m *DposCheckResultsResponse) String() string
func (*DposCheckResultsResponse) XXX_DiscardUnknown ¶
func (m *DposCheckResultsResponse) XXX_DiscardUnknown()
func (*DposCheckResultsResponse) XXX_Marshal ¶
func (m *DposCheckResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposCheckResultsResponse) XXX_Merge ¶
func (m *DposCheckResultsResponse) XXX_Merge(src proto.Message)
func (*DposCheckResultsResponse) XXX_Size ¶
func (m *DposCheckResultsResponse) XXX_Size() int
func (*DposCheckResultsResponse) XXX_Unmarshal ¶
func (m *DposCheckResultsResponse) XXX_Unmarshal(b []byte) error
type DposNominateInfo ¶
type DposNominateInfo struct { Candidate string `protobuf:"bytes,1,opt,name=candidate,proto3" json:"candidate,omitempty"` Txid string `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人信息
func (*DposNominateInfo) Descriptor ¶
func (*DposNominateInfo) Descriptor() ([]byte, []int)
func (*DposNominateInfo) GetCandidate ¶
func (m *DposNominateInfo) GetCandidate() string
func (*DposNominateInfo) GetTxid ¶
func (m *DposNominateInfo) GetTxid() string
func (*DposNominateInfo) ProtoMessage ¶
func (*DposNominateInfo) ProtoMessage()
func (*DposNominateInfo) Reset ¶
func (m *DposNominateInfo) Reset()
func (*DposNominateInfo) String ¶
func (m *DposNominateInfo) String() string
func (*DposNominateInfo) XXX_DiscardUnknown ¶
func (m *DposNominateInfo) XXX_DiscardUnknown()
func (*DposNominateInfo) XXX_Marshal ¶
func (m *DposNominateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposNominateInfo) XXX_Merge ¶
func (m *DposNominateInfo) XXX_Merge(src proto.Message)
func (*DposNominateInfo) XXX_Size ¶
func (m *DposNominateInfo) XXX_Size() int
func (*DposNominateInfo) XXX_Unmarshal ¶
func (m *DposNominateInfo) XXX_Unmarshal(b []byte) error
type DposNominateRecordsRequest ¶
type DposNominateRecordsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
提名者提名记录请求
func (*DposNominateRecordsRequest) Descriptor ¶
func (*DposNominateRecordsRequest) Descriptor() ([]byte, []int)
func (*DposNominateRecordsRequest) GetAddress ¶
func (m *DposNominateRecordsRequest) GetAddress() string
func (*DposNominateRecordsRequest) GetBcname ¶
func (m *DposNominateRecordsRequest) GetBcname() string
func (*DposNominateRecordsRequest) GetHeader ¶
func (m *DposNominateRecordsRequest) GetHeader() *Header
func (*DposNominateRecordsRequest) ProtoMessage ¶
func (*DposNominateRecordsRequest) ProtoMessage()
func (*DposNominateRecordsRequest) Reset ¶
func (m *DposNominateRecordsRequest) Reset()
func (*DposNominateRecordsRequest) String ¶
func (m *DposNominateRecordsRequest) String() string
func (*DposNominateRecordsRequest) XXX_DiscardUnknown ¶
func (m *DposNominateRecordsRequest) XXX_DiscardUnknown()
func (*DposNominateRecordsRequest) XXX_Marshal ¶
func (m *DposNominateRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposNominateRecordsRequest) XXX_Merge ¶
func (m *DposNominateRecordsRequest) XXX_Merge(src proto.Message)
func (*DposNominateRecordsRequest) XXX_Size ¶
func (m *DposNominateRecordsRequest) XXX_Size() int
func (*DposNominateRecordsRequest) XXX_Unmarshal ¶
func (m *DposNominateRecordsRequest) XXX_Unmarshal(b []byte) error
type DposNominateRecordsResponse ¶
type DposNominateRecordsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` NominateRecords []*DposNominateInfo `protobuf:"bytes,2,rep,name=nominateRecords,proto3" json:"nominateRecords,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
提名者提名记录返回
func (*DposNominateRecordsResponse) Descriptor ¶
func (*DposNominateRecordsResponse) Descriptor() ([]byte, []int)
func (*DposNominateRecordsResponse) GetHeader ¶
func (m *DposNominateRecordsResponse) GetHeader() *Header
func (*DposNominateRecordsResponse) GetNominateRecords ¶
func (m *DposNominateRecordsResponse) GetNominateRecords() []*DposNominateInfo
func (*DposNominateRecordsResponse) ProtoMessage ¶
func (*DposNominateRecordsResponse) ProtoMessage()
func (*DposNominateRecordsResponse) Reset ¶
func (m *DposNominateRecordsResponse) Reset()
func (*DposNominateRecordsResponse) String ¶
func (m *DposNominateRecordsResponse) String() string
func (*DposNominateRecordsResponse) XXX_DiscardUnknown ¶
func (m *DposNominateRecordsResponse) XXX_DiscardUnknown()
func (*DposNominateRecordsResponse) XXX_Marshal ¶
func (m *DposNominateRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposNominateRecordsResponse) XXX_Merge ¶
func (m *DposNominateRecordsResponse) XXX_Merge(src proto.Message)
func (*DposNominateRecordsResponse) XXX_Size ¶
func (m *DposNominateRecordsResponse) XXX_Size() int
func (*DposNominateRecordsResponse) XXX_Unmarshal ¶
func (m *DposNominateRecordsResponse) XXX_Unmarshal(b []byte) error
type DposNomineeRecordsRequest ¶
type DposNomineeRecordsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人被提名记录请求
func (*DposNomineeRecordsRequest) Descriptor ¶
func (*DposNomineeRecordsRequest) Descriptor() ([]byte, []int)
func (*DposNomineeRecordsRequest) GetAddress ¶
func (m *DposNomineeRecordsRequest) GetAddress() string
func (*DposNomineeRecordsRequest) GetBcname ¶
func (m *DposNomineeRecordsRequest) GetBcname() string
func (*DposNomineeRecordsRequest) GetHeader ¶
func (m *DposNomineeRecordsRequest) GetHeader() *Header
func (*DposNomineeRecordsRequest) ProtoMessage ¶
func (*DposNomineeRecordsRequest) ProtoMessage()
func (*DposNomineeRecordsRequest) Reset ¶
func (m *DposNomineeRecordsRequest) Reset()
func (*DposNomineeRecordsRequest) String ¶
func (m *DposNomineeRecordsRequest) String() string
func (*DposNomineeRecordsRequest) XXX_DiscardUnknown ¶
func (m *DposNomineeRecordsRequest) XXX_DiscardUnknown()
func (*DposNomineeRecordsRequest) XXX_Marshal ¶
func (m *DposNomineeRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposNomineeRecordsRequest) XXX_Merge ¶
func (m *DposNomineeRecordsRequest) XXX_Merge(src proto.Message)
func (*DposNomineeRecordsRequest) XXX_Size ¶
func (m *DposNomineeRecordsRequest) XXX_Size() int
func (*DposNomineeRecordsRequest) XXX_Unmarshal ¶
func (m *DposNomineeRecordsRequest) XXX_Unmarshal(b []byte) error
type DposNomineeRecordsResponse ¶
type DposNomineeRecordsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Txid string `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人被提名记录返回
func (*DposNomineeRecordsResponse) Descriptor ¶
func (*DposNomineeRecordsResponse) Descriptor() ([]byte, []int)
func (*DposNomineeRecordsResponse) GetHeader ¶
func (m *DposNomineeRecordsResponse) GetHeader() *Header
func (*DposNomineeRecordsResponse) GetTxid ¶
func (m *DposNomineeRecordsResponse) GetTxid() string
func (*DposNomineeRecordsResponse) ProtoMessage ¶
func (*DposNomineeRecordsResponse) ProtoMessage()
func (*DposNomineeRecordsResponse) Reset ¶
func (m *DposNomineeRecordsResponse) Reset()
func (*DposNomineeRecordsResponse) String ¶
func (m *DposNomineeRecordsResponse) String() string
func (*DposNomineeRecordsResponse) XXX_DiscardUnknown ¶
func (m *DposNomineeRecordsResponse) XXX_DiscardUnknown()
func (*DposNomineeRecordsResponse) XXX_Marshal ¶
func (m *DposNomineeRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposNomineeRecordsResponse) XXX_Merge ¶
func (m *DposNomineeRecordsResponse) XXX_Merge(src proto.Message)
func (*DposNomineeRecordsResponse) XXX_Size ¶
func (m *DposNomineeRecordsResponse) XXX_Size() int
func (*DposNomineeRecordsResponse) XXX_Unmarshal ¶
func (m *DposNomineeRecordsResponse) XXX_Unmarshal(b []byte) error
type DposStatus ¶
type DposStatus struct { Term int64 `protobuf:"varint,1,opt,name=term,proto3" json:"term,omitempty"` BlockNum int64 `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` Proposer string `protobuf:"bytes,3,opt,name=proposer,proto3" json:"proposer,omitempty"` ProposerNum int64 `protobuf:"varint,4,opt,name=proposer_num,json=proposerNum,proto3" json:"proposer_num,omitempty"` CheckResult []string `protobuf:"bytes,5,rep,name=checkResult,proto3" json:"checkResult,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DposStatus) Descriptor ¶
func (*DposStatus) Descriptor() ([]byte, []int)
func (*DposStatus) GetBlockNum ¶
func (m *DposStatus) GetBlockNum() int64
func (*DposStatus) GetCheckResult ¶
func (m *DposStatus) GetCheckResult() []string
func (*DposStatus) GetProposer ¶
func (m *DposStatus) GetProposer() string
func (*DposStatus) GetProposerNum ¶
func (m *DposStatus) GetProposerNum() int64
func (*DposStatus) GetTerm ¶
func (m *DposStatus) GetTerm() int64
func (*DposStatus) ProtoMessage ¶
func (*DposStatus) ProtoMessage()
func (*DposStatus) Reset ¶
func (m *DposStatus) Reset()
func (*DposStatus) String ¶
func (m *DposStatus) String() string
func (*DposStatus) XXX_DiscardUnknown ¶
func (m *DposStatus) XXX_DiscardUnknown()
func (*DposStatus) XXX_Marshal ¶
func (m *DposStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposStatus) XXX_Merge ¶
func (m *DposStatus) XXX_Merge(src proto.Message)
func (*DposStatus) XXX_Size ¶
func (m *DposStatus) XXX_Size() int
func (*DposStatus) XXX_Unmarshal ¶
func (m *DposStatus) XXX_Unmarshal(b []byte) error
type DposStatusRequest ¶
type DposStatusRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
query dpos consensus current status request
func (*DposStatusRequest) Descriptor ¶
func (*DposStatusRequest) Descriptor() ([]byte, []int)
func (*DposStatusRequest) GetBcname ¶
func (m *DposStatusRequest) GetBcname() string
func (*DposStatusRequest) GetHeader ¶
func (m *DposStatusRequest) GetHeader() *Header
func (*DposStatusRequest) ProtoMessage ¶
func (*DposStatusRequest) ProtoMessage()
func (*DposStatusRequest) Reset ¶
func (m *DposStatusRequest) Reset()
func (*DposStatusRequest) String ¶
func (m *DposStatusRequest) String() string
func (*DposStatusRequest) XXX_DiscardUnknown ¶
func (m *DposStatusRequest) XXX_DiscardUnknown()
func (*DposStatusRequest) XXX_Marshal ¶
func (m *DposStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposStatusRequest) XXX_Merge ¶
func (m *DposStatusRequest) XXX_Merge(src proto.Message)
func (*DposStatusRequest) XXX_Size ¶
func (m *DposStatusRequest) XXX_Size() int
func (*DposStatusRequest) XXX_Unmarshal ¶
func (m *DposStatusRequest) XXX_Unmarshal(b []byte) error
type DposStatusResponse ¶
type DposStatusResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Status *DposStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
query dpos consensus current status reply
func (*DposStatusResponse) Descriptor ¶
func (*DposStatusResponse) Descriptor() ([]byte, []int)
func (*DposStatusResponse) GetHeader ¶
func (m *DposStatusResponse) GetHeader() *Header
func (*DposStatusResponse) GetStatus ¶
func (m *DposStatusResponse) GetStatus() *DposStatus
func (*DposStatusResponse) ProtoMessage ¶
func (*DposStatusResponse) ProtoMessage()
func (*DposStatusResponse) Reset ¶
func (m *DposStatusResponse) Reset()
func (*DposStatusResponse) String ¶
func (m *DposStatusResponse) String() string
func (*DposStatusResponse) XXX_DiscardUnknown ¶
func (m *DposStatusResponse) XXX_DiscardUnknown()
func (*DposStatusResponse) XXX_Marshal ¶
func (m *DposStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposStatusResponse) XXX_Merge ¶
func (m *DposStatusResponse) XXX_Merge(src proto.Message)
func (*DposStatusResponse) XXX_Size ¶
func (m *DposStatusResponse) XXX_Size() int
func (*DposStatusResponse) XXX_Unmarshal ¶
func (m *DposStatusResponse) XXX_Unmarshal(b []byte) error
type DposVoteRecordsRequest ¶
type DposVoteRecordsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
选民投票记录请求
func (*DposVoteRecordsRequest) Descriptor ¶
func (*DposVoteRecordsRequest) Descriptor() ([]byte, []int)
func (*DposVoteRecordsRequest) GetAddress ¶
func (m *DposVoteRecordsRequest) GetAddress() string
func (*DposVoteRecordsRequest) GetBcname ¶
func (m *DposVoteRecordsRequest) GetBcname() string
func (*DposVoteRecordsRequest) GetHeader ¶
func (m *DposVoteRecordsRequest) GetHeader() *Header
func (*DposVoteRecordsRequest) ProtoMessage ¶
func (*DposVoteRecordsRequest) ProtoMessage()
func (*DposVoteRecordsRequest) Reset ¶
func (m *DposVoteRecordsRequest) Reset()
func (*DposVoteRecordsRequest) String ¶
func (m *DposVoteRecordsRequest) String() string
func (*DposVoteRecordsRequest) XXX_DiscardUnknown ¶
func (m *DposVoteRecordsRequest) XXX_DiscardUnknown()
func (*DposVoteRecordsRequest) XXX_Marshal ¶
func (m *DposVoteRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVoteRecordsRequest) XXX_Merge ¶
func (m *DposVoteRecordsRequest) XXX_Merge(src proto.Message)
func (*DposVoteRecordsRequest) XXX_Size ¶
func (m *DposVoteRecordsRequest) XXX_Size() int
func (*DposVoteRecordsRequest) XXX_Unmarshal ¶
func (m *DposVoteRecordsRequest) XXX_Unmarshal(b []byte) error
type DposVoteRecordsResponse ¶
type DposVoteRecordsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // 选民投票txid记录 VoteTxidRecords []*VoteRecord `protobuf:"bytes,2,rep,name=voteTxidRecords,proto3" json:"voteTxidRecords,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
选民投票记录返回
func (*DposVoteRecordsResponse) Descriptor ¶
func (*DposVoteRecordsResponse) Descriptor() ([]byte, []int)
func (*DposVoteRecordsResponse) GetHeader ¶
func (m *DposVoteRecordsResponse) GetHeader() *Header
func (*DposVoteRecordsResponse) GetVoteTxidRecords ¶
func (m *DposVoteRecordsResponse) GetVoteTxidRecords() []*VoteRecord
func (*DposVoteRecordsResponse) ProtoMessage ¶
func (*DposVoteRecordsResponse) ProtoMessage()
func (*DposVoteRecordsResponse) Reset ¶
func (m *DposVoteRecordsResponse) Reset()
func (*DposVoteRecordsResponse) String ¶
func (m *DposVoteRecordsResponse) String() string
func (*DposVoteRecordsResponse) XXX_DiscardUnknown ¶
func (m *DposVoteRecordsResponse) XXX_DiscardUnknown()
func (*DposVoteRecordsResponse) XXX_Marshal ¶
func (m *DposVoteRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVoteRecordsResponse) XXX_Merge ¶
func (m *DposVoteRecordsResponse) XXX_Merge(src proto.Message)
func (*DposVoteRecordsResponse) XXX_Size ¶
func (m *DposVoteRecordsResponse) XXX_Size() int
func (*DposVoteRecordsResponse) XXX_Unmarshal ¶
func (m *DposVoteRecordsResponse) XXX_Unmarshal(b []byte) error
type DposVotedRecordsRequest ¶
type DposVotedRecordsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人被投票记录请求
func (*DposVotedRecordsRequest) Descriptor ¶
func (*DposVotedRecordsRequest) Descriptor() ([]byte, []int)
func (*DposVotedRecordsRequest) GetAddress ¶
func (m *DposVotedRecordsRequest) GetAddress() string
func (*DposVotedRecordsRequest) GetBcname ¶
func (m *DposVotedRecordsRequest) GetBcname() string
func (*DposVotedRecordsRequest) GetHeader ¶
func (m *DposVotedRecordsRequest) GetHeader() *Header
func (*DposVotedRecordsRequest) ProtoMessage ¶
func (*DposVotedRecordsRequest) ProtoMessage()
func (*DposVotedRecordsRequest) Reset ¶
func (m *DposVotedRecordsRequest) Reset()
func (*DposVotedRecordsRequest) String ¶
func (m *DposVotedRecordsRequest) String() string
func (*DposVotedRecordsRequest) XXX_DiscardUnknown ¶
func (m *DposVotedRecordsRequest) XXX_DiscardUnknown()
func (*DposVotedRecordsRequest) XXX_Marshal ¶
func (m *DposVotedRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVotedRecordsRequest) XXX_Merge ¶
func (m *DposVotedRecordsRequest) XXX_Merge(src proto.Message)
func (*DposVotedRecordsRequest) XXX_Size ¶
func (m *DposVotedRecordsRequest) XXX_Size() int
func (*DposVotedRecordsRequest) XXX_Unmarshal ¶
func (m *DposVotedRecordsRequest) XXX_Unmarshal(b []byte) error
type DposVotedRecordsResponse ¶
type DposVotedRecordsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // 候选人被投票的txid记录 VotedTxidRecords []*VotedRecord `protobuf:"bytes,2,rep,name=votedTxidRecords,proto3" json:"votedTxidRecords,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人被投票记录返回
func (*DposVotedRecordsResponse) Descriptor ¶
func (*DposVotedRecordsResponse) Descriptor() ([]byte, []int)
func (*DposVotedRecordsResponse) GetHeader ¶
func (m *DposVotedRecordsResponse) GetHeader() *Header
func (*DposVotedRecordsResponse) GetVotedTxidRecords ¶
func (m *DposVotedRecordsResponse) GetVotedTxidRecords() []*VotedRecord
func (*DposVotedRecordsResponse) ProtoMessage ¶
func (*DposVotedRecordsResponse) ProtoMessage()
func (*DposVotedRecordsResponse) Reset ¶
func (m *DposVotedRecordsResponse) Reset()
func (*DposVotedRecordsResponse) String ¶
func (m *DposVotedRecordsResponse) String() string
func (*DposVotedRecordsResponse) XXX_DiscardUnknown ¶
func (m *DposVotedRecordsResponse) XXX_DiscardUnknown()
func (*DposVotedRecordsResponse) XXX_Marshal ¶
func (m *DposVotedRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DposVotedRecordsResponse) XXX_Merge ¶
func (m *DposVotedRecordsResponse) XXX_Merge(src proto.Message)
func (*DposVotedRecordsResponse) XXX_Size ¶
func (m *DposVotedRecordsResponse) XXX_Size() int
func (*DposVotedRecordsResponse) XXX_Unmarshal ¶
func (m *DposVotedRecordsResponse) XXX_Unmarshal(b []byte) error
type ECDSAAccount ¶
type ECDSAAccount struct { EntropyByte []byte `protobuf:"bytes,1,opt,name=entropyByte,proto3" json:"entropyByte,omitempty"` Mnemonic string `protobuf:"bytes,2,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"` JsonPrivateKey string `protobuf:"bytes,3,opt,name=jsonPrivateKey,proto3" json:"jsonPrivateKey,omitempty"` JsonPublicKey string `protobuf:"bytes,4,opt,name=jsonPublicKey,proto3" json:"jsonPublicKey,omitempty"` Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
助记词、私钥的json、公钥的json、钱包地址
func (*ECDSAAccount) Descriptor ¶
func (*ECDSAAccount) Descriptor() ([]byte, []int)
func (*ECDSAAccount) GetAddress ¶
func (m *ECDSAAccount) GetAddress() string
func (*ECDSAAccount) GetEntropyByte ¶
func (m *ECDSAAccount) GetEntropyByte() []byte
func (*ECDSAAccount) GetJsonPrivateKey ¶
func (m *ECDSAAccount) GetJsonPrivateKey() string
func (*ECDSAAccount) GetJsonPublicKey ¶
func (m *ECDSAAccount) GetJsonPublicKey() string
func (*ECDSAAccount) GetMnemonic ¶
func (m *ECDSAAccount) GetMnemonic() string
func (*ECDSAAccount) ProtoMessage ¶
func (*ECDSAAccount) ProtoMessage()
func (*ECDSAAccount) Reset ¶
func (m *ECDSAAccount) Reset()
func (*ECDSAAccount) String ¶
func (m *ECDSAAccount) String() string
func (*ECDSAAccount) XXX_DiscardUnknown ¶
func (m *ECDSAAccount) XXX_DiscardUnknown()
func (*ECDSAAccount) XXX_Marshal ¶
func (m *ECDSAAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ECDSAAccount) XXX_Merge ¶
func (m *ECDSAAccount) XXX_Merge(src proto.Message)
func (*ECDSAAccount) XXX_Size ¶
func (m *ECDSAAccount) XXX_Size() int
func (*ECDSAAccount) XXX_Unmarshal ¶
func (m *ECDSAAccount) XXX_Unmarshal(b []byte) error
type ECDSAAccountFromCloud ¶
type ECDSAAccountFromCloud struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` JsonEncryptedPrivateKey string `protobuf:"bytes,2,opt,name=jsonEncryptedPrivateKey,proto3" json:"jsonEncryptedPrivateKey,omitempty"` EncryptedMnemonic string `protobuf:"bytes,3,opt,name=encryptedMnemonic,proto3" json:"encryptedMnemonic,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
钱包地址、被加密后的私钥、被加密后的助记词
func (*ECDSAAccountFromCloud) Descriptor ¶
func (*ECDSAAccountFromCloud) Descriptor() ([]byte, []int)
func (*ECDSAAccountFromCloud) GetAddress ¶
func (m *ECDSAAccountFromCloud) GetAddress() string
func (*ECDSAAccountFromCloud) GetEncryptedMnemonic ¶
func (m *ECDSAAccountFromCloud) GetEncryptedMnemonic() string
func (*ECDSAAccountFromCloud) GetJsonEncryptedPrivateKey ¶
func (m *ECDSAAccountFromCloud) GetJsonEncryptedPrivateKey() string
func (*ECDSAAccountFromCloud) ProtoMessage ¶
func (*ECDSAAccountFromCloud) ProtoMessage()
func (*ECDSAAccountFromCloud) Reset ¶
func (m *ECDSAAccountFromCloud) Reset()
func (*ECDSAAccountFromCloud) String ¶
func (m *ECDSAAccountFromCloud) String() string
func (*ECDSAAccountFromCloud) XXX_DiscardUnknown ¶
func (m *ECDSAAccountFromCloud) XXX_DiscardUnknown()
func (*ECDSAAccountFromCloud) XXX_Marshal ¶
func (m *ECDSAAccountFromCloud) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ECDSAAccountFromCloud) XXX_Merge ¶
func (m *ECDSAAccountFromCloud) XXX_Merge(src proto.Message)
func (*ECDSAAccountFromCloud) XXX_Size ¶
func (m *ECDSAAccountFromCloud) XXX_Size() int
func (*ECDSAAccountFromCloud) XXX_Unmarshal ¶
func (m *ECDSAAccountFromCloud) XXX_Unmarshal(b []byte) error
type ECDSAAccountToCloud ¶
type ECDSAAccountToCloud struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` JsonEncryptedPrivateKey string `protobuf:"bytes,2,opt,name=jsonEncryptedPrivateKey,proto3" json:"jsonEncryptedPrivateKey,omitempty"` EncryptedMnemonic string `protobuf:"bytes,3,opt,name=encryptedMnemonic,proto3" json:"encryptedMnemonic,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
钱包地址、被加密后的私钥、被加密后的助记词、支付密码的明文
func (*ECDSAAccountToCloud) Descriptor ¶
func (*ECDSAAccountToCloud) Descriptor() ([]byte, []int)
func (*ECDSAAccountToCloud) GetAddress ¶
func (m *ECDSAAccountToCloud) GetAddress() string
func (*ECDSAAccountToCloud) GetEncryptedMnemonic ¶
func (m *ECDSAAccountToCloud) GetEncryptedMnemonic() string
func (*ECDSAAccountToCloud) GetJsonEncryptedPrivateKey ¶
func (m *ECDSAAccountToCloud) GetJsonEncryptedPrivateKey() string
func (*ECDSAAccountToCloud) GetPassword ¶
func (m *ECDSAAccountToCloud) GetPassword() string
func (*ECDSAAccountToCloud) ProtoMessage ¶
func (*ECDSAAccountToCloud) ProtoMessage()
func (*ECDSAAccountToCloud) Reset ¶
func (m *ECDSAAccountToCloud) Reset()
func (*ECDSAAccountToCloud) String ¶
func (m *ECDSAAccountToCloud) String() string
func (*ECDSAAccountToCloud) XXX_DiscardUnknown ¶
func (m *ECDSAAccountToCloud) XXX_DiscardUnknown()
func (*ECDSAAccountToCloud) XXX_Marshal ¶
func (m *ECDSAAccountToCloud) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ECDSAAccountToCloud) XXX_Merge ¶
func (m *ECDSAAccountToCloud) XXX_Merge(src proto.Message)
func (*ECDSAAccountToCloud) XXX_Size ¶
func (m *ECDSAAccountToCloud) XXX_Size() int
func (*ECDSAAccountToCloud) XXX_Unmarshal ¶
func (m *ECDSAAccountToCloud) XXX_Unmarshal(b []byte) error
type ECDSAInfo ¶
type ECDSAInfo struct { EntropyByte []byte `protobuf:"bytes,1,opt,name=entropyByte,proto3" json:"entropyByte,omitempty"` Mnemonic string `protobuf:"bytes,2,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
助记词、随机字节数组、钱包地址
func (*ECDSAInfo) Descriptor ¶
func (*ECDSAInfo) GetAddress ¶
func (*ECDSAInfo) GetEntropyByte ¶
func (*ECDSAInfo) GetMnemonic ¶
func (*ECDSAInfo) ProtoMessage ¶
func (*ECDSAInfo) ProtoMessage()
func (*ECDSAInfo) XXX_DiscardUnknown ¶
func (m *ECDSAInfo) XXX_DiscardUnknown()
func (*ECDSAInfo) XXX_Marshal ¶
func (*ECDSAInfo) XXX_Unmarshal ¶
type GetAccountContractsRequest ¶
type GetAccountContractsRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Query account contracts request
func (*GetAccountContractsRequest) Descriptor ¶
func (*GetAccountContractsRequest) Descriptor() ([]byte, []int)
func (*GetAccountContractsRequest) GetAccount ¶
func (m *GetAccountContractsRequest) GetAccount() string
func (*GetAccountContractsRequest) GetBcname ¶
func (m *GetAccountContractsRequest) GetBcname() string
func (*GetAccountContractsRequest) GetHeader ¶
func (m *GetAccountContractsRequest) GetHeader() *Header
func (*GetAccountContractsRequest) ProtoMessage ¶
func (*GetAccountContractsRequest) ProtoMessage()
func (*GetAccountContractsRequest) Reset ¶
func (m *GetAccountContractsRequest) Reset()
func (*GetAccountContractsRequest) String ¶
func (m *GetAccountContractsRequest) String() string
func (*GetAccountContractsRequest) XXX_DiscardUnknown ¶
func (m *GetAccountContractsRequest) XXX_DiscardUnknown()
func (*GetAccountContractsRequest) XXX_Marshal ¶
func (m *GetAccountContractsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountContractsRequest) XXX_Merge ¶
func (m *GetAccountContractsRequest) XXX_Merge(src proto.Message)
func (*GetAccountContractsRequest) XXX_Size ¶
func (m *GetAccountContractsRequest) XXX_Size() int
func (*GetAccountContractsRequest) XXX_Unmarshal ¶
func (m *GetAccountContractsRequest) XXX_Unmarshal(b []byte) error
type GetAccountContractsResponse ¶
type GetAccountContractsResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` ContractsStatus []*ContractStatus `protobuf:"bytes,2,rep,name=contracts_status,json=contractsStatus,proto3" json:"contracts_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Query account contracts response
func (*GetAccountContractsResponse) Descriptor ¶
func (*GetAccountContractsResponse) Descriptor() ([]byte, []int)
func (*GetAccountContractsResponse) GetContractsStatus ¶
func (m *GetAccountContractsResponse) GetContractsStatus() []*ContractStatus
func (*GetAccountContractsResponse) GetHeader ¶
func (m *GetAccountContractsResponse) GetHeader() *Header
func (*GetAccountContractsResponse) ProtoMessage ¶
func (*GetAccountContractsResponse) ProtoMessage()
func (*GetAccountContractsResponse) Reset ¶
func (m *GetAccountContractsResponse) Reset()
func (*GetAccountContractsResponse) String ¶
func (m *GetAccountContractsResponse) String() string
func (*GetAccountContractsResponse) XXX_DiscardUnknown ¶
func (m *GetAccountContractsResponse) XXX_DiscardUnknown()
func (*GetAccountContractsResponse) XXX_Marshal ¶
func (m *GetAccountContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountContractsResponse) XXX_Merge ¶
func (m *GetAccountContractsResponse) XXX_Merge(src proto.Message)
func (*GetAccountContractsResponse) XXX_Size ¶
func (m *GetAccountContractsResponse) XXX_Size() int
func (*GetAccountContractsResponse) XXX_Unmarshal ¶
func (m *GetAccountContractsResponse) XXX_Unmarshal(b []byte) error
type Header ¶
type Header struct { Logid string `protobuf:"bytes,1,opt,name=logid,proto3" json:"logid,omitempty"` FromNode string `protobuf:"bytes,2,opt,name=from_node,json=fromNode,proto3" json:"from_node,omitempty"` Error AChainErrorEnum `protobuf:"varint,3,opt,name=error,proto3,enum=pb.AChainErrorEnum" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Header) Descriptor ¶
func (*Header) GetError ¶
func (m *Header) GetError() AChainErrorEnum
func (*Header) GetFromNode ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) XXX_DiscardUnknown ¶
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶
func (*Header) XXX_Unmarshal ¶
type IdentityAuth ¶
type IdentityAuth struct { Sign []byte `protobuf:"bytes,1,opt,name=sign,proto3" json:"sign,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` PeerID string `protobuf:"bytes,4,opt,name=peerID,proto3" json:"peerID,omitempty"` Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identity authentication request
func (*IdentityAuth) Descriptor ¶
func (*IdentityAuth) Descriptor() ([]byte, []int)
func (*IdentityAuth) GetAddr ¶
func (m *IdentityAuth) GetAddr() string
func (*IdentityAuth) GetPeerID ¶
func (m *IdentityAuth) GetPeerID() string
func (*IdentityAuth) GetPubkey ¶
func (m *IdentityAuth) GetPubkey() []byte
func (*IdentityAuth) GetSign ¶
func (m *IdentityAuth) GetSign() []byte
func (*IdentityAuth) GetTimestamp ¶
func (m *IdentityAuth) GetTimestamp() string
func (*IdentityAuth) ProtoMessage ¶
func (*IdentityAuth) ProtoMessage()
func (*IdentityAuth) Reset ¶
func (m *IdentityAuth) Reset()
func (*IdentityAuth) String ¶
func (m *IdentityAuth) String() string
func (*IdentityAuth) XXX_DiscardUnknown ¶
func (m *IdentityAuth) XXX_DiscardUnknown()
func (*IdentityAuth) XXX_Marshal ¶
func (m *IdentityAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityAuth) XXX_Merge ¶
func (m *IdentityAuth) XXX_Merge(src proto.Message)
func (*IdentityAuth) XXX_Size ¶
func (m *IdentityAuth) XXX_Size() int
func (*IdentityAuth) XXX_Unmarshal ¶
func (m *IdentityAuth) XXX_Unmarshal(b []byte) error
type IdentityAuths ¶
type IdentityAuths struct { Auth []*IdentityAuth `protobuf:"bytes,1,rep,name=auth,proto3" json:"auth,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identity authentication requests
func (*IdentityAuths) Descriptor ¶
func (*IdentityAuths) Descriptor() ([]byte, []int)
func (*IdentityAuths) GetAuth ¶
func (m *IdentityAuths) GetAuth() []*IdentityAuth
func (*IdentityAuths) ProtoMessage ¶
func (*IdentityAuths) ProtoMessage()
func (*IdentityAuths) Reset ¶
func (m *IdentityAuths) Reset()
func (*IdentityAuths) String ¶
func (m *IdentityAuths) String() string
func (*IdentityAuths) XXX_DiscardUnknown ¶
func (m *IdentityAuths) XXX_DiscardUnknown()
func (*IdentityAuths) XXX_Marshal ¶
func (m *IdentityAuths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityAuths) XXX_Merge ¶
func (m *IdentityAuths) XXX_Merge(src proto.Message)
func (*IdentityAuths) XXX_Size ¶
func (m *IdentityAuths) XXX_Size() int
func (*IdentityAuths) XXX_Unmarshal ¶
func (m *IdentityAuths) XXX_Unmarshal(b []byte) error
type InternalBlock ¶
type InternalBlock struct { // block version Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // Random number used to avoid replay attacks Nonce int32 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // blockid generate the hash sign of the block used by sha256 Blockid []byte `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"` // pre_hash is the parent blockid of the block PreHash []byte `protobuf:"bytes,4,opt,name=pre_hash,json=preHash,proto3" json:"pre_hash,omitempty"` // The miner id Proposer []byte `protobuf:"bytes,5,opt,name=proposer,proto3" json:"proposer,omitempty"` // The sign which miner signed: blockid + nonce + timestamp Sign []byte `protobuf:"bytes,6,opt,name=sign,proto3" json:"sign,omitempty"` // The pk of the miner Pubkey []byte `protobuf:"bytes,7,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // The Merkle Tree root MerkleRoot []byte `protobuf:"bytes,8,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"` // The height of the blockchain Height int64 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"` // Timestamp of the block Timestamp int64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Transactions of the block, only txid stored on kv, the detail information stored in another table Transactions []*Transaction `protobuf:"bytes,11,rep,name=transactions,proto3" json:"transactions,omitempty"` // The transaction count of the block TxCount int32 `protobuf:"varint,12,opt,name=tx_count,json=txCount,proto3" json:"tx_count,omitempty"` //所有交易hash的merkle tree MerkleTree [][]byte `protobuf:"bytes,13,rep,name=merkle_tree,json=merkleTree,proto3" json:"merkle_tree,omitempty"` CurTerm int64 `protobuf:"varint,16,opt,name=curTerm,proto3" json:"curTerm,omitempty"` CurBlockNum int64 `protobuf:"varint,17,opt,name=curBlockNum,proto3" json:"curBlockNum,omitempty"` FailedTxs map[string]string `` /* 177-byte string literal not displayed */ //下面的属性会动态变化 // If the block is on the trunk InTrunk bool `protobuf:"varint,14,opt,name=in_trunk,json=inTrunk,proto3" json:"in_trunk,omitempty"` // Next next block which on trunk NextHash []byte `protobuf:"bytes,15,opt,name=next_hash,json=nextHash,proto3" json:"next_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The internal block struct
func (*InternalBlock) ContainsTx ¶
func (ib *InternalBlock) ContainsTx(txid []byte) bool
ContainsTx returns whether a tx is included in a block
func (*InternalBlock) Descriptor ¶
func (*InternalBlock) Descriptor() ([]byte, []int)
func (*InternalBlock) GetBlockid ¶
func (m *InternalBlock) GetBlockid() []byte
func (*InternalBlock) GetCoinbaseTotal ¶
func (ib *InternalBlock) GetCoinbaseTotal() *big.Int
GetCoinbaseTotal get total coinbase amount
func (*InternalBlock) GetCurBlockNum ¶
func (m *InternalBlock) GetCurBlockNum() int64
func (*InternalBlock) GetCurTerm ¶
func (m *InternalBlock) GetCurTerm() int64
func (*InternalBlock) GetFailedTxs ¶
func (m *InternalBlock) GetFailedTxs() map[string]string
func (*InternalBlock) GetHeight ¶
func (m *InternalBlock) GetHeight() int64
func (*InternalBlock) GetInTrunk ¶
func (m *InternalBlock) GetInTrunk() bool
func (*InternalBlock) GetMerkleRoot ¶
func (m *InternalBlock) GetMerkleRoot() []byte
func (*InternalBlock) GetMerkleTree ¶
func (m *InternalBlock) GetMerkleTree() [][]byte
func (*InternalBlock) GetNextHash ¶
func (m *InternalBlock) GetNextHash() []byte
func (*InternalBlock) GetNonce ¶
func (m *InternalBlock) GetNonce() int32
func (*InternalBlock) GetPreHash ¶
func (m *InternalBlock) GetPreHash() []byte
func (*InternalBlock) GetProposer ¶
func (m *InternalBlock) GetProposer() []byte
func (*InternalBlock) GetPubkey ¶
func (m *InternalBlock) GetPubkey() []byte
func (*InternalBlock) GetSign ¶
func (m *InternalBlock) GetSign() []byte
func (*InternalBlock) GetTimestamp ¶
func (m *InternalBlock) GetTimestamp() int64
func (*InternalBlock) GetTransactions ¶
func (m *InternalBlock) GetTransactions() []*Transaction
func (*InternalBlock) GetTx ¶
func (ib *InternalBlock) GetTx(txid []byte) *Transaction
GetTx returns a tx included in a block
func (*InternalBlock) GetTxCount ¶
func (m *InternalBlock) GetTxCount() int32
func (*InternalBlock) GetVersion ¶
func (m *InternalBlock) GetVersion() int32
func (*InternalBlock) ProtoMessage ¶
func (*InternalBlock) ProtoMessage()
func (*InternalBlock) Reset ¶
func (m *InternalBlock) Reset()
func (*InternalBlock) String ¶
func (m *InternalBlock) String() string
func (*InternalBlock) XXX_DiscardUnknown ¶
func (m *InternalBlock) XXX_DiscardUnknown()
func (*InternalBlock) XXX_Marshal ¶
func (m *InternalBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InternalBlock) XXX_Merge ¶
func (m *InternalBlock) XXX_Merge(src proto.Message)
func (*InternalBlock) XXX_Size ¶
func (m *InternalBlock) XXX_Size() int
func (*InternalBlock) XXX_Unmarshal ¶
func (m *InternalBlock) XXX_Unmarshal(b []byte) error
type InvokeRPCRequest ¶
type InvokeRPCRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` Requests []*InvokeRequest `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` Initiator string `protobuf:"bytes,4,opt,name=initiator,proto3" json:"initiator,omitempty"` AuthRequire []string `protobuf:"bytes,5,rep,name=auth_require,json=authRequire,proto3" json:"auth_require,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvokeRPCRequest) Descriptor ¶
func (*InvokeRPCRequest) Descriptor() ([]byte, []int)
func (*InvokeRPCRequest) GetAuthRequire ¶
func (m *InvokeRPCRequest) GetAuthRequire() []string
func (*InvokeRPCRequest) GetBcname ¶
func (m *InvokeRPCRequest) GetBcname() string
func (*InvokeRPCRequest) GetHeader ¶
func (m *InvokeRPCRequest) GetHeader() *Header
func (*InvokeRPCRequest) GetInitiator ¶
func (m *InvokeRPCRequest) GetInitiator() string
func (*InvokeRPCRequest) GetRequests ¶
func (m *InvokeRPCRequest) GetRequests() []*InvokeRequest
func (*InvokeRPCRequest) ProtoMessage ¶
func (*InvokeRPCRequest) ProtoMessage()
func (*InvokeRPCRequest) Reset ¶
func (m *InvokeRPCRequest) Reset()
func (*InvokeRPCRequest) String ¶
func (m *InvokeRPCRequest) String() string
func (*InvokeRPCRequest) XXX_DiscardUnknown ¶
func (m *InvokeRPCRequest) XXX_DiscardUnknown()
func (*InvokeRPCRequest) XXX_Marshal ¶
func (m *InvokeRPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvokeRPCRequest) XXX_Merge ¶
func (m *InvokeRPCRequest) XXX_Merge(src proto.Message)
func (*InvokeRPCRequest) XXX_Size ¶
func (m *InvokeRPCRequest) XXX_Size() int
func (*InvokeRPCRequest) XXX_Unmarshal ¶
func (m *InvokeRPCRequest) XXX_Unmarshal(b []byte) error
type InvokeRPCResponse ¶
type InvokeRPCResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` Response *InvokeResponse `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InvokeRPCResponse) Descriptor ¶
func (*InvokeRPCResponse) Descriptor() ([]byte, []int)
func (*InvokeRPCResponse) GetBcname ¶
func (m *InvokeRPCResponse) GetBcname() string
func (*InvokeRPCResponse) GetHeader ¶
func (m *InvokeRPCResponse) GetHeader() *Header
func (*InvokeRPCResponse) GetResponse ¶
func (m *InvokeRPCResponse) GetResponse() *InvokeResponse
func (*InvokeRPCResponse) ProtoMessage ¶
func (*InvokeRPCResponse) ProtoMessage()
func (*InvokeRPCResponse) Reset ¶
func (m *InvokeRPCResponse) Reset()
func (*InvokeRPCResponse) String ¶
func (m *InvokeRPCResponse) String() string
func (*InvokeRPCResponse) XXX_DiscardUnknown ¶
func (m *InvokeRPCResponse) XXX_DiscardUnknown()
func (*InvokeRPCResponse) XXX_Marshal ¶
func (m *InvokeRPCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvokeRPCResponse) XXX_Merge ¶
func (m *InvokeRPCResponse) XXX_Merge(src proto.Message)
func (*InvokeRPCResponse) XXX_Size ¶
func (m *InvokeRPCResponse) XXX_Size() int
func (*InvokeRPCResponse) XXX_Unmarshal ¶
func (m *InvokeRPCResponse) XXX_Unmarshal(b []byte) error
type InvokeRequest ¶
type InvokeRequest struct { ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` ContractName string `protobuf:"bytes,2,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"` MethodName string `protobuf:"bytes,3,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` Args map[string][]byte `` /* 149-byte string literal not displayed */ ResourceLimits []*ResourceLimit `protobuf:"bytes,5,rep,name=resource_limits,json=resourceLimits,proto3" json:"resource_limits,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
预执行的请求结构
func (*InvokeRequest) Descriptor ¶
func (*InvokeRequest) Descriptor() ([]byte, []int)
func (*InvokeRequest) GetArgs ¶
func (m *InvokeRequest) GetArgs() map[string][]byte
func (*InvokeRequest) GetContractName ¶
func (m *InvokeRequest) GetContractName() string
func (*InvokeRequest) GetMethodName ¶
func (m *InvokeRequest) GetMethodName() string
func (*InvokeRequest) GetModuleName ¶
func (m *InvokeRequest) GetModuleName() string
func (*InvokeRequest) GetResourceLimits ¶
func (m *InvokeRequest) GetResourceLimits() []*ResourceLimit
func (*InvokeRequest) ProtoMessage ¶
func (*InvokeRequest) ProtoMessage()
func (*InvokeRequest) Reset ¶
func (m *InvokeRequest) Reset()
func (*InvokeRequest) String ¶
func (m *InvokeRequest) String() string
func (*InvokeRequest) XXX_DiscardUnknown ¶
func (m *InvokeRequest) XXX_DiscardUnknown()
func (*InvokeRequest) XXX_Marshal ¶
func (m *InvokeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvokeRequest) XXX_Merge ¶
func (m *InvokeRequest) XXX_Merge(src proto.Message)
func (*InvokeRequest) XXX_Size ¶
func (m *InvokeRequest) XXX_Size() int
func (*InvokeRequest) XXX_Unmarshal ¶
func (m *InvokeRequest) XXX_Unmarshal(b []byte) error
type InvokeResponse ¶
type InvokeResponse struct { Inputs []*TxInputExt `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*TxOutputExt `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"` Response [][]byte `protobuf:"bytes,3,rep,name=response,proto3" json:"response,omitempty"` GasUsed int64 `protobuf:"varint,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` Requests []*InvokeRequest `protobuf:"bytes,5,rep,name=requests,proto3" json:"requests,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
预执行的返回结构
func (*InvokeResponse) Descriptor ¶
func (*InvokeResponse) Descriptor() ([]byte, []int)
func (*InvokeResponse) GetGasUsed ¶
func (m *InvokeResponse) GetGasUsed() int64
func (*InvokeResponse) GetInputs ¶
func (m *InvokeResponse) GetInputs() []*TxInputExt
func (*InvokeResponse) GetOutputs ¶
func (m *InvokeResponse) GetOutputs() []*TxOutputExt
func (*InvokeResponse) GetRequests ¶
func (m *InvokeResponse) GetRequests() []*InvokeRequest
func (*InvokeResponse) GetResponse ¶
func (m *InvokeResponse) GetResponse() [][]byte
func (*InvokeResponse) ProtoMessage ¶
func (*InvokeResponse) ProtoMessage()
func (*InvokeResponse) Reset ¶
func (m *InvokeResponse) Reset()
func (*InvokeResponse) String ¶
func (m *InvokeResponse) String() string
func (*InvokeResponse) XXX_DiscardUnknown ¶
func (m *InvokeResponse) XXX_DiscardUnknown()
func (*InvokeResponse) XXX_Marshal ¶
func (m *InvokeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvokeResponse) XXX_Merge ¶
func (m *InvokeResponse) XXX_Merge(src proto.Message)
func (*InvokeResponse) XXX_Size ¶
func (m *InvokeResponse) XXX_Size() int
func (*InvokeResponse) XXX_Unmarshal ¶
func (m *InvokeResponse) XXX_Unmarshal(b []byte) error
type LedgerMeta ¶
type LedgerMeta struct { // root block id RootBlockid []byte `protobuf:"bytes,1,opt,name=root_blockid,json=rootBlockid,proto3" json:"root_blockid,omitempty"` // tip block id TipBlockid []byte `protobuf:"bytes,2,opt,name=tip_blockid,json=tipBlockid,proto3" json:"tip_blockid,omitempty"` // the height of the trunk TrunkHeight int64 `protobuf:"varint,3,opt,name=trunk_height,json=trunkHeight,proto3" json:"trunk_height,omitempty"` // max block size MaxBlockSize int64 `protobuf:"varint,4,opt,name=max_block_size,json=maxBlockSize,proto3" json:"max_block_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Ledger metadata
func (*LedgerMeta) Descriptor ¶
func (*LedgerMeta) Descriptor() ([]byte, []int)
func (*LedgerMeta) GetMaxBlockSize ¶
func (m *LedgerMeta) GetMaxBlockSize() int64
func (*LedgerMeta) GetRootBlockid ¶
func (m *LedgerMeta) GetRootBlockid() []byte
func (*LedgerMeta) GetTipBlockid ¶
func (m *LedgerMeta) GetTipBlockid() []byte
func (*LedgerMeta) GetTrunkHeight ¶
func (m *LedgerMeta) GetTrunkHeight() int64
func (*LedgerMeta) ProtoMessage ¶
func (*LedgerMeta) ProtoMessage()
func (*LedgerMeta) Reset ¶
func (m *LedgerMeta) Reset()
func (*LedgerMeta) String ¶
func (m *LedgerMeta) String() string
func (*LedgerMeta) XXX_DiscardUnknown ¶
func (m *LedgerMeta) XXX_DiscardUnknown()
func (*LedgerMeta) XXX_Marshal ¶
func (m *LedgerMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LedgerMeta) XXX_Merge ¶
func (m *LedgerMeta) XXX_Merge(src proto.Message)
func (*LedgerMeta) XXX_Size ¶
func (m *LedgerMeta) XXX_Size() int
func (*LedgerMeta) XXX_Unmarshal ¶
func (m *LedgerMeta) XXX_Unmarshal(b []byte) error
type NativeCodeDesc ¶
type NativeCodeDesc struct { // native code name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // code version Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // digest of binary Digest []byte `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` //the previous verion PrevVersion string `protobuf:"bytes,4,opt,name=prevVersion,proto3" json:"prevVersion,omitempty"` // amper api version AmperApiVersion int32 `protobuf:"varint,5,opt,name=amperApiVersion,proto3" json:"amperApiVersion,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NativeCodeDesc) Descriptor ¶
func (*NativeCodeDesc) Descriptor() ([]byte, []int)
func (*NativeCodeDesc) GetAmperApiVersion ¶
func (m *NativeCodeDesc) GetAmperApiVersion() int32
func (*NativeCodeDesc) GetDigest ¶
func (m *NativeCodeDesc) GetDigest() []byte
func (*NativeCodeDesc) GetName ¶
func (m *NativeCodeDesc) GetName() string
func (*NativeCodeDesc) GetPrevVersion ¶
func (m *NativeCodeDesc) GetPrevVersion() string
func (*NativeCodeDesc) GetVersion ¶
func (m *NativeCodeDesc) GetVersion() string
func (*NativeCodeDesc) ProtoMessage ¶
func (*NativeCodeDesc) ProtoMessage()
func (*NativeCodeDesc) Reset ¶
func (m *NativeCodeDesc) Reset()
func (*NativeCodeDesc) String ¶
func (m *NativeCodeDesc) String() string
func (*NativeCodeDesc) XXX_DiscardUnknown ¶
func (m *NativeCodeDesc) XXX_DiscardUnknown()
func (*NativeCodeDesc) XXX_Marshal ¶
func (m *NativeCodeDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NativeCodeDesc) XXX_Merge ¶
func (m *NativeCodeDesc) XXX_Merge(src proto.Message)
func (*NativeCodeDesc) XXX_Size ¶
func (m *NativeCodeDesc) XXX_Size() int
func (*NativeCodeDesc) XXX_Unmarshal ¶
func (m *NativeCodeDesc) XXX_Unmarshal(b []byte) error
type NativeCodeStatus ¶
type NativeCodeStatus struct { Desc *NativeCodeDesc `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Healthy bool `protobuf:"varint,3,opt,name=healthy,proto3" json:"healthy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NativeCodeStatus) Descriptor ¶
func (*NativeCodeStatus) Descriptor() ([]byte, []int)
func (*NativeCodeStatus) GetDesc ¶
func (m *NativeCodeStatus) GetDesc() *NativeCodeDesc
func (*NativeCodeStatus) GetHealthy ¶
func (m *NativeCodeStatus) GetHealthy() bool
func (*NativeCodeStatus) GetStatus ¶
func (m *NativeCodeStatus) GetStatus() int32
func (*NativeCodeStatus) ProtoMessage ¶
func (*NativeCodeStatus) ProtoMessage()
func (*NativeCodeStatus) Reset ¶
func (m *NativeCodeStatus) Reset()
func (*NativeCodeStatus) String ¶
func (m *NativeCodeStatus) String() string
func (*NativeCodeStatus) XXX_DiscardUnknown ¶
func (m *NativeCodeStatus) XXX_DiscardUnknown()
func (*NativeCodeStatus) XXX_Marshal ¶
func (m *NativeCodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NativeCodeStatus) XXX_Merge ¶
func (m *NativeCodeStatus) XXX_Merge(src proto.Message)
func (*NativeCodeStatus) XXX_Size ¶
func (m *NativeCodeStatus) XXX_Size() int
func (*NativeCodeStatus) XXX_Unmarshal ¶
func (m *NativeCodeStatus) XXX_Unmarshal(b []byte) error
type NativeCodeStatusRequest ¶
type NativeCodeStatusRequest struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NativeCodeStatusRequest) Descriptor ¶
func (*NativeCodeStatusRequest) Descriptor() ([]byte, []int)
func (*NativeCodeStatusRequest) GetBcname ¶
func (m *NativeCodeStatusRequest) GetBcname() string
func (*NativeCodeStatusRequest) GetHeader ¶
func (m *NativeCodeStatusRequest) GetHeader() *Header
func (*NativeCodeStatusRequest) ProtoMessage ¶
func (*NativeCodeStatusRequest) ProtoMessage()
func (*NativeCodeStatusRequest) Reset ¶
func (m *NativeCodeStatusRequest) Reset()
func (*NativeCodeStatusRequest) String ¶
func (m *NativeCodeStatusRequest) String() string
func (*NativeCodeStatusRequest) XXX_DiscardUnknown ¶
func (m *NativeCodeStatusRequest) XXX_DiscardUnknown()
func (*NativeCodeStatusRequest) XXX_Marshal ¶
func (m *NativeCodeStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NativeCodeStatusRequest) XXX_Merge ¶
func (m *NativeCodeStatusRequest) XXX_Merge(src proto.Message)
func (*NativeCodeStatusRequest) XXX_Size ¶
func (m *NativeCodeStatusRequest) XXX_Size() int
func (*NativeCodeStatusRequest) XXX_Unmarshal ¶
func (m *NativeCodeStatusRequest) XXX_Unmarshal(b []byte) error
type NativeCodeStatusResponse ¶
type NativeCodeStatusResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Status []*NativeCodeStatus `protobuf:"bytes,2,rep,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NativeCodeStatusResponse) Descriptor ¶
func (*NativeCodeStatusResponse) Descriptor() ([]byte, []int)
func (*NativeCodeStatusResponse) GetHeader ¶
func (m *NativeCodeStatusResponse) GetHeader() *Header
func (*NativeCodeStatusResponse) GetStatus ¶
func (m *NativeCodeStatusResponse) GetStatus() []*NativeCodeStatus
func (*NativeCodeStatusResponse) ProtoMessage ¶
func (*NativeCodeStatusResponse) ProtoMessage()
func (*NativeCodeStatusResponse) Reset ¶
func (m *NativeCodeStatusResponse) Reset()
func (*NativeCodeStatusResponse) String ¶
func (m *NativeCodeStatusResponse) String() string
func (*NativeCodeStatusResponse) XXX_DiscardUnknown ¶
func (m *NativeCodeStatusResponse) XXX_DiscardUnknown()
func (*NativeCodeStatusResponse) XXX_Marshal ¶
func (m *NativeCodeStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NativeCodeStatusResponse) XXX_Merge ¶
func (m *NativeCodeStatusResponse) XXX_Merge(src proto.Message)
func (*NativeCodeStatusResponse) XXX_Size ¶
func (m *NativeCodeStatusResponse) XXX_Size() int
func (*NativeCodeStatusResponse) XXX_Unmarshal ¶
func (m *NativeCodeStatusResponse) XXX_Unmarshal(b []byte) error
type Node ¶
type Node struct { Host []byte `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` UtxoQueryUrl []byte `protobuf:"bytes,2,opt,name=utxoQueryUrl,proto3" json:"utxoQueryUrl,omitempty"` TxPostUrl []byte `protobuf:"bytes,3,opt,name=txPostUrl,proto3" json:"txPostUrl,omitempty"` BalanceQueryUrl []byte `protobuf:"bytes,4,opt,name=balanceQueryUrl,proto3" json:"balanceQueryUrl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
全节点
func (*Node) Descriptor ¶
func (*Node) GetBalanceQueryUrl ¶
func (*Node) GetTxPostUrl ¶
func (*Node) GetUtxoQueryUrl ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
type PermissionModel ¶
type PermissionModel struct { Rule PermissionRule `protobuf:"varint,1,opt,name=rule,proto3,enum=pb.PermissionRule" json:"rule,omitempty"` AcceptValue float64 `protobuf:"fixed64,2,opt,name=acceptValue,proto3" json:"acceptValue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PermissionModel) Descriptor ¶
func (*PermissionModel) Descriptor() ([]byte, []int)
func (*PermissionModel) GetAcceptValue ¶
func (m *PermissionModel) GetAcceptValue() float64
func (*PermissionModel) GetRule ¶
func (m *PermissionModel) GetRule() PermissionRule
func (*PermissionModel) ProtoMessage ¶
func (*PermissionModel) ProtoMessage()
func (*PermissionModel) Reset ¶
func (m *PermissionModel) Reset()
func (*PermissionModel) String ¶
func (m *PermissionModel) String() string
func (*PermissionModel) XXX_DiscardUnknown ¶
func (m *PermissionModel) XXX_DiscardUnknown()
func (*PermissionModel) XXX_Marshal ¶
func (m *PermissionModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PermissionModel) XXX_Merge ¶
func (m *PermissionModel) XXX_Merge(src proto.Message)
func (*PermissionModel) XXX_Size ¶
func (m *PermissionModel) XXX_Size() int
func (*PermissionModel) XXX_Unmarshal ¶
func (m *PermissionModel) XXX_Unmarshal(b []byte) error
type PermissionRule ¶
type PermissionRule int32
-------- Account and Permission Section --------
const ( PermissionRule_NULL PermissionRule = 0 PermissionRule_SIGN_THRESHOLD PermissionRule = 1 PermissionRule_SIGN_AKSET PermissionRule = 2 PermissionRule_SIGN_RATE PermissionRule = 3 PermissionRule_SIGN_SUM PermissionRule = 4 PermissionRule_CA_SERVER PermissionRule = 5 PermissionRule_COMMUNITY_VOTE PermissionRule = 6 )
func (PermissionRule) EnumDescriptor ¶
func (PermissionRule) EnumDescriptor() ([]byte, []int)
func (PermissionRule) String ¶
func (x PermissionRule) String() string
type RawUrl ¶
type RawUrl struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` RawUrl string `protobuf:"bytes,2,opt,name=rawUrl,proto3" json:"rawUrl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
RawUrl return the node's connect url
func (*RawUrl) Descriptor ¶
func (*RawUrl) ProtoMessage ¶
func (*RawUrl) ProtoMessage()
func (*RawUrl) XXX_DiscardUnknown ¶
func (m *RawUrl) XXX_DiscardUnknown()
func (*RawUrl) XXX_Marshal ¶
func (*RawUrl) XXX_Unmarshal ¶
type ResourceLimit ¶
type ResourceLimit struct { Type ResourceType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.ResourceType" json:"type,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResourceLimit) Descriptor ¶
func (*ResourceLimit) Descriptor() ([]byte, []int)
func (*ResourceLimit) GetLimit ¶
func (m *ResourceLimit) GetLimit() int64
func (*ResourceLimit) GetType ¶
func (m *ResourceLimit) GetType() ResourceType
func (*ResourceLimit) ProtoMessage ¶
func (*ResourceLimit) ProtoMessage()
func (*ResourceLimit) Reset ¶
func (m *ResourceLimit) Reset()
func (*ResourceLimit) String ¶
func (m *ResourceLimit) String() string
func (*ResourceLimit) XXX_DiscardUnknown ¶
func (m *ResourceLimit) XXX_DiscardUnknown()
func (*ResourceLimit) XXX_Marshal ¶
func (m *ResourceLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceLimit) XXX_Merge ¶
func (m *ResourceLimit) XXX_Merge(src proto.Message)
func (*ResourceLimit) XXX_Size ¶
func (m *ResourceLimit) XXX_Size() int
func (*ResourceLimit) XXX_Unmarshal ¶
func (m *ResourceLimit) XXX_Unmarshal(b []byte) error
type ResourceType ¶
type ResourceType int32
const ( ResourceType_CPU ResourceType = 0 ResourceType_MEMORY ResourceType = 1 ResourceType_DISK ResourceType = 2 ResourceType_XFEE ResourceType = 3 )
func (ResourceType) EnumDescriptor ¶
func (ResourceType) EnumDescriptor() ([]byte, []int)
func (ResourceType) String ¶
func (x ResourceType) String() string
type ReturnCode ¶
type ReturnCode int32
ReturnCode is the code for client
const ( // Operation success ReturnCode_RETURNSUCCESS ReturnCode = 0 // Err about Account ReturnCode_INTERNALERR ReturnCode = 101000 ReturnCode_FILENOTEXIST ReturnCode = 101002 ReturnCode_PARAMERR ReturnCode = 101003 ReturnCode_HTTPREQUERTFAIL ReturnCode = 101004 ReturnCode_HTTPRESPONSEFAIL ReturnCode = 101005 ReturnCode_ACCOUNTNOTEXIST ReturnCode = 101008 ReturnCode_PWNOTEXIST ReturnCode = 101009 ReturnCode_PWEXIST ReturnCode = 101010 ReturnCode_NOTLOGIN ReturnCode = 101012 // Err about Transaction ReturnCode_CONNECTNODEFAIL ReturnCode = 102001 ReturnCode_UTXONOTENOUGH ReturnCode = 102002 ReturnCode_ADDRESSINVALID ReturnCode = 102003 ReturnCode_FEEINVALID ReturnCode = 102004 ReturnCode_CONNECTREFUSED ReturnCode = 102005 ReturnCode_UTXOENCRYPTERR ReturnCode = 102006 ReturnCode_FEENOTENOUGN ReturnCode = 102007 ReturnCode_PARAMSINVALID ReturnCode = 102008 ReturnCode_TXSIGNERR ReturnCode = 102009 ReturnCode_REPOSTTXERR ReturnCode = 102010 ReturnCode_BLOCKCHAINNOTEXIST ReturnCode = 102011 ReturnCode_SERVERERR ReturnCode = 102012 )
func (ReturnCode) EnumDescriptor ¶
func (ReturnCode) EnumDescriptor() ([]byte, []int)
func (ReturnCode) String ¶
func (x ReturnCode) String() string
type SignatureInfo ¶
type SignatureInfo struct { PublicKey string `protobuf:"bytes,1,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"` Sign []byte `protobuf:"bytes,2,opt,name=Sign,proto3" json:"Sign,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
签名详情
func (*SignatureInfo) Descriptor ¶
func (*SignatureInfo) Descriptor() ([]byte, []int)
func (*SignatureInfo) GetPublicKey ¶
func (m *SignatureInfo) GetPublicKey() string
func (*SignatureInfo) GetSign ¶
func (m *SignatureInfo) GetSign() []byte
func (*SignatureInfo) ProtoMessage ¶
func (*SignatureInfo) ProtoMessage()
func (*SignatureInfo) Reset ¶
func (m *SignatureInfo) Reset()
func (*SignatureInfo) String ¶
func (m *SignatureInfo) String() string
func (*SignatureInfo) XXX_DiscardUnknown ¶
func (m *SignatureInfo) XXX_DiscardUnknown()
func (*SignatureInfo) XXX_Marshal ¶
func (m *SignatureInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignatureInfo) XXX_Merge ¶
func (m *SignatureInfo) XXX_Merge(src proto.Message)
func (*SignatureInfo) XXX_Size ¶
func (m *SignatureInfo) XXX_Size() int
func (*SignatureInfo) XXX_Unmarshal ¶
func (m *SignatureInfo) XXX_Unmarshal(b []byte) error
type Speeds ¶
type Speeds struct { SumSpeeds map[string]float64 `` /* 161-byte string literal not displayed */ BcSpeeds map[string]*BCSpeeds `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Speeds) Descriptor ¶
func (*Speeds) GetBcSpeeds ¶
func (*Speeds) GetSumSpeeds ¶
func (*Speeds) ProtoMessage ¶
func (*Speeds) ProtoMessage()
func (*Speeds) XXX_DiscardUnknown ¶
func (m *Speeds) XXX_DiscardUnknown()
func (*Speeds) XXX_Marshal ¶
func (*Speeds) XXX_Unmarshal ¶
type SystemsStatus ¶
type SystemsStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` BcsStatus []*BCStatus `protobuf:"bytes,2,rep,name=bcs_status,json=bcsStatus,proto3" json:"bcs_status,omitempty"` Speeds *Speeds `protobuf:"bytes,3,opt,name=speeds,proto3" json:"speeds,omitempty"` PeerUrls []string `protobuf:"bytes,4,rep,name=peerUrls,proto3" json:"peerUrls,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SystemsStatus) Descriptor ¶
func (*SystemsStatus) Descriptor() ([]byte, []int)
func (*SystemsStatus) GetBcsStatus ¶
func (m *SystemsStatus) GetBcsStatus() []*BCStatus
func (*SystemsStatus) GetHeader ¶
func (m *SystemsStatus) GetHeader() *Header
func (*SystemsStatus) GetPeerUrls ¶
func (m *SystemsStatus) GetPeerUrls() []string
func (*SystemsStatus) GetSpeeds ¶
func (m *SystemsStatus) GetSpeeds() *Speeds
func (*SystemsStatus) ProtoMessage ¶
func (*SystemsStatus) ProtoMessage()
func (*SystemsStatus) Reset ¶
func (m *SystemsStatus) Reset()
func (*SystemsStatus) String ¶
func (m *SystemsStatus) String() string
func (*SystemsStatus) XXX_DiscardUnknown ¶
func (m *SystemsStatus) XXX_DiscardUnknown()
func (*SystemsStatus) XXX_Marshal ¶
func (m *SystemsStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SystemsStatus) XXX_Merge ¶
func (m *SystemsStatus) XXX_Merge(src proto.Message)
func (*SystemsStatus) XXX_Size ¶
func (m *SystemsStatus) XXX_Size() int
func (*SystemsStatus) XXX_Unmarshal ¶
func (m *SystemsStatus) XXX_Unmarshal(b []byte) error
type SystemsStatusReply ¶
type SystemsStatusReply struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` SystemsStatus *SystemsStatus `protobuf:"bytes,2,opt,name=systems_status,json=systemsStatus,proto3" json:"systems_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SystemsStatusReply) Descriptor ¶
func (*SystemsStatusReply) Descriptor() ([]byte, []int)
func (*SystemsStatusReply) GetHeader ¶
func (m *SystemsStatusReply) GetHeader() *Header
func (*SystemsStatusReply) GetSystemsStatus ¶
func (m *SystemsStatusReply) GetSystemsStatus() *SystemsStatus
func (*SystemsStatusReply) ProtoMessage ¶
func (*SystemsStatusReply) ProtoMessage()
func (*SystemsStatusReply) Reset ¶
func (m *SystemsStatusReply) Reset()
func (*SystemsStatusReply) String ¶
func (m *SystemsStatusReply) String() string
func (*SystemsStatusReply) XXX_DiscardUnknown ¶
func (m *SystemsStatusReply) XXX_DiscardUnknown()
func (*SystemsStatusReply) XXX_Marshal ¶
func (m *SystemsStatusReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SystemsStatusReply) XXX_Merge ¶
func (m *SystemsStatusReply) XXX_Merge(src proto.Message)
func (*SystemsStatusReply) XXX_Size ¶
func (m *SystemsStatusReply) XXX_Size() int
func (*SystemsStatusReply) XXX_Unmarshal ¶
func (m *SystemsStatusReply) XXX_Unmarshal(b []byte) error
type TokenDetail ¶
type TokenDetail struct { Bcname string `protobuf:"bytes,1,opt,name=bcname,proto3" json:"bcname,omitempty"` Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` Error AChainErrorEnum `protobuf:"varint,3,opt,name=error,proto3,enum=pb.AChainErrorEnum" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenDetail) Descriptor ¶
func (*TokenDetail) Descriptor() ([]byte, []int)
func (*TokenDetail) GetBalance ¶
func (m *TokenDetail) GetBalance() string
func (*TokenDetail) GetBcname ¶
func (m *TokenDetail) GetBcname() string
func (*TokenDetail) GetError ¶
func (m *TokenDetail) GetError() AChainErrorEnum
func (*TokenDetail) ProtoMessage ¶
func (*TokenDetail) ProtoMessage()
func (*TokenDetail) Reset ¶
func (m *TokenDetail) Reset()
func (*TokenDetail) String ¶
func (m *TokenDetail) String() string
func (*TokenDetail) XXX_DiscardUnknown ¶
func (m *TokenDetail) XXX_DiscardUnknown()
func (*TokenDetail) XXX_Marshal ¶
func (m *TokenDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenDetail) XXX_Merge ¶
func (m *TokenDetail) XXX_Merge(src proto.Message)
func (*TokenDetail) XXX_Size ¶
func (m *TokenDetail) XXX_Size() int
func (*TokenDetail) XXX_Unmarshal ¶
func (m *TokenDetail) XXX_Unmarshal(b []byte) error
type Transaction ¶
type Transaction struct { // txid is the id of this transaction Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // the blockid the transaction belong to Blockid []byte `protobuf:"bytes,2,opt,name=blockid,proto3" json:"blockid,omitempty"` // Transaction input list TxInputs []*TxInput `protobuf:"bytes,3,rep,name=tx_inputs,json=txInputs,proto3" json:"tx_inputs,omitempty"` // Transaction output list TxOutputs []*TxOutput `protobuf:"bytes,4,rep,name=tx_outputs,json=txOutputs,proto3" json:"tx_outputs,omitempty"` // Transaction description or system contract Desc []byte `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"` // Mining rewards Coinbase bool `protobuf:"varint,7,opt,name=coinbase,proto3" json:"coinbase,omitempty"` // Random number used to avoid replay attacks Nonce string `protobuf:"bytes,8,opt,name=nonce,proto3" json:"nonce,omitempty"` // Timestamp to launch the transaction Timestamp int64 `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // tx format version; tx格式版本号 Version int32 `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty"` // auto generated tx Autogen bool `protobuf:"varint,11,opt,name=autogen,proto3" json:"autogen,omitempty"` TxInputsExt []*TxInputExt `protobuf:"bytes,23,rep,name=tx_inputs_ext,json=txInputsExt,proto3" json:"tx_inputs_ext,omitempty"` TxOutputsExt []*TxOutputExt `protobuf:"bytes,24,rep,name=tx_outputs_ext,json=txOutputsExt,proto3" json:"tx_outputs_ext,omitempty"` ContractRequests []*InvokeRequest `protobuf:"bytes,25,rep,name=contract_requests,json=contractRequests,proto3" json:"contract_requests,omitempty"` // 权限系统新增字段 // 交易发起者, 可以是一个Address或者一个Account Initiator string `protobuf:"bytes,26,opt,name=initiator,proto3" json:"initiator,omitempty"` // 交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用 AuthRequire []string `protobuf:"bytes,27,rep,name=auth_require,json=authRequire,proto3" json:"auth_require,omitempty"` // 交易发起者对交易元数据签名,签名的内容包括auth_require字段 InitiatorSigns []*SignatureInfo `protobuf:"bytes,28,rep,name=initiator_signs,json=initiatorSigns,proto3" json:"initiator_signs,omitempty"` // 收集到的签名 AuthRequireSigns []*SignatureInfo `protobuf:"bytes,29,rep,name=auth_require_signs,json=authRequireSigns,proto3" json:"auth_require_signs,omitempty"` // 节点收到tx的时间戳,不参与签名 ReceivedTimestamp int64 `protobuf:"varint,30,opt,name=received_timestamp,json=receivedTimestamp,proto3" json:"received_timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Transaction is the information of the transaction
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) FromAddrInList ¶
func (tx *Transaction) FromAddrInList(whiteList map[string]bool) bool
FromAddrInList 判断交易的发起人是否在白名单
func (*Transaction) GetAmountByAddress ¶
func (tx *Transaction) GetAmountByAddress(address string) *big.Int
GetAmountByAddress 获得交易的Output中某个address的收益
func (*Transaction) GetAuthRequire ¶
func (m *Transaction) GetAuthRequire() []string
func (*Transaction) GetAuthRequireSigns ¶
func (m *Transaction) GetAuthRequireSigns() []*SignatureInfo
func (*Transaction) GetAutogen ¶
func (m *Transaction) GetAutogen() bool
func (*Transaction) GetBlockid ¶
func (m *Transaction) GetBlockid() []byte
func (*Transaction) GetCoinbase ¶
func (m *Transaction) GetCoinbase() bool
func (*Transaction) GetContractRequests ¶
func (m *Transaction) GetContractRequests() []*InvokeRequest
func (*Transaction) GetDesc ¶
func (m *Transaction) GetDesc() []byte
func (*Transaction) GetFrozenAmount ¶
func (tx *Transaction) GetFrozenAmount(height int64) *big.Int
GetFrozenAmount 获得交易output中超过某height才能解冻的金额
func (*Transaction) GetInitiator ¶
func (m *Transaction) GetInitiator() string
func (*Transaction) GetInitiatorSigns ¶
func (m *Transaction) GetInitiatorSigns() []*SignatureInfo
func (*Transaction) GetNonce ¶
func (m *Transaction) GetNonce() string
func (*Transaction) GetReceivedTimestamp ¶
func (m *Transaction) GetReceivedTimestamp() int64
func (*Transaction) GetTimestamp ¶
func (m *Transaction) GetTimestamp() int64
func (*Transaction) GetTxInputs ¶
func (m *Transaction) GetTxInputs() []*TxInput
func (*Transaction) GetTxInputsExt ¶
func (m *Transaction) GetTxInputsExt() []*TxInputExt
func (*Transaction) GetTxOutputs ¶
func (m *Transaction) GetTxOutputs() []*TxOutput
func (*Transaction) GetTxOutputsExt ¶
func (m *Transaction) GetTxOutputsExt() []*TxOutputExt
func (*Transaction) GetTxid ¶
func (m *Transaction) GetTxid() []byte
func (*Transaction) GetVersion ¶
func (m *Transaction) GetVersion() int32
func (*Transaction) HexTxid ¶
func (tx *Transaction) HexTxid() string
HexTxid get txid in hex string
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) String ¶
func (m *Transaction) String() string
func (*Transaction) XXX_DiscardUnknown ¶
func (m *Transaction) XXX_DiscardUnknown()
func (*Transaction) XXX_Marshal ¶
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction) XXX_Merge ¶
func (m *Transaction) XXX_Merge(src proto.Message)
func (*Transaction) XXX_Size ¶
func (m *Transaction) XXX_Size() int
func (*Transaction) XXX_Unmarshal ¶
func (m *Transaction) XXX_Unmarshal(b []byte) error
type TransactionStatus ¶
type TransactionStatus int32
TransactionStatus is the status of transaction
const ( // Undefined status TransactionStatus_UNDEFINE TransactionStatus = 0 // Transaction not exist TransactionStatus_NOEXIST TransactionStatus = 1 // Transaction have been confirmed TransactionStatus_CONFIRM TransactionStatus = 2 // Transaction is on the furcation TransactionStatus_FURCATION TransactionStatus = 3 // Transaction have not been confirmed TransactionStatus_UNCONFIRM TransactionStatus = 4 )
func (TransactionStatus) EnumDescriptor ¶
func (TransactionStatus) EnumDescriptor() ([]byte, []int)
func (TransactionStatus) String ¶
func (x TransactionStatus) String() string
type TransferCheckResponse ¶
type TransferCheckResponse struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Signature *SignatureInfo `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransferCheckResponse) Descriptor ¶
func (*TransferCheckResponse) Descriptor() ([]byte, []int)
func (*TransferCheckResponse) GetHeader ¶
func (m *TransferCheckResponse) GetHeader() *Header
func (*TransferCheckResponse) GetSignature ¶
func (m *TransferCheckResponse) GetSignature() *SignatureInfo
func (*TransferCheckResponse) ProtoMessage ¶
func (*TransferCheckResponse) ProtoMessage()
func (*TransferCheckResponse) Reset ¶
func (m *TransferCheckResponse) Reset()
func (*TransferCheckResponse) String ¶
func (m *TransferCheckResponse) String() string
func (*TransferCheckResponse) XXX_DiscardUnknown ¶
func (m *TransferCheckResponse) XXX_DiscardUnknown()
func (*TransferCheckResponse) XXX_Marshal ¶
func (m *TransferCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransferCheckResponse) XXX_Merge ¶
func (m *TransferCheckResponse) XXX_Merge(src proto.Message)
func (*TransferCheckResponse) XXX_Size ¶
func (m *TransferCheckResponse) XXX_Size() int
func (*TransferCheckResponse) XXX_Unmarshal ¶
func (m *TransferCheckResponse) XXX_Unmarshal(b []byte) error
type TxData ¶
type TxData struct { Header *Header `protobuf:"bytes,13,opt,name=header,proto3" json:"header,omitempty"` // Transaction id Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // Block name Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` // Account which start the transaction FromAddr string `protobuf:"bytes,3,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"` // The pk of the account which start the transaction FromPubkey string `protobuf:"bytes,4,opt,name=from_pubkey,json=fromPubkey,proto3" json:"from_pubkey,omitempty"` // The sk of the account which start the transaction FromScrkey string `protobuf:"bytes,5,opt,name=from_scrkey,json=fromScrkey,proto3" json:"from_scrkey,omitempty"` // if user don't want to provide scrkey, he should sign the txdata into user_sign UserSign []byte `protobuf:"bytes,14,opt,name=user_sign,json=userSign,proto3" json:"user_sign,omitempty"` // The account list accept tx Account []*TxDataAccount `protobuf:"bytes,6,rep,name=account,proto3" json:"account,omitempty"` // Random number used to avoid replay attacks Nonce string `protobuf:"bytes,8,opt,name=nonce,proto3" json:"nonce,omitempty"` // Timestamp to launch the Tx Timestamp int64 `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Desc []byte `protobuf:"bytes,12,opt,name=desc,proto3" json:"desc,omitempty"` // tx version Version int32 `protobuf:"varint,15,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxData) Descriptor ¶
func (*TxData) GetAccount ¶
func (m *TxData) GetAccount() []*TxDataAccount
func (*TxData) GetFromAddr ¶
func (*TxData) GetFromPubkey ¶
func (*TxData) GetFromScrkey ¶
func (*TxData) GetTimestamp ¶
func (*TxData) GetUserSign ¶
func (*TxData) GetVersion ¶
func (*TxData) ProtoMessage ¶
func (*TxData) ProtoMessage()
func (*TxData) XXX_DiscardUnknown ¶
func (m *TxData) XXX_DiscardUnknown()
func (*TxData) XXX_Marshal ¶
func (*TxData) XXX_Unmarshal ¶
type TxDataAccount ¶
type TxDataAccount struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` FrozenHeight int64 `protobuf:"varint,3,opt,name=frozen_height,json=frozenHeight,proto3" json:"frozen_height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxDataAccount) Descriptor ¶
func (*TxDataAccount) Descriptor() ([]byte, []int)
func (*TxDataAccount) GetAddress ¶
func (m *TxDataAccount) GetAddress() string
func (*TxDataAccount) GetAmount ¶
func (m *TxDataAccount) GetAmount() string
func (*TxDataAccount) GetFrozenHeight ¶
func (m *TxDataAccount) GetFrozenHeight() int64
func (*TxDataAccount) ProtoMessage ¶
func (*TxDataAccount) ProtoMessage()
func (*TxDataAccount) Reset ¶
func (m *TxDataAccount) Reset()
func (*TxDataAccount) String ¶
func (m *TxDataAccount) String() string
func (*TxDataAccount) XXX_DiscardUnknown ¶
func (m *TxDataAccount) XXX_DiscardUnknown()
func (*TxDataAccount) XXX_Marshal ¶
func (m *TxDataAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxDataAccount) XXX_Merge ¶
func (m *TxDataAccount) XXX_Merge(src proto.Message)
func (*TxDataAccount) XXX_Size ¶
func (m *TxDataAccount) XXX_Size() int
func (*TxDataAccount) XXX_Unmarshal ¶
func (m *TxDataAccount) XXX_Unmarshal(b []byte) error
type TxInput ¶
type TxInput struct { // The transaction id referenced to RefTxid []byte `protobuf:"bytes,1,opt,name=ref_txid,json=refTxid,proto3" json:"ref_txid,omitempty"` // The output offset of the transaction referenced to RefOffset int32 `protobuf:"varint,2,opt,name=ref_offset,json=refOffset,proto3" json:"ref_offset,omitempty"` // The address of the launcher FromAddr []byte `protobuf:"bytes,5,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"` // The amount of the transaction Amount []byte `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"` // Frozen height FrozenHeight int64 `protobuf:"varint,7,opt,name=frozen_height,json=frozenHeight,proto3" json:"frozen_height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Transaction input
func (*TxInput) Descriptor ¶
func (*TxInput) GetFromAddr ¶
func (*TxInput) GetFrozenHeight ¶
func (*TxInput) GetRefOffset ¶
func (*TxInput) GetRefTxid ¶
func (*TxInput) ProtoMessage ¶
func (*TxInput) ProtoMessage()
func (*TxInput) XXX_DiscardUnknown ¶
func (m *TxInput) XXX_DiscardUnknown()
func (*TxInput) XXX_Marshal ¶
func (*TxInput) XXX_Unmarshal ¶
type TxInputExt ¶
type TxInputExt struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` RefTxid []byte `protobuf:"bytes,3,opt,name=ref_txid,json=refTxid,proto3" json:"ref_txid,omitempty"` RefOffset int32 `protobuf:"varint,4,opt,name=ref_offset,json=refOffset,proto3" json:"ref_offset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
扩展输入
func (*TxInputExt) Descriptor ¶
func (*TxInputExt) Descriptor() ([]byte, []int)
func (*TxInputExt) GetBucket ¶
func (m *TxInputExt) GetBucket() string
func (*TxInputExt) GetKey ¶
func (m *TxInputExt) GetKey() []byte
func (*TxInputExt) GetRefOffset ¶
func (m *TxInputExt) GetRefOffset() int32
func (*TxInputExt) GetRefTxid ¶
func (m *TxInputExt) GetRefTxid() []byte
func (*TxInputExt) GetVersion ¶
func (txIn *TxInputExt) GetVersion() string
GetVersion get refid and offset as version string
func (*TxInputExt) ProtoMessage ¶
func (*TxInputExt) ProtoMessage()
func (*TxInputExt) Reset ¶
func (m *TxInputExt) Reset()
func (*TxInputExt) String ¶
func (m *TxInputExt) String() string
func (*TxInputExt) XXX_DiscardUnknown ¶
func (m *TxInputExt) XXX_DiscardUnknown()
func (*TxInputExt) XXX_Marshal ¶
func (m *TxInputExt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxInputExt) XXX_Merge ¶
func (m *TxInputExt) XXX_Merge(src proto.Message)
func (*TxInputExt) XXX_Size ¶
func (m *TxInputExt) XXX_Size() int
func (*TxInputExt) XXX_Unmarshal ¶
func (m *TxInputExt) XXX_Unmarshal(b []byte) error
type TxInputs ¶
type TxInputs struct { TxInputList []*TxInput `protobuf:"bytes,1,rep,name=txInputList,proto3" json:"txInputList,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
交易输入列表
func (*TxInputs) Descriptor ¶
func (*TxInputs) GetTxInputList ¶
func (*TxInputs) ProtoMessage ¶
func (*TxInputs) ProtoMessage()
func (*TxInputs) XXX_DiscardUnknown ¶
func (m *TxInputs) XXX_DiscardUnknown()
func (*TxInputs) XXX_Marshal ¶
func (*TxInputs) XXX_Unmarshal ¶
type TxOutput ¶
type TxOutput struct { // The amount of the transaction Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // The address of the launcher ToAddr []byte `protobuf:"bytes,2,opt,name=to_addr,json=toAddr,proto3" json:"to_addr,omitempty"` // Fronzen height FrozenHeight int64 `protobuf:"varint,4,opt,name=frozen_height,json=frozenHeight,proto3" json:"frozen_height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Transaction output
func (*TxOutput) Descriptor ¶
func (*TxOutput) GetFrozenHeight ¶
func (*TxOutput) ProtoMessage ¶
func (*TxOutput) ProtoMessage()
func (*TxOutput) XXX_DiscardUnknown ¶
func (m *TxOutput) XXX_DiscardUnknown()
func (*TxOutput) XXX_Marshal ¶
func (*TxOutput) XXX_Unmarshal ¶
type TxOutputExt ¶
type TxOutputExt struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
扩展输出
func (*TxOutputExt) Descriptor ¶
func (*TxOutputExt) Descriptor() ([]byte, []int)
func (*TxOutputExt) GetBucket ¶
func (m *TxOutputExt) GetBucket() string
func (*TxOutputExt) GetKey ¶
func (m *TxOutputExt) GetKey() []byte
func (*TxOutputExt) GetValue ¶
func (m *TxOutputExt) GetValue() []byte
func (*TxOutputExt) ProtoMessage ¶
func (*TxOutputExt) ProtoMessage()
func (*TxOutputExt) Reset ¶
func (m *TxOutputExt) Reset()
func (*TxOutputExt) String ¶
func (m *TxOutputExt) String() string
func (*TxOutputExt) XXX_DiscardUnknown ¶
func (m *TxOutputExt) XXX_DiscardUnknown()
func (*TxOutputExt) XXX_Marshal ¶
func (m *TxOutputExt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxOutputExt) XXX_Merge ¶
func (m *TxOutputExt) XXX_Merge(src proto.Message)
func (*TxOutputExt) XXX_Size ¶
func (m *TxOutputExt) XXX_Size() int
func (*TxOutputExt) XXX_Unmarshal ¶
func (m *TxOutputExt) XXX_Unmarshal(b []byte) error
type TxOutputs ¶
type TxOutputs struct { TxOutputList []*TxOutput `protobuf:"bytes,1,rep,name=txOutputList,proto3" json:"txOutputList,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
交易输出列表
func (*TxOutputs) Descriptor ¶
func (*TxOutputs) GetTxOutputList ¶
func (*TxOutputs) ProtoMessage ¶
func (*TxOutputs) ProtoMessage()
func (*TxOutputs) XXX_DiscardUnknown ¶
func (m *TxOutputs) XXX_DiscardUnknown()
func (*TxOutputs) XXX_Marshal ¶
func (*TxOutputs) XXX_Unmarshal ¶
type TxStatus ¶
type TxStatus struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` Txid []byte `protobuf:"bytes,3,opt,name=txid,proto3" json:"txid,omitempty"` Status TransactionStatus `protobuf:"varint,4,opt,name=status,proto3,enum=pb.TransactionStatus" json:"status,omitempty"` Distance int64 `protobuf:"varint,5,opt,name=distance,proto3" json:"distance,omitempty"` Tx *Transaction `protobuf:"bytes,7,opt,name=tx,proto3" json:"tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TxStatus) Descriptor ¶
func (*TxStatus) GetDistance ¶
func (*TxStatus) GetStatus ¶
func (m *TxStatus) GetStatus() TransactionStatus
func (*TxStatus) GetTx ¶
func (m *TxStatus) GetTx() *Transaction
func (*TxStatus) ProtoMessage ¶
func (*TxStatus) ProtoMessage()
func (*TxStatus) XXX_DiscardUnknown ¶
func (m *TxStatus) XXX_DiscardUnknown()
func (*TxStatus) XXX_Marshal ¶
func (*TxStatus) XXX_Unmarshal ¶
type UTXO ¶
type UTXO struct { Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` ToAddr []byte `protobuf:"bytes,2,opt,name=toAddr,proto3" json:"toAddr,omitempty"` ToPubkey []byte `protobuf:"bytes,3,opt,name=toPubkey,proto3" json:"toPubkey,omitempty"` RefTxid []byte `protobuf:"bytes,4,opt,name=refTxid,proto3" json:"refTxid,omitempty"` RefOffset int32 `protobuf:"varint,5,opt,name=refOffset,proto3" json:"refOffset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
未花费的交易输出
func (*UTXO) Descriptor ¶
func (*UTXO) GetRefOffset ¶
func (*UTXO) GetRefTxid ¶
func (*UTXO) GetToPubkey ¶
func (*UTXO) ProtoMessage ¶
func (*UTXO) ProtoMessage()
func (*UTXO) XXX_DiscardUnknown ¶
func (m *UTXO) XXX_DiscardUnknown()
func (*UTXO) XXX_Unmarshal ¶
type UTXOs ¶
type UTXOs struct { UTXOList []*UTXO `protobuf:"bytes,1,rep,name=uTXOList,proto3" json:"uTXOList,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
未花费的交易输出列表
func (*UTXOs) Descriptor ¶
func (*UTXOs) GetUTXOList ¶
func (*UTXOs) ProtoMessage ¶
func (*UTXOs) ProtoMessage()
func (*UTXOs) XXX_DiscardUnknown ¶
func (m *UTXOs) XXX_DiscardUnknown()
func (*UTXOs) XXX_Marshal ¶
func (*UTXOs) XXX_Unmarshal ¶
type Utxo ¶
type Utxo struct { Amount []byte `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` ToAddr []byte `protobuf:"bytes,2,opt,name=toAddr,proto3" json:"toAddr,omitempty"` ToPubkey []byte `protobuf:"bytes,3,opt,name=toPubkey,proto3" json:"toPubkey,omitempty"` RefTxid []byte `protobuf:"bytes,4,opt,name=refTxid,proto3" json:"refTxid,omitempty"` RefOffset int32 `protobuf:"varint,5,opt,name=refOffset,proto3" json:"refOffset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Utxo) Descriptor ¶
func (*Utxo) GetRefOffset ¶
func (*Utxo) GetRefTxid ¶
func (*Utxo) GetToPubkey ¶
func (*Utxo) ProtoMessage ¶
func (*Utxo) ProtoMessage()
func (*Utxo) XXX_DiscardUnknown ¶
func (m *Utxo) XXX_DiscardUnknown()
func (*Utxo) XXX_Unmarshal ¶
type UtxoInput ¶
type UtxoInput struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // which bcname to select Bcname string `protobuf:"bytes,2,opt,name=bcname,proto3" json:"bcname,omitempty"` // address to select Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // publickey of the address Publickey string `protobuf:"bytes,4,opt,name=publickey,proto3" json:"publickey,omitempty"` // totalNeed refer the total need utxos to select TotalNeed string `protobuf:"bytes,5,opt,name=totalNeed,proto3" json:"totalNeed,omitempty"` // userSign of input UserSign []byte `protobuf:"bytes,7,opt,name=userSign,proto3" json:"userSign,omitempty"` // need lock NeedLock bool `protobuf:"varint,8,opt,name=needLock,proto3" json:"needLock,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UtxoInput query info to query utxos
func (*UtxoInput) Descriptor ¶
func (*UtxoInput) GetAddress ¶
func (*UtxoInput) GetNeedLock ¶
func (*UtxoInput) GetPublickey ¶
func (*UtxoInput) GetTotalNeed ¶
func (*UtxoInput) GetUserSign ¶
func (*UtxoInput) ProtoMessage ¶
func (*UtxoInput) ProtoMessage()
func (*UtxoInput) XXX_DiscardUnknown ¶
func (m *UtxoInput) XXX_DiscardUnknown()
func (*UtxoInput) XXX_Marshal ¶
func (*UtxoInput) XXX_Unmarshal ¶
type UtxoMeta ¶
type UtxoMeta struct { LatestBlockid []byte `protobuf:"bytes,1,opt,name=latest_blockid,json=latestBlockid,proto3" json:"latest_blockid,omitempty"` LockKeyList []string `protobuf:"bytes,2,rep,name=lock_key_list,json=lockKeyList,proto3" json:"lock_key_list,omitempty"` UtxoTotal string `protobuf:"bytes,3,opt,name=utxo_total,json=utxoTotal,proto3" json:"utxo_total,omitempty"` AvgDelay int64 `protobuf:"varint,4,opt,name=avgDelay,proto3" json:"avgDelay,omitempty"` UnconfirmTxAmount int64 `protobuf:"varint,5,opt,name=unconfirmTxAmount,proto3" json:"unconfirmTxAmount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Utxo metadata
func (*UtxoMeta) Descriptor ¶
func (*UtxoMeta) GetAvgDelay ¶
func (*UtxoMeta) GetLatestBlockid ¶
func (*UtxoMeta) GetLockKeyList ¶
func (*UtxoMeta) GetUnconfirmTxAmount ¶
func (*UtxoMeta) GetUtxoTotal ¶
func (*UtxoMeta) ProtoMessage ¶
func (*UtxoMeta) ProtoMessage()
func (*UtxoMeta) XXX_DiscardUnknown ¶
func (m *UtxoMeta) XXX_DiscardUnknown()
func (*UtxoMeta) XXX_Marshal ¶
func (*UtxoMeta) XXX_Unmarshal ¶
type UtxoOutput ¶
type UtxoOutput struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // outSign return the output // bytes outSign = 2; // utxo list UtxoList []*Utxo `protobuf:"bytes,2,rep,name=utxoList,proto3" json:"utxoList,omitempty"` // total selected amount TotalSelected string `protobuf:"bytes,3,opt,name=totalSelected,proto3" json:"totalSelected,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UtxoOutput query results
func (*UtxoOutput) Descriptor ¶
func (*UtxoOutput) Descriptor() ([]byte, []int)
func (*UtxoOutput) GetHeader ¶
func (m *UtxoOutput) GetHeader() *Header
func (*UtxoOutput) GetTotalSelected ¶
func (m *UtxoOutput) GetTotalSelected() string
func (*UtxoOutput) GetUtxoList ¶
func (m *UtxoOutput) GetUtxoList() []*Utxo
func (*UtxoOutput) ProtoMessage ¶
func (*UtxoOutput) ProtoMessage()
func (*UtxoOutput) Reset ¶
func (m *UtxoOutput) Reset()
func (*UtxoOutput) String ¶
func (m *UtxoOutput) String() string
func (*UtxoOutput) XXX_DiscardUnknown ¶
func (m *UtxoOutput) XXX_DiscardUnknown()
func (*UtxoOutput) XXX_Marshal ¶
func (m *UtxoOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UtxoOutput) XXX_Merge ¶
func (m *UtxoOutput) XXX_Merge(src proto.Message)
func (*UtxoOutput) XXX_Size ¶
func (m *UtxoOutput) XXX_Size() int
func (*UtxoOutput) XXX_Unmarshal ¶
func (m *UtxoOutput) XXX_Unmarshal(b []byte) error
type VoteRecord ¶
type VoteRecord struct { Candidate string `protobuf:"bytes,1,opt,name=candidate,proto3" json:"candidate,omitempty"` Txid string `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
选民投票记录
func (*VoteRecord) Descriptor ¶
func (*VoteRecord) Descriptor() ([]byte, []int)
func (*VoteRecord) GetCandidate ¶
func (m *VoteRecord) GetCandidate() string
func (*VoteRecord) GetTxid ¶
func (m *VoteRecord) GetTxid() string
func (*VoteRecord) ProtoMessage ¶
func (*VoteRecord) ProtoMessage()
func (*VoteRecord) Reset ¶
func (m *VoteRecord) Reset()
func (*VoteRecord) String ¶
func (m *VoteRecord) String() string
func (*VoteRecord) XXX_DiscardUnknown ¶
func (m *VoteRecord) XXX_DiscardUnknown()
func (*VoteRecord) XXX_Marshal ¶
func (m *VoteRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteRecord) XXX_Merge ¶
func (m *VoteRecord) XXX_Merge(src proto.Message)
func (*VoteRecord) XXX_Size ¶
func (m *VoteRecord) XXX_Size() int
func (*VoteRecord) XXX_Unmarshal ¶
func (m *VoteRecord) XXX_Unmarshal(b []byte) error
type VotedRecord ¶
type VotedRecord struct { Voter string `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"` Txid string `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
候选人被投票记录
func (*VotedRecord) Descriptor ¶
func (*VotedRecord) Descriptor() ([]byte, []int)
func (*VotedRecord) GetTxid ¶
func (m *VotedRecord) GetTxid() string
func (*VotedRecord) GetVoter ¶
func (m *VotedRecord) GetVoter() string
func (*VotedRecord) ProtoMessage ¶
func (*VotedRecord) ProtoMessage()
func (*VotedRecord) Reset ¶
func (m *VotedRecord) Reset()
func (*VotedRecord) String ¶
func (m *VotedRecord) String() string
func (*VotedRecord) XXX_DiscardUnknown ¶
func (m *VotedRecord) XXX_DiscardUnknown()
func (*VotedRecord) XXX_Marshal ¶
func (m *VotedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VotedRecord) XXX_Merge ¶
func (m *VotedRecord) XXX_Merge(src proto.Message)
func (*VotedRecord) XXX_Size ¶
func (m *VotedRecord) XXX_Size() int
func (*VotedRecord) XXX_Unmarshal ¶
func (m *VotedRecord) XXX_Unmarshal(b []byte) error
type WasmCodeDesc ¶
type WasmCodeDesc struct { Runtime string `protobuf:"bytes,1,opt,name=runtime,proto3" json:"runtime,omitempty"` Compiler string `protobuf:"bytes,2,opt,name=compiler,proto3" json:"compiler,omitempty"` Digest []byte `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WasmCodeDesc) Descriptor ¶
func (*WasmCodeDesc) Descriptor() ([]byte, []int)
func (*WasmCodeDesc) GetCompiler ¶
func (m *WasmCodeDesc) GetCompiler() string
func (*WasmCodeDesc) GetDigest ¶
func (m *WasmCodeDesc) GetDigest() []byte
func (*WasmCodeDesc) GetRuntime ¶
func (m *WasmCodeDesc) GetRuntime() string
func (*WasmCodeDesc) ProtoMessage ¶
func (*WasmCodeDesc) ProtoMessage()
func (*WasmCodeDesc) Reset ¶
func (m *WasmCodeDesc) Reset()
func (*WasmCodeDesc) String ¶
func (m *WasmCodeDesc) String() string
func (*WasmCodeDesc) XXX_DiscardUnknown ¶
func (m *WasmCodeDesc) XXX_DiscardUnknown()
func (*WasmCodeDesc) XXX_Marshal ¶
func (m *WasmCodeDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WasmCodeDesc) XXX_Merge ¶
func (m *WasmCodeDesc) XXX_Merge(src proto.Message)
func (*WasmCodeDesc) XXX_Size ¶
func (m *WasmCodeDesc) XXX_Size() int
func (*WasmCodeDesc) XXX_Unmarshal ¶
func (m *WasmCodeDesc) XXX_Unmarshal(b []byte) error
type XcheckClient ¶
type XcheckClient interface { ComplianceCheck(ctx context.Context, in *TxStatus, opts ...grpc.CallOption) (*ComplianceCheckResponse, error) TransferCheck(ctx context.Context, in *TxStatus, opts ...grpc.CallOption) (*TransferCheckResponse, error) }
XcheckClient is the client API for Xcheck service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewXcheckClient ¶
func NewXcheckClient(cc *grpc.ClientConn) XcheckClient
type XcheckServer ¶
type XcheckServer interface { ComplianceCheck(context.Context, *TxStatus) (*ComplianceCheckResponse, error) TransferCheck(context.Context, *TxStatus) (*TransferCheckResponse, error) }
XcheckServer is the server API for Xcheck service.