proto

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_account_proto protoreflect.FileDescriptor
View Source
var File_blackhole_proto protoreflect.FileDescriptor
View Source
var File_chain_proto protoreflect.FileDescriptor
View Source
var File_common_proto protoreflect.FileDescriptor
View Source
var File_contract_proto protoreflect.FileDescriptor
View Source
var File_ledger_proto protoreflect.FileDescriptor
View Source
var File_metrics_proto protoreflect.FileDescriptor
View Source
var File_miner_proto protoreflect.FileDescriptor
View Source
var File_mintage_proto protoreflect.FileDescriptor
View Source
var File_nep5_pledge_proto protoreflect.FileDescriptor
View Source
var File_permission_proto protoreflect.FileDescriptor
View Source
var File_privacy_proto protoreflect.FileDescriptor
View Source
var File_ptmkey_proto protoreflect.FileDescriptor
View Source
var File_publicKeyDistribution_proto protoreflect.FileDescriptor
View Source
var File_representative_proto protoreflect.FileDescriptor
View Source
var File_reward_proto protoreflect.FileDescriptor
View Source
var File_settlement_proto protoreflect.FileDescriptor

Functions

func RegisterAccountAPIHandler

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

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

func RegisterAccountAPIHandlerClient

func RegisterAccountAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountAPIClient) error

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

func RegisterAccountAPIHandlerFromEndpoint

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

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

func RegisterAccountAPIHandlerServer

func RegisterAccountAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccountAPIServer) error

RegisterAccountAPIHandlerServer registers the http handlers for service AccountAPI to "mux". UnaryRPC :call AccountAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterAccountAPIServer

func RegisterAccountAPIServer(s *grpc.Server, srv AccountAPIServer)

func RegisterBlackHoleAPIHandler

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

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

func RegisterBlackHoleAPIHandlerClient

func RegisterBlackHoleAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BlackHoleAPIClient) error

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

func RegisterBlackHoleAPIHandlerFromEndpoint

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

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

func RegisterBlackHoleAPIHandlerServer

func RegisterBlackHoleAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BlackHoleAPIServer) error

RegisterBlackHoleAPIHandlerServer registers the http handlers for service BlackHoleAPI to "mux". UnaryRPC :call BlackHoleAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterBlackHoleAPIServer

func RegisterBlackHoleAPIServer(s *grpc.Server, srv BlackHoleAPIServer)

func RegisterChainAPIHandler

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

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

func RegisterChainAPIHandlerClient

func RegisterChainAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChainAPIClient) error

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

func RegisterChainAPIHandlerFromEndpoint

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

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

func RegisterChainAPIHandlerServer

func RegisterChainAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChainAPIServer) error

RegisterChainAPIHandlerServer registers the http handlers for service ChainAPI to "mux". UnaryRPC :call ChainAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterChainAPIServer

func RegisterChainAPIServer(s *grpc.Server, srv ChainAPIServer)

func RegisterContractAPIHandler

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

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

func RegisterContractAPIHandlerClient

func RegisterContractAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ContractAPIClient) error

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

func RegisterContractAPIHandlerFromEndpoint

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

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

func RegisterContractAPIHandlerServer

func RegisterContractAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ContractAPIServer) error

RegisterContractAPIHandlerServer registers the http handlers for service ContractAPI to "mux". UnaryRPC :call ContractAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterContractAPIServer

func RegisterContractAPIServer(s *grpc.Server, srv ContractAPIServer)

func RegisterLedgerAPIHandler

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

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

func RegisterLedgerAPIHandlerClient

func RegisterLedgerAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LedgerAPIClient) error

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

func RegisterLedgerAPIHandlerFromEndpoint

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

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

func RegisterLedgerAPIHandlerServer

func RegisterLedgerAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LedgerAPIServer) error

RegisterLedgerAPIHandlerServer registers the http handlers for service LedgerAPI to "mux". UnaryRPC :call LedgerAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterLedgerAPIServer

func RegisterLedgerAPIServer(s *grpc.Server, srv LedgerAPIServer)

func RegisterMetricsAPIHandler

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

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

func RegisterMetricsAPIHandlerClient

func RegisterMetricsAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MetricsAPIClient) error

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

func RegisterMetricsAPIHandlerFromEndpoint

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

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

func RegisterMetricsAPIHandlerServer

func RegisterMetricsAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MetricsAPIServer) error

RegisterMetricsAPIHandlerServer registers the http handlers for service MetricsAPI to "mux". UnaryRPC :call MetricsAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterMetricsAPIServer

func RegisterMetricsAPIServer(s *grpc.Server, srv MetricsAPIServer)

func RegisterMinerAPIHandler

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

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

func RegisterMinerAPIHandlerClient

func RegisterMinerAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MinerAPIClient) error

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

func RegisterMinerAPIHandlerFromEndpoint

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

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

func RegisterMinerAPIHandlerServer

func RegisterMinerAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MinerAPIServer) error

RegisterMinerAPIHandlerServer registers the http handlers for service MinerAPI to "mux". UnaryRPC :call MinerAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterMinerAPIServer

func RegisterMinerAPIServer(s *grpc.Server, srv MinerAPIServer)

func RegisterMintageAPIHandler

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

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

func RegisterMintageAPIHandlerClient

func RegisterMintageAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MintageAPIClient) error

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

func RegisterMintageAPIHandlerFromEndpoint

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

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

func RegisterMintageAPIHandlerServer

func RegisterMintageAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MintageAPIServer) error

RegisterMintageAPIHandlerServer registers the http handlers for service MintageAPI to "mux". UnaryRPC :call MintageAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterMintageAPIServer

func RegisterMintageAPIServer(s *grpc.Server, srv MintageAPIServer)

func RegisterNEP5PledgeAPIHandler

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

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

func RegisterNEP5PledgeAPIHandlerClient

func RegisterNEP5PledgeAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NEP5PledgeAPIClient) error

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

func RegisterNEP5PledgeAPIHandlerFromEndpoint

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

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

func RegisterNEP5PledgeAPIHandlerServer

func RegisterNEP5PledgeAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NEP5PledgeAPIServer) error

RegisterNEP5PledgeAPIHandlerServer registers the http handlers for service NEP5PledgeAPI to "mux". UnaryRPC :call NEP5PledgeAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterNEP5PledgeAPIServer

func RegisterNEP5PledgeAPIServer(s *grpc.Server, srv NEP5PledgeAPIServer)

func RegisterNetAPIHandler

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

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

func RegisterNetAPIHandlerClient

func RegisterNetAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NetAPIClient) error

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

func RegisterNetAPIHandlerFromEndpoint

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

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

func RegisterNetAPIHandlerServer

func RegisterNetAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NetAPIServer) error

RegisterNetAPIHandlerServer registers the http handlers for service NetAPI to "mux". UnaryRPC :call NetAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterNetAPIServer

func RegisterNetAPIServer(s *grpc.Server, srv NetAPIServer)

func RegisterPermissionAPIHandler

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

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

func RegisterPermissionAPIHandlerClient

func RegisterPermissionAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PermissionAPIClient) error

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

func RegisterPermissionAPIHandlerFromEndpoint

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

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

func RegisterPermissionAPIHandlerServer

func RegisterPermissionAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PermissionAPIServer) error

RegisterPermissionAPIHandlerServer registers the http handlers for service PermissionAPI to "mux". UnaryRPC :call PermissionAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterPermissionAPIServer

func RegisterPermissionAPIServer(s *grpc.Server, srv PermissionAPIServer)

func RegisterPovAPIHandler

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

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

func RegisterPovAPIHandlerClient

func RegisterPovAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PovAPIClient) error

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

func RegisterPovAPIHandlerFromEndpoint

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

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

func RegisterPovAPIHandlerServer

func RegisterPovAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PovAPIServer) error

RegisterPovAPIHandlerServer registers the http handlers for service PovAPI to "mux". UnaryRPC :call PovAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterPovAPIServer

func RegisterPovAPIServer(s *grpc.Server, srv PovAPIServer)

func RegisterPrivacyAPIHandler

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

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

func RegisterPrivacyAPIHandlerClient

func RegisterPrivacyAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PrivacyAPIClient) error

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

func RegisterPrivacyAPIHandlerFromEndpoint

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

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

func RegisterPrivacyAPIHandlerServer

func RegisterPrivacyAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PrivacyAPIServer) error

RegisterPrivacyAPIHandlerServer registers the http handlers for service PrivacyAPI to "mux". UnaryRPC :call PrivacyAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterPrivacyAPIServer

func RegisterPrivacyAPIServer(s *grpc.Server, srv PrivacyAPIServer)

func RegisterPtmKeyAPIHandler

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

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

func RegisterPtmKeyAPIHandlerClient

func RegisterPtmKeyAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PtmKeyAPIClient) error

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

func RegisterPtmKeyAPIHandlerFromEndpoint

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

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

func RegisterPtmKeyAPIHandlerServer

func RegisterPtmKeyAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PtmKeyAPIServer) error

RegisterPtmKeyAPIHandlerServer registers the http handlers for service PtmKeyAPI to "mux". UnaryRPC :call PtmKeyAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterPtmKeyAPIServer

func RegisterPtmKeyAPIServer(s *grpc.Server, srv PtmKeyAPIServer)

func RegisterPublicKeyDistributionAPIHandler

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

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

func RegisterPublicKeyDistributionAPIHandlerClient

func RegisterPublicKeyDistributionAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PublicKeyDistributionAPIClient) error

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

func RegisterPublicKeyDistributionAPIHandlerFromEndpoint

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

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

func RegisterPublicKeyDistributionAPIHandlerServer

func RegisterPublicKeyDistributionAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PublicKeyDistributionAPIServer) error

RegisterPublicKeyDistributionAPIHandlerServer registers the http handlers for service PublicKeyDistributionAPI to "mux". UnaryRPC :call PublicKeyDistributionAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterPublicKeyDistributionAPIServer

func RegisterPublicKeyDistributionAPIServer(s *grpc.Server, srv PublicKeyDistributionAPIServer)

func RegisterRepAPIHandler

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

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

func RegisterRepAPIHandlerClient

func RegisterRepAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RepAPIClient) error

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

func RegisterRepAPIHandlerFromEndpoint

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

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

func RegisterRepAPIHandlerServer

func RegisterRepAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RepAPIServer) error

RegisterRepAPIHandlerServer registers the http handlers for service RepAPI to "mux". UnaryRPC :call RepAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterRepAPIServer

func RegisterRepAPIServer(s *grpc.Server, srv RepAPIServer)

func RegisterRewardsAPIHandler

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

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

func RegisterRewardsAPIHandlerClient

func RegisterRewardsAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RewardsAPIClient) error

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

func RegisterRewardsAPIHandlerFromEndpoint

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

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

func RegisterRewardsAPIHandlerServer

func RegisterRewardsAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RewardsAPIServer) error

RegisterRewardsAPIHandlerServer registers the http handlers for service RewardsAPI to "mux". UnaryRPC :call RewardsAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterRewardsAPIServer

func RegisterRewardsAPIServer(s *grpc.Server, srv RewardsAPIServer)

func RegisterSettlementAPIHandler

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

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

func RegisterSettlementAPIHandlerClient

func RegisterSettlementAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SettlementAPIClient) error

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

func RegisterSettlementAPIHandlerFromEndpoint

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

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

func RegisterSettlementAPIHandlerServer

func RegisterSettlementAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SettlementAPIServer) error

RegisterSettlementAPIHandlerServer registers the http handlers for service SettlementAPI to "mux". UnaryRPC :call SettlementAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterSettlementAPIServer

func RegisterSettlementAPIServer(s *grpc.Server, srv SettlementAPIServer)

func RegisterUtilAPIHandler

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

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

func RegisterUtilAPIHandlerClient

func RegisterUtilAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UtilAPIClient) error

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

func RegisterUtilAPIHandlerFromEndpoint

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

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

func RegisterUtilAPIHandlerServer

func RegisterUtilAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UtilAPIServer) error

RegisterUtilAPIHandlerServer registers the http handlers for service UtilAPI to "mux". UnaryRPC :call UtilAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterUtilAPIServer

func RegisterUtilAPIServer(s *grpc.Server, srv UtilAPIServer)

Types

type APIAccount

type APIAccount struct {
	Address        string          `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	CoinBalance    int64           `protobuf:"varint,2,opt,name=coinBalance,proto3" json:"coinBalance,omitempty"`
	CoinVote       int64           `protobuf:"varint,3,opt,name=coinVote,proto3" json:"coinVote,omitempty"`
	CoinNetwork    int64           `protobuf:"varint,4,opt,name=coinNetwork,proto3" json:"coinNetwork,omitempty"`
	CoinStorage    int64           `protobuf:"varint,5,opt,name=coinStorage,proto3" json:"coinStorage,omitempty"`
	CoinOracle     int64           `protobuf:"varint,6,opt,name=coinOracle,proto3" json:"coinOracle,omitempty"`
	Representative string          `protobuf:"bytes,7,opt,name=representative,proto3" json:"representative,omitempty"`
	Tokens         []*APITokenMeta `protobuf:"bytes,8,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*APIAccount) Descriptor deprecated

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

Deprecated: Use APIAccount.ProtoReflect.Descriptor instead.

func (*APIAccount) GetAddress

func (x *APIAccount) GetAddress() string

func (*APIAccount) GetCoinBalance

func (x *APIAccount) GetCoinBalance() int64

func (*APIAccount) GetCoinNetwork

func (x *APIAccount) GetCoinNetwork() int64

func (*APIAccount) GetCoinOracle

func (x *APIAccount) GetCoinOracle() int64

func (*APIAccount) GetCoinStorage

func (x *APIAccount) GetCoinStorage() int64

func (*APIAccount) GetCoinVote

func (x *APIAccount) GetCoinVote() int64

func (*APIAccount) GetRepresentative

func (x *APIAccount) GetRepresentative() string

func (*APIAccount) GetTokens

func (x *APIAccount) GetTokens() []*APITokenMeta

func (*APIAccount) ProtoMessage

func (*APIAccount) ProtoMessage()

func (*APIAccount) ProtoReflect

func (x *APIAccount) ProtoReflect() protoreflect.Message

func (*APIAccount) Reset

func (x *APIAccount) Reset()

func (*APIAccount) String

func (x *APIAccount) String() string

type APIAccountBalances

type APIAccountBalances struct {
	Balances []*APIAccountBalances_APIAccountBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
	// contains filtered or unexported fields
}

func (*APIAccountBalances) Descriptor deprecated

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

Deprecated: Use APIAccountBalances.ProtoReflect.Descriptor instead.

func (*APIAccountBalances) GetBalances

func (*APIAccountBalances) ProtoMessage

func (*APIAccountBalances) ProtoMessage()

func (*APIAccountBalances) ProtoReflect

func (x *APIAccountBalances) ProtoReflect() protoreflect.Message

func (*APIAccountBalances) Reset

func (x *APIAccountBalances) Reset()

func (*APIAccountBalances) String

func (x *APIAccountBalances) String() string

type APIAccountBalances_APIAccountBalance

type APIAccountBalances_APIAccountBalance struct {
	Address string `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	Balance int64  `protobuf:"varint,2,opt,name=Balance,proto3" json:"Balance,omitempty"`
	// contains filtered or unexported fields
}

func (*APIAccountBalances_APIAccountBalance) Descriptor deprecated

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

Deprecated: Use APIAccountBalances_APIAccountBalance.ProtoReflect.Descriptor instead.

func (*APIAccountBalances_APIAccountBalance) GetAddress

func (*APIAccountBalances_APIAccountBalance) GetBalance

func (*APIAccountBalances_APIAccountBalance) ProtoMessage

func (*APIAccountBalances_APIAccountBalance) ProtoMessage()

func (*APIAccountBalances_APIAccountBalance) ProtoReflect

func (*APIAccountBalances_APIAccountBalance) Reset

func (*APIAccountBalances_APIAccountBalance) String

type APIBlock

type APIBlock struct {
	Type             string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Token            string   `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Address          string   `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Balance          int64    `protobuf:"varint,4,opt,name=balance,proto3" json:"balance,omitempty"`
	Vote             int64    `protobuf:"varint,5,opt,name=vote,proto3" json:"vote,omitempty"`
	Network          int64    `protobuf:"varint,6,opt,name=network,proto3" json:"network,omitempty"`
	Storage          int64    `protobuf:"varint,7,opt,name=storage,proto3" json:"storage,omitempty"`
	Oracle           int64    `protobuf:"varint,8,opt,name=oracle,proto3" json:"oracle,omitempty"`
	Previous         string   `protobuf:"bytes,9,opt,name=previous,proto3" json:"previous,omitempty"`
	Link             string   `protobuf:"bytes,10,opt,name=link,proto3" json:"link,omitempty"`
	Sender           []byte   `protobuf:"bytes,11,opt,name=sender,proto3" json:"sender,omitempty"`
	Receiver         []byte   `protobuf:"bytes,12,opt,name=receiver,proto3" json:"receiver,omitempty"`
	Message          string   `protobuf:"bytes,13,opt,name=message,proto3" json:"message,omitempty"`
	Data             []byte   `protobuf:"bytes,14,opt,name=data,proto3" json:"data,omitempty"`
	PoVHeight        uint64   `protobuf:"varint,15,opt,name=poVHeight,proto3" json:"poVHeight,omitempty"`
	Timestamp        int64    `protobuf:"varint,16,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Extra            string   `protobuf:"bytes,17,opt,name=extra,proto3" json:"extra,omitempty"`
	Representative   string   `protobuf:"bytes,18,opt,name=representative,proto3" json:"representative,omitempty"`
	PrivateFrom      string   `protobuf:"bytes,19,opt,name=privateFrom,proto3" json:"privateFrom,omitempty"`
	PrivateFor       []string `protobuf:"bytes,20,rep,name=privateFor,proto3" json:"privateFor,omitempty"`
	PrivateGroupID   string   `protobuf:"bytes,21,opt,name=privateGroupID,proto3" json:"privateGroupID,omitempty"`
	Work             uint64   `protobuf:"varint,22,opt,name=work,proto3" json:"work,omitempty"`
	Signature        string   `protobuf:"bytes,23,opt,name=signature,proto3" json:"signature,omitempty"`
	TokenName        string   `protobuf:"bytes,27,opt,name=tokenName,proto3" json:"tokenName,omitempty"`
	Amount           int64    `protobuf:"varint,28,opt,name=amount,proto3" json:"amount,omitempty"`
	Hash             string   `protobuf:"bytes,29,opt,name=hash,proto3" json:"hash,omitempty"`
	PovConfirmHeight uint64   `protobuf:"varint,30,opt,name=povConfirmHeight,proto3" json:"povConfirmHeight,omitempty"`
	PovConfirmCount  uint64   `protobuf:"varint,31,opt,name=povConfirmCount,proto3" json:"povConfirmCount,omitempty"`
	// contains filtered or unexported fields
}

func (*APIBlock) Descriptor deprecated

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

Deprecated: Use APIBlock.ProtoReflect.Descriptor instead.

func (*APIBlock) GetAddress

func (x *APIBlock) GetAddress() string

func (*APIBlock) GetAmount

func (x *APIBlock) GetAmount() int64

func (*APIBlock) GetBalance

func (x *APIBlock) GetBalance() int64

func (*APIBlock) GetData

func (x *APIBlock) GetData() []byte

func (*APIBlock) GetExtra

func (x *APIBlock) GetExtra() string

func (*APIBlock) GetHash

func (x *APIBlock) GetHash() string
func (x *APIBlock) GetLink() string

func (*APIBlock) GetMessage

func (x *APIBlock) GetMessage() string

func (*APIBlock) GetNetwork

func (x *APIBlock) GetNetwork() int64

func (*APIBlock) GetOracle

func (x *APIBlock) GetOracle() int64

func (*APIBlock) GetPoVHeight

func (x *APIBlock) GetPoVHeight() uint64

func (*APIBlock) GetPovConfirmCount

func (x *APIBlock) GetPovConfirmCount() uint64

func (*APIBlock) GetPovConfirmHeight

func (x *APIBlock) GetPovConfirmHeight() uint64

func (*APIBlock) GetPrevious

func (x *APIBlock) GetPrevious() string

func (*APIBlock) GetPrivateFor

func (x *APIBlock) GetPrivateFor() []string

func (*APIBlock) GetPrivateFrom

func (x *APIBlock) GetPrivateFrom() string

func (*APIBlock) GetPrivateGroupID

func (x *APIBlock) GetPrivateGroupID() string

func (*APIBlock) GetReceiver

func (x *APIBlock) GetReceiver() []byte

func (*APIBlock) GetRepresentative

func (x *APIBlock) GetRepresentative() string

func (*APIBlock) GetSender

func (x *APIBlock) GetSender() []byte

func (*APIBlock) GetSignature

func (x *APIBlock) GetSignature() string

func (*APIBlock) GetStorage

func (x *APIBlock) GetStorage() int64

func (*APIBlock) GetTimestamp

func (x *APIBlock) GetTimestamp() int64

func (*APIBlock) GetToken

func (x *APIBlock) GetToken() string

func (*APIBlock) GetTokenName

func (x *APIBlock) GetTokenName() string

func (*APIBlock) GetType

func (x *APIBlock) GetType() string

func (*APIBlock) GetVote

func (x *APIBlock) GetVote() int64

func (*APIBlock) GetWork

func (x *APIBlock) GetWork() uint64

func (*APIBlock) ProtoMessage

func (*APIBlock) ProtoMessage()

func (*APIBlock) ProtoReflect

func (x *APIBlock) ProtoReflect() protoreflect.Message

func (*APIBlock) Reset

func (x *APIBlock) Reset()

func (*APIBlock) String

func (x *APIBlock) String() string

type APIBlocks

type APIBlocks struct {
	Blocks []*APIBlock `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"`
	// contains filtered or unexported fields
}

func (*APIBlocks) Descriptor deprecated

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

Deprecated: Use APIBlocks.ProtoReflect.Descriptor instead.

func (*APIBlocks) GetBlocks

func (x *APIBlocks) GetBlocks() []*APIBlock

func (*APIBlocks) ProtoMessage

func (*APIBlocks) ProtoMessage()

func (*APIBlocks) ProtoReflect

func (x *APIBlocks) ProtoReflect() protoreflect.Message

func (*APIBlocks) Reset

func (x *APIBlocks) Reset()

func (*APIBlocks) String

func (x *APIBlocks) String() string

type APIPending

type APIPending struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Hash      string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Source    string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	Amount    int64  `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Type      string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	TokenName string `protobuf:"bytes,6,opt,name=TokenName,proto3" json:"TokenName,omitempty"`
	Timestamp int64  `protobuf:"varint,7,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	BlockType string `protobuf:"bytes,8,opt,name=BlockType,proto3" json:"BlockType,omitempty"`
	// contains filtered or unexported fields
}

func (*APIPending) Descriptor deprecated

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

Deprecated: Use APIPending.ProtoReflect.Descriptor instead.

func (*APIPending) GetAddress

func (x *APIPending) GetAddress() string

func (*APIPending) GetAmount

func (x *APIPending) GetAmount() int64

func (*APIPending) GetBlockType

func (x *APIPending) GetBlockType() string

func (*APIPending) GetHash

func (x *APIPending) GetHash() string

func (*APIPending) GetSource

func (x *APIPending) GetSource() string

func (*APIPending) GetTimestamp

func (x *APIPending) GetTimestamp() int64

func (*APIPending) GetTokenName

func (x *APIPending) GetTokenName() string

func (*APIPending) GetType

func (x *APIPending) GetType() string

func (*APIPending) ProtoMessage

func (*APIPending) ProtoMessage()

func (*APIPending) ProtoReflect

func (x *APIPending) ProtoReflect() protoreflect.Message

func (*APIPending) Reset

func (x *APIPending) Reset()

func (*APIPending) String

func (x *APIPending) String() string

type APIPendings

type APIPendings struct {
	Pendings []*APIPending `protobuf:"bytes,1,rep,name=pendings,proto3" json:"pendings,omitempty"`
	// contains filtered or unexported fields
}

func (*APIPendings) Descriptor deprecated

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

Deprecated: Use APIPendings.ProtoReflect.Descriptor instead.

func (*APIPendings) GetPendings

func (x *APIPendings) GetPendings() []*APIPending

func (*APIPendings) ProtoMessage

func (*APIPendings) ProtoMessage()

func (*APIPendings) ProtoReflect

func (x *APIPendings) ProtoReflect() protoreflect.Message

func (*APIPendings) Reset

func (x *APIPendings) Reset()

func (*APIPendings) String

func (x *APIPendings) String() string

type APIRepresentative

type APIRepresentative struct {
	Address string `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	Balance int64  `protobuf:"varint,2,opt,name=Balance,proto3" json:"Balance,omitempty"`
	Vote    int64  `protobuf:"varint,3,opt,name=Vote,proto3" json:"Vote,omitempty"`
	Network int64  `protobuf:"varint,4,opt,name=Network,proto3" json:"Network,omitempty"`
	Storage int64  `protobuf:"varint,5,opt,name=Storage,proto3" json:"Storage,omitempty"`
	Oracle  int64  `protobuf:"varint,6,opt,name=Oracle,proto3" json:"Oracle,omitempty"`
	Total   int64  `protobuf:"varint,7,opt,name=Total,proto3" json:"Total,omitempty"`
	// contains filtered or unexported fields
}

func (*APIRepresentative) Descriptor deprecated

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

Deprecated: Use APIRepresentative.ProtoReflect.Descriptor instead.

func (*APIRepresentative) GetAddress

func (x *APIRepresentative) GetAddress() string

func (*APIRepresentative) GetBalance

func (x *APIRepresentative) GetBalance() int64

func (*APIRepresentative) GetNetwork

func (x *APIRepresentative) GetNetwork() int64

func (*APIRepresentative) GetOracle

func (x *APIRepresentative) GetOracle() int64

func (*APIRepresentative) GetStorage

func (x *APIRepresentative) GetStorage() int64

func (*APIRepresentative) GetTotal

func (x *APIRepresentative) GetTotal() int64

func (*APIRepresentative) GetVote

func (x *APIRepresentative) GetVote() int64

func (*APIRepresentative) ProtoMessage

func (*APIRepresentative) ProtoMessage()

func (*APIRepresentative) ProtoReflect

func (x *APIRepresentative) ProtoReflect() protoreflect.Message

func (*APIRepresentative) Reset

func (x *APIRepresentative) Reset()

func (*APIRepresentative) String

func (x *APIRepresentative) String() string

type APIRepresentatives

type APIRepresentatives struct {
	Representatives []*APIRepresentative `protobuf:"bytes,1,rep,name=representatives,proto3" json:"representatives,omitempty"`
	// contains filtered or unexported fields
}

func (*APIRepresentatives) Descriptor deprecated

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

Deprecated: Use APIRepresentatives.ProtoReflect.Descriptor instead.

func (*APIRepresentatives) GetRepresentatives

func (x *APIRepresentatives) GetRepresentatives() []*APIRepresentative

func (*APIRepresentatives) ProtoMessage

func (*APIRepresentatives) ProtoMessage()

func (*APIRepresentatives) ProtoReflect

func (x *APIRepresentatives) ProtoReflect() protoreflect.Message

func (*APIRepresentatives) Reset

func (x *APIRepresentatives) Reset()

func (*APIRepresentatives) String

func (x *APIRepresentatives) String() string

type APISendBlockPara

type APISendBlockPara struct {
	From      string `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
	TokenName string `protobuf:"bytes,2,opt,name=TokenName,proto3" json:"TokenName,omitempty"`
	To        string `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"`
	Amount    int64  `protobuf:"varint,4,opt,name=Amount,proto3" json:"Amount,omitempty"`
	Sender    string `protobuf:"bytes,5,opt,name=Sender,proto3" json:"Sender,omitempty"`
	Receiver  string `protobuf:"bytes,6,opt,name=Receiver,proto3" json:"Receiver,omitempty"`
	Message   string `protobuf:"bytes,7,opt,name=Message,proto3" json:"Message,omitempty"`
	// contains filtered or unexported fields
}

func (*APISendBlockPara) Descriptor deprecated

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

Deprecated: Use APISendBlockPara.ProtoReflect.Descriptor instead.

func (*APISendBlockPara) GetAmount

func (x *APISendBlockPara) GetAmount() int64

func (*APISendBlockPara) GetFrom

func (x *APISendBlockPara) GetFrom() string

func (*APISendBlockPara) GetMessage

func (x *APISendBlockPara) GetMessage() string

func (*APISendBlockPara) GetReceiver

func (x *APISendBlockPara) GetReceiver() string

func (*APISendBlockPara) GetSender

func (x *APISendBlockPara) GetSender() string

func (*APISendBlockPara) GetTo

func (x *APISendBlockPara) GetTo() string

func (*APISendBlockPara) GetTokenName

func (x *APISendBlockPara) GetTokenName() string

func (*APISendBlockPara) ProtoMessage

func (*APISendBlockPara) ProtoMessage()

func (*APISendBlockPara) ProtoReflect

func (x *APISendBlockPara) ProtoReflect() protoreflect.Message

func (*APISendBlockPara) Reset

func (x *APISendBlockPara) Reset()

func (*APISendBlockPara) String

func (x *APISendBlockPara) String() string

type APITokenMeta

type APITokenMeta struct {
	Type           string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Header         string `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
	Representative string `protobuf:"bytes,3,opt,name=representative,proto3" json:"representative,omitempty"`
	OpenBlock      string `protobuf:"bytes,4,opt,name=openBlock,proto3" json:"openBlock,omitempty"`
	Balance        int64  `protobuf:"varint,5,opt,name=balance,proto3" json:"balance,omitempty"`
	BelongTo       string `protobuf:"bytes,6,opt,name=belongTo,proto3" json:"belongTo,omitempty"`
	Modified       int64  `protobuf:"varint,7,opt,name=modified,proto3" json:"modified,omitempty"`
	BlockCount     int64  `protobuf:"varint,8,opt,name=blockCount,proto3" json:"blockCount,omitempty"`
	TokenName      string `protobuf:"bytes,9,opt,name=tokenName,proto3" json:"tokenName,omitempty"`
	Pending        int64  `protobuf:"varint,10,opt,name=pending,proto3" json:"pending,omitempty"`
	// contains filtered or unexported fields
}

func (*APITokenMeta) Descriptor deprecated

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

Deprecated: Use APITokenMeta.ProtoReflect.Descriptor instead.

func (*APITokenMeta) GetBalance

func (x *APITokenMeta) GetBalance() int64

func (*APITokenMeta) GetBelongTo

func (x *APITokenMeta) GetBelongTo() string

func (*APITokenMeta) GetBlockCount

func (x *APITokenMeta) GetBlockCount() int64

func (*APITokenMeta) GetHeader

func (x *APITokenMeta) GetHeader() string

func (*APITokenMeta) GetModified

func (x *APITokenMeta) GetModified() int64

func (*APITokenMeta) GetOpenBlock

func (x *APITokenMeta) GetOpenBlock() string

func (*APITokenMeta) GetPending

func (x *APITokenMeta) GetPending() int64

func (*APITokenMeta) GetRepresentative

func (x *APITokenMeta) GetRepresentative() string

func (*APITokenMeta) GetTokenName

func (x *APITokenMeta) GetTokenName() string

func (*APITokenMeta) GetType

func (x *APITokenMeta) GetType() string

func (*APITokenMeta) ProtoMessage

func (*APITokenMeta) ProtoMessage()

func (*APITokenMeta) ProtoReflect

func (x *APITokenMeta) ProtoReflect() protoreflect.Message

func (*APITokenMeta) Reset

func (x *APITokenMeta) Reset()

func (*APITokenMeta) String

func (x *APITokenMeta) String() string

type Account

type Account struct {
	Seed       string `protobuf:"bytes,1,opt,name=Seed,proto3" json:"Seed,omitempty"`
	PrivateKey string `protobuf:"bytes,2,opt,name=PrivateKey,proto3" json:"PrivateKey,omitempty"`
	PublicKey  string `protobuf:"bytes,3,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"`
	Address    string `protobuf:"bytes,4,opt,name=Address,proto3" json:"Address,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAddress

func (x *Account) GetAddress() string

func (*Account) GetPrivateKey

func (x *Account) GetPrivateKey() string

func (*Account) GetPublicKey

func (x *Account) GetPublicKey() string

func (*Account) GetSeed

func (x *Account) GetSeed() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type AccountAPIClient

type AccountAPIClient interface {
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
	ForPublicKey(ctx context.Context, in *String, opts ...grpc.CallOption) (*types.Address, error)
	NewSeed(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*String, error)
	NewAccounts(ctx context.Context, in *UInt32, opts ...grpc.CallOption) (*AccountsResponse, error)
	PublicKey(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*String, error)
	Validate(ctx context.Context, in *String, opts ...grpc.CallOption) (*Boolean, error)
}

AccountAPIClient is the client API for AccountAPI service.

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

func NewAccountAPIClient

func NewAccountAPIClient(cc grpc.ClientConnInterface) AccountAPIClient

type AccountAPIServer

type AccountAPIServer interface {
	Create(context.Context, *CreateRequest) (*CreateResponse, error)
	ForPublicKey(context.Context, *String) (*types.Address, error)
	NewSeed(context.Context, *empty.Empty) (*String, error)
	NewAccounts(context.Context, *UInt32) (*AccountsResponse, error)
	PublicKey(context.Context, *types.Address) (*String, error)
	Validate(context.Context, *String) (*Boolean, error)
}

AccountAPIServer is the server API for AccountAPI service.

type AccountAndTypeParam

type AccountAndTypeParam struct {
	PType   string `protobuf:"bytes,1,opt,name=pType,proto3" json:"pType,omitempty"`
	Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountAndTypeParam) Descriptor deprecated

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

Deprecated: Use AccountAndTypeParam.ProtoReflect.Descriptor instead.

func (*AccountAndTypeParam) GetAccount

func (x *AccountAndTypeParam) GetAccount() string

func (*AccountAndTypeParam) GetPType

func (x *AccountAndTypeParam) GetPType() string

func (*AccountAndTypeParam) ProtoMessage

func (*AccountAndTypeParam) ProtoMessage()

func (*AccountAndTypeParam) ProtoReflect

func (x *AccountAndTypeParam) ProtoReflect() protoreflect.Message

func (*AccountAndTypeParam) Reset

func (x *AccountAndTypeParam) Reset()

func (*AccountAndTypeParam) String

func (x *AccountAndTypeParam) String() string

type AccountHistoryTopnReq

type AccountHistoryTopnReq struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Count   int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Offset  int32  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountHistoryTopnReq) Descriptor deprecated

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

Deprecated: Use AccountHistoryTopnReq.ProtoReflect.Descriptor instead.

func (*AccountHistoryTopnReq) GetAddress

func (x *AccountHistoryTopnReq) GetAddress() string

func (*AccountHistoryTopnReq) GetCount

func (x *AccountHistoryTopnReq) GetCount() int32

func (*AccountHistoryTopnReq) GetOffset

func (x *AccountHistoryTopnReq) GetOffset() int32

func (*AccountHistoryTopnReq) ProtoMessage

func (*AccountHistoryTopnReq) ProtoMessage()

func (*AccountHistoryTopnReq) ProtoReflect

func (x *AccountHistoryTopnReq) ProtoReflect() protoreflect.Message

func (*AccountHistoryTopnReq) Reset

func (x *AccountHistoryTopnReq) Reset()

func (*AccountHistoryTopnReq) String

func (x *AccountHistoryTopnReq) String() string

type AccountStateByHashRequest

type AccountStateByHashRequest struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	BlockHash string `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountStateByHashRequest) Descriptor deprecated

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

Deprecated: Use AccountStateByHashRequest.ProtoReflect.Descriptor instead.

func (*AccountStateByHashRequest) GetAddress

func (x *AccountStateByHashRequest) GetAddress() string

func (*AccountStateByHashRequest) GetBlockHash

func (x *AccountStateByHashRequest) GetBlockHash() string

func (*AccountStateByHashRequest) ProtoMessage

func (*AccountStateByHashRequest) ProtoMessage()

func (*AccountStateByHashRequest) ProtoReflect

func (*AccountStateByHashRequest) Reset

func (x *AccountStateByHashRequest) Reset()

func (*AccountStateByHashRequest) String

func (x *AccountStateByHashRequest) String() string

type AccountStateByHeightRequest

type AccountStateByHeightRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Height  uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountStateByHeightRequest) Descriptor deprecated

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

Deprecated: Use AccountStateByHeightRequest.ProtoReflect.Descriptor instead.

func (*AccountStateByHeightRequest) GetAddress

func (x *AccountStateByHeightRequest) GetAddress() string

func (*AccountStateByHeightRequest) GetHeight

func (x *AccountStateByHeightRequest) GetHeight() uint64

func (*AccountStateByHeightRequest) ProtoMessage

func (*AccountStateByHeightRequest) ProtoMessage()

func (*AccountStateByHeightRequest) ProtoReflect

func (*AccountStateByHeightRequest) Reset

func (x *AccountStateByHeightRequest) Reset()

func (*AccountStateByHeightRequest) String

func (x *AccountStateByHeightRequest) String() string

type AccountStateRequest

type AccountStateRequest struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	StateHash string `protobuf:"bytes,2,opt,name=stateHash,proto3" json:"stateHash,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountStateRequest) Descriptor deprecated

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

Deprecated: Use AccountStateRequest.ProtoReflect.Descriptor instead.

func (*AccountStateRequest) GetAddress

func (x *AccountStateRequest) GetAddress() string

func (*AccountStateRequest) GetStateHash

func (x *AccountStateRequest) GetStateHash() string

func (*AccountStateRequest) ProtoMessage

func (*AccountStateRequest) ProtoMessage()

func (*AccountStateRequest) ProtoReflect

func (x *AccountStateRequest) ProtoReflect() protoreflect.Message

func (*AccountStateRequest) Reset

func (x *AccountStateRequest) Reset()

func (*AccountStateRequest) String

func (x *AccountStateRequest) String() string

type AccountsBalanceRsp

type AccountsBalanceRsp struct {
	AccountsBalances map[string]*AccountsBalanceRspBalances `` /* 173-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AccountsBalanceRsp) Descriptor deprecated

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

Deprecated: Use AccountsBalanceRsp.ProtoReflect.Descriptor instead.

func (*AccountsBalanceRsp) GetAccountsBalances

func (x *AccountsBalanceRsp) GetAccountsBalances() map[string]*AccountsBalanceRspBalances

func (*AccountsBalanceRsp) ProtoMessage

func (*AccountsBalanceRsp) ProtoMessage()

func (*AccountsBalanceRsp) ProtoReflect

func (x *AccountsBalanceRsp) ProtoReflect() protoreflect.Message

func (*AccountsBalanceRsp) Reset

func (x *AccountsBalanceRsp) Reset()

func (*AccountsBalanceRsp) String

func (x *AccountsBalanceRsp) String() string

type AccountsBalanceRspBalances

type AccountsBalanceRspBalances struct {
	Balances map[string]*AccountsBalanceRsp_APIAccountsBalance `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AccountsBalanceRspBalances) Descriptor deprecated

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

Deprecated: Use AccountsBalanceRspBalances.ProtoReflect.Descriptor instead.

func (*AccountsBalanceRspBalances) GetBalances

func (*AccountsBalanceRspBalances) ProtoMessage

func (*AccountsBalanceRspBalances) ProtoMessage()

func (*AccountsBalanceRspBalances) ProtoReflect

func (*AccountsBalanceRspBalances) Reset

func (x *AccountsBalanceRspBalances) Reset()

func (*AccountsBalanceRspBalances) String

func (x *AccountsBalanceRspBalances) String() string

type AccountsBalanceRsp_APIAccountsBalance

type AccountsBalanceRsp_APIAccountsBalance struct {
	Balance int64 `protobuf:"varint,1,opt,name=Balance,proto3" json:"Balance,omitempty"`
	Vote    int64 `protobuf:"varint,2,opt,name=Vote,proto3" json:"Vote,omitempty"`
	Network int64 `protobuf:"varint,3,opt,name=Network,proto3" json:"Network,omitempty"`
	Storage int64 `protobuf:"varint,4,opt,name=Storage,proto3" json:"Storage,omitempty"`
	Oracle  int64 `protobuf:"varint,5,opt,name=Oracle,proto3" json:"Oracle,omitempty"`
	Pending int64 `protobuf:"varint,6,opt,name=Pending,proto3" json:"Pending,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountsBalanceRsp_APIAccountsBalance) Descriptor deprecated

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

Deprecated: Use AccountsBalanceRsp_APIAccountsBalance.ProtoReflect.Descriptor instead.

func (*AccountsBalanceRsp_APIAccountsBalance) GetBalance

func (*AccountsBalanceRsp_APIAccountsBalance) GetNetwork

func (*AccountsBalanceRsp_APIAccountsBalance) GetOracle

func (*AccountsBalanceRsp_APIAccountsBalance) GetPending

func (*AccountsBalanceRsp_APIAccountsBalance) GetStorage

func (*AccountsBalanceRsp_APIAccountsBalance) GetVote

func (*AccountsBalanceRsp_APIAccountsBalance) ProtoMessage

func (*AccountsBalanceRsp_APIAccountsBalance) ProtoMessage()

func (*AccountsBalanceRsp_APIAccountsBalance) ProtoReflect

func (*AccountsBalanceRsp_APIAccountsBalance) Reset

func (*AccountsBalanceRsp_APIAccountsBalance) String

type AccountsFrontiersRsp

type AccountsFrontiersRsp struct {
	AccountsFrontiers map[string]*AccountsFrontiersRspFrontier `` /* 175-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AccountsFrontiersRsp) Descriptor deprecated

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

Deprecated: Use AccountsFrontiersRsp.ProtoReflect.Descriptor instead.

func (*AccountsFrontiersRsp) GetAccountsFrontiers

func (x *AccountsFrontiersRsp) GetAccountsFrontiers() map[string]*AccountsFrontiersRspFrontier

func (*AccountsFrontiersRsp) ProtoMessage

func (*AccountsFrontiersRsp) ProtoMessage()

func (*AccountsFrontiersRsp) ProtoReflect

func (x *AccountsFrontiersRsp) ProtoReflect() protoreflect.Message

func (*AccountsFrontiersRsp) Reset

func (x *AccountsFrontiersRsp) Reset()

func (*AccountsFrontiersRsp) String

func (x *AccountsFrontiersRsp) String() string

type AccountsFrontiersRspFrontier

type AccountsFrontiersRspFrontier struct {
	Frontier map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AccountsFrontiersRspFrontier) Descriptor deprecated

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

Deprecated: Use AccountsFrontiersRspFrontier.ProtoReflect.Descriptor instead.

func (*AccountsFrontiersRspFrontier) GetFrontier

func (x *AccountsFrontiersRspFrontier) GetFrontier() map[string]string

func (*AccountsFrontiersRspFrontier) ProtoMessage

func (*AccountsFrontiersRspFrontier) ProtoMessage()

func (*AccountsFrontiersRspFrontier) ProtoReflect

func (*AccountsFrontiersRspFrontier) Reset

func (x *AccountsFrontiersRspFrontier) Reset()

func (*AccountsFrontiersRspFrontier) String

type AccountsPendingReq

type AccountsPendingReq struct {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	Count     int32    `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountsPendingReq) Descriptor deprecated

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

Deprecated: Use AccountsPendingReq.ProtoReflect.Descriptor instead.

func (*AccountsPendingReq) GetAddresses

func (x *AccountsPendingReq) GetAddresses() []string

func (*AccountsPendingReq) GetCount

func (x *AccountsPendingReq) GetCount() int32

func (*AccountsPendingReq) ProtoMessage

func (*AccountsPendingReq) ProtoMessage()

func (*AccountsPendingReq) ProtoReflect

func (x *AccountsPendingReq) ProtoReflect() protoreflect.Message

func (*AccountsPendingReq) Reset

func (x *AccountsPendingReq) Reset()

func (*AccountsPendingReq) String

func (x *AccountsPendingReq) String() string

type AccountsPendingRsp

type AccountsPendingRsp struct {
	AccountsPendings map[string]*APIPendings `` /* 173-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AccountsPendingRsp) Descriptor deprecated

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

Deprecated: Use AccountsPendingRsp.ProtoReflect.Descriptor instead.

func (*AccountsPendingRsp) GetAccountsPendings

func (x *AccountsPendingRsp) GetAccountsPendings() map[string]*APIPendings

func (*AccountsPendingRsp) ProtoMessage

func (*AccountsPendingRsp) ProtoMessage()

func (*AccountsPendingRsp) ProtoReflect

func (x *AccountsPendingRsp) ProtoReflect() protoreflect.Message

func (*AccountsPendingRsp) Reset

func (x *AccountsPendingRsp) Reset()

func (*AccountsPendingRsp) String

func (x *AccountsPendingRsp) String() string

type AccountsResponse

type AccountsResponse struct {
	Accounts []*Account `protobuf:"bytes,1,rep,name=Accounts,proto3" json:"Accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountsResponse) Descriptor deprecated

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

Deprecated: Use AccountsResponse.ProtoReflect.Descriptor instead.

func (*AccountsResponse) GetAccounts

func (x *AccountsResponse) GetAccounts() []*Account

func (*AccountsResponse) ProtoMessage

func (*AccountsResponse) ProtoMessage()

func (*AccountsResponse) ProtoReflect

func (x *AccountsResponse) ProtoReflect() protoreflect.Message

func (*AccountsResponse) Reset

func (x *AccountsResponse) Reset()

func (*AccountsResponse) String

func (x *AccountsResponse) String() string

type AdminUpdateParam

type AdminUpdateParam struct {
	Admin     string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	Successor string `protobuf:"bytes,2,opt,name=successor,proto3" json:"successor,omitempty"`
	Comment   string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminUpdateParam) Descriptor deprecated

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

Deprecated: Use AdminUpdateParam.ProtoReflect.Descriptor instead.

func (*AdminUpdateParam) GetAdmin

func (x *AdminUpdateParam) GetAdmin() string

func (*AdminUpdateParam) GetComment

func (x *AdminUpdateParam) GetComment() string

func (*AdminUpdateParam) GetSuccessor

func (x *AdminUpdateParam) GetSuccessor() string

func (*AdminUpdateParam) ProtoMessage

func (*AdminUpdateParam) ProtoMessage()

func (*AdminUpdateParam) ProtoReflect

func (x *AdminUpdateParam) ProtoReflect() protoreflect.Message

func (*AdminUpdateParam) Reset

func (x *AdminUpdateParam) Reset()

func (*AdminUpdateParam) String

func (x *AdminUpdateParam) String() string

type AdminUser

type AdminUser struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminUser) Descriptor deprecated

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

Deprecated: Use AdminUser.ProtoReflect.Descriptor instead.

func (*AdminUser) GetAccount

func (x *AdminUser) GetAccount() string

func (*AdminUser) GetComment

func (x *AdminUser) GetComment() string

func (*AdminUser) ProtoMessage

func (*AdminUser) ProtoMessage()

func (*AdminUser) ProtoReflect

func (x *AdminUser) ProtoReflect() protoreflect.Message

func (*AdminUser) Reset

func (x *AdminUser) Reset()

func (*AdminUser) String

func (x *AdminUser) String() string

type Asset

type Asset struct {
	Mcc         uint64       `protobuf:"varint,1,opt,name=mcc,proto3" json:"mcc,omitempty"`
	Mnc         uint64       `protobuf:"varint,2,opt,name=mnc,proto3" json:"mnc,omitempty"`
	TotalAmount uint64       `protobuf:"varint,3,opt,name=totalAmount,proto3" json:"totalAmount,omitempty"`
	Sla         []*types.SLA `protobuf:"bytes,4,rep,name=sla,proto3" json:"sla,omitempty"`
	AssetID     string       `protobuf:"bytes,5,opt,name=assetID,proto3" json:"assetID,omitempty"`
	// contains filtered or unexported fields
}

func (*Asset) Descriptor deprecated

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

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetAssetID

func (x *Asset) GetAssetID() string

func (*Asset) GetMcc

func (x *Asset) GetMcc() uint64

func (*Asset) GetMnc

func (x *Asset) GetMnc() uint64

func (*Asset) GetSla

func (x *Asset) GetSla() []*types.SLA

func (*Asset) GetTotalAmount

func (x *Asset) GetTotalAmount() uint64

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect

func (x *Asset) ProtoReflect() protoreflect.Message

func (*Asset) Reset

func (x *Asset) Reset()

func (*Asset) String

func (x *Asset) String() string

type AssetParam

type AssetParam struct {
	Owner     *types.Contractor `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Assets    []*Asset          `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"`
	SignDate  int64             `protobuf:"varint,3,opt,name=signDate,proto3" json:"signDate,omitempty"`
	StartDate int64             `protobuf:"varint,4,opt,name=startDate,proto3" json:"startDate,omitempty"`
	EndDate   int64             `protobuf:"varint,5,opt,name=endDate,proto3" json:"endDate,omitempty"`
	Status    int32             `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	Address   string            `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetParam) Descriptor deprecated

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

Deprecated: Use AssetParam.ProtoReflect.Descriptor instead.

func (*AssetParam) GetAddress

func (x *AssetParam) GetAddress() string

func (*AssetParam) GetAssets

func (x *AssetParam) GetAssets() []*Asset

func (*AssetParam) GetEndDate

func (x *AssetParam) GetEndDate() int64

func (*AssetParam) GetOwner

func (x *AssetParam) GetOwner() *types.Contractor

func (*AssetParam) GetSignDate

func (x *AssetParam) GetSignDate() int64

func (*AssetParam) GetStartDate

func (x *AssetParam) GetStartDate() int64

func (*AssetParam) GetStatus

func (x *AssetParam) GetStatus() int32

func (*AssetParam) ProtoMessage

func (*AssetParam) ProtoMessage()

func (*AssetParam) ProtoReflect

func (x *AssetParam) ProtoReflect() protoreflect.Message

func (*AssetParam) Reset

func (x *AssetParam) Reset()

func (*AssetParam) String

func (x *AssetParam) String() string

type AssetParams

type AssetParams struct {
	Params []*AssetParam `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetParams) Descriptor deprecated

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

Deprecated: Use AssetParams.ProtoReflect.Descriptor instead.

func (*AssetParams) GetParams

func (x *AssetParams) GetParams() []*AssetParam

func (*AssetParams) ProtoMessage

func (*AssetParams) ProtoMessage()

func (*AssetParams) ProtoReflect

func (x *AssetParams) ProtoReflect() protoreflect.Message

func (*AssetParams) Reset

func (x *AssetParams) Reset()

func (*AssetParams) String

func (x *AssetParams) String() string

type AssetsByOwnerRequest

type AssetsByOwnerRequest struct {
	Owner  string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Count  int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Offset int32  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetsByOwnerRequest) Descriptor deprecated

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

Deprecated: Use AssetsByOwnerRequest.ProtoReflect.Descriptor instead.

func (*AssetsByOwnerRequest) GetCount

func (x *AssetsByOwnerRequest) GetCount() int32

func (*AssetsByOwnerRequest) GetOffset

func (x *AssetsByOwnerRequest) GetOffset() int32

func (*AssetsByOwnerRequest) GetOwner

func (x *AssetsByOwnerRequest) GetOwner() string

func (*AssetsByOwnerRequest) ProtoMessage

func (*AssetsByOwnerRequest) ProtoMessage()

func (*AssetsByOwnerRequest) ProtoReflect

func (x *AssetsByOwnerRequest) ProtoReflect() protoreflect.Message

func (*AssetsByOwnerRequest) Reset

func (x *AssetsByOwnerRequest) Reset()

func (*AssetsByOwnerRequest) String

func (x *AssetsByOwnerRequest) String() string

type BeneficialPledgeRequest

type BeneficialPledgeRequest struct {
	Beneficial string `protobuf:"bytes,1,opt,name=beneficial,proto3" json:"beneficial,omitempty"`
	PType      string `protobuf:"bytes,2,opt,name=pType,proto3" json:"pType,omitempty"`
	// contains filtered or unexported fields
}

func (*BeneficialPledgeRequest) Descriptor deprecated

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

Deprecated: Use BeneficialPledgeRequest.ProtoReflect.Descriptor instead.

func (*BeneficialPledgeRequest) GetBeneficial

func (x *BeneficialPledgeRequest) GetBeneficial() string

func (*BeneficialPledgeRequest) GetPType

func (x *BeneficialPledgeRequest) GetPType() string

func (*BeneficialPledgeRequest) ProtoMessage

func (*BeneficialPledgeRequest) ProtoMessage()

func (*BeneficialPledgeRequest) ProtoReflect

func (x *BeneficialPledgeRequest) ProtoReflect() protoreflect.Message

func (*BeneficialPledgeRequest) Reset

func (x *BeneficialPledgeRequest) Reset()

func (*BeneficialPledgeRequest) String

func (x *BeneficialPledgeRequest) String() string

type BlackHoleAPIClient

type BlackHoleAPIClient interface {
	GetSendBlock(ctx context.Context, in *DestroyParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRewardsBlock(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetTotalDestroyInfo(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*types.Balance, error)
	GetDestroyInfoDetail(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*types.DestroyInfos, error)
}

BlackHoleAPIClient is the client API for BlackHoleAPI service.

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

type BlackHoleAPIServer

type BlackHoleAPIServer interface {
	GetSendBlock(context.Context, *DestroyParam) (*types.StateBlock, error)
	GetRewardsBlock(context.Context, *types.Hash) (*types.StateBlock, error)
	GetTotalDestroyInfo(context.Context, *types.Address) (*types.Balance, error)
	GetDestroyInfoDetail(context.Context, *types.Address) (*types.DestroyInfos, error)
}

BlackHoleAPIServer is the server API for BlackHoleAPI service.

type BlockByHashRequest

type BlockByHashRequest struct {
	BlockHash string `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	TxOffset  uint32 `protobuf:"varint,2,opt,name=txOffset,proto3" json:"txOffset,omitempty"`
	TxLimit   uint32 `protobuf:"varint,3,opt,name=txLimit,proto3" json:"txLimit,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockByHashRequest) Descriptor deprecated

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

Deprecated: Use BlockByHashRequest.ProtoReflect.Descriptor instead.

func (*BlockByHashRequest) GetBlockHash

func (x *BlockByHashRequest) GetBlockHash() string

func (*BlockByHashRequest) GetTxLimit

func (x *BlockByHashRequest) GetTxLimit() uint32

func (*BlockByHashRequest) GetTxOffset

func (x *BlockByHashRequest) GetTxOffset() uint32

func (*BlockByHashRequest) ProtoMessage

func (*BlockByHashRequest) ProtoMessage()

func (*BlockByHashRequest) ProtoReflect

func (x *BlockByHashRequest) ProtoReflect() protoreflect.Message

func (*BlockByHashRequest) Reset

func (x *BlockByHashRequest) Reset()

func (*BlockByHashRequest) String

func (x *BlockByHashRequest) String() string

type BlockByHeightRequest

type BlockByHeightRequest struct {
	Height   uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	TxOffset uint32 `protobuf:"varint,2,opt,name=txOffset,proto3" json:"txOffset,omitempty"`
	TxLimit  uint32 `protobuf:"varint,3,opt,name=txLimit,proto3" json:"txLimit,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockByHeightRequest) Descriptor deprecated

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

Deprecated: Use BlockByHeightRequest.ProtoReflect.Descriptor instead.

func (*BlockByHeightRequest) GetHeight

func (x *BlockByHeightRequest) GetHeight() uint64

func (*BlockByHeightRequest) GetTxLimit

func (x *BlockByHeightRequest) GetTxLimit() uint32

func (*BlockByHeightRequest) GetTxOffset

func (x *BlockByHeightRequest) GetTxOffset() uint32

func (*BlockByHeightRequest) ProtoMessage

func (*BlockByHeightRequest) ProtoMessage()

func (*BlockByHeightRequest) ProtoReflect

func (x *BlockByHeightRequest) ProtoReflect() protoreflect.Message

func (*BlockByHeightRequest) Reset

func (x *BlockByHeightRequest) Reset()

func (*BlockByHeightRequest) String

func (x *BlockByHeightRequest) String() string

type BlocksCountRsp

type BlocksCountRsp struct {
	Count map[string]uint64 `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BlocksCountRsp) Descriptor deprecated

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

Deprecated: Use BlocksCountRsp.ProtoReflect.Descriptor instead.

func (*BlocksCountRsp) GetCount

func (x *BlocksCountRsp) GetCount() map[string]uint64

func (*BlocksCountRsp) ProtoMessage

func (*BlocksCountRsp) ProtoMessage()

func (*BlocksCountRsp) ProtoReflect

func (x *BlocksCountRsp) ProtoReflect() protoreflect.Message

func (*BlocksCountRsp) Reset

func (x *BlocksCountRsp) Reset()

func (*BlocksCountRsp) String

func (x *BlocksCountRsp) String() string

type Boolean

type Boolean struct {
	Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Boolean) Descriptor deprecated

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

Deprecated: Use Boolean.ProtoReflect.Descriptor instead.

func (*Boolean) GetValue

func (x *Boolean) GetValue() bool

func (*Boolean) ProtoMessage

func (*Boolean) ProtoMessage()

func (*Boolean) ProtoReflect

func (x *Boolean) ProtoReflect() protoreflect.Message

func (*Boolean) Reset

func (x *Boolean) Reset()

func (*Boolean) String

func (x *Boolean) String() string

type Bytes

type Bytes struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Bytes) Descriptor deprecated

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

Deprecated: Use Bytes.ProtoReflect.Descriptor instead.

func (*Bytes) GetValue

func (x *Bytes) GetValue() []byte

func (*Bytes) ProtoMessage

func (*Bytes) ProtoMessage()

func (*Bytes) ProtoReflect

func (x *Bytes) ProtoReflect() protoreflect.Message

func (*Bytes) Reset

func (x *Bytes) Reset()

func (*Bytes) String

func (x *Bytes) String() string

type CDRStatus

type CDRStatus struct {
	Address string                      `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Params  map[string]*types.CDRParams `` /* 153-byte string literal not displayed */
	Status  int32                       `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*CDRStatus) Descriptor deprecated

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

Deprecated: Use CDRStatus.ProtoReflect.Descriptor instead.

func (*CDRStatus) GetAddress

func (x *CDRStatus) GetAddress() string

func (*CDRStatus) GetParams

func (x *CDRStatus) GetParams() map[string]*types.CDRParams

func (*CDRStatus) GetStatus

func (x *CDRStatus) GetStatus() int32

func (*CDRStatus) ProtoMessage

func (*CDRStatus) ProtoMessage()

func (*CDRStatus) ProtoReflect

func (x *CDRStatus) ProtoReflect() protoreflect.Message

func (*CDRStatus) Reset

func (x *CDRStatus) Reset()

func (*CDRStatus) String

func (x *CDRStatus) String() string

type CDRStatusByCdrDataRequest

type CDRStatusByCdrDataRequest struct {
	Addr        string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Index       uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	Sender      string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	Destination string `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"`
	// contains filtered or unexported fields
}

func (*CDRStatusByCdrDataRequest) Descriptor deprecated

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

Deprecated: Use CDRStatusByCdrDataRequest.ProtoReflect.Descriptor instead.

func (*CDRStatusByCdrDataRequest) GetAddr

func (x *CDRStatusByCdrDataRequest) GetAddr() string

func (*CDRStatusByCdrDataRequest) GetDestination

func (x *CDRStatusByCdrDataRequest) GetDestination() string

func (*CDRStatusByCdrDataRequest) GetIndex

func (x *CDRStatusByCdrDataRequest) GetIndex() uint64

func (*CDRStatusByCdrDataRequest) GetSender

func (x *CDRStatusByCdrDataRequest) GetSender() string

func (*CDRStatusByCdrDataRequest) ProtoMessage

func (*CDRStatusByCdrDataRequest) ProtoMessage()

func (*CDRStatusByCdrDataRequest) ProtoReflect

func (*CDRStatusByCdrDataRequest) Reset

func (x *CDRStatusByCdrDataRequest) Reset()

func (*CDRStatusByCdrDataRequest) String

func (x *CDRStatusByCdrDataRequest) String() string

type CDRStatusByDateRequest

type CDRStatusByDateRequest struct {
	Addr   string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Start  int64  `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	End    int64  `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
	Count  int32  `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	Offset int32  `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*CDRStatusByDateRequest) Descriptor deprecated

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

Deprecated: Use CDRStatusByDateRequest.ProtoReflect.Descriptor instead.

func (*CDRStatusByDateRequest) GetAddr

func (x *CDRStatusByDateRequest) GetAddr() string

func (*CDRStatusByDateRequest) GetCount

func (x *CDRStatusByDateRequest) GetCount() int32

func (*CDRStatusByDateRequest) GetEnd

func (x *CDRStatusByDateRequest) GetEnd() int64

func (*CDRStatusByDateRequest) GetOffset

func (x *CDRStatusByDateRequest) GetOffset() int32

func (*CDRStatusByDateRequest) GetStart

func (x *CDRStatusByDateRequest) GetStart() int64

func (*CDRStatusByDateRequest) ProtoMessage

func (*CDRStatusByDateRequest) ProtoMessage()

func (*CDRStatusByDateRequest) ProtoReflect

func (x *CDRStatusByDateRequest) ProtoReflect() protoreflect.Message

func (*CDRStatusByDateRequest) Reset

func (x *CDRStatusByDateRequest) Reset()

func (*CDRStatusByDateRequest) String

func (x *CDRStatusByDateRequest) String() string

type CDRStatusRequest

type CDRStatusRequest struct {
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*CDRStatusRequest) Descriptor deprecated

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

Deprecated: Use CDRStatusRequest.ProtoReflect.Descriptor instead.

func (*CDRStatusRequest) GetAddr

func (x *CDRStatusRequest) GetAddr() string

func (*CDRStatusRequest) GetHash

func (x *CDRStatusRequest) GetHash() string

func (*CDRStatusRequest) ProtoMessage

func (*CDRStatusRequest) ProtoMessage()

func (*CDRStatusRequest) ProtoReflect

func (x *CDRStatusRequest) ProtoReflect() protoreflect.Message

func (*CDRStatusRequest) Reset

func (x *CDRStatusRequest) Reset()

func (*CDRStatusRequest) String

func (x *CDRStatusRequest) String() string

type CDRStatuses

type CDRStatuses struct {
	Statuses []*CDRStatus `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
	// contains filtered or unexported fields
}

func (*CDRStatuses) Descriptor deprecated

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

Deprecated: Use CDRStatuses.ProtoReflect.Descriptor instead.

func (*CDRStatuses) GetStatuses

func (x *CDRStatuses) GetStatuses() []*CDRStatus

func (*CDRStatuses) ProtoMessage

func (*CDRStatuses) ProtoMessage()

func (*CDRStatuses) ProtoReflect

func (x *CDRStatuses) ProtoReflect() protoreflect.Message

func (*CDRStatuses) Reset

func (x *CDRStatuses) Reset()

func (*CDRStatuses) String

func (x *CDRStatuses) String() string

type ChainAPIClient

type ChainAPIClient interface {
	LedgerSize(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LedgerSizeResponse, error)
	Version(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionResponse, error)
}

ChainAPIClient is the client API for ChainAPI service.

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

func NewChainAPIClient

func NewChainAPIClient(cc grpc.ClientConnInterface) ChainAPIClient

type ChainAPIServer

type ChainAPIServer interface {
	LedgerSize(context.Context, *empty.Empty) (*LedgerSizeResponse, error)
	Version(context.Context, *empty.Empty) (*VersionResponse, error)
}

ChainAPIServer is the server API for ChainAPI service.

type ChainReq

type ChainReq struct {
	Hash  string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Count int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainReq) Descriptor deprecated

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

Deprecated: Use ChainReq.ProtoReflect.Descriptor instead.

func (*ChainReq) GetCount

func (x *ChainReq) GetCount() int32

func (*ChainReq) GetHash

func (x *ChainReq) GetHash() string

func (*ChainReq) ProtoMessage

func (*ChainReq) ProtoMessage()

func (*ChainReq) ProtoReflect

func (x *ChainReq) ProtoReflect() protoreflect.Message

func (*ChainReq) Reset

func (x *ChainReq) Reset()

func (*ChainReq) String

func (x *ChainReq) String() string

type ConfidantRewardsResponse

type ConfidantRewardsResponse struct {
	Rewards map[string]int64 `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfidantRewardsResponse) Descriptor deprecated

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

Deprecated: Use ConfidantRewardsResponse.ProtoReflect.Descriptor instead.

func (*ConfidantRewardsResponse) GetRewards

func (x *ConfidantRewardsResponse) GetRewards() map[string]int64

func (*ConfidantRewardsResponse) ProtoMessage

func (*ConfidantRewardsResponse) ProtoMessage()

func (*ConfidantRewardsResponse) ProtoReflect

func (x *ConfidantRewardsResponse) ProtoReflect() protoreflect.Message

func (*ConfidantRewardsResponse) Reset

func (x *ConfidantRewardsResponse) Reset()

func (*ConfidantRewardsResponse) String

func (x *ConfidantRewardsResponse) String() string

type ContractAPIClient

type ContractAPIClient interface {
	GetAbiByContractAddress(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*String, error)
	PackContractData(ctx context.Context, in *PackContractDataRequest, opts ...grpc.CallOption) (*Bytes, error)
	PackChainContractData(ctx context.Context, in *PackChainContractDataRequest, opts ...grpc.CallOption) (*Bytes, error)
	ContractAddressList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.Addresses, error)
	GenerateSendBlock(ctx context.Context, in *ContractSendBlockPara, opts ...grpc.CallOption) (*types.StateBlock, error)
	GenerateRewardBlock(ctx context.Context, in *ContractRewardBlockPara, opts ...grpc.CallOption) (*types.StateBlock, error)
}

ContractAPIClient is the client API for ContractAPI service.

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

type ContractAPIServer

type ContractAPIServer interface {
	GetAbiByContractAddress(context.Context, *types.Address) (*String, error)
	PackContractData(context.Context, *PackContractDataRequest) (*Bytes, error)
	PackChainContractData(context.Context, *PackChainContractDataRequest) (*Bytes, error)
	ContractAddressList(context.Context, *empty.Empty) (*types.Addresses, error)
	GenerateSendBlock(context.Context, *ContractSendBlockPara) (*types.StateBlock, error)
	GenerateRewardBlock(context.Context, *ContractRewardBlockPara) (*types.StateBlock, error)
}

ContractAPIServer is the server API for ContractAPI service.

type ContractAddressByPartyRequest

type ContractAddressByPartyRequest struct {
	Addr     string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	StopName string `protobuf:"bytes,2,opt,name=stopName,proto3" json:"stopName,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractAddressByPartyRequest) Descriptor deprecated

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

Deprecated: Use ContractAddressByPartyRequest.ProtoReflect.Descriptor instead.

func (*ContractAddressByPartyRequest) GetAddr

func (*ContractAddressByPartyRequest) GetStopName

func (x *ContractAddressByPartyRequest) GetStopName() string

func (*ContractAddressByPartyRequest) ProtoMessage

func (*ContractAddressByPartyRequest) ProtoMessage()

func (*ContractAddressByPartyRequest) ProtoReflect

func (*ContractAddressByPartyRequest) Reset

func (x *ContractAddressByPartyRequest) Reset()

func (*ContractAddressByPartyRequest) String

type ContractRewardBlockPara

type ContractRewardBlockPara struct {
	SendHash string `protobuf:"bytes,1,opt,name=sendHash,proto3" json:"sendHash,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractRewardBlockPara) Descriptor deprecated

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

Deprecated: Use ContractRewardBlockPara.ProtoReflect.Descriptor instead.

func (*ContractRewardBlockPara) GetSendHash

func (x *ContractRewardBlockPara) GetSendHash() string

func (*ContractRewardBlockPara) ProtoMessage

func (*ContractRewardBlockPara) ProtoMessage()

func (*ContractRewardBlockPara) ProtoReflect

func (x *ContractRewardBlockPara) ProtoReflect() protoreflect.Message

func (*ContractRewardBlockPara) Reset

func (x *ContractRewardBlockPara) Reset()

func (*ContractRewardBlockPara) String

func (x *ContractRewardBlockPara) String() string

type ContractSendBlockPara

type ContractSendBlockPara struct {
	Address        string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	TokenName      string   `protobuf:"bytes,2,opt,name=tokenName,proto3" json:"tokenName,omitempty"`
	To             string   `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	Amount         int64    `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	Data           []byte   `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	PrivateFrom    string   `protobuf:"bytes,6,opt,name=privateFrom,proto3" json:"privateFrom,omitempty"`
	PrivateFor     []string `protobuf:"bytes,7,rep,name=privateFor,proto3" json:"privateFor,omitempty"`
	PrivateGroupID string   `protobuf:"bytes,8,opt,name=privateGroupID,proto3" json:"privateGroupID,omitempty"`
	EnclaveKey     []byte   `protobuf:"bytes,9,opt,name=enclaveKey,proto3" json:"enclaveKey,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractSendBlockPara) Descriptor deprecated

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

Deprecated: Use ContractSendBlockPara.ProtoReflect.Descriptor instead.

func (*ContractSendBlockPara) GetAddress

func (x *ContractSendBlockPara) GetAddress() string

func (*ContractSendBlockPara) GetAmount

func (x *ContractSendBlockPara) GetAmount() int64

func (*ContractSendBlockPara) GetData

func (x *ContractSendBlockPara) GetData() []byte

func (*ContractSendBlockPara) GetEnclaveKey

func (x *ContractSendBlockPara) GetEnclaveKey() []byte

func (*ContractSendBlockPara) GetPrivateFor

func (x *ContractSendBlockPara) GetPrivateFor() []string

func (*ContractSendBlockPara) GetPrivateFrom

func (x *ContractSendBlockPara) GetPrivateFrom() string

func (*ContractSendBlockPara) GetPrivateGroupID

func (x *ContractSendBlockPara) GetPrivateGroupID() string

func (*ContractSendBlockPara) GetTo

func (x *ContractSendBlockPara) GetTo() string

func (*ContractSendBlockPara) GetTokenName

func (x *ContractSendBlockPara) GetTokenName() string

func (*ContractSendBlockPara) ProtoMessage

func (*ContractSendBlockPara) ProtoMessage()

func (*ContractSendBlockPara) ProtoReflect

func (x *ContractSendBlockPara) ProtoReflect() protoreflect.Message

func (*ContractSendBlockPara) Reset

func (x *ContractSendBlockPara) Reset()

func (*ContractSendBlockPara) String

func (x *ContractSendBlockPara) String() string

type ContractsByAddressRequest

type ContractsByAddressRequest struct {
	Addr   string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Count  int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Offset int32  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractsByAddressRequest) Descriptor deprecated

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

Deprecated: Use ContractsByAddressRequest.ProtoReflect.Descriptor instead.

func (*ContractsByAddressRequest) GetAddr

func (x *ContractsByAddressRequest) GetAddr() string

func (*ContractsByAddressRequest) GetCount

func (x *ContractsByAddressRequest) GetCount() int32

func (*ContractsByAddressRequest) GetOffset

func (x *ContractsByAddressRequest) GetOffset() int32

func (*ContractsByAddressRequest) ProtoMessage

func (*ContractsByAddressRequest) ProtoMessage()

func (*ContractsByAddressRequest) ProtoReflect

func (*ContractsByAddressRequest) Reset

func (x *ContractsByAddressRequest) Reset()

func (*ContractsByAddressRequest) String

func (x *ContractsByAddressRequest) String() string

type ContractsByStatusRequest

type ContractsByStatusRequest struct {
	Addr   string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Count  int32  `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	Offset int32  `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractsByStatusRequest) Descriptor deprecated

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

Deprecated: Use ContractsByStatusRequest.ProtoReflect.Descriptor instead.

func (*ContractsByStatusRequest) GetAddr

func (x *ContractsByStatusRequest) GetAddr() string

func (*ContractsByStatusRequest) GetCount

func (x *ContractsByStatusRequest) GetCount() int32

func (*ContractsByStatusRequest) GetOffset

func (x *ContractsByStatusRequest) GetOffset() int32

func (*ContractsByStatusRequest) GetStatus

func (x *ContractsByStatusRequest) GetStatus() string

func (*ContractsByStatusRequest) ProtoMessage

func (*ContractsByStatusRequest) ProtoMessage()

func (*ContractsByStatusRequest) ProtoReflect

func (x *ContractsByStatusRequest) ProtoReflect() protoreflect.Message

func (*ContractsByStatusRequest) Reset

func (x *ContractsByStatusRequest) Reset()

func (*ContractsByStatusRequest) String

func (x *ContractsByStatusRequest) String() string

type CreateContractParam

type CreateContractParam struct {
	PartyA    *types.Contractor        `protobuf:"bytes,1,opt,name=partyA,proto3" json:"partyA,omitempty"`
	PartyB    *types.Contractor        `protobuf:"bytes,2,opt,name=partyB,proto3" json:"partyB,omitempty"`
	Services  []*types.ContractService `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"`
	StartDate int64                    `protobuf:"varint,4,opt,name=startDate,proto3" json:"startDate,omitempty"`
	EndDate   int64                    `protobuf:"varint,5,opt,name=endDate,proto3" json:"endDate,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateContractParam) Descriptor deprecated

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

Deprecated: Use CreateContractParam.ProtoReflect.Descriptor instead.

func (*CreateContractParam) GetEndDate

func (x *CreateContractParam) GetEndDate() int64

func (*CreateContractParam) GetPartyA

func (x *CreateContractParam) GetPartyA() *types.Contractor

func (*CreateContractParam) GetPartyB

func (x *CreateContractParam) GetPartyB() *types.Contractor

func (*CreateContractParam) GetServices

func (x *CreateContractParam) GetServices() []*types.ContractService

func (*CreateContractParam) GetStartDate

func (x *CreateContractParam) GetStartDate() int64

func (*CreateContractParam) ProtoMessage

func (*CreateContractParam) ProtoMessage()

func (*CreateContractParam) ProtoReflect

func (x *CreateContractParam) ProtoReflect() protoreflect.Message

func (*CreateContractParam) Reset

func (x *CreateContractParam) Reset()

func (*CreateContractParam) String

func (x *CreateContractParam) String() string

type CreateRequest

type CreateRequest struct {
	SeedStr string `protobuf:"bytes,1,opt,name=seedStr,proto3" json:"seedStr,omitempty"`
	Index   uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated

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

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetIndex

func (x *CreateRequest) GetIndex() uint32

func (*CreateRequest) GetSeedStr

func (x *CreateRequest) GetSeedStr() string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

func (x *CreateRequest) ProtoReflect() protoreflect.Message

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type CreateResponse

type CreateResponse struct {
	Value map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateResponse) Descriptor deprecated

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

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) GetValue

func (x *CreateResponse) GetValue() map[string]string

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect

func (x *CreateResponse) ProtoReflect() protoreflect.Message

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

type DecryptRequest

type DecryptRequest struct {
	Cryptograph string `protobuf:"bytes,1,opt,name=cryptograph,proto3" json:"cryptograph,omitempty"`
	Passphrase  string `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*DecryptRequest) Descriptor deprecated

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

Deprecated: Use DecryptRequest.ProtoReflect.Descriptor instead.

func (*DecryptRequest) GetCryptograph

func (x *DecryptRequest) GetCryptograph() string

func (*DecryptRequest) GetPassphrase

func (x *DecryptRequest) GetPassphrase() string

func (*DecryptRequest) ProtoMessage

func (*DecryptRequest) ProtoMessage()

func (*DecryptRequest) ProtoReflect

func (x *DecryptRequest) ProtoReflect() protoreflect.Message

func (*DecryptRequest) Reset

func (x *DecryptRequest) Reset()

func (*DecryptRequest) String

func (x *DecryptRequest) String() string

type DestroyParam

type DestroyParam struct {
	Owner    string `protobuf:"bytes,1,opt,name=Owner,proto3" json:"Owner,omitempty"`
	Previous string `protobuf:"bytes,2,opt,name=Previous,proto3" json:"Previous,omitempty"`
	Token    string `protobuf:"bytes,3,opt,name=Token,proto3" json:"Token,omitempty"`
	Amount   int64  `protobuf:"varint,4,opt,name=Amount,proto3" json:"Amount,omitempty"`
	Sign     string `protobuf:"bytes,5,opt,name=Sign,proto3" json:"Sign,omitempty"`
	// contains filtered or unexported fields
}

func (*DestroyParam) Descriptor deprecated

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

Deprecated: Use DestroyParam.ProtoReflect.Descriptor instead.

func (*DestroyParam) GetAmount

func (x *DestroyParam) GetAmount() int64

func (*DestroyParam) GetOwner

func (x *DestroyParam) GetOwner() string

func (*DestroyParam) GetPrevious

func (x *DestroyParam) GetPrevious() string

func (*DestroyParam) GetSign

func (x *DestroyParam) GetSign() string

func (*DestroyParam) GetToken

func (x *DestroyParam) GetToken() string

func (*DestroyParam) ProtoMessage

func (*DestroyParam) ProtoMessage()

func (*DestroyParam) ProtoReflect

func (x *DestroyParam) ProtoReflect() protoreflect.Message

func (*DestroyParam) Reset

func (x *DestroyParam) Reset()

func (*DestroyParam) String

func (x *DestroyParam) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type EncryptRequest

type EncryptRequest struct {
	Raw        string `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"`
	Passphrase string `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
	// contains filtered or unexported fields
}

func (*EncryptRequest) Descriptor deprecated

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

Deprecated: Use EncryptRequest.ProtoReflect.Descriptor instead.

func (*EncryptRequest) GetPassphrase

func (x *EncryptRequest) GetPassphrase() string

func (*EncryptRequest) GetRaw

func (x *EncryptRequest) GetRaw() string

func (*EncryptRequest) ProtoMessage

func (*EncryptRequest) ProtoMessage()

func (*EncryptRequest) ProtoReflect

func (x *EncryptRequest) ProtoReflect() protoreflect.Message

func (*EncryptRequest) Reset

func (x *EncryptRequest) Reset()

func (*EncryptRequest) String

func (x *EncryptRequest) String() string

type EventBandwidthStats

type EventBandwidthStats struct {
	TotalIn  int64   `protobuf:"varint,1,opt,name=TotalIn,proto3" json:"TotalIn,omitempty"`
	TotalOut int64   `protobuf:"varint,2,opt,name=TotalOut,proto3" json:"TotalOut,omitempty"`
	RateIn   float64 `protobuf:"fixed64,3,opt,name=RateIn,proto3" json:"RateIn,omitempty"`
	RateOut  float64 `protobuf:"fixed64,4,opt,name=RateOut,proto3" json:"RateOut,omitempty"`
	// contains filtered or unexported fields
}

func (*EventBandwidthStats) Descriptor deprecated

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

Deprecated: Use EventBandwidthStats.ProtoReflect.Descriptor instead.

func (*EventBandwidthStats) GetRateIn

func (x *EventBandwidthStats) GetRateIn() float64

func (*EventBandwidthStats) GetRateOut

func (x *EventBandwidthStats) GetRateOut() float64

func (*EventBandwidthStats) GetTotalIn

func (x *EventBandwidthStats) GetTotalIn() int64

func (*EventBandwidthStats) GetTotalOut

func (x *EventBandwidthStats) GetTotalOut() int64

func (*EventBandwidthStats) ProtoMessage

func (*EventBandwidthStats) ProtoMessage()

func (*EventBandwidthStats) ProtoReflect

func (x *EventBandwidthStats) ProtoReflect() protoreflect.Message

func (*EventBandwidthStats) Reset

func (x *EventBandwidthStats) Reset()

func (*EventBandwidthStats) String

func (x *EventBandwidthStats) String() string

type Float

type Float struct {
	Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Float) Descriptor deprecated

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

Deprecated: Use Float.ProtoReflect.Descriptor instead.

func (*Float) GetValue

func (x *Float) GetValue() float32

func (*Float) ProtoMessage

func (*Float) ProtoMessage()

func (*Float) ProtoReflect

func (x *Float) ProtoReflect() protoreflect.Message

func (*Float) Reset

func (x *Float) Reset()

func (*Float) String

func (x *Float) String() string

type GenerateChangeBlockReq

type GenerateChangeBlockReq struct {
	Account        string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Representative string `protobuf:"bytes,2,opt,name=representative,proto3" json:"representative,omitempty"`
	PrkStr         string `protobuf:"bytes,3,opt,name=prkStr,proto3" json:"prkStr,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateChangeBlockReq) Descriptor deprecated

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

Deprecated: Use GenerateChangeBlockReq.ProtoReflect.Descriptor instead.

func (*GenerateChangeBlockReq) GetAccount

func (x *GenerateChangeBlockReq) GetAccount() string

func (*GenerateChangeBlockReq) GetPrkStr

func (x *GenerateChangeBlockReq) GetPrkStr() string

func (*GenerateChangeBlockReq) GetRepresentative

func (x *GenerateChangeBlockReq) GetRepresentative() string

func (*GenerateChangeBlockReq) ProtoMessage

func (*GenerateChangeBlockReq) ProtoMessage()

func (*GenerateChangeBlockReq) ProtoReflect

func (x *GenerateChangeBlockReq) ProtoReflect() protoreflect.Message

func (*GenerateChangeBlockReq) Reset

func (x *GenerateChangeBlockReq) Reset()

func (*GenerateChangeBlockReq) String

func (x *GenerateChangeBlockReq) String() string

type GenerateReceiveBlockByHashReq

type GenerateReceiveBlockByHashReq struct {
	Hash   string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	PrkStr string `protobuf:"bytes,2,opt,name=prkStr,proto3" json:"prkStr,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateReceiveBlockByHashReq) Descriptor deprecated

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

Deprecated: Use GenerateReceiveBlockByHashReq.ProtoReflect.Descriptor instead.

func (*GenerateReceiveBlockByHashReq) GetHash

func (*GenerateReceiveBlockByHashReq) GetPrkStr

func (x *GenerateReceiveBlockByHashReq) GetPrkStr() string

func (*GenerateReceiveBlockByHashReq) ProtoMessage

func (*GenerateReceiveBlockByHashReq) ProtoMessage()

func (*GenerateReceiveBlockByHashReq) ProtoReflect

func (*GenerateReceiveBlockByHashReq) Reset

func (x *GenerateReceiveBlockByHashReq) Reset()

func (*GenerateReceiveBlockByHashReq) String

type GenerateReceiveBlockReq

type GenerateReceiveBlockReq struct {
	Block  *types.StateBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	PrkStr string            `protobuf:"bytes,2,opt,name=prkStr,proto3" json:"prkStr,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateReceiveBlockReq) Descriptor deprecated

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

Deprecated: Use GenerateReceiveBlockReq.ProtoReflect.Descriptor instead.

func (*GenerateReceiveBlockReq) GetBlock

func (x *GenerateReceiveBlockReq) GetBlock() *types.StateBlock

func (*GenerateReceiveBlockReq) GetPrkStr

func (x *GenerateReceiveBlockReq) GetPrkStr() string

func (*GenerateReceiveBlockReq) ProtoMessage

func (*GenerateReceiveBlockReq) ProtoMessage()

func (*GenerateReceiveBlockReq) ProtoReflect

func (x *GenerateReceiveBlockReq) ProtoReflect() protoreflect.Message

func (*GenerateReceiveBlockReq) Reset

func (x *GenerateReceiveBlockReq) Reset()

func (*GenerateReceiveBlockReq) String

func (x *GenerateReceiveBlockReq) String() string

type GenerateSendBlockReq

type GenerateSendBlockReq struct {
	Param  *APISendBlockPara `protobuf:"bytes,1,opt,name=param,proto3" json:"param,omitempty"`
	PrkStr string            `protobuf:"bytes,2,opt,name=prkStr,proto3" json:"prkStr,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateSendBlockReq) Descriptor deprecated

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

Deprecated: Use GenerateSendBlockReq.ProtoReflect.Descriptor instead.

func (*GenerateSendBlockReq) GetParam

func (x *GenerateSendBlockReq) GetParam() *APISendBlockPara

func (*GenerateSendBlockReq) GetPrkStr

func (x *GenerateSendBlockReq) GetPrkStr() string

func (*GenerateSendBlockReq) ProtoMessage

func (*GenerateSendBlockReq) ProtoMessage()

func (*GenerateSendBlockReq) ProtoReflect

func (x *GenerateSendBlockReq) ProtoReflect() protoreflect.Message

func (*GenerateSendBlockReq) Reset

func (x *GenerateSendBlockReq) Reset()

func (*GenerateSendBlockReq) String

func (x *GenerateSendBlockReq) String() string

type HashInfoRequest

type HashInfoRequest struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Lookup uint64 `protobuf:"varint,2,opt,name=lookup,proto3" json:"lookup,omitempty"`
	// contains filtered or unexported fields
}

func (*HashInfoRequest) Descriptor deprecated

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

Deprecated: Use HashInfoRequest.ProtoReflect.Descriptor instead.

func (*HashInfoRequest) GetHeight

func (x *HashInfoRequest) GetHeight() uint64

func (*HashInfoRequest) GetLookup

func (x *HashInfoRequest) GetLookup() uint64

func (*HashInfoRequest) ProtoMessage

func (*HashInfoRequest) ProtoMessage()

func (*HashInfoRequest) ProtoReflect

func (x *HashInfoRequest) ProtoReflect() protoreflect.Message

func (*HashInfoRequest) Reset

func (x *HashInfoRequest) Reset()

func (*HashInfoRequest) String

func (x *HashInfoRequest) String() string

type HeadersByHeightRequest

type HeadersByHeightRequest struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Count  uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Asc    bool   `protobuf:"varint,3,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*HeadersByHeightRequest) Descriptor deprecated

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

Deprecated: Use HeadersByHeightRequest.ProtoReflect.Descriptor instead.

func (*HeadersByHeightRequest) GetAsc

func (x *HeadersByHeightRequest) GetAsc() bool

func (*HeadersByHeightRequest) GetCount

func (x *HeadersByHeightRequest) GetCount() uint64

func (*HeadersByHeightRequest) GetHeight

func (x *HeadersByHeightRequest) GetHeight() uint64

func (*HeadersByHeightRequest) ProtoMessage

func (*HeadersByHeightRequest) ProtoMessage()

func (*HeadersByHeightRequest) ProtoReflect

func (x *HeadersByHeightRequest) ProtoReflect() protoreflect.Message

func (*HeadersByHeightRequest) Reset

func (x *HeadersByHeightRequest) Reset()

func (*HeadersByHeightRequest) String

func (x *HeadersByHeightRequest) String() string

type IOCountersStat

type IOCountersStat struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	BytesSent   uint64 `protobuf:"varint,2,opt,name=bytesSent,proto3" json:"bytesSent,omitempty"`
	BytesRecv   uint64 `protobuf:"varint,3,opt,name=bytesRecv,proto3" json:"bytesRecv,omitempty"`
	PacketsSent uint64 `protobuf:"varint,4,opt,name=packetsSent,proto3" json:"packetsSent,omitempty"`
	PacketsRecv uint64 `protobuf:"varint,5,opt,name=packetsRecv,proto3" json:"packetsRecv,omitempty"`
	Errin       uint64 `protobuf:"varint,6,opt,name=errin,proto3" json:"errin,omitempty"`
	Errout      uint64 `protobuf:"varint,7,opt,name=errout,proto3" json:"errout,omitempty"`
	Dropin      uint64 `protobuf:"varint,8,opt,name=dropin,proto3" json:"dropin,omitempty"`
	Dropout     uint64 `protobuf:"varint,9,opt,name=dropout,proto3" json:"dropout,omitempty"`
	Fifoin      uint64 `protobuf:"varint,10,opt,name=fifoin,proto3" json:"fifoin,omitempty"`
	Fifoout     uint64 `protobuf:"varint,11,opt,name=fifoout,proto3" json:"fifoout,omitempty"`
	// contains filtered or unexported fields
}

func (*IOCountersStat) Descriptor deprecated

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

Deprecated: Use IOCountersStat.ProtoReflect.Descriptor instead.

func (*IOCountersStat) GetBytesRecv

func (x *IOCountersStat) GetBytesRecv() uint64

func (*IOCountersStat) GetBytesSent

func (x *IOCountersStat) GetBytesSent() uint64

func (*IOCountersStat) GetDropin

func (x *IOCountersStat) GetDropin() uint64

func (*IOCountersStat) GetDropout

func (x *IOCountersStat) GetDropout() uint64

func (*IOCountersStat) GetErrin

func (x *IOCountersStat) GetErrin() uint64

func (*IOCountersStat) GetErrout

func (x *IOCountersStat) GetErrout() uint64

func (*IOCountersStat) GetFifoin

func (x *IOCountersStat) GetFifoin() uint64

func (*IOCountersStat) GetFifoout

func (x *IOCountersStat) GetFifoout() uint64

func (*IOCountersStat) GetName

func (x *IOCountersStat) GetName() string

func (*IOCountersStat) GetPacketsRecv

func (x *IOCountersStat) GetPacketsRecv() uint64

func (*IOCountersStat) GetPacketsSent

func (x *IOCountersStat) GetPacketsSent() uint64

func (*IOCountersStat) ProtoMessage

func (*IOCountersStat) ProtoMessage()

func (*IOCountersStat) ProtoReflect

func (x *IOCountersStat) ProtoReflect() protoreflect.Message

func (*IOCountersStat) Reset

func (x *IOCountersStat) Reset()

func (*IOCountersStat) String

func (x *IOCountersStat) String() string

type IOCountersStats

type IOCountersStats struct {
	Stats []*IOCountersStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*IOCountersStats) Descriptor deprecated

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

Deprecated: Use IOCountersStats.ProtoReflect.Descriptor instead.

func (*IOCountersStats) GetStats

func (x *IOCountersStats) GetStats() []*IOCountersStat

func (*IOCountersStats) ProtoMessage

func (*IOCountersStats) ProtoMessage()

func (*IOCountersStats) ProtoReflect

func (x *IOCountersStats) ProtoReflect() protoreflect.Message

func (*IOCountersStats) Reset

func (x *IOCountersStats) Reset()

func (*IOCountersStats) String

func (x *IOCountersStats) String() string

type InfoStat

type InfoStat struct {
	Cpu        int32    `protobuf:"varint,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	VendorID   string   `protobuf:"bytes,2,opt,name=VendorID,proto3" json:"VendorID,omitempty"`
	Family     string   `protobuf:"bytes,3,opt,name=family,proto3" json:"family,omitempty"`
	Model      string   `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"`
	Stepping   int32    `protobuf:"varint,5,opt,name=stepping,proto3" json:"stepping,omitempty"`
	PhysicalId string   `protobuf:"bytes,6,opt,name=physicalId,proto3" json:"physicalId,omitempty"`
	CoreId     string   `protobuf:"bytes,7,opt,name=coreId,proto3" json:"coreId,omitempty"`
	Cores      int32    `protobuf:"varint,8,opt,name=cores,proto3" json:"cores,omitempty"`
	ModelName  string   `protobuf:"bytes,9,opt,name=modelName,proto3" json:"modelName,omitempty"`
	Mhz        float64  `protobuf:"fixed64,10,opt,name=mhz,proto3" json:"mhz,omitempty"`
	CacheSize  int32    `protobuf:"varint,11,opt,name=cacheSize,proto3" json:"cacheSize,omitempty"`
	Flags      []string `protobuf:"bytes,12,rep,name=flags,proto3" json:"flags,omitempty"`
	Microcode  string   `protobuf:"bytes,13,opt,name=microcode,proto3" json:"microcode,omitempty"`
	// contains filtered or unexported fields
}

func (*InfoStat) Descriptor deprecated

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

Deprecated: Use InfoStat.ProtoReflect.Descriptor instead.

func (*InfoStat) GetCacheSize

func (x *InfoStat) GetCacheSize() int32

func (*InfoStat) GetCoreId

func (x *InfoStat) GetCoreId() string

func (*InfoStat) GetCores

func (x *InfoStat) GetCores() int32

func (*InfoStat) GetCpu

func (x *InfoStat) GetCpu() int32

func (*InfoStat) GetFamily

func (x *InfoStat) GetFamily() string

func (*InfoStat) GetFlags

func (x *InfoStat) GetFlags() []string

func (*InfoStat) GetMhz

func (x *InfoStat) GetMhz() float64

func (*InfoStat) GetMicrocode

func (x *InfoStat) GetMicrocode() string

func (*InfoStat) GetModel

func (x *InfoStat) GetModel() string

func (*InfoStat) GetModelName

func (x *InfoStat) GetModelName() string

func (*InfoStat) GetPhysicalId

func (x *InfoStat) GetPhysicalId() string

func (*InfoStat) GetStepping

func (x *InfoStat) GetStepping() int32

func (*InfoStat) GetVendorID

func (x *InfoStat) GetVendorID() string

func (*InfoStat) ProtoMessage

func (*InfoStat) ProtoMessage()

func (*InfoStat) ProtoReflect

func (x *InfoStat) ProtoReflect() protoreflect.Message

func (*InfoStat) Reset

func (x *InfoStat) Reset()

func (*InfoStat) String

func (x *InfoStat) String() string

type InfoStats

type InfoStats struct {
	Stats []*InfoStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*InfoStats) Descriptor deprecated

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

Deprecated: Use InfoStats.ProtoReflect.Descriptor instead.

func (*InfoStats) GetStats

func (x *InfoStats) GetStats() []*InfoStat

func (*InfoStats) ProtoMessage

func (*InfoStats) ProtoMessage()

func (*InfoStats) ProtoReflect

func (x *InfoStats) ProtoReflect() protoreflect.Message

func (*InfoStats) Reset

func (x *InfoStats) Reset()

func (*InfoStats) String

func (x *InfoStats) String() string

type Int32

type Int32 struct {
	Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Int32) Descriptor deprecated

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

Deprecated: Use Int32.ProtoReflect.Descriptor instead.

func (*Int32) GetValue

func (x *Int32) GetValue() int32

func (*Int32) ProtoMessage

func (*Int32) ProtoMessage()

func (*Int32) ProtoReflect

func (x *Int32) ProtoReflect() protoreflect.Message

func (*Int32) Reset

func (x *Int32) Reset()

func (*Int32) String

func (x *Int32) String() string

type Int64

type Int64 struct {
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Int64) Descriptor deprecated

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

Deprecated: Use Int64.ProtoReflect.Descriptor instead.

func (*Int64) GetValue

func (x *Int64) GetValue() int64

func (*Int64) ProtoMessage

func (*Int64) ProtoMessage()

func (*Int64) ProtoReflect

func (x *Int64) ProtoReflect() protoreflect.Message

func (*Int64) Reset

func (x *Int64) Reset()

func (*Int64) String

func (x *Int64) String() string

type InvoiceRecords

type InvoiceRecords struct {
	Records []*types.InvoiceRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	// contains filtered or unexported fields
}

func (*InvoiceRecords) Descriptor deprecated

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

Deprecated: Use InvoiceRecords.ProtoReflect.Descriptor instead.

func (*InvoiceRecords) GetRecords

func (x *InvoiceRecords) GetRecords() []*types.InvoiceRecord

func (*InvoiceRecords) ProtoMessage

func (*InvoiceRecords) ProtoMessage()

func (*InvoiceRecords) ProtoReflect

func (x *InvoiceRecords) ProtoReflect() protoreflect.Message

func (*InvoiceRecords) Reset

func (x *InvoiceRecords) Reset()

func (*InvoiceRecords) String

func (x *InvoiceRecords) String() string

type InvoicesByAccountRequest

type InvoicesByAccountRequest struct {
	Addr    string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Start   int64  `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	End     int64  `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*InvoicesByAccountRequest) Descriptor deprecated

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

Deprecated: Use InvoicesByAccountRequest.ProtoReflect.Descriptor instead.

func (*InvoicesByAccountRequest) GetAccount

func (x *InvoicesByAccountRequest) GetAccount() string

func (*InvoicesByAccountRequest) GetAddr

func (x *InvoicesByAccountRequest) GetAddr() string

func (*InvoicesByAccountRequest) GetEnd

func (x *InvoicesByAccountRequest) GetEnd() int64

func (*InvoicesByAccountRequest) GetStart

func (x *InvoicesByAccountRequest) GetStart() int64

func (*InvoicesByAccountRequest) ProtoMessage

func (*InvoicesByAccountRequest) ProtoMessage()

func (*InvoicesByAccountRequest) ProtoReflect

func (x *InvoicesByAccountRequest) ProtoReflect() protoreflect.Message

func (*InvoicesByAccountRequest) Reset

func (x *InvoicesByAccountRequest) Reset()

func (*InvoicesByAccountRequest) String

func (x *InvoicesByAccountRequest) String() string

type InvoicesByCustomerRequest

type InvoicesByCustomerRequest struct {
	Addr     string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Customer string `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"`
	Start    int64  `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	End      int64  `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*InvoicesByCustomerRequest) Descriptor deprecated

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

Deprecated: Use InvoicesByCustomerRequest.ProtoReflect.Descriptor instead.

func (*InvoicesByCustomerRequest) GetAddr

func (x *InvoicesByCustomerRequest) GetAddr() string

func (*InvoicesByCustomerRequest) GetCustomer

func (x *InvoicesByCustomerRequest) GetCustomer() string

func (*InvoicesByCustomerRequest) GetEnd

func (x *InvoicesByCustomerRequest) GetEnd() int64

func (*InvoicesByCustomerRequest) GetStart

func (x *InvoicesByCustomerRequest) GetStart() int64

func (*InvoicesByCustomerRequest) ProtoMessage

func (*InvoicesByCustomerRequest) ProtoMessage()

func (*InvoicesByCustomerRequest) ProtoReflect

func (*InvoicesByCustomerRequest) Reset

func (x *InvoicesByCustomerRequest) Reset()

func (*InvoicesByCustomerRequest) String

func (x *InvoicesByCustomerRequest) String() string

type InvoicesRequest

type InvoicesRequest struct {
	Addr  string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Start int64  `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	End   int64  `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*InvoicesRequest) Descriptor deprecated

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

Deprecated: Use InvoicesRequest.ProtoReflect.Descriptor instead.

func (*InvoicesRequest) GetAddr

func (x *InvoicesRequest) GetAddr() string

func (*InvoicesRequest) GetEnd

func (x *InvoicesRequest) GetEnd() int64

func (*InvoicesRequest) GetStart

func (x *InvoicesRequest) GetStart() int64

func (*InvoicesRequest) ProtoMessage

func (*InvoicesRequest) ProtoMessage()

func (*InvoicesRequest) ProtoReflect

func (x *InvoicesRequest) ProtoReflect() protoreflect.Message

func (*InvoicesRequest) Reset

func (x *InvoicesRequest) Reset()

func (*InvoicesRequest) String

func (x *InvoicesRequest) String() string

type LastNHourInfoRequest

type LastNHourInfoRequest struct {
	EndHeight uint64 `protobuf:"varint,1,opt,name=endHeight,proto3" json:"endHeight,omitempty"`
	TimeSpan  uint32 `protobuf:"varint,2,opt,name=timeSpan,proto3" json:"timeSpan,omitempty"`
	// contains filtered or unexported fields
}

func (*LastNHourInfoRequest) Descriptor deprecated

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

Deprecated: Use LastNHourInfoRequest.ProtoReflect.Descriptor instead.

func (*LastNHourInfoRequest) GetEndHeight

func (x *LastNHourInfoRequest) GetEndHeight() uint64

func (*LastNHourInfoRequest) GetTimeSpan

func (x *LastNHourInfoRequest) GetTimeSpan() uint32

func (*LastNHourInfoRequest) ProtoMessage

func (*LastNHourInfoRequest) ProtoMessage()

func (*LastNHourInfoRequest) ProtoReflect

func (x *LastNHourInfoRequest) ProtoReflect() protoreflect.Message

func (*LastNHourInfoRequest) Reset

func (x *LastNHourInfoRequest) Reset()

func (*LastNHourInfoRequest) String

func (x *LastNHourInfoRequest) String() string

type LatestBlockRequest

type LatestBlockRequest struct {
	TxLimit  uint32 `protobuf:"varint,1,opt,name=txLimit,proto3" json:"txLimit,omitempty"`
	TxOffset uint32 `protobuf:"varint,2,opt,name=txOffset,proto3" json:"txOffset,omitempty"`
	// contains filtered or unexported fields
}

func (*LatestBlockRequest) Descriptor deprecated

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

Deprecated: Use LatestBlockRequest.ProtoReflect.Descriptor instead.

func (*LatestBlockRequest) GetTxLimit

func (x *LatestBlockRequest) GetTxLimit() uint32

func (*LatestBlockRequest) GetTxOffset

func (x *LatestBlockRequest) GetTxOffset() uint32

func (*LatestBlockRequest) ProtoMessage

func (*LatestBlockRequest) ProtoMessage()

func (*LatestBlockRequest) ProtoReflect

func (x *LatestBlockRequest) ProtoReflect() protoreflect.Message

func (*LatestBlockRequest) Reset

func (x *LatestBlockRequest) Reset()

func (*LatestBlockRequest) String

func (x *LatestBlockRequest) String() string

type LedgerAPIClient

type LedgerAPIClient interface {
	AccountBlocksCount(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*Int64, error)
	AccountHistoryTopn(ctx context.Context, in *AccountHistoryTopnReq, opts ...grpc.CallOption) (*APIBlocks, error)
	AccountInfo(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*APIAccount, error)
	ConfirmedAccountInfo(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*APIAccount, error)
	AccountRepresentative(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*types.Address, error)
	AccountVotingWeight(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*types.Balance, error)
	AccountsBalance(ctx context.Context, in *types.Addresses, opts ...grpc.CallOption) (*AccountsBalanceRsp, error)
	AccountsFrontiers(ctx context.Context, in *types.Addresses, opts ...grpc.CallOption) (*AccountsFrontiersRsp, error)
	AccountsPending(ctx context.Context, in *AccountsPendingReq, opts ...grpc.CallOption) (*AccountsPendingRsp, error)
	AccountsCount(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UInt64, error)
	Accounts(ctx context.Context, in *Offset, opts ...grpc.CallOption) (*types.Addresses, error)
	BlockAccount(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*types.Address, error)
	BlockConfirmedStatus(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*Boolean, error)
	BlockHash(ctx context.Context, in *types.StateBlock, opts ...grpc.CallOption) (*types.Hash, error)
	BlocksCount(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BlocksCountRsp, error)
	BlocksCount2(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BlocksCountRsp, error)
	BlocksCountByType(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BlocksCountRsp, error)
	BlocksInfo(ctx context.Context, in *types.Hashes, opts ...grpc.CallOption) (*APIBlocks, error)
	ConfirmedBlocksInfo(ctx context.Context, in *types.Hashes, opts ...grpc.CallOption) (*APIBlocks, error)
	Blocks(ctx context.Context, in *Offset, opts ...grpc.CallOption) (*APIBlocks, error)
	Chain(ctx context.Context, in *ChainReq, opts ...grpc.CallOption) (*types.Hashes, error)
	Delegators(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*APIAccountBalances, error)
	DelegatorsCount(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*Int64, error)
	Pendings(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*APIPendings, error)
	Representatives(ctx context.Context, in *Boolean, opts ...grpc.CallOption) (*APIRepresentatives, error)
	Tokens(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.TokenInfos, error)
	TransactionsCount(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BlocksCountRsp, error)
	TokenInfoById(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*types.TokenInfo, error)
	TokenInfoByName(ctx context.Context, in *String, opts ...grpc.CallOption) (*types.TokenInfo, error)
	GetAccountOnlineBlock(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*types.StateBlocks, error)
	GenesisAddress(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.Address, error)
	GasAddress(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.Address, error)
	ChainToken(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.Hash, error)
	GasToken(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.Hash, error)
	GenesisMintageBlock(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.StateBlock, error)
	GenesisMintageHash(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.Hash, error)
	GenesisBlock(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.StateBlock, error)
	GenesisBlockHash(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.Hash, error)
	GasBlockHash(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.Hash, error)
	GasMintageBlock(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.StateBlock, error)
	GasBlock(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.StateBlock, error)
	IsGenesisBlock(ctx context.Context, in *types.StateBlock, opts ...grpc.CallOption) (*Boolean, error)
	IsGenesisToken(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*Boolean, error)
	AllGenesisBlocks(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.StateBlocks, error)
	GenerateSendBlock(ctx context.Context, in *GenerateSendBlockReq, opts ...grpc.CallOption) (*types.StateBlock, error)
	GenerateReceiveBlock(ctx context.Context, in *GenerateReceiveBlockReq, opts ...grpc.CallOption) (*types.StateBlock, error)
	GenerateReceiveBlockByHash(ctx context.Context, in *GenerateReceiveBlockByHashReq, opts ...grpc.CallOption) (*types.StateBlock, error)
	GenerateChangeBlock(ctx context.Context, in *GenerateChangeBlockReq, opts ...grpc.CallOption) (*types.StateBlock, error)
	Process(ctx context.Context, in *types.StateBlock, opts ...grpc.CallOption) (*types.Hash, error)
	NewBlock(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (LedgerAPI_NewBlockClient, error)
	NewAccountBlock(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (LedgerAPI_NewAccountBlockClient, error)
	BalanceChange(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (LedgerAPI_BalanceChangeClient, error)
	NewPending(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (LedgerAPI_NewPendingClient, error)
}

LedgerAPIClient is the client API for LedgerAPI service.

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

func NewLedgerAPIClient

func NewLedgerAPIClient(cc grpc.ClientConnInterface) LedgerAPIClient

type LedgerAPIServer

type LedgerAPIServer interface {
	AccountBlocksCount(context.Context, *types.Address) (*Int64, error)
	AccountHistoryTopn(context.Context, *AccountHistoryTopnReq) (*APIBlocks, error)
	AccountInfo(context.Context, *types.Address) (*APIAccount, error)
	ConfirmedAccountInfo(context.Context, *types.Address) (*APIAccount, error)
	AccountRepresentative(context.Context, *types.Address) (*types.Address, error)
	AccountVotingWeight(context.Context, *types.Address) (*types.Balance, error)
	AccountsBalance(context.Context, *types.Addresses) (*AccountsBalanceRsp, error)
	AccountsFrontiers(context.Context, *types.Addresses) (*AccountsFrontiersRsp, error)
	AccountsPending(context.Context, *AccountsPendingReq) (*AccountsPendingRsp, error)
	AccountsCount(context.Context, *empty.Empty) (*UInt64, error)
	Accounts(context.Context, *Offset) (*types.Addresses, error)
	BlockAccount(context.Context, *types.Hash) (*types.Address, error)
	BlockConfirmedStatus(context.Context, *types.Hash) (*Boolean, error)
	BlockHash(context.Context, *types.StateBlock) (*types.Hash, error)
	BlocksCount(context.Context, *empty.Empty) (*BlocksCountRsp, error)
	BlocksCount2(context.Context, *empty.Empty) (*BlocksCountRsp, error)
	BlocksCountByType(context.Context, *empty.Empty) (*BlocksCountRsp, error)
	BlocksInfo(context.Context, *types.Hashes) (*APIBlocks, error)
	ConfirmedBlocksInfo(context.Context, *types.Hashes) (*APIBlocks, error)
	Blocks(context.Context, *Offset) (*APIBlocks, error)
	Chain(context.Context, *ChainReq) (*types.Hashes, error)
	Delegators(context.Context, *types.Address) (*APIAccountBalances, error)
	DelegatorsCount(context.Context, *types.Address) (*Int64, error)
	Pendings(context.Context, *empty.Empty) (*APIPendings, error)
	Representatives(context.Context, *Boolean) (*APIRepresentatives, error)
	Tokens(context.Context, *empty.Empty) (*types.TokenInfos, error)
	TransactionsCount(context.Context, *empty.Empty) (*BlocksCountRsp, error)
	TokenInfoById(context.Context, *types.Hash) (*types.TokenInfo, error)
	TokenInfoByName(context.Context, *String) (*types.TokenInfo, error)
	GetAccountOnlineBlock(context.Context, *types.Address) (*types.StateBlocks, error)
	GenesisAddress(context.Context, *empty.Empty) (*types.Address, error)
	GasAddress(context.Context, *empty.Empty) (*types.Address, error)
	ChainToken(context.Context, *empty.Empty) (*types.Hash, error)
	GasToken(context.Context, *empty.Empty) (*types.Hash, error)
	GenesisMintageBlock(context.Context, *empty.Empty) (*types.StateBlock, error)
	GenesisMintageHash(context.Context, *empty.Empty) (*types.Hash, error)
	GenesisBlock(context.Context, *empty.Empty) (*types.StateBlock, error)
	GenesisBlockHash(context.Context, *empty.Empty) (*types.Hash, error)
	GasBlockHash(context.Context, *empty.Empty) (*types.Hash, error)
	GasMintageBlock(context.Context, *empty.Empty) (*types.StateBlock, error)
	GasBlock(context.Context, *empty.Empty) (*types.StateBlock, error)
	IsGenesisBlock(context.Context, *types.StateBlock) (*Boolean, error)
	IsGenesisToken(context.Context, *types.Hash) (*Boolean, error)
	AllGenesisBlocks(context.Context, *empty.Empty) (*types.StateBlocks, error)
	GenerateSendBlock(context.Context, *GenerateSendBlockReq) (*types.StateBlock, error)
	GenerateReceiveBlock(context.Context, *GenerateReceiveBlockReq) (*types.StateBlock, error)
	GenerateReceiveBlockByHash(context.Context, *GenerateReceiveBlockByHashReq) (*types.StateBlock, error)
	GenerateChangeBlock(context.Context, *GenerateChangeBlockReq) (*types.StateBlock, error)
	Process(context.Context, *types.StateBlock) (*types.Hash, error)
	NewBlock(*empty.Empty, LedgerAPI_NewBlockServer) error
	NewAccountBlock(*types.Address, LedgerAPI_NewAccountBlockServer) error
	BalanceChange(*types.Address, LedgerAPI_BalanceChangeServer) error
	NewPending(*types.Address, LedgerAPI_NewPendingServer) error
}

LedgerAPIServer is the server API for LedgerAPI service.

type LedgerAPI_BalanceChangeClient

type LedgerAPI_BalanceChangeClient interface {
	Recv() (*APIAccount, error)
	grpc.ClientStream
}

type LedgerAPI_BalanceChangeServer

type LedgerAPI_BalanceChangeServer interface {
	Send(*APIAccount) error
	grpc.ServerStream
}

type LedgerAPI_NewAccountBlockClient

type LedgerAPI_NewAccountBlockClient interface {
	Recv() (*APIBlock, error)
	grpc.ClientStream
}

type LedgerAPI_NewAccountBlockServer

type LedgerAPI_NewAccountBlockServer interface {
	Send(*APIBlock) error
	grpc.ServerStream
}

type LedgerAPI_NewBlockClient

type LedgerAPI_NewBlockClient interface {
	Recv() (*APIBlock, error)
	grpc.ClientStream
}

type LedgerAPI_NewBlockServer

type LedgerAPI_NewBlockServer interface {
	Send(*APIBlock) error
	grpc.ServerStream
}

type LedgerAPI_NewPendingClient

type LedgerAPI_NewPendingClient interface {
	Recv() (*APIPending, error)
	grpc.ClientStream
}

type LedgerAPI_NewPendingServer

type LedgerAPI_NewPendingServer interface {
	Send(*APIPending) error
	grpc.ServerStream
}

type LedgerSizeResponse

type LedgerSizeResponse struct {
	Size map[string]int64 `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LedgerSizeResponse) Descriptor deprecated

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

Deprecated: Use LedgerSizeResponse.ProtoReflect.Descriptor instead.

func (*LedgerSizeResponse) GetSize

func (x *LedgerSizeResponse) GetSize() map[string]int64

func (*LedgerSizeResponse) ProtoMessage

func (*LedgerSizeResponse) ProtoMessage()

func (*LedgerSizeResponse) ProtoReflect

func (x *LedgerSizeResponse) ProtoReflect() protoreflect.Message

func (*LedgerSizeResponse) Reset

func (x *LedgerSizeResponse) Reset()

func (*LedgerSizeResponse) String

func (x *LedgerSizeResponse) String() string

type MetricsAPIClient

type MetricsAPIClient interface {
	GetCPUInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*InfoStats, error)
	GetAllCPUTimeStats(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*TimesStats, error)
	GetCPUTimeStats(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*TimesStats, error)
	DiskInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UsageStat, error)
	GetNetworkInterfaces(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*IOCountersStats, error)
}

MetricsAPIClient is the client API for MetricsAPI service.

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

func NewMetricsAPIClient

func NewMetricsAPIClient(cc grpc.ClientConnInterface) MetricsAPIClient

type MetricsAPIServer

type MetricsAPIServer interface {
	GetCPUInfo(context.Context, *empty.Empty) (*InfoStats, error)
	GetAllCPUTimeStats(context.Context, *empty.Empty) (*TimesStats, error)
	GetCPUTimeStats(context.Context, *empty.Empty) (*TimesStats, error)
	DiskInfo(context.Context, *empty.Empty) (*UsageStat, error)
	GetNetworkInterfaces(context.Context, *empty.Empty) (*IOCountersStats, error)
}

MetricsAPIServer is the server API for MetricsAPI service.

type MinerAPIClient

type MinerAPIClient interface {
	GetRewardData(ctx context.Context, in *RewardParam, opts ...grpc.CallOption) (*Bytes, error)
	UnpackRewardData(ctx context.Context, in *Bytes, opts ...grpc.CallOption) (*RewardParam, error)
	GetAvailRewardInfo(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*MinerAvailRewardInfo, error)
	GetRewardSendBlock(ctx context.Context, in *RewardParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRewardRecvBlock(ctx context.Context, in *types.StateBlock, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRewardRecvBlockBySendHash(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRewardHistory(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*MinerHistoryRewardInfo, error)
}

MinerAPIClient is the client API for MinerAPI service.

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

func NewMinerAPIClient

func NewMinerAPIClient(cc grpc.ClientConnInterface) MinerAPIClient

type MinerAPIServer

type MinerAPIServer interface {
	GetRewardData(context.Context, *RewardParam) (*Bytes, error)
	UnpackRewardData(context.Context, *Bytes) (*RewardParam, error)
	GetAvailRewardInfo(context.Context, *types.Address) (*MinerAvailRewardInfo, error)
	GetRewardSendBlock(context.Context, *RewardParam) (*types.StateBlock, error)
	GetRewardRecvBlock(context.Context, *types.StateBlock) (*types.StateBlock, error)
	GetRewardRecvBlockBySendHash(context.Context, *types.Hash) (*types.StateBlock, error)
	GetRewardHistory(context.Context, *types.Address) (*MinerHistoryRewardInfo, error)
}

MinerAPIServer is the server API for MinerAPI service.

type MinerAvailRewardInfo

type MinerAvailRewardInfo struct {
	LastEndHeight     uint64 `protobuf:"varint,1,opt,name=lastEndHeight,proto3" json:"lastEndHeight,omitempty"`
	LatestBlockHeight uint64 `protobuf:"varint,2,opt,name=latestBlockHeight,proto3" json:"latestBlockHeight,omitempty"`
	NodeRewardHeight  uint64 `protobuf:"varint,3,opt,name=nodeRewardHeight,proto3" json:"nodeRewardHeight,omitempty"`
	AvailStartHeight  uint64 `protobuf:"varint,4,opt,name=availStartHeight,proto3" json:"availStartHeight,omitempty"`
	AvailEndHeight    uint64 `protobuf:"varint,5,opt,name=availEndHeight,proto3" json:"availEndHeight,omitempty"`
	AvailRewardBlocks uint64 `protobuf:"varint,6,opt,name=availRewardBlocks,proto3" json:"availRewardBlocks,omitempty"`
	AvailRewardAmount int64  `protobuf:"varint,7,opt,name=availRewardAmount,proto3" json:"availRewardAmount,omitempty"`
	NeedCallReward    bool   `protobuf:"varint,8,opt,name=needCallReward,proto3" json:"needCallReward,omitempty"`
	// contains filtered or unexported fields
}

func (*MinerAvailRewardInfo) Descriptor deprecated

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

Deprecated: Use MinerAvailRewardInfo.ProtoReflect.Descriptor instead.

func (*MinerAvailRewardInfo) GetAvailEndHeight

func (x *MinerAvailRewardInfo) GetAvailEndHeight() uint64

func (*MinerAvailRewardInfo) GetAvailRewardAmount

func (x *MinerAvailRewardInfo) GetAvailRewardAmount() int64

func (*MinerAvailRewardInfo) GetAvailRewardBlocks

func (x *MinerAvailRewardInfo) GetAvailRewardBlocks() uint64

func (*MinerAvailRewardInfo) GetAvailStartHeight

func (x *MinerAvailRewardInfo) GetAvailStartHeight() uint64

func (*MinerAvailRewardInfo) GetLastEndHeight

func (x *MinerAvailRewardInfo) GetLastEndHeight() uint64

func (*MinerAvailRewardInfo) GetLatestBlockHeight

func (x *MinerAvailRewardInfo) GetLatestBlockHeight() uint64

func (*MinerAvailRewardInfo) GetNeedCallReward

func (x *MinerAvailRewardInfo) GetNeedCallReward() bool

func (*MinerAvailRewardInfo) GetNodeRewardHeight

func (x *MinerAvailRewardInfo) GetNodeRewardHeight() uint64

func (*MinerAvailRewardInfo) ProtoMessage

func (*MinerAvailRewardInfo) ProtoMessage()

func (*MinerAvailRewardInfo) ProtoReflect

func (x *MinerAvailRewardInfo) ProtoReflect() protoreflect.Message

func (*MinerAvailRewardInfo) Reset

func (x *MinerAvailRewardInfo) Reset()

func (*MinerAvailRewardInfo) String

func (x *MinerAvailRewardInfo) String() string

type MinerHistoryRewardInfo

type MinerHistoryRewardInfo struct {
	LastEndHeight  uint64 `protobuf:"varint,1,opt,name=lastEndHeight,proto3" json:"lastEndHeight,omitempty"`
	RewardBlocks   uint64 `protobuf:"varint,2,opt,name=rewardBlocks,proto3" json:"rewardBlocks,omitempty"`
	RewardAmount   int64  `protobuf:"varint,3,opt,name=rewardAmount,proto3" json:"rewardAmount,omitempty"`
	LastRewardTime int64  `protobuf:"varint,4,opt,name=lastRewardTime,proto3" json:"lastRewardTime,omitempty"`
	// contains filtered or unexported fields
}

func (*MinerHistoryRewardInfo) Descriptor deprecated

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

Deprecated: Use MinerHistoryRewardInfo.ProtoReflect.Descriptor instead.

func (*MinerHistoryRewardInfo) GetLastEndHeight

func (x *MinerHistoryRewardInfo) GetLastEndHeight() uint64

func (*MinerHistoryRewardInfo) GetLastRewardTime

func (x *MinerHistoryRewardInfo) GetLastRewardTime() int64

func (*MinerHistoryRewardInfo) GetRewardAmount

func (x *MinerHistoryRewardInfo) GetRewardAmount() int64

func (*MinerHistoryRewardInfo) GetRewardBlocks

func (x *MinerHistoryRewardInfo) GetRewardBlocks() uint64

func (*MinerHistoryRewardInfo) ProtoMessage

func (*MinerHistoryRewardInfo) ProtoMessage()

func (*MinerHistoryRewardInfo) ProtoReflect

func (x *MinerHistoryRewardInfo) ProtoReflect() protoreflect.Message

func (*MinerHistoryRewardInfo) Reset

func (x *MinerHistoryRewardInfo) Reset()

func (*MinerHistoryRewardInfo) String

func (x *MinerHistoryRewardInfo) String() string

type MintageAPIClient

type MintageAPIClient interface {
	GetMintageData(ctx context.Context, in *MintageParams, opts ...grpc.CallOption) (*Bytes, error)
	GetMintageBlock(ctx context.Context, in *MintageParams, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRewardBlock(ctx context.Context, in *types.StateBlock, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetWithdrawMintageData(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*Bytes, error)
	ParseTokenInfo(ctx context.Context, in *Bytes, opts ...grpc.CallOption) (*types.TokenInfo, error)
	GetWithdrawMintageBlock(ctx context.Context, in *WithdrawParams, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetWithdrawRewardBlock(ctx context.Context, in *types.StateBlock, opts ...grpc.CallOption) (*types.StateBlock, error)
}

MintageAPIClient is the client API for MintageAPI service.

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

func NewMintageAPIClient

func NewMintageAPIClient(cc grpc.ClientConnInterface) MintageAPIClient

type MintageAPIServer

type MintageAPIServer interface {
	GetMintageData(context.Context, *MintageParams) (*Bytes, error)
	GetMintageBlock(context.Context, *MintageParams) (*types.StateBlock, error)
	GetRewardBlock(context.Context, *types.StateBlock) (*types.StateBlock, error)
	GetWithdrawMintageData(context.Context, *types.Hash) (*Bytes, error)
	ParseTokenInfo(context.Context, *Bytes) (*types.TokenInfo, error)
	GetWithdrawMintageBlock(context.Context, *WithdrawParams) (*types.StateBlock, error)
	GetWithdrawRewardBlock(context.Context, *types.StateBlock) (*types.StateBlock, error)
}

MintageAPIServer is the server API for MintageAPI service.

type MintageParams

type MintageParams struct {
	SelfAddr    string `protobuf:"bytes,1,opt,name=SelfAddr,proto3" json:"SelfAddr,omitempty"`
	PrevHash    string `protobuf:"bytes,2,opt,name=PrevHash,proto3" json:"PrevHash,omitempty"`
	TokenName   string `protobuf:"bytes,3,opt,name=TokenName,proto3" json:"TokenName,omitempty"`
	TokenSymbol string `protobuf:"bytes,4,opt,name=TokenSymbol,proto3" json:"TokenSymbol,omitempty"`
	TotalSupply string `protobuf:"bytes,5,opt,name=TotalSupply,proto3" json:"TotalSupply,omitempty"`
	Decimals    int32  `protobuf:"varint,6,opt,name=Decimals,proto3" json:"Decimals,omitempty"`
	Beneficial  string `protobuf:"bytes,7,opt,name=Beneficial,proto3" json:"Beneficial,omitempty"`
	NEP5TxId    string `protobuf:"bytes,8,opt,name=NEP5TxId,proto3" json:"NEP5TxId,omitempty"`
	// contains filtered or unexported fields
}

func (*MintageParams) Descriptor deprecated

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

Deprecated: Use MintageParams.ProtoReflect.Descriptor instead.

func (*MintageParams) GetBeneficial

func (x *MintageParams) GetBeneficial() string

func (*MintageParams) GetDecimals

func (x *MintageParams) GetDecimals() int32

func (*MintageParams) GetNEP5TxId

func (x *MintageParams) GetNEP5TxId() string

func (*MintageParams) GetPrevHash

func (x *MintageParams) GetPrevHash() string

func (*MintageParams) GetSelfAddr

func (x *MintageParams) GetSelfAddr() string

func (*MintageParams) GetTokenName

func (x *MintageParams) GetTokenName() string

func (*MintageParams) GetTokenSymbol

func (x *MintageParams) GetTokenSymbol() string

func (*MintageParams) GetTotalSupply

func (x *MintageParams) GetTotalSupply() string

func (*MintageParams) ProtoMessage

func (*MintageParams) ProtoMessage()

func (*MintageParams) ProtoReflect

func (x *MintageParams) ProtoReflect() protoreflect.Message

func (*MintageParams) Reset

func (x *MintageParams) Reset()

func (*MintageParams) String

func (x *MintageParams) String() string

type MultiPartyCDRStatusRequest

type MultiPartyCDRStatusRequest struct {
	FirstAddr  string `protobuf:"bytes,1,opt,name=firstAddr,proto3" json:"firstAddr,omitempty"`
	SecondAddr string `protobuf:"bytes,2,opt,name=secondAddr,proto3" json:"secondAddr,omitempty"`
	Count      int32  `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	Offset     int32  `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiPartyCDRStatusRequest) Descriptor deprecated

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

Deprecated: Use MultiPartyCDRStatusRequest.ProtoReflect.Descriptor instead.

func (*MultiPartyCDRStatusRequest) GetCount

func (x *MultiPartyCDRStatusRequest) GetCount() int32

func (*MultiPartyCDRStatusRequest) GetFirstAddr

func (x *MultiPartyCDRStatusRequest) GetFirstAddr() string

func (*MultiPartyCDRStatusRequest) GetOffset

func (x *MultiPartyCDRStatusRequest) GetOffset() int32

func (*MultiPartyCDRStatusRequest) GetSecondAddr

func (x *MultiPartyCDRStatusRequest) GetSecondAddr() string

func (*MultiPartyCDRStatusRequest) ProtoMessage

func (*MultiPartyCDRStatusRequest) ProtoMessage()

func (*MultiPartyCDRStatusRequest) ProtoReflect

func (*MultiPartyCDRStatusRequest) Reset

func (x *MultiPartyCDRStatusRequest) Reset()

func (*MultiPartyCDRStatusRequest) String

func (x *MultiPartyCDRStatusRequest) String() string

type MultiPartyInvoiceRequest

type MultiPartyInvoiceRequest struct {
	FirstAddr  string `protobuf:"bytes,1,opt,name=firstAddr,proto3" json:"firstAddr,omitempty"`
	SecondAddr string `protobuf:"bytes,2,opt,name=secondAddr,proto3" json:"secondAddr,omitempty"`
	Start      int64  `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	End        int64  `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiPartyInvoiceRequest) Descriptor deprecated

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

Deprecated: Use MultiPartyInvoiceRequest.ProtoReflect.Descriptor instead.

func (*MultiPartyInvoiceRequest) GetEnd

func (x *MultiPartyInvoiceRequest) GetEnd() int64

func (*MultiPartyInvoiceRequest) GetFirstAddr

func (x *MultiPartyInvoiceRequest) GetFirstAddr() string

func (*MultiPartyInvoiceRequest) GetSecondAddr

func (x *MultiPartyInvoiceRequest) GetSecondAddr() string

func (*MultiPartyInvoiceRequest) GetStart

func (x *MultiPartyInvoiceRequest) GetStart() int64

func (*MultiPartyInvoiceRequest) ProtoMessage

func (*MultiPartyInvoiceRequest) ProtoMessage()

func (*MultiPartyInvoiceRequest) ProtoReflect

func (x *MultiPartyInvoiceRequest) ProtoReflect() protoreflect.Message

func (*MultiPartyInvoiceRequest) Reset

func (x *MultiPartyInvoiceRequest) Reset()

func (*MultiPartyInvoiceRequest) String

func (x *MultiPartyInvoiceRequest) String() string

type NEP5PledgeAPIClient

type NEP5PledgeAPIClient interface {
	GetPledgeData(ctx context.Context, in *PledgeParam, opts ...grpc.CallOption) (*Bytes, error)
	GetPledgeBlock(ctx context.Context, in *PledgeParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetPledgeRewardBlock(ctx context.Context, in *types.StateBlock, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetPledgeRewardBlockBySendHash(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetWithdrawPledgeData(ctx context.Context, in *WithdrawPledgeParam, opts ...grpc.CallOption) (*Bytes, error)
	GetWithdrawPledgeBlock(ctx context.Context, in *WithdrawPledgeParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetWithdrawRewardBlock(ctx context.Context, in *types.StateBlock, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetWithdrawRewardBlockBySendHash(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*types.StateBlock, error)
	ParsePledgeInfo(ctx context.Context, in *Bytes, opts ...grpc.CallOption) (*types.NEP5PledgeInfo, error)
	GetPledgeInfosByPledgeAddress(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*PledgeInfos, error)
	GetPledgeBeneficialTotalAmount(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*Int64, error)
	GetBeneficialPledgeInfosByAddress(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*PledgeInfos, error)
	GetBeneficialPledgeInfos(ctx context.Context, in *BeneficialPledgeRequest, opts ...grpc.CallOption) (*PledgeInfos, error)
	GetPledgeBeneficialAmount(ctx context.Context, in *BeneficialPledgeRequest, opts ...grpc.CallOption) (*Int64, error)
	GetPledgeInfo(ctx context.Context, in *WithdrawPledgeParam, opts ...grpc.CallOption) (*NEP5PledgeInfos, error)
	GetPledgeInfoWithNEP5TxId(ctx context.Context, in *WithdrawPledgeParam, opts ...grpc.CallOption) (*NEP5PledgeInfo, error)
	GetPledgeInfoWithTimeExpired(ctx context.Context, in *WithdrawPledgeParam, opts ...grpc.CallOption) (*NEP5PledgeInfos, error)
	GetAllPledgeInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*NEP5PledgeInfos, error)
	GetTotalPledgeAmount(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Int64, error)
}

NEP5PledgeAPIClient is the client API for NEP5PledgeAPI service.

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

type NEP5PledgeAPIServer

type NEP5PledgeAPIServer interface {
	GetPledgeData(context.Context, *PledgeParam) (*Bytes, error)
	GetPledgeBlock(context.Context, *PledgeParam) (*types.StateBlock, error)
	GetPledgeRewardBlock(context.Context, *types.StateBlock) (*types.StateBlock, error)
	GetPledgeRewardBlockBySendHash(context.Context, *types.Hash) (*types.StateBlock, error)
	GetWithdrawPledgeData(context.Context, *WithdrawPledgeParam) (*Bytes, error)
	GetWithdrawPledgeBlock(context.Context, *WithdrawPledgeParam) (*types.StateBlock, error)
	GetWithdrawRewardBlock(context.Context, *types.StateBlock) (*types.StateBlock, error)
	GetWithdrawRewardBlockBySendHash(context.Context, *types.Hash) (*types.StateBlock, error)
	ParsePledgeInfo(context.Context, *Bytes) (*types.NEP5PledgeInfo, error)
	GetPledgeInfosByPledgeAddress(context.Context, *types.Address) (*PledgeInfos, error)
	GetPledgeBeneficialTotalAmount(context.Context, *types.Address) (*Int64, error)
	GetBeneficialPledgeInfosByAddress(context.Context, *types.Address) (*PledgeInfos, error)
	GetBeneficialPledgeInfos(context.Context, *BeneficialPledgeRequest) (*PledgeInfos, error)
	GetPledgeBeneficialAmount(context.Context, *BeneficialPledgeRequest) (*Int64, error)
	GetPledgeInfo(context.Context, *WithdrawPledgeParam) (*NEP5PledgeInfos, error)
	GetPledgeInfoWithNEP5TxId(context.Context, *WithdrawPledgeParam) (*NEP5PledgeInfo, error)
	GetPledgeInfoWithTimeExpired(context.Context, *WithdrawPledgeParam) (*NEP5PledgeInfos, error)
	GetAllPledgeInfo(context.Context, *empty.Empty) (*NEP5PledgeInfos, error)
	GetTotalPledgeAmount(context.Context, *empty.Empty) (*Int64, error)
}

NEP5PledgeAPIServer is the server API for NEP5PledgeAPI service.

type NEP5PledgeInfo

type NEP5PledgeInfo struct {
	PType         string `protobuf:"bytes,1,opt,name=pType,proto3" json:"pType,omitempty"`
	Amount        int64  `protobuf:"varint,2,opt,name=Amount,proto3" json:"Amount,omitempty"`
	WithdrawTime  string `protobuf:"bytes,3,opt,name=WithdrawTime,proto3" json:"WithdrawTime,omitempty"`
	Beneficial    string `protobuf:"bytes,4,opt,name=Beneficial,proto3" json:"Beneficial,omitempty"`
	PledgeAddress string `protobuf:"bytes,5,opt,name=PledgeAddress,proto3" json:"PledgeAddress,omitempty"`
	NEP5TxId      string `protobuf:"bytes,6,opt,name=NEP5TxId,proto3" json:"NEP5TxId,omitempty"`
	// contains filtered or unexported fields
}

func (*NEP5PledgeInfo) Descriptor deprecated

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

Deprecated: Use NEP5PledgeInfo.ProtoReflect.Descriptor instead.

func (*NEP5PledgeInfo) GetAmount

func (x *NEP5PledgeInfo) GetAmount() int64

func (*NEP5PledgeInfo) GetBeneficial

func (x *NEP5PledgeInfo) GetBeneficial() string

func (*NEP5PledgeInfo) GetNEP5TxId

func (x *NEP5PledgeInfo) GetNEP5TxId() string

func (*NEP5PledgeInfo) GetPType

func (x *NEP5PledgeInfo) GetPType() string

func (*NEP5PledgeInfo) GetPledgeAddress

func (x *NEP5PledgeInfo) GetPledgeAddress() string

func (*NEP5PledgeInfo) GetWithdrawTime

func (x *NEP5PledgeInfo) GetWithdrawTime() string

func (*NEP5PledgeInfo) ProtoMessage

func (*NEP5PledgeInfo) ProtoMessage()

func (*NEP5PledgeInfo) ProtoReflect

func (x *NEP5PledgeInfo) ProtoReflect() protoreflect.Message

func (*NEP5PledgeInfo) Reset

func (x *NEP5PledgeInfo) Reset()

func (*NEP5PledgeInfo) String

func (x *NEP5PledgeInfo) String() string

type NEP5PledgeInfos

type NEP5PledgeInfos struct {
	PledgeInfos []*NEP5PledgeInfo `protobuf:"bytes,1,rep,name=PledgeInfos,proto3" json:"PledgeInfos,omitempty"`
	// contains filtered or unexported fields
}

func (*NEP5PledgeInfos) Descriptor deprecated

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

Deprecated: Use NEP5PledgeInfos.ProtoReflect.Descriptor instead.

func (*NEP5PledgeInfos) GetPledgeInfos

func (x *NEP5PledgeInfos) GetPledgeInfos() []*NEP5PledgeInfo

func (*NEP5PledgeInfos) ProtoMessage

func (*NEP5PledgeInfos) ProtoMessage()

func (*NEP5PledgeInfos) ProtoReflect

func (x *NEP5PledgeInfos) ProtoReflect() protoreflect.Message

func (*NEP5PledgeInfos) Reset

func (x *NEP5PledgeInfos) Reset()

func (*NEP5PledgeInfos) String

func (x *NEP5PledgeInfos) String() string

type NetAPIClient

type NetAPIClient interface {
	OnlineRepresentatives(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*types.Addresses, error)
	OnlineRepsInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*OnlineRepTotal, error)
	ConnectPeersInfo(ctx context.Context, in *Offset, opts ...grpc.CallOption) (*PeerInfos, error)
	GetOnlinePeersInfo(ctx context.Context, in *Offset, opts ...grpc.CallOption) (*PeerInfos, error)
	GetAllPeersInfo(ctx context.Context, in *Offset, opts ...grpc.CallOption) (*PeerInfos, error)
	PeersCount(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PeersCountResponse, error)
	GetBandwidthStats(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventBandwidthStats, error)
	Syncing(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Boolean, error)
	GetPeerId(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*String, error)
}

NetAPIClient is the client API for NetAPI service.

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

func NewNetAPIClient

func NewNetAPIClient(cc grpc.ClientConnInterface) NetAPIClient

type NetAPIServer

type NetAPIServer interface {
	OnlineRepresentatives(context.Context, *empty.Empty) (*types.Addresses, error)
	OnlineRepsInfo(context.Context, *empty.Empty) (*OnlineRepTotal, error)
	ConnectPeersInfo(context.Context, *Offset) (*PeerInfos, error)
	GetOnlinePeersInfo(context.Context, *Offset) (*PeerInfos, error)
	GetAllPeersInfo(context.Context, *Offset) (*PeerInfos, error)
	PeersCount(context.Context, *empty.Empty) (*PeersCountResponse, error)
	GetBandwidthStats(context.Context, *empty.Empty) (*EventBandwidthStats, error)
	Syncing(context.Context, *empty.Empty) (*Boolean, error)
	GetPeerId(context.Context, *empty.Empty) (*String, error)
}

NetAPIServer is the server API for NetAPI service.

type NodeInfo

type NodeInfo struct {
	NodeId  string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
	NodeUrl string `protobuf:"bytes,2,opt,name=nodeUrl,proto3" json:"nodeUrl,omitempty"`
	Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfo) Descriptor deprecated

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

Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo) GetComment

func (x *NodeInfo) GetComment() string

func (*NodeInfo) GetNodeId

func (x *NodeInfo) GetNodeId() string

func (*NodeInfo) GetNodeUrl

func (x *NodeInfo) GetNodeUrl() string

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) ProtoReflect

func (x *NodeInfo) ProtoReflect() protoreflect.Message

func (*NodeInfo) Reset

func (x *NodeInfo) Reset()

func (*NodeInfo) String

func (x *NodeInfo) String() string

type NodeInfos

type NodeInfos struct {
	Nodes []*NodeInfo `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfos) Descriptor deprecated

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

Deprecated: Use NodeInfos.ProtoReflect.Descriptor instead.

func (*NodeInfos) GetNodes

func (x *NodeInfos) GetNodes() []*NodeInfo

func (*NodeInfos) ProtoMessage

func (*NodeInfos) ProtoMessage()

func (*NodeInfos) ProtoReflect

func (x *NodeInfos) ProtoReflect() protoreflect.Message

func (*NodeInfos) Reset

func (x *NodeInfos) Reset()

func (*NodeInfos) String

func (x *NodeInfos) String() string

type NodeParam

type NodeParam struct {
	Admin   string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	NodeId  string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
	NodeUrl string `protobuf:"bytes,3,opt,name=nodeUrl,proto3" json:"nodeUrl,omitempty"`
	Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeParam) Descriptor deprecated

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

Deprecated: Use NodeParam.ProtoReflect.Descriptor instead.

func (*NodeParam) GetAdmin

func (x *NodeParam) GetAdmin() string

func (*NodeParam) GetComment

func (x *NodeParam) GetComment() string

func (*NodeParam) GetNodeId

func (x *NodeParam) GetNodeId() string

func (*NodeParam) GetNodeUrl

func (x *NodeParam) GetNodeUrl() string

func (*NodeParam) ProtoMessage

func (*NodeParam) ProtoMessage()

func (*NodeParam) ProtoReflect

func (x *NodeParam) ProtoReflect() protoreflect.Message

func (*NodeParam) Reset

func (x *NodeParam) Reset()

func (*NodeParam) String

func (x *NodeParam) String() string

type Offset

type Offset struct {
	Count  int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*Offset) Descriptor deprecated

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

Deprecated: Use Offset.ProtoReflect.Descriptor instead.

func (*Offset) GetCount

func (x *Offset) GetCount() int32

func (*Offset) GetOffset

func (x *Offset) GetOffset() int32

func (*Offset) ProtoMessage

func (*Offset) ProtoMessage()

func (*Offset) ProtoReflect

func (x *Offset) ProtoReflect() protoreflect.Message

func (*Offset) Reset

func (x *Offset) Reset()

func (*Offset) String

func (x *Offset) String() string

type OnlineRepInfo

type OnlineRepInfo struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Vote    int64  `protobuf:"varint,2,opt,name=vote,proto3" json:"vote,omitempty"`
	// contains filtered or unexported fields
}

func (*OnlineRepInfo) Descriptor deprecated

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

Deprecated: Use OnlineRepInfo.ProtoReflect.Descriptor instead.

func (*OnlineRepInfo) GetAccount

func (x *OnlineRepInfo) GetAccount() string

func (*OnlineRepInfo) GetVote

func (x *OnlineRepInfo) GetVote() int64

func (*OnlineRepInfo) ProtoMessage

func (*OnlineRepInfo) ProtoMessage()

func (*OnlineRepInfo) ProtoReflect

func (x *OnlineRepInfo) ProtoReflect() protoreflect.Message

func (*OnlineRepInfo) Reset

func (x *OnlineRepInfo) Reset()

func (*OnlineRepInfo) String

func (x *OnlineRepInfo) String() string

type OnlineRepTotal

type OnlineRepTotal struct {
	Reps              []*OnlineRepInfo `protobuf:"bytes,1,rep,name=reps,proto3" json:"reps,omitempty"`
	ValidVotes        int64            `protobuf:"varint,2,opt,name=validVotes,proto3" json:"validVotes,omitempty"`
	ValidVotesPercent string           `protobuf:"bytes,3,opt,name=validVotesPercent,proto3" json:"validVotesPercent,omitempty"`
	// contains filtered or unexported fields
}

func (*OnlineRepTotal) Descriptor deprecated

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

Deprecated: Use OnlineRepTotal.ProtoReflect.Descriptor instead.

func (*OnlineRepTotal) GetReps

func (x *OnlineRepTotal) GetReps() []*OnlineRepInfo

func (*OnlineRepTotal) GetValidVotes

func (x *OnlineRepTotal) GetValidVotes() int64

func (*OnlineRepTotal) GetValidVotesPercent

func (x *OnlineRepTotal) GetValidVotesPercent() string

func (*OnlineRepTotal) ProtoMessage

func (*OnlineRepTotal) ProtoMessage()

func (*OnlineRepTotal) ProtoReflect

func (x *OnlineRepTotal) ProtoReflect() protoreflect.Message

func (*OnlineRepTotal) Reset

func (x *OnlineRepTotal) Reset()

func (*OnlineRepTotal) String

func (x *OnlineRepTotal) String() string

type OracleParam

type OracleParam struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Type    string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Id      string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	KeyType string `protobuf:"bytes,4,opt,name=keyType,proto3" json:"keyType,omitempty"`
	PubKey  string `protobuf:"bytes,5,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	Code    string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"`
	Hash    string `protobuf:"bytes,7,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*OracleParam) Descriptor deprecated

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

Deprecated: Use OracleParam.ProtoReflect.Descriptor instead.

func (*OracleParam) GetAccount

func (x *OracleParam) GetAccount() string

func (*OracleParam) GetCode

func (x *OracleParam) GetCode() string

func (*OracleParam) GetHash

func (x *OracleParam) GetHash() string

func (*OracleParam) GetId

func (x *OracleParam) GetId() string

func (*OracleParam) GetKeyType

func (x *OracleParam) GetKeyType() string

func (*OracleParam) GetPubKey

func (x *OracleParam) GetPubKey() string

func (*OracleParam) GetType

func (x *OracleParam) GetType() string

func (*OracleParam) ProtoMessage

func (*OracleParam) ProtoMessage()

func (*OracleParam) ProtoReflect

func (x *OracleParam) ProtoReflect() protoreflect.Message

func (*OracleParam) Reset

func (x *OracleParam) Reset()

func (*OracleParam) String

func (x *OracleParam) String() string

type OracleParams

type OracleParams struct {
	Params []*OracleParam `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*OracleParams) Descriptor deprecated

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

Deprecated: Use OracleParams.ProtoReflect.Descriptor instead.

func (*OracleParams) GetParams

func (x *OracleParams) GetParams() []*OracleParam

func (*OracleParams) ProtoMessage

func (*OracleParams) ProtoMessage()

func (*OracleParams) ProtoReflect

func (x *OracleParams) ProtoReflect() protoreflect.Message

func (*OracleParams) Reset

func (x *OracleParams) Reset()

func (*OracleParams) String

func (x *OracleParams) String() string

type PKDAvailRewardInfo

type PKDAvailRewardInfo struct {
	LastEndHeight     uint64 `protobuf:"varint,1,opt,name=LastEndHeight,proto3" json:"LastEndHeight,omitempty"`
	LatestBlockHeight uint64 `protobuf:"varint,2,opt,name=LatestBlockHeight,proto3" json:"LatestBlockHeight,omitempty"`
	NodeRewardHeight  uint64 `protobuf:"varint,3,opt,name=NodeRewardHeight,proto3" json:"NodeRewardHeight,omitempty"`
	AvailEndHeight    uint64 `protobuf:"varint,4,opt,name=AvailEndHeight,proto3" json:"AvailEndHeight,omitempty"`
	AvailRewardAmount int64  `protobuf:"varint,5,opt,name=AvailRewardAmount,proto3" json:"AvailRewardAmount,omitempty"`
	NeedCallReward    bool   `protobuf:"varint,6,opt,name=NeedCallReward,proto3" json:"NeedCallReward,omitempty"`
	// contains filtered or unexported fields
}

func (*PKDAvailRewardInfo) Descriptor deprecated

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

Deprecated: Use PKDAvailRewardInfo.ProtoReflect.Descriptor instead.

func (*PKDAvailRewardInfo) GetAvailEndHeight

func (x *PKDAvailRewardInfo) GetAvailEndHeight() uint64

func (*PKDAvailRewardInfo) GetAvailRewardAmount

func (x *PKDAvailRewardInfo) GetAvailRewardAmount() int64

func (*PKDAvailRewardInfo) GetLastEndHeight

func (x *PKDAvailRewardInfo) GetLastEndHeight() uint64

func (*PKDAvailRewardInfo) GetLatestBlockHeight

func (x *PKDAvailRewardInfo) GetLatestBlockHeight() uint64

func (*PKDAvailRewardInfo) GetNeedCallReward

func (x *PKDAvailRewardInfo) GetNeedCallReward() bool

func (*PKDAvailRewardInfo) GetNodeRewardHeight

func (x *PKDAvailRewardInfo) GetNodeRewardHeight() uint64

func (*PKDAvailRewardInfo) ProtoMessage

func (*PKDAvailRewardInfo) ProtoMessage()

func (*PKDAvailRewardInfo) ProtoReflect

func (x *PKDAvailRewardInfo) ProtoReflect() protoreflect.Message

func (*PKDAvailRewardInfo) Reset

func (x *PKDAvailRewardInfo) Reset()

func (*PKDAvailRewardInfo) String

func (x *PKDAvailRewardInfo) String() string

type PKDHistoryRewardInfo

type PKDHistoryRewardInfo struct {
	LastEndHeight  uint64 `protobuf:"varint,1,opt,name=lastEndHeight,proto3" json:"lastEndHeight,omitempty"`
	LastBeneficial string `protobuf:"bytes,2,opt,name=lastBeneficial,proto3" json:"lastBeneficial,omitempty"`
	LastRewardTime int64  `protobuf:"varint,3,opt,name=lastRewardTime,proto3" json:"lastRewardTime,omitempty"`
	RewardAmount   int64  `protobuf:"varint,4,opt,name=rewardAmount,proto3" json:"rewardAmount,omitempty"`
	// contains filtered or unexported fields
}

func (*PKDHistoryRewardInfo) Descriptor deprecated

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

Deprecated: Use PKDHistoryRewardInfo.ProtoReflect.Descriptor instead.

func (*PKDHistoryRewardInfo) GetLastBeneficial

func (x *PKDHistoryRewardInfo) GetLastBeneficial() string

func (*PKDHistoryRewardInfo) GetLastEndHeight

func (x *PKDHistoryRewardInfo) GetLastEndHeight() uint64

func (*PKDHistoryRewardInfo) GetLastRewardTime

func (x *PKDHistoryRewardInfo) GetLastRewardTime() int64

func (*PKDHistoryRewardInfo) GetRewardAmount

func (x *PKDHistoryRewardInfo) GetRewardAmount() int64

func (*PKDHistoryRewardInfo) ProtoMessage

func (*PKDHistoryRewardInfo) ProtoMessage()

func (*PKDHistoryRewardInfo) ProtoReflect

func (x *PKDHistoryRewardInfo) ProtoReflect() protoreflect.Message

func (*PKDHistoryRewardInfo) Reset

func (x *PKDHistoryRewardInfo) Reset()

func (*PKDHistoryRewardInfo) String

func (x *PKDHistoryRewardInfo) String() string

type PKDRewardParam

type PKDRewardParam struct {
	Account      string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Beneficial   string `protobuf:"bytes,2,opt,name=beneficial,proto3" json:"beneficial,omitempty"`
	EndHeight    uint64 `protobuf:"varint,3,opt,name=endHeight,proto3" json:"endHeight,omitempty"`
	RewardAmount int64  `protobuf:"varint,4,opt,name=rewardAmount,proto3" json:"rewardAmount,omitempty"`
	// contains filtered or unexported fields
}

func (*PKDRewardParam) Descriptor deprecated

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

Deprecated: Use PKDRewardParam.ProtoReflect.Descriptor instead.

func (*PKDRewardParam) GetAccount

func (x *PKDRewardParam) GetAccount() string

func (*PKDRewardParam) GetBeneficial

func (x *PKDRewardParam) GetBeneficial() string

func (*PKDRewardParam) GetEndHeight

func (x *PKDRewardParam) GetEndHeight() uint64

func (*PKDRewardParam) GetRewardAmount

func (x *PKDRewardParam) GetRewardAmount() int64

func (*PKDRewardParam) ProtoMessage

func (*PKDRewardParam) ProtoMessage()

func (*PKDRewardParam) ProtoReflect

func (x *PKDRewardParam) ProtoReflect() protoreflect.Message

func (*PKDRewardParam) Reset

func (x *PKDRewardParam) Reset()

func (*PKDRewardParam) String

func (x *PKDRewardParam) String() string

type PKDVerifierStateList

type PKDVerifierStateList struct {
	VerifierNum  int32                              `protobuf:"varint,1,opt,name=verifierNum,proto3" json:"verifierNum,omitempty"`
	AllVerifiers map[string]*types.PovVerifierState `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PKDVerifierStateList) Descriptor deprecated

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

Deprecated: Use PKDVerifierStateList.ProtoReflect.Descriptor instead.

func (*PKDVerifierStateList) GetAllVerifiers

func (x *PKDVerifierStateList) GetAllVerifiers() map[string]*types.PovVerifierState

func (*PKDVerifierStateList) GetVerifierNum

func (x *PKDVerifierStateList) GetVerifierNum() int32

func (*PKDVerifierStateList) ProtoMessage

func (*PKDVerifierStateList) ProtoMessage()

func (*PKDVerifierStateList) ProtoReflect

func (x *PKDVerifierStateList) ProtoReflect() protoreflect.Message

func (*PKDVerifierStateList) Reset

func (x *PKDVerifierStateList) Reset()

func (*PKDVerifierStateList) String

func (x *PKDVerifierStateList) String() string

type PackChainContractDataRequest

type PackChainContractDataRequest struct {
	ContractAddress string   `protobuf:"bytes,1,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
	MethodName      string   `protobuf:"bytes,2,opt,name=methodName,proto3" json:"methodName,omitempty"`
	Params          []string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*PackChainContractDataRequest) Descriptor deprecated

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

Deprecated: Use PackChainContractDataRequest.ProtoReflect.Descriptor instead.

func (*PackChainContractDataRequest) GetContractAddress

func (x *PackChainContractDataRequest) GetContractAddress() string

func (*PackChainContractDataRequest) GetMethodName

func (x *PackChainContractDataRequest) GetMethodName() string

func (*PackChainContractDataRequest) GetParams

func (x *PackChainContractDataRequest) GetParams() []string

func (*PackChainContractDataRequest) ProtoMessage

func (*PackChainContractDataRequest) ProtoMessage()

func (*PackChainContractDataRequest) ProtoReflect

func (*PackChainContractDataRequest) Reset

func (x *PackChainContractDataRequest) Reset()

func (*PackChainContractDataRequest) String

type PackContractDataRequest

type PackContractDataRequest struct {
	AbiStr     string   `protobuf:"bytes,1,opt,name=abiStr,proto3" json:"abiStr,omitempty"`
	MethodName string   `protobuf:"bytes,2,opt,name=methodName,proto3" json:"methodName,omitempty"`
	Params     []string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*PackContractDataRequest) Descriptor deprecated

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

Deprecated: Use PackContractDataRequest.ProtoReflect.Descriptor instead.

func (*PackContractDataRequest) GetAbiStr

func (x *PackContractDataRequest) GetAbiStr() string

func (*PackContractDataRequest) GetMethodName

func (x *PackContractDataRequest) GetMethodName() string

func (*PackContractDataRequest) GetParams

func (x *PackContractDataRequest) GetParams() []string

func (*PackContractDataRequest) ProtoMessage

func (*PackContractDataRequest) ProtoMessage()

func (*PackContractDataRequest) ProtoReflect

func (x *PackContractDataRequest) ProtoReflect() protoreflect.Message

func (*PackContractDataRequest) Reset

func (x *PackContractDataRequest) Reset()

func (*PackContractDataRequest) String

func (x *PackContractDataRequest) String() string

type PeerInfo

type PeerInfo struct {
	PeerID         string  `protobuf:"bytes,1,opt,name=peerID,proto3" json:"peerID,omitempty"`
	Address        string  `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Version        string  `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	Rtt            float64 `protobuf:"fixed64,4,opt,name=rtt,proto3" json:"rtt,omitempty"`
	LastUpdateTime string  `protobuf:"bytes,5,opt,name=lastUpdateTime,proto3" json:"lastUpdateTime,omitempty"`
	// contains filtered or unexported fields
}

func (*PeerInfo) Descriptor deprecated

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

Deprecated: Use PeerInfo.ProtoReflect.Descriptor instead.

func (*PeerInfo) GetAddress

func (x *PeerInfo) GetAddress() string

func (*PeerInfo) GetLastUpdateTime

func (x *PeerInfo) GetLastUpdateTime() string

func (*PeerInfo) GetPeerID

func (x *PeerInfo) GetPeerID() string

func (*PeerInfo) GetRtt

func (x *PeerInfo) GetRtt() float64

func (*PeerInfo) GetVersion

func (x *PeerInfo) GetVersion() string

func (*PeerInfo) ProtoMessage

func (*PeerInfo) ProtoMessage()

func (*PeerInfo) ProtoReflect

func (x *PeerInfo) ProtoReflect() protoreflect.Message

func (*PeerInfo) Reset

func (x *PeerInfo) Reset()

func (*PeerInfo) String

func (x *PeerInfo) String() string

type PeerInfos

type PeerInfos struct {
	PeerInfos []*PeerInfo `protobuf:"bytes,1,rep,name=peerInfos,proto3" json:"peerInfos,omitempty"`
	// contains filtered or unexported fields
}

func (*PeerInfos) Descriptor deprecated

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

Deprecated: Use PeerInfos.ProtoReflect.Descriptor instead.

func (*PeerInfos) GetPeerInfos

func (x *PeerInfos) GetPeerInfos() []*PeerInfo

func (*PeerInfos) ProtoMessage

func (*PeerInfos) ProtoMessage()

func (*PeerInfos) ProtoReflect

func (x *PeerInfos) ProtoReflect() protoreflect.Message

func (*PeerInfos) Reset

func (x *PeerInfos) Reset()

func (*PeerInfos) String

func (x *PeerInfos) String() string

type PeersCountResponse

type PeersCountResponse struct {
	Count map[string]uint64 `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PeersCountResponse) Descriptor deprecated

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

Deprecated: Use PeersCountResponse.ProtoReflect.Descriptor instead.

func (*PeersCountResponse) GetCount

func (x *PeersCountResponse) GetCount() map[string]uint64

func (*PeersCountResponse) ProtoMessage

func (*PeersCountResponse) ProtoMessage()

func (*PeersCountResponse) ProtoReflect

func (x *PeersCountResponse) ProtoReflect() protoreflect.Message

func (*PeersCountResponse) Reset

func (x *PeersCountResponse) Reset()

func (*PeersCountResponse) String

func (x *PeersCountResponse) String() string

type PermissionAPIClient

type PermissionAPIClient interface {
	GetAdminHandoverBlock(ctx context.Context, in *AdminUpdateParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetAdmin(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AdminUser, error)
	GetNodeUpdateBlock(ctx context.Context, in *NodeParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetNode(ctx context.Context, in *String, opts ...grpc.CallOption) (*NodeInfo, error)
	GetNodesCount(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Int32, error)
	GetNodes(ctx context.Context, in *Offset, opts ...grpc.CallOption) (*NodeInfos, error)
}

PermissionAPIClient is the client API for PermissionAPI service.

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

type PermissionAPIServer

type PermissionAPIServer interface {
	GetAdminHandoverBlock(context.Context, *AdminUpdateParam) (*types.StateBlock, error)
	GetAdmin(context.Context, *empty.Empty) (*AdminUser, error)
	GetNodeUpdateBlock(context.Context, *NodeParam) (*types.StateBlock, error)
	GetNode(context.Context, *String) (*NodeInfo, error)
	GetNodesCount(context.Context, *empty.Empty) (*Int32, error)
	GetNodes(context.Context, *Offset) (*NodeInfos, error)
}

PermissionAPIServer is the server API for PermissionAPI service.

type PledgeInfos

type PledgeInfos struct {
	PledgeInfos  []*NEP5PledgeInfo `protobuf:"bytes,1,rep,name=PledgeInfos,proto3" json:"PledgeInfos,omitempty"`
	TotalAmounts int64             `protobuf:"varint,2,opt,name=totalAmounts,proto3" json:"totalAmounts,omitempty"`
	// contains filtered or unexported fields
}

func (*PledgeInfos) Descriptor deprecated

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

Deprecated: Use PledgeInfos.ProtoReflect.Descriptor instead.

func (*PledgeInfos) GetPledgeInfos

func (x *PledgeInfos) GetPledgeInfos() []*NEP5PledgeInfo

func (*PledgeInfos) GetTotalAmounts

func (x *PledgeInfos) GetTotalAmounts() int64

func (*PledgeInfos) ProtoMessage

func (*PledgeInfos) ProtoMessage()

func (*PledgeInfos) ProtoReflect

func (x *PledgeInfos) ProtoReflect() protoreflect.Message

func (*PledgeInfos) Reset

func (x *PledgeInfos) Reset()

func (*PledgeInfos) String

func (x *PledgeInfos) String() string

type PledgeParam

type PledgeParam struct {
	Beneficial    string `protobuf:"bytes,1,opt,name=beneficial,proto3" json:"beneficial,omitempty"`
	PledgeAddress string `protobuf:"bytes,2,opt,name=pledgeAddress,proto3" json:"pledgeAddress,omitempty"`
	Amount        int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	PType         string `protobuf:"bytes,4,opt,name=pType,proto3" json:"pType,omitempty"`
	Nep5TxId      string `protobuf:"bytes,5,opt,name=nep5TxId,proto3" json:"nep5TxId,omitempty"`
	// contains filtered or unexported fields
}

func (*PledgeParam) Descriptor deprecated

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

Deprecated: Use PledgeParam.ProtoReflect.Descriptor instead.

func (*PledgeParam) GetAmount

func (x *PledgeParam) GetAmount() int64

func (*PledgeParam) GetBeneficial

func (x *PledgeParam) GetBeneficial() string

func (*PledgeParam) GetNep5TxId

func (x *PledgeParam) GetNep5TxId() string

func (*PledgeParam) GetPType

func (x *PledgeParam) GetPType() string

func (*PledgeParam) GetPledgeAddress

func (x *PledgeParam) GetPledgeAddress() string

func (*PledgeParam) ProtoMessage

func (*PledgeParam) ProtoMessage()

func (*PledgeParam) ProtoReflect

func (x *PledgeParam) ProtoReflect() protoreflect.Message

func (*PledgeParam) Reset

func (x *PledgeParam) Reset()

func (*PledgeParam) String

func (x *PledgeParam) String() string

type PovAPIClient

type PovAPIClient interface {
	GetPovStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PovStatus, error)
	GetHeaderByHeight(ctx context.Context, in *UInt64, opts ...grpc.CallOption) (*PovApiHeader, error)
	GetHeaderByHash(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*PovApiHeader, error)
	GetLatestHeader(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PovApiHeader, error)
	GetFittestHeader(ctx context.Context, in *UInt64, opts ...grpc.CallOption) (*PovApiHeader, error)
	BatchGetHeadersByHeight(ctx context.Context, in *HeadersByHeightRequest, opts ...grpc.CallOption) (*PovApiBatchHeader, error)
	GetBlockByHeight(ctx context.Context, in *BlockByHeightRequest, opts ...grpc.CallOption) (*PovApiBlock, error)
	GetBlockByHash(ctx context.Context, in *BlockByHashRequest, opts ...grpc.CallOption) (*PovApiBlock, error)
	GetLatestBlock(ctx context.Context, in *LatestBlockRequest, opts ...grpc.CallOption) (*PovApiBlock, error)
	GetTransaction(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*PovApiTxLookup, error)
	GetTransactionByBlockHashAndIndex(ctx context.Context, in *TransactionByBlockHashRequest, opts ...grpc.CallOption) (*PovApiTxLookup, error)
	GetTransactionByBlockHeightAndIndex(ctx context.Context, in *TransactionByBlockHeightRequest, opts ...grpc.CallOption) (*PovApiTxLookup, error)
	GetAccountState(ctx context.Context, in *AccountStateRequest, opts ...grpc.CallOption) (*PovApiState, error)
	GetLatestAccountState(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*PovApiState, error)
	GetAccountStateByBlockHash(ctx context.Context, in *AccountStateByHashRequest, opts ...grpc.CallOption) (*PovApiState, error)
	GetAccountStateByBlockHeight(ctx context.Context, in *AccountStateByHeightRequest, opts ...grpc.CallOption) (*PovApiState, error)
	GetAllRepStatesByStateHash(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*PovApiRepState, error)
	GetAllRepStatesByBlockHash(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*PovApiRepState, error)
	GetAllRepStatesByBlockHeight(ctx context.Context, in *UInt64, opts ...grpc.CallOption) (*PovApiRepState, error)
	GetLedgerStats(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PovLedgerStats, error)
	//    rpc GetBlockTDByHash (types.Hash) returns (PovApiTD) {
	//        option (google.api.http) = {
	//           get: "/pov/getBlockTDByHash"
	//       };
	//    }
	//
	//    rpc GetBlockTDByHeight (UInt64) returns (PovApiTD) {
	//        option (google.api.http) = {
	//           get: "/pov/getBlockTDByHeight"
	//       };
	//    }
	//
	GetMinerStats(ctx context.Context, in *types.Addresses, opts ...grpc.CallOption) (*PovMinerStats, error)
	GetRepStats(ctx context.Context, in *types.Addresses, opts ...grpc.CallOption) (*PovRepStats, error)
	GetMinerDayStat(ctx context.Context, in *UInt32, opts ...grpc.CallOption) (*types.PovMinerDayStat, error)
	GetMinerDayStatByHeight(ctx context.Context, in *UInt64, opts ...grpc.CallOption) (*types.PovMinerDayStat, error)
	GetDiffDayStat(ctx context.Context, in *UInt32, opts ...grpc.CallOption) (*types.PovDiffDayStat, error)
	GetDiffDayStatByHeight(ctx context.Context, in *UInt64, opts ...grpc.CallOption) (*types.PovDiffDayStat, error)
	GetHashInfo(ctx context.Context, in *HashInfoRequest, opts ...grpc.CallOption) (*PovApiHashInfo, error)
	StartMining(ctx context.Context, in *StartMiningRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	StopMining(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
	GetMiningInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PovApiGetMiningInfo, error)
	GetWork(ctx context.Context, in *WorkRequest, opts ...grpc.CallOption) (*PovApiGetWork, error)
	GetLastNHourInfo(ctx context.Context, in *LastNHourInfoRequest, opts ...grpc.CallOption) (*PovApiGetLastNHourInfo, error)
	NewBlock(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (PovAPI_NewBlockClient, error)
}

PovAPIClient is the client API for PovAPI service.

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

func NewPovAPIClient

func NewPovAPIClient(cc grpc.ClientConnInterface) PovAPIClient

type PovAPIServer

type PovAPIServer interface {
	GetPovStatus(context.Context, *empty.Empty) (*PovStatus, error)
	GetHeaderByHeight(context.Context, *UInt64) (*PovApiHeader, error)
	GetHeaderByHash(context.Context, *types.Hash) (*PovApiHeader, error)
	GetLatestHeader(context.Context, *empty.Empty) (*PovApiHeader, error)
	GetFittestHeader(context.Context, *UInt64) (*PovApiHeader, error)
	BatchGetHeadersByHeight(context.Context, *HeadersByHeightRequest) (*PovApiBatchHeader, error)
	GetBlockByHeight(context.Context, *BlockByHeightRequest) (*PovApiBlock, error)
	GetBlockByHash(context.Context, *BlockByHashRequest) (*PovApiBlock, error)
	GetLatestBlock(context.Context, *LatestBlockRequest) (*PovApiBlock, error)
	GetTransaction(context.Context, *types.Hash) (*PovApiTxLookup, error)
	GetTransactionByBlockHashAndIndex(context.Context, *TransactionByBlockHashRequest) (*PovApiTxLookup, error)
	GetTransactionByBlockHeightAndIndex(context.Context, *TransactionByBlockHeightRequest) (*PovApiTxLookup, error)
	GetAccountState(context.Context, *AccountStateRequest) (*PovApiState, error)
	GetLatestAccountState(context.Context, *types.Address) (*PovApiState, error)
	GetAccountStateByBlockHash(context.Context, *AccountStateByHashRequest) (*PovApiState, error)
	GetAccountStateByBlockHeight(context.Context, *AccountStateByHeightRequest) (*PovApiState, error)
	GetAllRepStatesByStateHash(context.Context, *types.Hash) (*PovApiRepState, error)
	GetAllRepStatesByBlockHash(context.Context, *types.Hash) (*PovApiRepState, error)
	GetAllRepStatesByBlockHeight(context.Context, *UInt64) (*PovApiRepState, error)
	GetLedgerStats(context.Context, *empty.Empty) (*PovLedgerStats, error)
	//    rpc GetBlockTDByHash (types.Hash) returns (PovApiTD) {
	//        option (google.api.http) = {
	//           get: "/pov/getBlockTDByHash"
	//       };
	//    }
	//
	//    rpc GetBlockTDByHeight (UInt64) returns (PovApiTD) {
	//        option (google.api.http) = {
	//           get: "/pov/getBlockTDByHeight"
	//       };
	//    }
	//
	GetMinerStats(context.Context, *types.Addresses) (*PovMinerStats, error)
	GetRepStats(context.Context, *types.Addresses) (*PovRepStats, error)
	GetMinerDayStat(context.Context, *UInt32) (*types.PovMinerDayStat, error)
	GetMinerDayStatByHeight(context.Context, *UInt64) (*types.PovMinerDayStat, error)
	GetDiffDayStat(context.Context, *UInt32) (*types.PovDiffDayStat, error)
	GetDiffDayStatByHeight(context.Context, *UInt64) (*types.PovDiffDayStat, error)
	GetHashInfo(context.Context, *HashInfoRequest) (*PovApiHashInfo, error)
	StartMining(context.Context, *StartMiningRequest) (*empty.Empty, error)
	StopMining(context.Context, *empty.Empty) (*empty.Empty, error)
	GetMiningInfo(context.Context, *empty.Empty) (*PovApiGetMiningInfo, error)
	GetWork(context.Context, *WorkRequest) (*PovApiGetWork, error)
	GetLastNHourInfo(context.Context, *LastNHourInfoRequest) (*PovApiGetLastNHourInfo, error)
	NewBlock(*empty.Empty, PovAPI_NewBlockServer) error
}

PovAPIServer is the server API for PovAPI service.

type PovAPI_NewBlockClient

type PovAPI_NewBlockClient interface {
	Recv() (*PovApiHeader, error)
	grpc.ClientStream
}

type PovAPI_NewBlockServer

type PovAPI_NewBlockServer interface {
	Send(*PovApiHeader) error
	grpc.ServerStream
}

type PovApiBatchHeader

type PovApiBatchHeader struct {
	Count   int32           `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Headers []*PovApiHeader `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"`
	// contains filtered or unexported fields
}

func (*PovApiBatchHeader) Descriptor deprecated

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

Deprecated: Use PovApiBatchHeader.ProtoReflect.Descriptor instead.

func (*PovApiBatchHeader) GetCount

func (x *PovApiBatchHeader) GetCount() int32

func (*PovApiBatchHeader) GetHeaders

func (x *PovApiBatchHeader) GetHeaders() []*PovApiHeader

func (*PovApiBatchHeader) ProtoMessage

func (*PovApiBatchHeader) ProtoMessage()

func (*PovApiBatchHeader) ProtoReflect

func (x *PovApiBatchHeader) ProtoReflect() protoreflect.Message

func (*PovApiBatchHeader) Reset

func (x *PovApiBatchHeader) Reset()

func (*PovApiBatchHeader) String

func (x *PovApiBatchHeader) String() string

type PovApiBlock

type PovApiBlock struct {
	Header         *types.PovHeader `protobuf:"bytes,1,opt,name=Header,proto3" json:"Header,omitempty"`
	Body           *types.PovBody   `protobuf:"bytes,2,opt,name=Body,proto3" json:"Body,omitempty"`
	AlgoName       string           `protobuf:"bytes,3,opt,name=algoName,proto3" json:"algoName,omitempty"`
	AlgoEfficiency uint32           `protobuf:"varint,4,opt,name=AlgoEfficiency,proto3" json:"AlgoEfficiency,omitempty"`
	NormBits       uint32           `protobuf:"varint,5,opt,name=NormBits,proto3" json:"NormBits,omitempty"`
	NormDifficulty float64          `protobuf:"fixed64,6,opt,name=NormDifficulty,proto3" json:"NormDifficulty,omitempty"`
	AlgoDifficulty float64          `protobuf:"fixed64,7,opt,name=AlgoDifficulty,proto3" json:"AlgoDifficulty,omitempty"`
	// contains filtered or unexported fields
}

func (*PovApiBlock) Descriptor deprecated

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

Deprecated: Use PovApiBlock.ProtoReflect.Descriptor instead.

func (*PovApiBlock) GetAlgoDifficulty

func (x *PovApiBlock) GetAlgoDifficulty() float64

func (*PovApiBlock) GetAlgoEfficiency

func (x *PovApiBlock) GetAlgoEfficiency() uint32

func (*PovApiBlock) GetAlgoName

func (x *PovApiBlock) GetAlgoName() string

func (*PovApiBlock) GetBody

func (x *PovApiBlock) GetBody() *types.PovBody

func (*PovApiBlock) GetHeader

func (x *PovApiBlock) GetHeader() *types.PovHeader

func (*PovApiBlock) GetNormBits

func (x *PovApiBlock) GetNormBits() uint32

func (*PovApiBlock) GetNormDifficulty

func (x *PovApiBlock) GetNormDifficulty() float64

func (*PovApiBlock) ProtoMessage

func (*PovApiBlock) ProtoMessage()

func (*PovApiBlock) ProtoReflect

func (x *PovApiBlock) ProtoReflect() protoreflect.Message

func (*PovApiBlock) Reset

func (x *PovApiBlock) Reset()

func (*PovApiBlock) String

func (x *PovApiBlock) String() string

type PovApiCheckStateRsp

type PovApiCheckStateRsp struct {
	AccountStates map[string]*types.PovAccountState `` /* 167-byte string literal not displayed */
	AccountMetas  map[string]*types.AccountMeta     `` /* 165-byte string literal not displayed */
	RepStates     map[string]*types.PovRepState     `` /* 159-byte string literal not displayed */
	RepMetas      map[string]*types.Benefit         `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PovApiCheckStateRsp) Descriptor deprecated

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

Deprecated: Use PovApiCheckStateRsp.ProtoReflect.Descriptor instead.

func (*PovApiCheckStateRsp) GetAccountMetas

func (x *PovApiCheckStateRsp) GetAccountMetas() map[string]*types.AccountMeta

func (*PovApiCheckStateRsp) GetAccountStates

func (x *PovApiCheckStateRsp) GetAccountStates() map[string]*types.PovAccountState

func (*PovApiCheckStateRsp) GetRepMetas

func (x *PovApiCheckStateRsp) GetRepMetas() map[string]*types.Benefit

func (*PovApiCheckStateRsp) GetRepStates

func (x *PovApiCheckStateRsp) GetRepStates() map[string]*types.PovRepState

func (*PovApiCheckStateRsp) ProtoMessage

func (*PovApiCheckStateRsp) ProtoMessage()

func (*PovApiCheckStateRsp) ProtoReflect

func (x *PovApiCheckStateRsp) ProtoReflect() protoreflect.Message

func (*PovApiCheckStateRsp) Reset

func (x *PovApiCheckStateRsp) Reset()

func (*PovApiCheckStateRsp) String

func (x *PovApiCheckStateRsp) String() string

type PovApiDumpState

type PovApiDumpState struct {
	StateHash string                             `protobuf:"bytes,1,opt,name=stateHash,proto3" json:"stateHash,omitempty"`
	Accounts  map[string]*types.PovAccountState  `` /* 157-byte string literal not displayed */
	Reps      map[string]*types.PovRepState      `` /* 149-byte string literal not displayed */
	Contracts map[string]*types.PovContractState `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PovApiDumpState) Descriptor deprecated

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

Deprecated: Use PovApiDumpState.ProtoReflect.Descriptor instead.

func (*PovApiDumpState) GetAccounts

func (x *PovApiDumpState) GetAccounts() map[string]*types.PovAccountState

func (*PovApiDumpState) GetContracts

func (x *PovApiDumpState) GetContracts() map[string]*types.PovContractState

func (*PovApiDumpState) GetReps

func (x *PovApiDumpState) GetReps() map[string]*types.PovRepState

func (*PovApiDumpState) GetStateHash

func (x *PovApiDumpState) GetStateHash() string

func (*PovApiDumpState) ProtoMessage

func (*PovApiDumpState) ProtoMessage()

func (*PovApiDumpState) ProtoReflect

func (x *PovApiDumpState) ProtoReflect() protoreflect.Message

func (*PovApiDumpState) Reset

func (x *PovApiDumpState) Reset()

func (*PovApiDumpState) String

func (x *PovApiDumpState) String() string

type PovApiGetLastNHourInfo

type PovApiGetLastNHourInfo struct {
	MaxTxPerBlock   uint32                    `protobuf:"varint,1,opt,name=maxTxPerBlock,proto3" json:"maxTxPerBlock,omitempty"`
	MinTxPerBlock   uint32                    `protobuf:"varint,2,opt,name=minTxPerBlock,proto3" json:"minTxPerBlock,omitempty"`
	AvgTxPerBlock   uint32                    `protobuf:"varint,3,opt,name=avgTxPerBlock,proto3" json:"avgTxPerBlock,omitempty"`
	MaxTxPerHour    uint32                    `protobuf:"varint,4,opt,name=maxTxPerHour,proto3" json:"maxTxPerHour,omitempty"`
	MinTxPerHour    uint32                    `protobuf:"varint,5,opt,name=minTxPerHour,proto3" json:"minTxPerHour,omitempty"`
	AvgTxPerHour    uint32                    `protobuf:"varint,6,opt,name=avgTxPerHour,proto3" json:"avgTxPerHour,omitempty"`
	MaxBlockPerHour uint32                    `protobuf:"varint,7,opt,name=maxBlockPerHour,proto3" json:"maxBlockPerHour,omitempty"`
	MinBlockPerHour uint32                    `protobuf:"varint,8,opt,name=minBlockPerHour,proto3" json:"minBlockPerHour,omitempty"`
	AvgBlockPerHour uint32                    `protobuf:"varint,9,opt,name=avgBlockPerHour,proto3" json:"avgBlockPerHour,omitempty"`
	AllBlockNum     uint32                    `protobuf:"varint,10,opt,name=allBlockNum,proto3" json:"allBlockNum,omitempty"`
	AllTxNum        uint32                    `protobuf:"varint,11,opt,name=allTxNum,proto3" json:"allTxNum,omitempty"`
	Sha256DBlockNum uint32                    `protobuf:"varint,12,opt,name=sha256dBlockNum,proto3" json:"sha256dBlockNum,omitempty"`
	X11BlockNum     uint32                    `protobuf:"varint,13,opt,name=x11BlockNum,proto3" json:"x11BlockNum,omitempty"`
	ScryptBlockNum  uint32                    `protobuf:"varint,14,opt,name=scryptBlockNum,proto3" json:"scryptBlockNum,omitempty"`
	AuxBlockNum     uint32                    `protobuf:"varint,15,opt,name=auxBlockNum,proto3" json:"auxBlockNum,omitempty"`
	HourItemList    []*PovApiGetLastNHourItem `protobuf:"bytes,16,rep,name=hourItemList,proto3" json:"hourItemList,omitempty"`
	// contains filtered or unexported fields
}

func (*PovApiGetLastNHourInfo) Descriptor deprecated

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

Deprecated: Use PovApiGetLastNHourInfo.ProtoReflect.Descriptor instead.

func (*PovApiGetLastNHourInfo) GetAllBlockNum

func (x *PovApiGetLastNHourInfo) GetAllBlockNum() uint32

func (*PovApiGetLastNHourInfo) GetAllTxNum

func (x *PovApiGetLastNHourInfo) GetAllTxNum() uint32

func (*PovApiGetLastNHourInfo) GetAuxBlockNum

func (x *PovApiGetLastNHourInfo) GetAuxBlockNum() uint32

func (*PovApiGetLastNHourInfo) GetAvgBlockPerHour

func (x *PovApiGetLastNHourInfo) GetAvgBlockPerHour() uint32

func (*PovApiGetLastNHourInfo) GetAvgTxPerBlock

func (x *PovApiGetLastNHourInfo) GetAvgTxPerBlock() uint32

func (*PovApiGetLastNHourInfo) GetAvgTxPerHour

func (x *PovApiGetLastNHourInfo) GetAvgTxPerHour() uint32

func (*PovApiGetLastNHourInfo) GetHourItemList

func (x *PovApiGetLastNHourInfo) GetHourItemList() []*PovApiGetLastNHourItem

func (*PovApiGetLastNHourInfo) GetMaxBlockPerHour

func (x *PovApiGetLastNHourInfo) GetMaxBlockPerHour() uint32

func (*PovApiGetLastNHourInfo) GetMaxTxPerBlock

func (x *PovApiGetLastNHourInfo) GetMaxTxPerBlock() uint32

func (*PovApiGetLastNHourInfo) GetMaxTxPerHour

func (x *PovApiGetLastNHourInfo) GetMaxTxPerHour() uint32

func (*PovApiGetLastNHourInfo) GetMinBlockPerHour

func (x *PovApiGetLastNHourInfo) GetMinBlockPerHour() uint32

func (*PovApiGetLastNHourInfo) GetMinTxPerBlock

func (x *PovApiGetLastNHourInfo) GetMinTxPerBlock() uint32

func (*PovApiGetLastNHourInfo) GetMinTxPerHour

func (x *PovApiGetLastNHourInfo) GetMinTxPerHour() uint32

func (*PovApiGetLastNHourInfo) GetScryptBlockNum

func (x *PovApiGetLastNHourInfo) GetScryptBlockNum() uint32

func (*PovApiGetLastNHourInfo) GetSha256DBlockNum

func (x *PovApiGetLastNHourInfo) GetSha256DBlockNum() uint32

func (*PovApiGetLastNHourInfo) GetX11BlockNum

func (x *PovApiGetLastNHourInfo) GetX11BlockNum() uint32

func (*PovApiGetLastNHourInfo) ProtoMessage

func (*PovApiGetLastNHourInfo) ProtoMessage()

func (*PovApiGetLastNHourInfo) ProtoReflect

func (x *PovApiGetLastNHourInfo) ProtoReflect() protoreflect.Message

func (*PovApiGetLastNHourInfo) Reset

func (x *PovApiGetLastNHourInfo) Reset()

func (*PovApiGetLastNHourInfo) String

func (x *PovApiGetLastNHourInfo) String() string

type PovApiGetLastNHourItem

type PovApiGetLastNHourItem struct {
	Hour            uint32 `protobuf:"varint,1,opt,name=hour,proto3" json:"hour,omitempty"`
	AllBlockNum     uint32 `protobuf:"varint,2,opt,name=allBlockNum,proto3" json:"allBlockNum,omitempty"`
	AllTxNum        uint32 `protobuf:"varint,3,opt,name=allTxNum,proto3" json:"allTxNum,omitempty"`
	AllMinerReward  int64  `protobuf:"varint,4,opt,name=allMinerReward,proto3" json:"allMinerReward,omitempty"`
	AllRepReward    int64  `protobuf:"varint,5,opt,name=allRepReward,proto3" json:"allRepReward,omitempty"`
	Sha256DBlockNum uint32 `protobuf:"varint,6,opt,name=sha256dBlockNum,proto3" json:"sha256dBlockNum,omitempty"`
	X11BlockNum     uint32 `protobuf:"varint,7,opt,name=x11BlockNum,proto3" json:"x11BlockNum,omitempty"`
	ScryptBlockNum  uint32 `protobuf:"varint,8,opt,name=scryptBlockNum,proto3" json:"scryptBlockNum,omitempty"`
	AuxBlockNum     uint32 `protobuf:"varint,9,opt,name=auxBlockNum,proto3" json:"auxBlockNum,omitempty"`
	MaxTxPerBlock   uint32 `protobuf:"varint,10,opt,name=maxTxPerBlock,proto3" json:"maxTxPerBlock,omitempty"`
	MinTxPerBlock   uint32 `protobuf:"varint,11,opt,name=minTxPerBlock,proto3" json:"minTxPerBlock,omitempty"`
	AvgTxPerBlock   uint32 `protobuf:"varint,12,opt,name=avgTxPerBlock,proto3" json:"avgTxPerBlock,omitempty"`
	// contains filtered or unexported fields
}

func (*PovApiGetLastNHourItem) Descriptor deprecated

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

Deprecated: Use PovApiGetLastNHourItem.ProtoReflect.Descriptor instead.

func (*PovApiGetLastNHourItem) GetAllBlockNum

func (x *PovApiGetLastNHourItem) GetAllBlockNum() uint32

func (*PovApiGetLastNHourItem) GetAllMinerReward

func (x *PovApiGetLastNHourItem) GetAllMinerReward() int64

func (*PovApiGetLastNHourItem) GetAllRepReward

func (x *PovApiGetLastNHourItem) GetAllRepReward() int64

func (*PovApiGetLastNHourItem) GetAllTxNum

func (x *PovApiGetLastNHourItem) GetAllTxNum() uint32

func (*PovApiGetLastNHourItem) GetAuxBlockNum

func (x *PovApiGetLastNHourItem) GetAuxBlockNum() uint32

func (*PovApiGetLastNHourItem) GetAvgTxPerBlock

func (x *PovApiGetLastNHourItem) GetAvgTxPerBlock() uint32

func (*PovApiGetLastNHourItem) GetHour

func (x *PovApiGetLastNHourItem) GetHour() uint32

func (*PovApiGetLastNHourItem) GetMaxTxPerBlock

func (x *PovApiGetLastNHourItem) GetMaxTxPerBlock() uint32

func (*PovApiGetLastNHourItem) GetMinTxPerBlock

func (x *PovApiGetLastNHourItem) GetMinTxPerBlock() uint32

func (*PovApiGetLastNHourItem) GetScryptBlockNum

func (x *PovApiGetLastNHourItem) GetScryptBlockNum() uint32

func (*PovApiGetLastNHourItem) GetSha256DBlockNum

func (x *PovApiGetLastNHourItem) GetSha256DBlockNum() uint32

func (*PovApiGetLastNHourItem) GetX11BlockNum

func (x *PovApiGetLastNHourItem) GetX11BlockNum() uint32

func (*PovApiGetLastNHourItem) ProtoMessage

func (*PovApiGetLastNHourItem) ProtoMessage()

func (*PovApiGetLastNHourItem) ProtoReflect

func (x *PovApiGetLastNHourItem) ProtoReflect() protoreflect.Message

func (*PovApiGetLastNHourItem) Reset

func (x *PovApiGetLastNHourItem) Reset()

func (*PovApiGetLastNHourItem) String

func (x *PovApiGetLastNHourItem) String() string

type PovApiGetMiningInfo

type PovApiGetMiningInfo struct {
	SyncState          int32           `protobuf:"varint,1,opt,name=syncState,proto3" json:"syncState,omitempty"`
	SyncStateStr       string          `protobuf:"bytes,2,opt,name=syncStateStr,proto3" json:"syncStateStr,omitempty"`
	CurrentBlockHeight uint64          `protobuf:"varint,3,opt,name=currentBlockHeight,proto3" json:"currentBlockHeight,omitempty"`
	CurrentBlockHash   string          `protobuf:"bytes,4,opt,name=currentBlockHash,proto3" json:"currentBlockHash,omitempty"`
	CurrentBlockSize   uint32          `protobuf:"varint,5,opt,name=currentBlockSize,proto3" json:"currentBlockSize,omitempty"`
	CurrentBlockTx     uint32          `protobuf:"varint,6,opt,name=currentBlockTx,proto3" json:"currentBlockTx,omitempty"`
	CurrentBlockAlgo   string          `protobuf:"bytes,7,opt,name=currentBlockAlgo,proto3" json:"currentBlockAlgo,omitempty"`
	PooledTx           uint32          `protobuf:"varint,8,opt,name=pooledTx,proto3" json:"pooledTx,omitempty"`
	Difficulty         float64         `protobuf:"fixed64,9,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	HashInfo           *PovApiHashInfo `protobuf:"bytes,10,opt,name=hashInfo,proto3" json:"hashInfo,omitempty"`
	MinerAddr          string          `protobuf:"bytes,11,opt,name=minerAddr,proto3" json:"minerAddr,omitempty"`
	AlgoName           string          `protobuf:"bytes,12,opt,name=algoName,proto3" json:"algoName,omitempty"`
	AlgoEfficiency     uint32          `protobuf:"varint,13,opt,name=algoEfficiency,proto3" json:"algoEfficiency,omitempty"`
	CpuMining          bool            `protobuf:"varint,14,opt,name=cpuMining,proto3" json:"cpuMining,omitempty"`
	// contains filtered or unexported fields
}

func (*PovApiGetMiningInfo) Descriptor deprecated

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

Deprecated: Use PovApiGetMiningInfo.ProtoReflect.Descriptor instead.

func (*PovApiGetMiningInfo) GetAlgoEfficiency

func (x *PovApiGetMiningInfo) GetAlgoEfficiency() uint32

func (*PovApiGetMiningInfo) GetAlgoName

func (x *PovApiGetMiningInfo) GetAlgoName() string

func (*PovApiGetMiningInfo) GetCpuMining

func (x *PovApiGetMiningInfo) GetCpuMining() bool

func (*PovApiGetMiningInfo) GetCurrentBlockAlgo

func (x *PovApiGetMiningInfo) GetCurrentBlockAlgo() string

func (*PovApiGetMiningInfo) GetCurrentBlockHash

func (x *PovApiGetMiningInfo) GetCurrentBlockHash() string

func (*PovApiGetMiningInfo) GetCurrentBlockHeight

func (x *PovApiGetMiningInfo) GetCurrentBlockHeight() uint64

func (*PovApiGetMiningInfo) GetCurrentBlockSize

func (x *PovApiGetMiningInfo) GetCurrentBlockSize() uint32

func (*PovApiGetMiningInfo) GetCurrentBlockTx

func (x *PovApiGetMiningInfo) GetCurrentBlockTx() uint32

func (*PovApiGetMiningInfo) GetDifficulty

func (x *PovApiGetMiningInfo) GetDifficulty() float64

func (*PovApiGetMiningInfo) GetHashInfo

func (x *PovApiGetMiningInfo) GetHashInfo() *PovApiHashInfo

func (*PovApiGetMiningInfo) GetMinerAddr

func (x *PovApiGetMiningInfo) GetMinerAddr() string

func (*PovApiGetMiningInfo) GetPooledTx

func (x *PovApiGetMiningInfo) GetPooledTx() uint32

func (*PovApiGetMiningInfo) GetSyncState

func (x *PovApiGetMiningInfo) GetSyncState() int32

func (*PovApiGetMiningInfo) GetSyncStateStr

func (x *PovApiGetMiningInfo) GetSyncStateStr() string

func (*PovApiGetMiningInfo) ProtoMessage

func (*PovApiGetMiningInfo) ProtoMessage()

func (*PovApiGetMiningInfo) ProtoReflect

func (x *PovApiGetMiningInfo) ProtoReflect() protoreflect.Message

func (*PovApiGetMiningInfo) Reset

func (x *PovApiGetMiningInfo) Reset()

func (*PovApiGetMiningInfo) String

func (x *PovApiGetMiningInfo) String() string

type PovApiGetWork

type PovApiGetWork struct {
	WorkHash      string   `protobuf:"bytes,1,opt,name=workHash,proto3" json:"workHash,omitempty"`
	Version       uint32   `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	Previous      string   `protobuf:"bytes,3,opt,name=previous,proto3" json:"previous,omitempty"`
	Bits          uint32   `protobuf:"varint,4,opt,name=bits,proto3" json:"bits,omitempty"`
	Height        uint64   `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
	MinTime       uint32   `protobuf:"varint,6,opt,name=minTime,proto3" json:"minTime,omitempty"`
	MerkleBranch  []string `protobuf:"bytes,7,rep,name=merkleBranch,proto3" json:"merkleBranch,omitempty"`
	CoinBaseData1 string   `protobuf:"bytes,8,opt,name=coinBaseData1,proto3" json:"coinBaseData1,omitempty"` //bytes
	CoinBaseData2 string   `protobuf:"bytes,9,opt,name=coinBaseData2,proto3" json:"coinBaseData2,omitempty"` //bytes
	// contains filtered or unexported fields
}

func (*PovApiGetWork) Descriptor deprecated

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

Deprecated: Use PovApiGetWork.ProtoReflect.Descriptor instead.

func (*PovApiGetWork) GetBits

func (x *PovApiGetWork) GetBits() uint32

func (*PovApiGetWork) GetCoinBaseData1

func (x *PovApiGetWork) GetCoinBaseData1() string

func (*PovApiGetWork) GetCoinBaseData2

func (x *PovApiGetWork) GetCoinBaseData2() string

func (*PovApiGetWork) GetHeight

func (x *PovApiGetWork) GetHeight() uint64

func (*PovApiGetWork) GetMerkleBranch

func (x *PovApiGetWork) GetMerkleBranch() []string

func (*PovApiGetWork) GetMinTime

func (x *PovApiGetWork) GetMinTime() uint32

func (*PovApiGetWork) GetPrevious

func (x *PovApiGetWork) GetPrevious() string

func (*PovApiGetWork) GetVersion

func (x *PovApiGetWork) GetVersion() uint32

func (*PovApiGetWork) GetWorkHash

func (x *PovApiGetWork) GetWorkHash() string

func (*PovApiGetWork) ProtoMessage

func (*PovApiGetWork) ProtoMessage()

func (*PovApiGetWork) ProtoReflect

func (x *PovApiGetWork) ProtoReflect() protoreflect.Message

func (*PovApiGetWork) Reset

func (x *PovApiGetWork) Reset()

func (*PovApiGetWork) String

func (x *PovApiGetWork) String() string

type PovApiHashInfo

type PovApiHashInfo struct {
	ChainHashPS   uint64 `protobuf:"varint,1,opt,name=chainHashPS,proto3" json:"chainHashPS,omitempty"`
	Sha256DHashPS uint64 `protobuf:"varint,2,opt,name=sha256dHashPS,proto3" json:"sha256dHashPS,omitempty"`
	ScryptHashPS  uint64 `protobuf:"varint,3,opt,name=scryptHashPS,proto3" json:"scryptHashPS,omitempty"`
	X11HashPS     uint64 `protobuf:"varint,4,opt,name=x11HashPS,proto3" json:"x11HashPS,omitempty"`
	// contains filtered or unexported fields
}

func (*PovApiHashInfo) Descriptor deprecated

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

Deprecated: Use PovApiHashInfo.ProtoReflect.Descriptor instead.

func (*PovApiHashInfo) GetChainHashPS

func (x *PovApiHashInfo) GetChainHashPS() uint64

func (*PovApiHashInfo) GetScryptHashPS

func (x *PovApiHashInfo) GetScryptHashPS() uint64

func (*PovApiHashInfo) GetSha256DHashPS

func (x *PovApiHashInfo) GetSha256DHashPS() uint64

func (*PovApiHashInfo) GetX11HashPS

func (x *PovApiHashInfo) GetX11HashPS() uint64

func (*PovApiHashInfo) ProtoMessage

func (*PovApiHashInfo) ProtoMessage()

func (*PovApiHashInfo) ProtoReflect

func (x *PovApiHashInfo) ProtoReflect() protoreflect.Message

func (*PovApiHashInfo) Reset

func (x *PovApiHashInfo) Reset()

func (*PovApiHashInfo) String

func (x *PovApiHashInfo) String() string

type PovApiHeader

type PovApiHeader struct {

	//    types.PovHeader povHeader      = 1;
	BasHdr         *types.PovBaseHeader `protobuf:"bytes,1,opt,name=basHdr,proto3" json:"basHdr,omitempty"`
	AuxHdr         *types.PovAuxHeader  `protobuf:"bytes,2,opt,name=auxHdr,proto3" json:"auxHdr,omitempty"`
	CbTx           *types.PovCoinBaseTx `protobuf:"bytes,3,opt,name=cbTx,proto3" json:"cbTx,omitempty"`
	AlgoName       string               `protobuf:"bytes,4,opt,name=algoName,proto3" json:"algoName,omitempty"`
	AlgoEfficiency uint32               `protobuf:"varint,5,opt,name=algoEfficiency,proto3" json:"algoEfficiency,omitempty"`
	NormBits       uint32               `protobuf:"varint,6,opt,name=normBits,proto3" json:"normBits,omitempty"`
	NormDifficulty float64              `protobuf:"fixed64,7,opt,name=normDifficulty,proto3" json:"normDifficulty,omitempty"`
	AlgoDifficulty float64              `protobuf:"fixed64,8,opt,name=algoDifficulty,proto3" json:"algoDifficulty,omitempty"`
	// contains filtered or unexported fields
}

func (*PovApiHeader) Descriptor deprecated

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

Deprecated: Use PovApiHeader.ProtoReflect.Descriptor instead.

func (*PovApiHeader) GetAlgoDifficulty

func (x *PovApiHeader) GetAlgoDifficulty() float64

func (*PovApiHeader) GetAlgoEfficiency

func (x *PovApiHeader) GetAlgoEfficiency() uint32

func (*PovApiHeader) GetAlgoName

func (x *PovApiHeader) GetAlgoName() string

func (*PovApiHeader) GetAuxHdr

func (x *PovApiHeader) GetAuxHdr() *types.PovAuxHeader

func (*PovApiHeader) GetBasHdr

func (x *PovApiHeader) GetBasHdr() *types.PovBaseHeader

func (*PovApiHeader) GetCbTx

func (x *PovApiHeader) GetCbTx() *types.PovCoinBaseTx

func (*PovApiHeader) GetNormBits

func (x *PovApiHeader) GetNormBits() uint32

func (*PovApiHeader) GetNormDifficulty

func (x *PovApiHeader) GetNormDifficulty() float64

func (*PovApiHeader) ProtoMessage

func (*PovApiHeader) ProtoMessage()

func (*PovApiHeader) ProtoReflect

func (x *PovApiHeader) ProtoReflect() protoreflect.Message

func (*PovApiHeader) Reset

func (x *PovApiHeader) Reset()

func (*PovApiHeader) String

func (x *PovApiHeader) String() string

type PovApiKeyValPair

type PovApiKeyValPair struct {
	Key   []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PovApiKeyValPair) Descriptor deprecated

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

Deprecated: Use PovApiKeyValPair.ProtoReflect.Descriptor instead.

func (*PovApiKeyValPair) GetKey

func (x *PovApiKeyValPair) GetKey() []byte

func (*PovApiKeyValPair) GetValue

func (x *PovApiKeyValPair) GetValue() []byte

func (*PovApiKeyValPair) ProtoMessage

func (*PovApiKeyValPair) ProtoMessage()

func (*PovApiKeyValPair) ProtoReflect

func (x *PovApiKeyValPair) ProtoReflect() protoreflect.Message

func (*PovApiKeyValPair) Reset

func (x *PovApiKeyValPair) Reset()

func (*PovApiKeyValPair) String

func (x *PovApiKeyValPair) String() string

type PovApiRepState

type PovApiRepState struct {
	StateHash string                        `protobuf:"bytes,1,opt,name=stateHash,proto3" json:"stateHash,omitempty"`
	Reps      map[string]*types.PovRepState `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PovApiRepState) Descriptor deprecated

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

Deprecated: Use PovApiRepState.ProtoReflect.Descriptor instead.

func (*PovApiRepState) GetReps

func (x *PovApiRepState) GetReps() map[string]*types.PovRepState

func (*PovApiRepState) GetStateHash

func (x *PovApiRepState) GetStateHash() string

func (*PovApiRepState) ProtoMessage

func (*PovApiRepState) ProtoMessage()

func (*PovApiRepState) ProtoReflect

func (x *PovApiRepState) ProtoReflect() protoreflect.Message

func (*PovApiRepState) Reset

func (x *PovApiRepState) Reset()

func (*PovApiRepState) String

func (x *PovApiRepState) String() string

type PovApiState

type PovApiState struct {
	AccountState  *types.PovAccountState  `protobuf:"bytes,1,opt,name=accountState,proto3" json:"accountState,omitempty"`
	RepState      *types.PovRepState      `protobuf:"bytes,2,opt,name=repState,proto3" json:"repState,omitempty"`
	ContractState *types.PovContractState `protobuf:"bytes,3,opt,name=contractState,proto3" json:"contractState,omitempty"`
	// contains filtered or unexported fields
}

func (*PovApiState) Descriptor deprecated

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

Deprecated: Use PovApiState.ProtoReflect.Descriptor instead.

func (*PovApiState) GetAccountState

func (x *PovApiState) GetAccountState() *types.PovAccountState

func (*PovApiState) GetContractState

func (x *PovApiState) GetContractState() *types.PovContractState

func (*PovApiState) GetRepState

func (x *PovApiState) GetRepState() *types.PovRepState

func (*PovApiState) ProtoMessage

func (*PovApiState) ProtoMessage()

func (*PovApiState) ProtoReflect

func (x *PovApiState) ProtoReflect() protoreflect.Message

func (*PovApiState) Reset

func (x *PovApiState) Reset()

func (*PovApiState) String

func (x *PovApiState) String() string

type PovApiSubmitWork

type PovApiSubmitWork struct {
	WorkHash      string              `protobuf:"bytes,1,opt,name=workHash,proto3" json:"workHash,omitempty"`
	BlockHash     string              `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	MerkleRoot    string              `protobuf:"bytes,3,opt,name=merkleRoot,proto3" json:"merkleRoot,omitempty"`
	Timestamp     uint32              `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Nonce         uint32              `protobuf:"varint,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	CoinbaseExtra string              `protobuf:"bytes,6,opt,name=coinbaseExtra,proto3" json:"coinbaseExtra,omitempty"` //bytes
	CoinbaseHash  string              `protobuf:"bytes,7,opt,name=coinbaseHash,proto3" json:"coinbaseHash,omitempty"`
	AuxPow        *types.PovAuxHeader `protobuf:"bytes,8,opt,name=auxPow,proto3" json:"auxPow,omitempty"`
	// contains filtered or unexported fields
}

func (*PovApiSubmitWork) Descriptor deprecated

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

Deprecated: Use PovApiSubmitWork.ProtoReflect.Descriptor instead.

func (*PovApiSubmitWork) GetAuxPow

func (x *PovApiSubmitWork) GetAuxPow() *types.PovAuxHeader

func (*PovApiSubmitWork) GetBlockHash

func (x *PovApiSubmitWork) GetBlockHash() string

func (*PovApiSubmitWork) GetCoinbaseExtra

func (x *PovApiSubmitWork) GetCoinbaseExtra() string

func (*PovApiSubmitWork) GetCoinbaseHash

func (x *PovApiSubmitWork) GetCoinbaseHash() string

func (*PovApiSubmitWork) GetMerkleRoot

func (x *PovApiSubmitWork) GetMerkleRoot() string

func (*PovApiSubmitWork) GetNonce

func (x *PovApiSubmitWork) GetNonce() uint32

func (*PovApiSubmitWork) GetTimestamp

func (x *PovApiSubmitWork) GetTimestamp() uint32

func (*PovApiSubmitWork) GetWorkHash

func (x *PovApiSubmitWork) GetWorkHash() string

func (*PovApiSubmitWork) ProtoMessage

func (*PovApiSubmitWork) ProtoMessage()

func (*PovApiSubmitWork) ProtoReflect

func (x *PovApiSubmitWork) ProtoReflect() protoreflect.Message

func (*PovApiSubmitWork) Reset

func (x *PovApiSubmitWork) Reset()

func (*PovApiSubmitWork) String

func (x *PovApiSubmitWork) String() string

type PovApiTD

type PovApiTD struct {
	Header *types.PovHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Td     *types.PovTD     `protobuf:"bytes,2,opt,name=td,proto3" json:"td,omitempty"`
	// contains filtered or unexported fields
}

func (*PovApiTD) Descriptor deprecated

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

Deprecated: Use PovApiTD.ProtoReflect.Descriptor instead.

func (*PovApiTD) GetHeader

func (x *PovApiTD) GetHeader() *types.PovHeader

func (*PovApiTD) GetTd

func (x *PovApiTD) GetTd() *types.PovTD

func (*PovApiTD) ProtoMessage

func (*PovApiTD) ProtoMessage()

func (*PovApiTD) ProtoReflect

func (x *PovApiTD) ProtoReflect() protoreflect.Message

func (*PovApiTD) Reset

func (x *PovApiTD) Reset()

func (*PovApiTD) String

func (x *PovApiTD) String() string

type PovApiTxLookup

type PovApiTxLookup struct {
	TxHash     string               `protobuf:"bytes,1,opt,name=txHash,proto3" json:"txHash,omitempty"`
	TxLookup   *types.PovTxLookup   `protobuf:"bytes,2,opt,name=txLookup,proto3" json:"txLookup,omitempty"`
	CoinbaseTx *types.PovCoinBaseTx `protobuf:"bytes,3,opt,name=coinbaseTx,proto3" json:"coinbaseTx,omitempty"`
	AccountTx  *types.StateBlock    `protobuf:"bytes,4,opt,name=accountTx,proto3" json:"accountTx,omitempty"`
	// contains filtered or unexported fields
}

func (*PovApiTxLookup) Descriptor deprecated

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

Deprecated: Use PovApiTxLookup.ProtoReflect.Descriptor instead.

func (*PovApiTxLookup) GetAccountTx

func (x *PovApiTxLookup) GetAccountTx() *types.StateBlock

func (*PovApiTxLookup) GetCoinbaseTx

func (x *PovApiTxLookup) GetCoinbaseTx() *types.PovCoinBaseTx

func (*PovApiTxLookup) GetTxHash

func (x *PovApiTxLookup) GetTxHash() string

func (*PovApiTxLookup) GetTxLookup

func (x *PovApiTxLookup) GetTxLookup() *types.PovTxLookup

func (*PovApiTxLookup) ProtoMessage

func (*PovApiTxLookup) ProtoMessage()

func (*PovApiTxLookup) ProtoReflect

func (x *PovApiTxLookup) ProtoReflect() protoreflect.Message

func (*PovApiTxLookup) Reset

func (x *PovApiTxLookup) Reset()

func (*PovApiTxLookup) String

func (x *PovApiTxLookup) String() string

type PovLedgerStats

type PovLedgerStats struct {
	PovBlockCount   uint64 `protobuf:"varint,1,opt,name=povBlockCount,proto3" json:"povBlockCount,omitempty"`
	PovBestCount    uint64 `protobuf:"varint,2,opt,name=povBestCount,proto3" json:"povBestCount,omitempty"`
	PovAllTxCount   uint64 `protobuf:"varint,3,opt,name=povAllTxCount,proto3" json:"povAllTxCount,omitempty"`
	PovCbTxCount    uint64 `protobuf:"varint,4,opt,name=povCbTxCount,proto3" json:"povCbTxCount,omitempty"`
	PovStateTxCount uint64 `protobuf:"varint,5,opt,name=povStateTxCount,proto3" json:"povStateTxCount,omitempty"`
	StateBlockCount uint64 `protobuf:"varint,6,opt,name=stateBlockCount,proto3" json:"stateBlockCount,omitempty"`
	// contains filtered or unexported fields
}

func (*PovLedgerStats) Descriptor deprecated

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

Deprecated: Use PovLedgerStats.ProtoReflect.Descriptor instead.

func (*PovLedgerStats) GetPovAllTxCount

func (x *PovLedgerStats) GetPovAllTxCount() uint64

func (*PovLedgerStats) GetPovBestCount

func (x *PovLedgerStats) GetPovBestCount() uint64

func (*PovLedgerStats) GetPovBlockCount

func (x *PovLedgerStats) GetPovBlockCount() uint64

func (*PovLedgerStats) GetPovCbTxCount

func (x *PovLedgerStats) GetPovCbTxCount() uint64

func (*PovLedgerStats) GetPovStateTxCount

func (x *PovLedgerStats) GetPovStateTxCount() uint64

func (*PovLedgerStats) GetStateBlockCount

func (x *PovLedgerStats) GetStateBlockCount() uint64

func (*PovLedgerStats) ProtoMessage

func (*PovLedgerStats) ProtoMessage()

func (*PovLedgerStats) ProtoReflect

func (x *PovLedgerStats) ProtoReflect() protoreflect.Message

func (*PovLedgerStats) Reset

func (x *PovLedgerStats) Reset()

func (*PovLedgerStats) String

func (x *PovLedgerStats) String() string

type PovMinerStatItem

type PovMinerStatItem struct {
	Account            string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	MainBlockNum       uint32 `protobuf:"varint,2,opt,name=mainBlockNum,proto3" json:"mainBlockNum,omitempty"`
	MainRewardAmount   int64  `protobuf:"varint,3,opt,name=mainRewardAmount,proto3" json:"mainRewardAmount,omitempty"`
	StableBlockNum     uint32 `protobuf:"varint,4,opt,name=stableBlockNum,proto3" json:"stableBlockNum,omitempty"`
	StableRewardAmount int64  `protobuf:"varint,5,opt,name=stableRewardAmount,proto3" json:"stableRewardAmount,omitempty"`
	FirstBlockTime     int64  `protobuf:"varint,6,opt,name=firstBlockTime,proto3" json:"firstBlockTime,omitempty"`
	LastBlockTime      int64  `protobuf:"varint,7,opt,name=lastBlockTime,proto3" json:"lastBlockTime,omitempty"`
	FirstBlockHeight   uint64 `protobuf:"varint,8,opt,name=firstBlockHeight,proto3" json:"firstBlockHeight,omitempty"`
	LastBlockHeight    uint64 `protobuf:"varint,9,opt,name=lastBlockHeight,proto3" json:"lastBlockHeight,omitempty"`
	IsHourOnline       bool   `protobuf:"varint,10,opt,name=isHourOnline,proto3" json:"isHourOnline,omitempty"`
	IsDayOnline        bool   `protobuf:"varint,11,opt,name=isDayOnline,proto3" json:"isDayOnline,omitempty"`
	// contains filtered or unexported fields
}

func (*PovMinerStatItem) Descriptor deprecated

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

Deprecated: Use PovMinerStatItem.ProtoReflect.Descriptor instead.

func (*PovMinerStatItem) GetAccount

func (x *PovMinerStatItem) GetAccount() string

func (*PovMinerStatItem) GetFirstBlockHeight

func (x *PovMinerStatItem) GetFirstBlockHeight() uint64

func (*PovMinerStatItem) GetFirstBlockTime

func (x *PovMinerStatItem) GetFirstBlockTime() int64

func (*PovMinerStatItem) GetIsDayOnline

func (x *PovMinerStatItem) GetIsDayOnline() bool

func (*PovMinerStatItem) GetIsHourOnline

func (x *PovMinerStatItem) GetIsHourOnline() bool

func (*PovMinerStatItem) GetLastBlockHeight

func (x *PovMinerStatItem) GetLastBlockHeight() uint64

func (*PovMinerStatItem) GetLastBlockTime

func (x *PovMinerStatItem) GetLastBlockTime() int64

func (*PovMinerStatItem) GetMainBlockNum

func (x *PovMinerStatItem) GetMainBlockNum() uint32

func (*PovMinerStatItem) GetMainRewardAmount

func (x *PovMinerStatItem) GetMainRewardAmount() int64

func (*PovMinerStatItem) GetStableBlockNum

func (x *PovMinerStatItem) GetStableBlockNum() uint32

func (*PovMinerStatItem) GetStableRewardAmount

func (x *PovMinerStatItem) GetStableRewardAmount() int64

func (*PovMinerStatItem) ProtoMessage

func (*PovMinerStatItem) ProtoMessage()

func (*PovMinerStatItem) ProtoReflect

func (x *PovMinerStatItem) ProtoReflect() protoreflect.Message

func (*PovMinerStatItem) Reset

func (x *PovMinerStatItem) Reset()

func (*PovMinerStatItem) String

func (x *PovMinerStatItem) String() string

type PovMinerStats

type PovMinerStats struct {
	MinerCount        int32                        `protobuf:"varint,1,opt,name=minerCount,proto3" json:"minerCount,omitempty"`
	HourOnlineCount   int32                        `protobuf:"varint,2,opt,name=hourOnlineCount,proto3" json:"hourOnlineCount,omitempty"`
	DayOnlineCount    int32                        `protobuf:"varint,3,opt,name=dayOnlineCount,proto3" json:"dayOnlineCount,omitempty"`
	MinerStats        map[string]*PovMinerStatItem `` /* 161-byte string literal not displayed */
	TotalBlockNum     uint32                       `protobuf:"varint,5,opt,name=totalBlockNum,proto3" json:"totalBlockNum,omitempty"`
	TotalRewardAmount int64                        `protobuf:"varint,6,opt,name=totalRewardAmount,proto3" json:"totalRewardAmount,omitempty"`
	TotalMinerReward  int64                        `protobuf:"varint,7,opt,name=totalMinerReward,proto3" json:"totalMinerReward,omitempty"`
	TotalRepReward    int64                        `protobuf:"varint,8,opt,name=totalRepReward,proto3" json:"totalRepReward,omitempty"`
	LatestBlockHeight uint64                       `protobuf:"varint,9,opt,name=latestBlockHeight,proto3" json:"latestBlockHeight,omitempty"`
	// contains filtered or unexported fields
}

func (*PovMinerStats) Descriptor deprecated

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

Deprecated: Use PovMinerStats.ProtoReflect.Descriptor instead.

func (*PovMinerStats) GetDayOnlineCount

func (x *PovMinerStats) GetDayOnlineCount() int32

func (*PovMinerStats) GetHourOnlineCount

func (x *PovMinerStats) GetHourOnlineCount() int32

func (*PovMinerStats) GetLatestBlockHeight

func (x *PovMinerStats) GetLatestBlockHeight() uint64

func (*PovMinerStats) GetMinerCount

func (x *PovMinerStats) GetMinerCount() int32

func (*PovMinerStats) GetMinerStats

func (x *PovMinerStats) GetMinerStats() map[string]*PovMinerStatItem

func (*PovMinerStats) GetTotalBlockNum

func (x *PovMinerStats) GetTotalBlockNum() uint32

func (*PovMinerStats) GetTotalMinerReward

func (x *PovMinerStats) GetTotalMinerReward() int64

func (*PovMinerStats) GetTotalRepReward

func (x *PovMinerStats) GetTotalRepReward() int64

func (*PovMinerStats) GetTotalRewardAmount

func (x *PovMinerStats) GetTotalRewardAmount() int64

func (*PovMinerStats) ProtoMessage

func (*PovMinerStats) ProtoMessage()

func (*PovMinerStats) ProtoReflect

func (x *PovMinerStats) ProtoReflect() protoreflect.Message

func (*PovMinerStats) Reset

func (x *PovMinerStats) Reset()

func (*PovMinerStats) String

func (x *PovMinerStats) String() string

type PovRepStatItem

type PovRepStatItem struct {
	MainBlockNum       uint32 `protobuf:"varint,1,opt,name=mainBlockNum,proto3" json:"mainBlockNum,omitempty"`
	MainRewardAmount   string `protobuf:"bytes,2,opt,name=mainRewardAmount,proto3" json:"mainRewardAmount,omitempty"`
	MainOnlinePeriod   uint32 `protobuf:"varint,3,opt,name=mainOnlinePeriod,proto3" json:"mainOnlinePeriod,omitempty"`
	StableBlockNum     uint32 `protobuf:"varint,4,opt,name=stableBlockNum,proto3" json:"stableBlockNum,omitempty"`
	StableRewardAmount string `protobuf:"bytes,5,opt,name=stableRewardAmount,proto3" json:"stableRewardAmount,omitempty"`
	StableOnlinePeriod uint32 `protobuf:"varint,6,opt,name=stableOnlinePeriod,proto3" json:"stableOnlinePeriod,omitempty"`
	LastOnlineTime     int64  `protobuf:"varint,7,opt,name=lastOnlineTime,proto3" json:"lastOnlineTime,omitempty"`
	LastOnlineHeight   uint32 `protobuf:"varint,8,opt,name=lastOnlineHeight,proto3" json:"lastOnlineHeight,omitempty"`
	IsOnline           bool   `protobuf:"varint,9,opt,name=isOnline,proto3" json:"isOnline,omitempty"`
	// contains filtered or unexported fields
}

func (*PovRepStatItem) Descriptor deprecated

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

Deprecated: Use PovRepStatItem.ProtoReflect.Descriptor instead.

func (*PovRepStatItem) GetIsOnline

func (x *PovRepStatItem) GetIsOnline() bool

func (*PovRepStatItem) GetLastOnlineHeight

func (x *PovRepStatItem) GetLastOnlineHeight() uint32

func (*PovRepStatItem) GetLastOnlineTime

func (x *PovRepStatItem) GetLastOnlineTime() int64

func (*PovRepStatItem) GetMainBlockNum

func (x *PovRepStatItem) GetMainBlockNum() uint32

func (*PovRepStatItem) GetMainOnlinePeriod

func (x *PovRepStatItem) GetMainOnlinePeriod() uint32

func (*PovRepStatItem) GetMainRewardAmount

func (x *PovRepStatItem) GetMainRewardAmount() string

func (*PovRepStatItem) GetStableBlockNum

func (x *PovRepStatItem) GetStableBlockNum() uint32

func (*PovRepStatItem) GetStableOnlinePeriod

func (x *PovRepStatItem) GetStableOnlinePeriod() uint32

func (*PovRepStatItem) GetStableRewardAmount

func (x *PovRepStatItem) GetStableRewardAmount() string

func (*PovRepStatItem) ProtoMessage

func (*PovRepStatItem) ProtoMessage()

func (*PovRepStatItem) ProtoReflect

func (x *PovRepStatItem) ProtoReflect() protoreflect.Message

func (*PovRepStatItem) Reset

func (x *PovRepStatItem) Reset()

func (*PovRepStatItem) String

func (x *PovRepStatItem) String() string

type PovRepStats

type PovRepStats struct {
	RepCount          uint32                     `protobuf:"varint,1,opt,name=repCount,proto3" json:"repCount,omitempty"`
	RepStats          map[string]*PovRepStatItem `` /* 157-byte string literal not displayed */
	TotalBlockNum     uint32                     `protobuf:"varint,3,opt,name=totalBlockNum,proto3" json:"totalBlockNum,omitempty"`
	TotalPeriod       uint32                     `protobuf:"varint,4,opt,name=totalPeriod,proto3" json:"totalPeriod,omitempty"`
	TotalRewardAmount int64                      `protobuf:"varint,5,opt,name=totalRewardAmount,proto3" json:"totalRewardAmount,omitempty"`
	LatestBlockHeight uint64                     `protobuf:"varint,6,opt,name=latestBlockHeight,proto3" json:"latestBlockHeight,omitempty"`
	// contains filtered or unexported fields
}

func (*PovRepStats) Descriptor deprecated

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

Deprecated: Use PovRepStats.ProtoReflect.Descriptor instead.

func (*PovRepStats) GetLatestBlockHeight

func (x *PovRepStats) GetLatestBlockHeight() uint64

func (*PovRepStats) GetRepCount

func (x *PovRepStats) GetRepCount() uint32

func (*PovRepStats) GetRepStats

func (x *PovRepStats) GetRepStats() map[string]*PovRepStatItem

func (*PovRepStats) GetTotalBlockNum

func (x *PovRepStats) GetTotalBlockNum() uint32

func (*PovRepStats) GetTotalPeriod

func (x *PovRepStats) GetTotalPeriod() uint32

func (*PovRepStats) GetTotalRewardAmount

func (x *PovRepStats) GetTotalRewardAmount() int64

func (*PovRepStats) ProtoMessage

func (*PovRepStats) ProtoMessage()

func (*PovRepStats) ProtoReflect

func (x *PovRepStats) ProtoReflect() protoreflect.Message

func (*PovRepStats) Reset

func (x *PovRepStats) Reset()

func (*PovRepStats) String

func (x *PovRepStats) String() string

type PovStatus

type PovStatus struct {
	PovEnabled   bool   `protobuf:"varint,1,opt,name=povEnabled,proto3" json:"povEnabled,omitempty"`
	SyncState    int32  `protobuf:"varint,2,opt,name=syncState,proto3" json:"syncState,omitempty"`
	SyncStateStr string `protobuf:"bytes,3,opt,name=syncStateStr,proto3" json:"syncStateStr,omitempty"`
	// contains filtered or unexported fields
}

func (*PovStatus) Descriptor deprecated

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

Deprecated: Use PovStatus.ProtoReflect.Descriptor instead.

func (*PovStatus) GetPovEnabled

func (x *PovStatus) GetPovEnabled() bool

func (*PovStatus) GetSyncState

func (x *PovStatus) GetSyncState() int32

func (*PovStatus) GetSyncStateStr

func (x *PovStatus) GetSyncStateStr() string

func (*PovStatus) ProtoMessage

func (*PovStatus) ProtoMessage()

func (*PovStatus) ProtoReflect

func (x *PovStatus) ProtoReflect() protoreflect.Message

func (*PovStatus) Reset

func (x *PovStatus) Reset()

func (*PovStatus) String

func (x *PovStatus) String() string

type PrivacyAPIClient

type PrivacyAPIClient interface {
	DistributeRawPayload(ctx context.Context, in *PrivacyDistributeParam, opts ...grpc.CallOption) (*Bytes, error)
	GetRawPayload(ctx context.Context, in *Bytes, opts ...grpc.CallOption) (*Bytes, error)
	GetBlockPrivatePayload(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*Bytes, error)
	GetDemoKV(ctx context.Context, in *Bytes, opts ...grpc.CallOption) (*Bytes, error)
}

PrivacyAPIClient is the client API for PrivacyAPI service.

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

func NewPrivacyAPIClient

func NewPrivacyAPIClient(cc grpc.ClientConnInterface) PrivacyAPIClient

type PrivacyAPIServer

type PrivacyAPIServer interface {
	DistributeRawPayload(context.Context, *PrivacyDistributeParam) (*Bytes, error)
	GetRawPayload(context.Context, *Bytes) (*Bytes, error)
	GetBlockPrivatePayload(context.Context, *types.Hash) (*Bytes, error)
	GetDemoKV(context.Context, *Bytes) (*Bytes, error)
}

PrivacyAPIServer is the server API for PrivacyAPI service.

type PrivacyDistributeParam

type PrivacyDistributeParam struct {
	RawPayload     []byte   `protobuf:"bytes,1,opt,name=rawPayload,proto3" json:"rawPayload,omitempty"`
	PrivateFrom    string   `protobuf:"bytes,2,opt,name=privateFrom,proto3" json:"privateFrom,omitempty"`
	PrivateFor     []string `protobuf:"bytes,3,rep,name=privateFor,proto3" json:"privateFor,omitempty"`
	PrivateGroupID string   `protobuf:"bytes,4,opt,name=privateGroupID,proto3" json:"privateGroupID,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivacyDistributeParam) Descriptor deprecated

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

Deprecated: Use PrivacyDistributeParam.ProtoReflect.Descriptor instead.

func (*PrivacyDistributeParam) GetPrivateFor

func (x *PrivacyDistributeParam) GetPrivateFor() []string

func (*PrivacyDistributeParam) GetPrivateFrom

func (x *PrivacyDistributeParam) GetPrivateFrom() string

func (*PrivacyDistributeParam) GetPrivateGroupID

func (x *PrivacyDistributeParam) GetPrivateGroupID() string

func (*PrivacyDistributeParam) GetRawPayload

func (x *PrivacyDistributeParam) GetRawPayload() []byte

func (*PrivacyDistributeParam) ProtoMessage

func (*PrivacyDistributeParam) ProtoMessage()

func (*PrivacyDistributeParam) ProtoReflect

func (x *PrivacyDistributeParam) ProtoReflect() protoreflect.Message

func (*PrivacyDistributeParam) Reset

func (x *PrivacyDistributeParam) Reset()

func (*PrivacyDistributeParam) String

func (x *PrivacyDistributeParam) String() string

type ProcessCDRBlockRequest

type ProcessCDRBlockRequest struct {
	Addr   string            `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Params []*types.CDRParam `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*ProcessCDRBlockRequest) Descriptor deprecated

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

Deprecated: Use ProcessCDRBlockRequest.ProtoReflect.Descriptor instead.

func (*ProcessCDRBlockRequest) GetAddr

func (x *ProcessCDRBlockRequest) GetAddr() string

func (*ProcessCDRBlockRequest) GetParams

func (x *ProcessCDRBlockRequest) GetParams() []*types.CDRParam

func (*ProcessCDRBlockRequest) ProtoMessage

func (*ProcessCDRBlockRequest) ProtoMessage()

func (*ProcessCDRBlockRequest) ProtoReflect

func (x *ProcessCDRBlockRequest) ProtoReflect() protoreflect.Message

func (*ProcessCDRBlockRequest) Reset

func (x *ProcessCDRBlockRequest) Reset()

func (*ProcessCDRBlockRequest) String

func (x *ProcessCDRBlockRequest) String() string

type PtmKeyAPIClient

type PtmKeyAPIClient interface {
	GetPtmKeyUpdateBlock(ctx context.Context, in *PtmKeyUpdateParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetPtmKeyDeleteBlock(ctx context.Context, in *PtmKeyByAccountAndBtypeParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetPtmKeyByAccount(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*PtmKeyUpdateParams, error)
	GetPtmKeyByAccountAndBtype(ctx context.Context, in *PtmKeyByAccountAndBtypeParam, opts ...grpc.CallOption) (*PtmKeyUpdateParams, error)
}

PtmKeyAPIClient is the client API for PtmKeyAPI service.

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

func NewPtmKeyAPIClient

func NewPtmKeyAPIClient(cc grpc.ClientConnInterface) PtmKeyAPIClient

type PtmKeyAPIServer

type PtmKeyAPIServer interface {
	GetPtmKeyUpdateBlock(context.Context, *PtmKeyUpdateParam) (*types.StateBlock, error)
	GetPtmKeyDeleteBlock(context.Context, *PtmKeyByAccountAndBtypeParam) (*types.StateBlock, error)
	GetPtmKeyByAccount(context.Context, *types.Address) (*PtmKeyUpdateParams, error)
	GetPtmKeyByAccountAndBtype(context.Context, *PtmKeyByAccountAndBtypeParam) (*PtmKeyUpdateParams, error)
}

PtmKeyAPIServer is the server API for PtmKeyAPI service.

type PtmKeyByAccountAndBtypeParam

type PtmKeyByAccountAndBtypeParam struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Btype   string `protobuf:"bytes,2,opt,name=btype,proto3" json:"btype,omitempty"`
	// contains filtered or unexported fields
}

func (*PtmKeyByAccountAndBtypeParam) Descriptor deprecated

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

Deprecated: Use PtmKeyByAccountAndBtypeParam.ProtoReflect.Descriptor instead.

func (*PtmKeyByAccountAndBtypeParam) GetAccount

func (x *PtmKeyByAccountAndBtypeParam) GetAccount() string

func (*PtmKeyByAccountAndBtypeParam) GetBtype

func (x *PtmKeyByAccountAndBtypeParam) GetBtype() string

func (*PtmKeyByAccountAndBtypeParam) ProtoMessage

func (*PtmKeyByAccountAndBtypeParam) ProtoMessage()

func (*PtmKeyByAccountAndBtypeParam) ProtoReflect

func (*PtmKeyByAccountAndBtypeParam) Reset

func (x *PtmKeyByAccountAndBtypeParam) Reset()

func (*PtmKeyByAccountAndBtypeParam) String

type PtmKeyUpdateParam

type PtmKeyUpdateParam struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Btype   string `protobuf:"bytes,2,opt,name=btype,proto3" json:"btype,omitempty"`
	Pubkey  string `protobuf:"bytes,3,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	// contains filtered or unexported fields
}

func (*PtmKeyUpdateParam) Descriptor deprecated

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

Deprecated: Use PtmKeyUpdateParam.ProtoReflect.Descriptor instead.

func (*PtmKeyUpdateParam) GetAccount

func (x *PtmKeyUpdateParam) GetAccount() string

func (*PtmKeyUpdateParam) GetBtype

func (x *PtmKeyUpdateParam) GetBtype() string

func (*PtmKeyUpdateParam) GetPubkey

func (x *PtmKeyUpdateParam) GetPubkey() string

func (*PtmKeyUpdateParam) ProtoMessage

func (*PtmKeyUpdateParam) ProtoMessage()

func (*PtmKeyUpdateParam) ProtoReflect

func (x *PtmKeyUpdateParam) ProtoReflect() protoreflect.Message

func (*PtmKeyUpdateParam) Reset

func (x *PtmKeyUpdateParam) Reset()

func (*PtmKeyUpdateParam) String

func (x *PtmKeyUpdateParam) String() string

type PtmKeyUpdateParams

type PtmKeyUpdateParams struct {
	Params []*PtmKeyUpdateParam `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*PtmKeyUpdateParams) Descriptor deprecated

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

Deprecated: Use PtmKeyUpdateParams.ProtoReflect.Descriptor instead.

func (*PtmKeyUpdateParams) GetParams

func (x *PtmKeyUpdateParams) GetParams() []*PtmKeyUpdateParam

func (*PtmKeyUpdateParams) ProtoMessage

func (*PtmKeyUpdateParams) ProtoMessage()

func (*PtmKeyUpdateParams) ProtoReflect

func (x *PtmKeyUpdateParams) ProtoReflect() protoreflect.Message

func (*PtmKeyUpdateParams) Reset

func (x *PtmKeyUpdateParams) Reset()

func (*PtmKeyUpdateParams) String

func (x *PtmKeyUpdateParams) String() string

type PublicKeyDistributionAPIClient

type PublicKeyDistributionAPIClient interface {
	GetVerifierRegisterBlock(ctx context.Context, in *VerifierRegParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetVerifierUnregisterBlock(ctx context.Context, in *VerifierUnRegParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetAllVerifiers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VerifierRegParams, error)
	GetVerifiersByType(ctx context.Context, in *String, opts ...grpc.CallOption) (*VerifierRegParams, error)
	GetActiveVerifiers(ctx context.Context, in *String, opts ...grpc.CallOption) (*VerifierRegParams, error)
	GetVerifiersByAccount(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*VerifierRegParams, error)
	GetVerifierStateByBlockHeight(ctx context.Context, in *VerifierStateByBlockHeightRequest, opts ...grpc.CallOption) (*types.PovVerifierState, error)
	GetAllVerifierStatesByBlockHeight(ctx context.Context, in *UInt64, opts ...grpc.CallOption) (*PKDVerifierStateList, error)
	GetPublishBlock(ctx context.Context, in *PublishParam, opts ...grpc.CallOption) (*PublishRet, error)
	GetUnPublishBlock(ctx context.Context, in *UnPublishParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetPubKeyByTypeAndID(ctx context.Context, in *TypeAndIDParam, opts ...grpc.CallOption) (*PublishInfoStates, error)
	GetRecommendPubKey(ctx context.Context, in *TypeAndIDParam, opts ...grpc.CallOption) (*PublishInfoState, error)
	GetPublishInfosByType(ctx context.Context, in *String, opts ...grpc.CallOption) (*PublishInfoStates, error)
	GetPublishInfosByAccountAndType(ctx context.Context, in *AccountAndTypeParam, opts ...grpc.CallOption) (*PublishInfoStates, error)
	GetOracleBlock(ctx context.Context, in *OracleParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetOracleInfosByType(ctx context.Context, in *String, opts ...grpc.CallOption) (*OracleParams, error)
	GetOracleInfosByTypeAndID(ctx context.Context, in *TypeAndIDParam, opts ...grpc.CallOption) (*OracleParams, error)
	GetOracleInfosByAccountAndType(ctx context.Context, in *AccountAndTypeParam, opts ...grpc.CallOption) (*OracleParams, error)
	GetOracleInfosByHash(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*OracleParams, error)
	PackRewardData(ctx context.Context, in *PKDRewardParam, opts ...grpc.CallOption) (*Bytes, error)
	UnpackRewardData(ctx context.Context, in *Bytes, opts ...grpc.CallOption) (*PKDRewardParam, error)
	GetRewardSendBlock(ctx context.Context, in *PKDRewardParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRewardRecvBlock(ctx context.Context, in *types.StateBlock, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRewardRecvBlockBySendHash(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRewardHistory(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*PKDHistoryRewardInfo, error)
	GetAvailRewardInfo(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*PKDAvailRewardInfo, error)
	GetVerifierHeartBlock(ctx context.Context, in *VerifierHeartBlockRequest, opts ...grpc.CallOption) (*types.StateBlock, error)
}

PublicKeyDistributionAPIClient is the client API for PublicKeyDistributionAPI service.

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

type PublicKeyDistributionAPIServer

type PublicKeyDistributionAPIServer interface {
	GetVerifierRegisterBlock(context.Context, *VerifierRegParam) (*types.StateBlock, error)
	GetVerifierUnregisterBlock(context.Context, *VerifierUnRegParam) (*types.StateBlock, error)
	GetAllVerifiers(context.Context, *empty.Empty) (*VerifierRegParams, error)
	GetVerifiersByType(context.Context, *String) (*VerifierRegParams, error)
	GetActiveVerifiers(context.Context, *String) (*VerifierRegParams, error)
	GetVerifiersByAccount(context.Context, *types.Address) (*VerifierRegParams, error)
	GetVerifierStateByBlockHeight(context.Context, *VerifierStateByBlockHeightRequest) (*types.PovVerifierState, error)
	GetAllVerifierStatesByBlockHeight(context.Context, *UInt64) (*PKDVerifierStateList, error)
	GetPublishBlock(context.Context, *PublishParam) (*PublishRet, error)
	GetUnPublishBlock(context.Context, *UnPublishParam) (*types.StateBlock, error)
	GetPubKeyByTypeAndID(context.Context, *TypeAndIDParam) (*PublishInfoStates, error)
	GetRecommendPubKey(context.Context, *TypeAndIDParam) (*PublishInfoState, error)
	GetPublishInfosByType(context.Context, *String) (*PublishInfoStates, error)
	GetPublishInfosByAccountAndType(context.Context, *AccountAndTypeParam) (*PublishInfoStates, error)
	GetOracleBlock(context.Context, *OracleParam) (*types.StateBlock, error)
	GetOracleInfosByType(context.Context, *String) (*OracleParams, error)
	GetOracleInfosByTypeAndID(context.Context, *TypeAndIDParam) (*OracleParams, error)
	GetOracleInfosByAccountAndType(context.Context, *AccountAndTypeParam) (*OracleParams, error)
	GetOracleInfosByHash(context.Context, *types.Hash) (*OracleParams, error)
	PackRewardData(context.Context, *PKDRewardParam) (*Bytes, error)
	UnpackRewardData(context.Context, *Bytes) (*PKDRewardParam, error)
	GetRewardSendBlock(context.Context, *PKDRewardParam) (*types.StateBlock, error)
	GetRewardRecvBlock(context.Context, *types.StateBlock) (*types.StateBlock, error)
	GetRewardRecvBlockBySendHash(context.Context, *types.Hash) (*types.StateBlock, error)
	GetRewardHistory(context.Context, *types.Address) (*PKDHistoryRewardInfo, error)
	GetAvailRewardInfo(context.Context, *types.Address) (*PKDAvailRewardInfo, error)
	GetVerifierHeartBlock(context.Context, *VerifierHeartBlockRequest) (*types.StateBlock, error)
}

PublicKeyDistributionAPIServer is the server API for PublicKeyDistributionAPI service.

type PublishInfoState

type PublishInfoState struct {

	//    PublishParam    publishParam = 1;
	Account   string                 `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Type      string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Id        string                 `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	PubKey    string                 `protobuf:"bytes,4,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	KeyType   string                 `protobuf:"bytes,5,opt,name=keyType,proto3" json:"keyType,omitempty"`
	Fee       int64                  `protobuf:"varint,6,opt,name=fee,proto3" json:"fee,omitempty"`
	Verifiers []string               `protobuf:"bytes,7,rep,name=verifiers,proto3" json:"verifiers,omitempty"`
	Codes     []string               `protobuf:"bytes,8,rep,name=codes,proto3" json:"codes,omitempty"`
	Hash      string                 `protobuf:"bytes,9,opt,name=hash,proto3" json:"hash,omitempty"`
	State     *types.PovPublishState `protobuf:"bytes,10,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishInfoState) Descriptor deprecated

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

Deprecated: Use PublishInfoState.ProtoReflect.Descriptor instead.

func (*PublishInfoState) GetAccount

func (x *PublishInfoState) GetAccount() string

func (*PublishInfoState) GetCodes

func (x *PublishInfoState) GetCodes() []string

func (*PublishInfoState) GetFee

func (x *PublishInfoState) GetFee() int64

func (*PublishInfoState) GetHash

func (x *PublishInfoState) GetHash() string

func (*PublishInfoState) GetId

func (x *PublishInfoState) GetId() string

func (*PublishInfoState) GetKeyType

func (x *PublishInfoState) GetKeyType() string

func (*PublishInfoState) GetPubKey

func (x *PublishInfoState) GetPubKey() string

func (*PublishInfoState) GetState

func (x *PublishInfoState) GetState() *types.PovPublishState

func (*PublishInfoState) GetType

func (x *PublishInfoState) GetType() string

func (*PublishInfoState) GetVerifiers

func (x *PublishInfoState) GetVerifiers() []string

func (*PublishInfoState) ProtoMessage

func (*PublishInfoState) ProtoMessage()

func (*PublishInfoState) ProtoReflect

func (x *PublishInfoState) ProtoReflect() protoreflect.Message

func (*PublishInfoState) Reset

func (x *PublishInfoState) Reset()

func (*PublishInfoState) String

func (x *PublishInfoState) String() string

type PublishInfoStates

type PublishInfoStates struct {
	States []*PublishInfoState `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishInfoStates) Descriptor deprecated

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

Deprecated: Use PublishInfoStates.ProtoReflect.Descriptor instead.

func (*PublishInfoStates) GetStates

func (x *PublishInfoStates) GetStates() []*PublishInfoState

func (*PublishInfoStates) ProtoMessage

func (*PublishInfoStates) ProtoMessage()

func (*PublishInfoStates) ProtoReflect

func (x *PublishInfoStates) ProtoReflect() protoreflect.Message

func (*PublishInfoStates) Reset

func (x *PublishInfoStates) Reset()

func (*PublishInfoStates) String

func (x *PublishInfoStates) String() string

type PublishParam

type PublishParam struct {
	Account   string   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Type      string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Id        string   `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	PubKey    string   `protobuf:"bytes,4,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	KeyType   string   `protobuf:"bytes,5,opt,name=keyType,proto3" json:"keyType,omitempty"`
	Fee       int64    `protobuf:"varint,6,opt,name=fee,proto3" json:"fee,omitempty"`
	Verifiers []string `protobuf:"bytes,7,rep,name=verifiers,proto3" json:"verifiers,omitempty"`
	Codes     []string `protobuf:"bytes,8,rep,name=codes,proto3" json:"codes,omitempty"`
	Hash      string   `protobuf:"bytes,9,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishParam) Descriptor deprecated

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

Deprecated: Use PublishParam.ProtoReflect.Descriptor instead.

func (*PublishParam) GetAccount

func (x *PublishParam) GetAccount() string

func (*PublishParam) GetCodes

func (x *PublishParam) GetCodes() []string

func (*PublishParam) GetFee

func (x *PublishParam) GetFee() int64

func (*PublishParam) GetHash

func (x *PublishParam) GetHash() string

func (*PublishParam) GetId

func (x *PublishParam) GetId() string

func (*PublishParam) GetKeyType

func (x *PublishParam) GetKeyType() string

func (*PublishParam) GetPubKey

func (x *PublishParam) GetPubKey() string

func (*PublishParam) GetType

func (x *PublishParam) GetType() string

func (*PublishParam) GetVerifiers

func (x *PublishParam) GetVerifiers() []string

func (*PublishParam) ProtoMessage

func (*PublishParam) ProtoMessage()

func (*PublishParam) ProtoReflect

func (x *PublishParam) ProtoReflect() protoreflect.Message

func (*PublishParam) Reset

func (x *PublishParam) Reset()

func (*PublishParam) String

func (x *PublishParam) String() string

type PublishRet

type PublishRet struct {
	Block     *types.StateBlock           `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	Verifiers map[string]*VerifierContent `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishRet) Descriptor deprecated

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

Deprecated: Use PublishRet.ProtoReflect.Descriptor instead.

func (*PublishRet) GetBlock

func (x *PublishRet) GetBlock() *types.StateBlock

func (*PublishRet) GetVerifiers

func (x *PublishRet) GetVerifiers() map[string]*VerifierContent

func (*PublishRet) ProtoMessage

func (*PublishRet) ProtoMessage()

func (*PublishRet) ProtoReflect

func (x *PublishRet) ProtoReflect() protoreflect.Message

func (*PublishRet) Reset

func (x *PublishRet) Reset()

func (*PublishRet) String

func (x *PublishRet) String() string

type RawBalance

type RawBalance struct {
	Balance   int64  `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"`
	Unit      string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
	TokenName string `protobuf:"bytes,3,opt,name=tokenName,proto3" json:"tokenName,omitempty"`
	// contains filtered or unexported fields
}

func (*RawBalance) Descriptor deprecated

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

Deprecated: Use RawBalance.ProtoReflect.Descriptor instead.

func (*RawBalance) GetBalance

func (x *RawBalance) GetBalance() int64

func (*RawBalance) GetTokenName

func (x *RawBalance) GetTokenName() string

func (*RawBalance) GetUnit

func (x *RawBalance) GetUnit() string

func (*RawBalance) ProtoMessage

func (*RawBalance) ProtoMessage()

func (*RawBalance) ProtoReflect

func (x *RawBalance) ProtoReflect() protoreflect.Message

func (*RawBalance) Reset

func (x *RawBalance) Reset()

func (*RawBalance) String

func (x *RawBalance) String() string

type RegisterAssetParam

type RegisterAssetParam struct {
	Owner     *types.Contractor `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Assets    []*types.Asset    `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"`
	StartDate int64             `protobuf:"varint,3,opt,name=startDate,proto3" json:"startDate,omitempty"`
	EndDate   int64             `protobuf:"varint,4,opt,name=endDate,proto3" json:"endDate,omitempty"`
	Status    string            `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterAssetParam) Descriptor deprecated

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

Deprecated: Use RegisterAssetParam.ProtoReflect.Descriptor instead.

func (*RegisterAssetParam) GetAssets

func (x *RegisterAssetParam) GetAssets() []*types.Asset

func (*RegisterAssetParam) GetEndDate

func (x *RegisterAssetParam) GetEndDate() int64

func (*RegisterAssetParam) GetOwner

func (x *RegisterAssetParam) GetOwner() *types.Contractor

func (*RegisterAssetParam) GetStartDate

func (x *RegisterAssetParam) GetStartDate() int64

func (*RegisterAssetParam) GetStatus

func (x *RegisterAssetParam) GetStatus() string

func (*RegisterAssetParam) ProtoMessage

func (*RegisterAssetParam) ProtoMessage()

func (*RegisterAssetParam) ProtoReflect

func (x *RegisterAssetParam) ProtoReflect() protoreflect.Message

func (*RegisterAssetParam) Reset

func (x *RegisterAssetParam) Reset()

func (*RegisterAssetParam) String

func (x *RegisterAssetParam) String() string

type RepAPIClient

type RepAPIClient interface {
	GetRewardData(ctx context.Context, in *RepRewardParam, opts ...grpc.CallOption) (*Bytes, error)
	UnpackRewardData(ctx context.Context, in *Bytes, opts ...grpc.CallOption) (*RepRewardParam, error)
	GetAvailRewardInfo(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*RepAvailRewardInfo, error)
	GetRewardSendBlock(ctx context.Context, in *RepRewardParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRewardRecvBlock(ctx context.Context, in *types.StateBlock, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRewardRecvBlockBySendHash(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRepStateWithHeight(ctx context.Context, in *RepStateParams, opts ...grpc.CallOption) (*types.PovRepState, error)
	GetRewardHistory(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*RepHistoryRewardInfo, error)
}

RepAPIClient is the client API for RepAPI service.

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

func NewRepAPIClient

func NewRepAPIClient(cc grpc.ClientConnInterface) RepAPIClient

type RepAPIServer

type RepAPIServer interface {
	GetRewardData(context.Context, *RepRewardParam) (*Bytes, error)
	UnpackRewardData(context.Context, *Bytes) (*RepRewardParam, error)
	GetAvailRewardInfo(context.Context, *types.Address) (*RepAvailRewardInfo, error)
	GetRewardSendBlock(context.Context, *RepRewardParam) (*types.StateBlock, error)
	GetRewardRecvBlock(context.Context, *types.StateBlock) (*types.StateBlock, error)
	GetRewardRecvBlockBySendHash(context.Context, *types.Hash) (*types.StateBlock, error)
	GetRepStateWithHeight(context.Context, *RepStateParams) (*types.PovRepState, error)
	GetRewardHistory(context.Context, *types.Address) (*RepHistoryRewardInfo, error)
}

RepAPIServer is the server API for RepAPI service.

type RepAvailRewardInfo

type RepAvailRewardInfo struct {
	LastEndHeight     uint64 `protobuf:"varint,1,opt,name=lastEndHeight,proto3" json:"lastEndHeight,omitempty"`
	LatestBlockHeight uint64 `protobuf:"varint,2,opt,name=latestBlockHeight,proto3" json:"latestBlockHeight,omitempty"`
	NodeRewardHeight  uint64 `protobuf:"varint,3,opt,name=nodeRewardHeight,proto3" json:"nodeRewardHeight,omitempty"`
	AvailStartHeight  uint64 `protobuf:"varint,4,opt,name=availStartHeight,proto3" json:"availStartHeight,omitempty"`
	AvailEndHeight    uint64 `protobuf:"varint,5,opt,name=availEndHeight,proto3" json:"availEndHeight,omitempty"`
	AvailRewardBlocks uint64 `protobuf:"varint,6,opt,name=availRewardBlocks,proto3" json:"availRewardBlocks,omitempty"`
	AvailRewardAmount int64  `protobuf:"varint,7,opt,name=availRewardAmount,proto3" json:"availRewardAmount,omitempty"`
	NeedCallReward    bool   `protobuf:"varint,8,opt,name=needCallReward,proto3" json:"needCallReward,omitempty"`
	// contains filtered or unexported fields
}

func (*RepAvailRewardInfo) Descriptor deprecated

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

Deprecated: Use RepAvailRewardInfo.ProtoReflect.Descriptor instead.

func (*RepAvailRewardInfo) GetAvailEndHeight

func (x *RepAvailRewardInfo) GetAvailEndHeight() uint64

func (*RepAvailRewardInfo) GetAvailRewardAmount

func (x *RepAvailRewardInfo) GetAvailRewardAmount() int64

func (*RepAvailRewardInfo) GetAvailRewardBlocks

func (x *RepAvailRewardInfo) GetAvailRewardBlocks() uint64

func (*RepAvailRewardInfo) GetAvailStartHeight

func (x *RepAvailRewardInfo) GetAvailStartHeight() uint64

func (*RepAvailRewardInfo) GetLastEndHeight

func (x *RepAvailRewardInfo) GetLastEndHeight() uint64

func (*RepAvailRewardInfo) GetLatestBlockHeight

func (x *RepAvailRewardInfo) GetLatestBlockHeight() uint64

func (*RepAvailRewardInfo) GetNeedCallReward

func (x *RepAvailRewardInfo) GetNeedCallReward() bool

func (*RepAvailRewardInfo) GetNodeRewardHeight

func (x *RepAvailRewardInfo) GetNodeRewardHeight() uint64

func (*RepAvailRewardInfo) ProtoMessage

func (*RepAvailRewardInfo) ProtoMessage()

func (*RepAvailRewardInfo) ProtoReflect

func (x *RepAvailRewardInfo) ProtoReflect() protoreflect.Message

func (*RepAvailRewardInfo) Reset

func (x *RepAvailRewardInfo) Reset()

func (*RepAvailRewardInfo) String

func (x *RepAvailRewardInfo) String() string

type RepHistoryRewardInfo

type RepHistoryRewardInfo struct {
	LastEndHeight  uint64 `protobuf:"varint,1,opt,name=lastEndHeight,proto3" json:"lastEndHeight,omitempty"`
	RewardBlocks   uint64 `protobuf:"varint,2,opt,name=rewardBlocks,proto3" json:"rewardBlocks,omitempty"`
	RewardAmount   int64  `protobuf:"varint,3,opt,name=rewardAmount,proto3" json:"rewardAmount,omitempty"`
	LastRewardTime int64  `protobuf:"varint,4,opt,name=lastRewardTime,proto3" json:"lastRewardTime,omitempty"`
	// contains filtered or unexported fields
}

func (*RepHistoryRewardInfo) Descriptor deprecated

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

Deprecated: Use RepHistoryRewardInfo.ProtoReflect.Descriptor instead.

func (*RepHistoryRewardInfo) GetLastEndHeight

func (x *RepHistoryRewardInfo) GetLastEndHeight() uint64

func (*RepHistoryRewardInfo) GetLastRewardTime

func (x *RepHistoryRewardInfo) GetLastRewardTime() int64

func (*RepHistoryRewardInfo) GetRewardAmount

func (x *RepHistoryRewardInfo) GetRewardAmount() int64

func (*RepHistoryRewardInfo) GetRewardBlocks

func (x *RepHistoryRewardInfo) GetRewardBlocks() uint64

func (*RepHistoryRewardInfo) ProtoMessage

func (*RepHistoryRewardInfo) ProtoMessage()

func (*RepHistoryRewardInfo) ProtoReflect

func (x *RepHistoryRewardInfo) ProtoReflect() protoreflect.Message

func (*RepHistoryRewardInfo) Reset

func (x *RepHistoryRewardInfo) Reset()

func (*RepHistoryRewardInfo) String

func (x *RepHistoryRewardInfo) String() string

type RepRewardParam

type RepRewardParam struct {
	Account      string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Beneficial   string `protobuf:"bytes,2,opt,name=beneficial,proto3" json:"beneficial,omitempty"`
	StartHeight  uint64 `protobuf:"varint,3,opt,name=startHeight,proto3" json:"startHeight,omitempty"`
	EndHeight    uint64 `protobuf:"varint,4,opt,name=endHeight,proto3" json:"endHeight,omitempty"`
	RewardBlocks uint64 `protobuf:"varint,5,opt,name=rewardBlocks,proto3" json:"rewardBlocks,omitempty"`
	RewardAmount int64  `protobuf:"varint,6,opt,name=rewardAmount,proto3" json:"rewardAmount,omitempty"`
	// contains filtered or unexported fields
}

func (*RepRewardParam) Descriptor deprecated

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

Deprecated: Use RepRewardParam.ProtoReflect.Descriptor instead.

func (*RepRewardParam) GetAccount

func (x *RepRewardParam) GetAccount() string

func (*RepRewardParam) GetBeneficial

func (x *RepRewardParam) GetBeneficial() string

func (*RepRewardParam) GetEndHeight

func (x *RepRewardParam) GetEndHeight() uint64

func (*RepRewardParam) GetRewardAmount

func (x *RepRewardParam) GetRewardAmount() int64

func (*RepRewardParam) GetRewardBlocks

func (x *RepRewardParam) GetRewardBlocks() uint64

func (*RepRewardParam) GetStartHeight

func (x *RepRewardParam) GetStartHeight() uint64

func (*RepRewardParam) ProtoMessage

func (*RepRewardParam) ProtoMessage()

func (*RepRewardParam) ProtoReflect

func (x *RepRewardParam) ProtoReflect() protoreflect.Message

func (*RepRewardParam) Reset

func (x *RepRewardParam) Reset()

func (*RepRewardParam) String

func (x *RepRewardParam) String() string

type RepStateParams

type RepStateParams struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Height  uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*RepStateParams) Descriptor deprecated

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

Deprecated: Use RepStateParams.ProtoReflect.Descriptor instead.

func (*RepStateParams) GetAccount

func (x *RepStateParams) GetAccount() string

func (*RepStateParams) GetHeight

func (x *RepStateParams) GetHeight() uint64

func (*RepStateParams) ProtoMessage

func (*RepStateParams) ProtoMessage()

func (*RepStateParams) ProtoReflect

func (x *RepStateParams) ProtoReflect() protoreflect.Message

func (*RepStateParams) Reset

func (x *RepStateParams) Reset()

func (*RepStateParams) String

func (x *RepStateParams) String() string

type RepStatesByHeightRequset

type RepStatesByHeightRequset struct {
	Header *types.PovHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Acc    string           `protobuf:"bytes,2,opt,name=acc,proto3" json:"acc,omitempty"`
	// contains filtered or unexported fields
}

func (*RepStatesByHeightRequset) Descriptor deprecated

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

Deprecated: Use RepStatesByHeightRequset.ProtoReflect.Descriptor instead.

func (*RepStatesByHeightRequset) GetAcc

func (x *RepStatesByHeightRequset) GetAcc() string

func (*RepStatesByHeightRequset) GetHeader

func (x *RepStatesByHeightRequset) GetHeader() *types.PovHeader

func (*RepStatesByHeightRequset) ProtoMessage

func (*RepStatesByHeightRequset) ProtoMessage()

func (*RepStatesByHeightRequset) ProtoReflect

func (x *RepStatesByHeightRequset) ProtoReflect() protoreflect.Message

func (*RepStatesByHeightRequset) Reset

func (x *RepStatesByHeightRequset) Reset()

func (*RepStatesByHeightRequset) String

func (x *RepStatesByHeightRequset) String() string

type ReportByAccountRequest

type ReportByAccountRequest struct {
	Addr    string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Start   int64  `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	End     int64  `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportByAccountRequest) Descriptor deprecated

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

Deprecated: Use ReportByAccountRequest.ProtoReflect.Descriptor instead.

func (*ReportByAccountRequest) GetAccount

func (x *ReportByAccountRequest) GetAccount() string

func (*ReportByAccountRequest) GetAddr

func (x *ReportByAccountRequest) GetAddr() string

func (*ReportByAccountRequest) GetEnd

func (x *ReportByAccountRequest) GetEnd() int64

func (*ReportByAccountRequest) GetStart

func (x *ReportByAccountRequest) GetStart() int64

func (*ReportByAccountRequest) ProtoMessage

func (*ReportByAccountRequest) ProtoMessage()

func (*ReportByAccountRequest) ProtoReflect

func (x *ReportByAccountRequest) ProtoReflect() protoreflect.Message

func (*ReportByAccountRequest) Reset

func (x *ReportByAccountRequest) Reset()

func (*ReportByAccountRequest) String

func (x *ReportByAccountRequest) String() string

type ReportByCustomerRequest

type ReportByCustomerRequest struct {
	Addr     string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Customer string `protobuf:"bytes,2,opt,name=customer,proto3" json:"customer,omitempty"`
	Start    int64  `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	End      int64  `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportByCustomerRequest) Descriptor deprecated

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

Deprecated: Use ReportByCustomerRequest.ProtoReflect.Descriptor instead.

func (*ReportByCustomerRequest) GetAddr

func (x *ReportByCustomerRequest) GetAddr() string

func (*ReportByCustomerRequest) GetCustomer

func (x *ReportByCustomerRequest) GetCustomer() string

func (*ReportByCustomerRequest) GetEnd

func (x *ReportByCustomerRequest) GetEnd() int64

func (*ReportByCustomerRequest) GetStart

func (x *ReportByCustomerRequest) GetStart() int64

func (*ReportByCustomerRequest) ProtoMessage

func (*ReportByCustomerRequest) ProtoMessage()

func (*ReportByCustomerRequest) ProtoReflect

func (x *ReportByCustomerRequest) ProtoReflect() protoreflect.Message

func (*ReportByCustomerRequest) Reset

func (x *ReportByCustomerRequest) Reset()

func (*ReportByCustomerRequest) String

func (x *ReportByCustomerRequest) String() string

type ReportRequest

type ReportRequest struct {
	Addr  string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Start int64  `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	End   int64  `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportRequest) Descriptor deprecated

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

Deprecated: Use ReportRequest.ProtoReflect.Descriptor instead.

func (*ReportRequest) GetAddr

func (x *ReportRequest) GetAddr() string

func (*ReportRequest) GetEnd

func (x *ReportRequest) GetEnd() int64

func (*ReportRequest) GetStart

func (x *ReportRequest) GetStart() int64

func (*ReportRequest) ProtoMessage

func (*ReportRequest) ProtoMessage()

func (*ReportRequest) ProtoReflect

func (x *ReportRequest) ProtoReflect() protoreflect.Message

func (*ReportRequest) Reset

func (x *ReportRequest) Reset()

func (*ReportRequest) String

func (x *ReportRequest) String() string

type RewardParam

type RewardParam struct {
	Coinbase     string `protobuf:"bytes,1,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
	Beneficial   string `protobuf:"bytes,2,opt,name=beneficial,proto3" json:"beneficial,omitempty"`
	StartHeight  uint64 `protobuf:"varint,3,opt,name=startHeight,proto3" json:"startHeight,omitempty"`
	EndHeight    uint64 `protobuf:"varint,4,opt,name=endHeight,proto3" json:"endHeight,omitempty"`
	RewardBlocks uint64 `protobuf:"varint,5,opt,name=rewardBlocks,proto3" json:"rewardBlocks,omitempty"`
	RewardAmount int64  `protobuf:"varint,6,opt,name=rewardAmount,proto3" json:"rewardAmount,omitempty"`
	// contains filtered or unexported fields
}

func (*RewardParam) Descriptor deprecated

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

Deprecated: Use RewardParam.ProtoReflect.Descriptor instead.

func (*RewardParam) GetBeneficial

func (x *RewardParam) GetBeneficial() string

func (*RewardParam) GetCoinbase

func (x *RewardParam) GetCoinbase() string

func (*RewardParam) GetEndHeight

func (x *RewardParam) GetEndHeight() uint64

func (*RewardParam) GetRewardAmount

func (x *RewardParam) GetRewardAmount() int64

func (*RewardParam) GetRewardBlocks

func (x *RewardParam) GetRewardBlocks() uint64

func (*RewardParam) GetStartHeight

func (x *RewardParam) GetStartHeight() uint64

func (*RewardParam) ProtoMessage

func (*RewardParam) ProtoMessage()

func (*RewardParam) ProtoReflect

func (x *RewardParam) ProtoReflect() protoreflect.Message

func (*RewardParam) Reset

func (x *RewardParam) Reset()

func (*RewardParam) String

func (x *RewardParam) String() string

type RewardsAPIClient

type RewardsAPIClient interface {
	GetUnsignedRewardData(ctx context.Context, in *RewardsParam, opts ...grpc.CallOption) (*types.Hash, error)
	GetUnsignedConfidantData(ctx context.Context, in *RewardsParam, opts ...grpc.CallOption) (*types.Hash, error)
	GetSendRewardBlock(ctx context.Context, in *RewardsParamWithSign, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetSendConfidantBlock(ctx context.Context, in *RewardsParamWithSign, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetReceiveRewardBlock(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*types.StateBlock, error)
	IsAirdropRewards(ctx context.Context, in *Bytes, opts ...grpc.CallOption) (*Boolean, error)
	GetTotalRewards(ctx context.Context, in *String, opts ...grpc.CallOption) (*Int64, error)
	GetRewardsDetail(ctx context.Context, in *String, opts ...grpc.CallOption) (*RewardsInfos, error)
	GetConfidantRewards(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*ConfidantRewardsResponse, error)
	GetConfidantRewordsDetail(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*RewardsInfosByAddress, error)
}

RewardsAPIClient is the client API for RewardsAPI service.

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

func NewRewardsAPIClient

func NewRewardsAPIClient(cc grpc.ClientConnInterface) RewardsAPIClient

type RewardsAPIServer

type RewardsAPIServer interface {
	GetUnsignedRewardData(context.Context, *RewardsParam) (*types.Hash, error)
	GetUnsignedConfidantData(context.Context, *RewardsParam) (*types.Hash, error)
	GetSendRewardBlock(context.Context, *RewardsParamWithSign) (*types.StateBlock, error)
	GetSendConfidantBlock(context.Context, *RewardsParamWithSign) (*types.StateBlock, error)
	GetReceiveRewardBlock(context.Context, *types.Hash) (*types.StateBlock, error)
	IsAirdropRewards(context.Context, *Bytes) (*Boolean, error)
	GetTotalRewards(context.Context, *String) (*Int64, error)
	GetRewardsDetail(context.Context, *String) (*RewardsInfos, error)
	GetConfidantRewards(context.Context, *types.Address) (*ConfidantRewardsResponse, error)
	GetConfidantRewordsDetail(context.Context, *types.Address) (*RewardsInfosByAddress, error)
}

RewardsAPIServer is the server API for RewardsAPI service.

type RewardsInfos

type RewardsInfos struct {
	Infos []*types.RewardsInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
	// contains filtered or unexported fields
}

func (*RewardsInfos) Descriptor deprecated

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

Deprecated: Use RewardsInfos.ProtoReflect.Descriptor instead.

func (*RewardsInfos) GetInfos

func (x *RewardsInfos) GetInfos() []*types.RewardsInfo

func (*RewardsInfos) ProtoMessage

func (*RewardsInfos) ProtoMessage()

func (*RewardsInfos) ProtoReflect

func (x *RewardsInfos) ProtoReflect() protoreflect.Message

func (*RewardsInfos) Reset

func (x *RewardsInfos) Reset()

func (*RewardsInfos) String

func (x *RewardsInfos) String() string

type RewardsInfosByAddress

type RewardsInfosByAddress struct {
	Infos map[string]*RewardsInfos `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RewardsInfosByAddress) Descriptor deprecated

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

Deprecated: Use RewardsInfosByAddress.ProtoReflect.Descriptor instead.

func (*RewardsInfosByAddress) GetInfos

func (x *RewardsInfosByAddress) GetInfos() map[string]*RewardsInfos

func (*RewardsInfosByAddress) ProtoMessage

func (*RewardsInfosByAddress) ProtoMessage()

func (*RewardsInfosByAddress) ProtoReflect

func (x *RewardsInfosByAddress) ProtoReflect() protoreflect.Message

func (*RewardsInfosByAddress) Reset

func (x *RewardsInfosByAddress) Reset()

func (*RewardsInfosByAddress) String

func (x *RewardsInfosByAddress) String() string

type RewardsParam

type RewardsParam struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Amount int64  `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Self   string `protobuf:"bytes,3,opt,name=self,proto3" json:"self,omitempty"`
	To     string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*RewardsParam) Descriptor deprecated

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

Deprecated: Use RewardsParam.ProtoReflect.Descriptor instead.

func (*RewardsParam) GetAmount

func (x *RewardsParam) GetAmount() int64

func (*RewardsParam) GetId

func (x *RewardsParam) GetId() string

func (*RewardsParam) GetSelf

func (x *RewardsParam) GetSelf() string

func (*RewardsParam) GetTo

func (x *RewardsParam) GetTo() string

func (*RewardsParam) ProtoMessage

func (*RewardsParam) ProtoMessage()

func (*RewardsParam) ProtoReflect

func (x *RewardsParam) ProtoReflect() protoreflect.Message

func (*RewardsParam) Reset

func (x *RewardsParam) Reset()

func (*RewardsParam) String

func (x *RewardsParam) String() string

type RewardsParamWithSign

type RewardsParamWithSign struct {
	Param *RewardsParam `protobuf:"bytes,1,opt,name=param,proto3" json:"param,omitempty"`
	Sign  string        `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"`
	// contains filtered or unexported fields
}

func (*RewardsParamWithSign) Descriptor deprecated

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

Deprecated: Use RewardsParamWithSign.ProtoReflect.Descriptor instead.

func (*RewardsParamWithSign) GetParam

func (x *RewardsParamWithSign) GetParam() *RewardsParam

func (*RewardsParamWithSign) GetSign

func (x *RewardsParamWithSign) GetSign() string

func (*RewardsParamWithSign) ProtoMessage

func (*RewardsParamWithSign) ProtoMessage()

func (*RewardsParamWithSign) ProtoReflect

func (x *RewardsParamWithSign) ProtoReflect() protoreflect.Message

func (*RewardsParamWithSign) Reset

func (x *RewardsParamWithSign) Reset()

func (*RewardsParamWithSign) String

func (x *RewardsParamWithSign) String() string

type SettlementAPIClient

type SettlementAPIClient interface {
	ToAddress(ctx context.Context, in *types.CreateContractParam, opts ...grpc.CallOption) (*types.Address, error)
	GetSettlementRewardsBlock(ctx context.Context, in *types.Hash, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetCreateContractBlock(ctx context.Context, in *CreateContractParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetSignContractBlock(ctx context.Context, in *SignContractParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetAddPreStopBlock(ctx context.Context, in *StopParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRemovePreStopBlock(ctx context.Context, in *StopParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetUpdatePreStopBlock(ctx context.Context, in *UpdateStopParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetAddNextStopBlock(ctx context.Context, in *StopParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetRemoveNextStopBlock(ctx context.Context, in *StopParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetUpdateNextStopBlock(ctx context.Context, in *UpdateStopParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetAllContracts(ctx context.Context, in *Offset, opts ...grpc.CallOption) (*SettlementContracts, error)
	GetContractsByAddress(ctx context.Context, in *ContractsByAddressRequest, opts ...grpc.CallOption) (*SettlementContracts, error)
	GetContractsByStatus(ctx context.Context, in *ContractsByStatusRequest, opts ...grpc.CallOption) (*SettlementContracts, error)
	GetExpiredContracts(ctx context.Context, in *ContractsByAddressRequest, opts ...grpc.CallOption) (*SettlementContracts, error)
	GetContractsAsPartyA(ctx context.Context, in *ContractsByAddressRequest, opts ...grpc.CallOption) (*SettlementContracts, error)
	GetContractsAsPartyB(ctx context.Context, in *ContractsByAddressRequest, opts ...grpc.CallOption) (*SettlementContracts, error)
	GetContractAddressByPartyANextStop(ctx context.Context, in *ContractAddressByPartyRequest, opts ...grpc.CallOption) (*types.Address, error)
	GetContractAddressByPartyBPreStop(ctx context.Context, in *ContractAddressByPartyRequest, opts ...grpc.CallOption) (*types.Address, error)
	GetProcessCDRBlock(ctx context.Context, in *ProcessCDRBlockRequest, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetTerminateContractBlock(ctx context.Context, in *TerminateParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetCDRStatus(ctx context.Context, in *CDRStatusRequest, opts ...grpc.CallOption) (*CDRStatus, error)
	GetCDRStatusByCdrData(ctx context.Context, in *CDRStatusByCdrDataRequest, opts ...grpc.CallOption) (*CDRStatus, error)
	GetCDRStatusByDate(ctx context.Context, in *CDRStatusByDateRequest, opts ...grpc.CallOption) (*CDRStatuses, error)
	GetAllCDRStatus(ctx context.Context, in *ContractsByAddressRequest, opts ...grpc.CallOption) (*CDRStatuses, error)
	GetMultiPartyCDRStatus(ctx context.Context, in *MultiPartyCDRStatusRequest, opts ...grpc.CallOption) (*CDRStatuses, error)
	GetSummaryReport(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*types.SummaryResult, error)
	GetSummaryReportByAccount(ctx context.Context, in *ReportByAccountRequest, opts ...grpc.CallOption) (*types.SummaryResult, error)
	GetSummaryReportByCustomer(ctx context.Context, in *ReportByCustomerRequest, opts ...grpc.CallOption) (*types.SummaryResult, error)
	GenerateInvoices(ctx context.Context, in *InvoicesRequest, opts ...grpc.CallOption) (*InvoiceRecords, error)
	GenerateInvoicesByAccount(ctx context.Context, in *InvoicesByAccountRequest, opts ...grpc.CallOption) (*InvoiceRecords, error)
	GenerateInvoicesByCustomer(ctx context.Context, in *InvoicesByCustomerRequest, opts ...grpc.CallOption) (*InvoiceRecords, error)
	GenerateInvoicesByContract(ctx context.Context, in *InvoicesRequest, opts ...grpc.CallOption) (*InvoiceRecords, error)
	GenerateMultiPartyInvoice(ctx context.Context, in *MultiPartyInvoiceRequest, opts ...grpc.CallOption) (*InvoiceRecords, error)
	GenerateMultiPartySummaryReport(ctx context.Context, in *MultiPartyInvoiceRequest, opts ...grpc.CallOption) (*types.MultiPartySummaryResult, error)
	GetPreStopNames(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*Strings, error)
	GetNextStopNames(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*Strings, error)
	GetRegisterAssetBlock(ctx context.Context, in *RegisterAssetParam, opts ...grpc.CallOption) (*types.StateBlock, error)
	GetAllAssets(ctx context.Context, in *Offset, opts ...grpc.CallOption) (*AssetParams, error)
	GetAssetsByOwner(ctx context.Context, in *AssetsByOwnerRequest, opts ...grpc.CallOption) (*AssetParams, error)
	GetAsset(ctx context.Context, in *types.Address, opts ...grpc.CallOption) (*AssetParam, error)
}

SettlementAPIClient is the client API for SettlementAPI service.

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

type SettlementAPIServer

type SettlementAPIServer interface {
	ToAddress(context.Context, *types.CreateContractParam) (*types.Address, error)
	GetSettlementRewardsBlock(context.Context, *types.Hash) (*types.StateBlock, error)
	GetCreateContractBlock(context.Context, *CreateContractParam) (*types.StateBlock, error)
	GetSignContractBlock(context.Context, *SignContractParam) (*types.StateBlock, error)
	GetAddPreStopBlock(context.Context, *StopParam) (*types.StateBlock, error)
	GetRemovePreStopBlock(context.Context, *StopParam) (*types.StateBlock, error)
	GetUpdatePreStopBlock(context.Context, *UpdateStopParam) (*types.StateBlock, error)
	GetAddNextStopBlock(context.Context, *StopParam) (*types.StateBlock, error)
	GetRemoveNextStopBlock(context.Context, *StopParam) (*types.StateBlock, error)
	GetUpdateNextStopBlock(context.Context, *UpdateStopParam) (*types.StateBlock, error)
	GetAllContracts(context.Context, *Offset) (*SettlementContracts, error)
	GetContractsByAddress(context.Context, *ContractsByAddressRequest) (*SettlementContracts, error)
	GetContractsByStatus(context.Context, *ContractsByStatusRequest) (*SettlementContracts, error)
	GetExpiredContracts(context.Context, *ContractsByAddressRequest) (*SettlementContracts, error)
	GetContractsAsPartyA(context.Context, *ContractsByAddressRequest) (*SettlementContracts, error)
	GetContractsAsPartyB(context.Context, *ContractsByAddressRequest) (*SettlementContracts, error)
	GetContractAddressByPartyANextStop(context.Context, *ContractAddressByPartyRequest) (*types.Address, error)
	GetContractAddressByPartyBPreStop(context.Context, *ContractAddressByPartyRequest) (*types.Address, error)
	GetProcessCDRBlock(context.Context, *ProcessCDRBlockRequest) (*types.StateBlock, error)
	GetTerminateContractBlock(context.Context, *TerminateParam) (*types.StateBlock, error)
	GetCDRStatus(context.Context, *CDRStatusRequest) (*CDRStatus, error)
	GetCDRStatusByCdrData(context.Context, *CDRStatusByCdrDataRequest) (*CDRStatus, error)
	GetCDRStatusByDate(context.Context, *CDRStatusByDateRequest) (*CDRStatuses, error)
	GetAllCDRStatus(context.Context, *ContractsByAddressRequest) (*CDRStatuses, error)
	GetMultiPartyCDRStatus(context.Context, *MultiPartyCDRStatusRequest) (*CDRStatuses, error)
	GetSummaryReport(context.Context, *ReportRequest) (*types.SummaryResult, error)
	GetSummaryReportByAccount(context.Context, *ReportByAccountRequest) (*types.SummaryResult, error)
	GetSummaryReportByCustomer(context.Context, *ReportByCustomerRequest) (*types.SummaryResult, error)
	GenerateInvoices(context.Context, *InvoicesRequest) (*InvoiceRecords, error)
	GenerateInvoicesByAccount(context.Context, *InvoicesByAccountRequest) (*InvoiceRecords, error)
	GenerateInvoicesByCustomer(context.Context, *InvoicesByCustomerRequest) (*InvoiceRecords, error)
	GenerateInvoicesByContract(context.Context, *InvoicesRequest) (*InvoiceRecords, error)
	GenerateMultiPartyInvoice(context.Context, *MultiPartyInvoiceRequest) (*InvoiceRecords, error)
	GenerateMultiPartySummaryReport(context.Context, *MultiPartyInvoiceRequest) (*types.MultiPartySummaryResult, error)
	GetPreStopNames(context.Context, *types.Address) (*Strings, error)
	GetNextStopNames(context.Context, *types.Address) (*Strings, error)
	GetRegisterAssetBlock(context.Context, *RegisterAssetParam) (*types.StateBlock, error)
	GetAllAssets(context.Context, *Offset) (*AssetParams, error)
	GetAssetsByOwner(context.Context, *AssetsByOwnerRequest) (*AssetParams, error)
	GetAsset(context.Context, *types.Address) (*AssetParam, error)
}

SettlementAPIServer is the server API for SettlementAPI service.

type SettlementContract

type SettlementContract struct {
	PartyA      *types.Contractor        `protobuf:"bytes,1,opt,name=partyA,proto3" json:"partyA,omitempty"`
	PartyB      *types.Contractor        `protobuf:"bytes,2,opt,name=partyB,proto3" json:"partyB,omitempty"`
	Previous    string                   `protobuf:"bytes,3,opt,name=Previous,proto3" json:"Previous,omitempty"`
	Services    []*types.ContractService `protobuf:"bytes,4,rep,name=services,proto3" json:"services,omitempty"`
	SignDate    int64                    `protobuf:"varint,5,opt,name=signDate,proto3" json:"signDate,omitempty"`
	StartDate   int64                    `protobuf:"varint,6,opt,name=startDate,proto3" json:"startDate,omitempty"`
	EndDate     int64                    `protobuf:"varint,7,opt,name=endDate,proto3" json:"endDate,omitempty"`
	PreStops    []string                 `protobuf:"bytes,8,rep,name=preStops,proto3" json:"preStops,omitempty"`
	NextStops   []string                 `protobuf:"bytes,9,rep,name=nextStops,proto3" json:"nextStops,omitempty"`
	ConfirmDate int64                    `protobuf:"varint,10,opt,name=confirmDate,proto3" json:"confirmDate,omitempty"`
	Status      int32                    `protobuf:"varint,11,opt,name=status,proto3" json:"status,omitempty"`
	Terminator  *types.Terminator        `protobuf:"bytes,12,opt,name=terminator,proto3" json:"terminator,omitempty"`
	Address     string                   `protobuf:"bytes,13,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*SettlementContract) Descriptor deprecated

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

Deprecated: Use SettlementContract.ProtoReflect.Descriptor instead.

func (*SettlementContract) GetAddress

func (x *SettlementContract) GetAddress() string

func (*SettlementContract) GetConfirmDate

func (x *SettlementContract) GetConfirmDate() int64

func (*SettlementContract) GetEndDate

func (x *SettlementContract) GetEndDate() int64

func (*SettlementContract) GetNextStops

func (x *SettlementContract) GetNextStops() []string

func (*SettlementContract) GetPartyA

func (x *SettlementContract) GetPartyA() *types.Contractor

func (*SettlementContract) GetPartyB

func (x *SettlementContract) GetPartyB() *types.Contractor

func (*SettlementContract) GetPreStops

func (x *SettlementContract) GetPreStops() []string

func (*SettlementContract) GetPrevious

func (x *SettlementContract) GetPrevious() string

func (*SettlementContract) GetServices

func (x *SettlementContract) GetServices() []*types.ContractService

func (*SettlementContract) GetSignDate

func (x *SettlementContract) GetSignDate() int64

func (*SettlementContract) GetStartDate

func (x *SettlementContract) GetStartDate() int64

func (*SettlementContract) GetStatus

func (x *SettlementContract) GetStatus() int32

func (*SettlementContract) GetTerminator

func (x *SettlementContract) GetTerminator() *types.Terminator

func (*SettlementContract) ProtoMessage

func (*SettlementContract) ProtoMessage()

func (*SettlementContract) ProtoReflect

func (x *SettlementContract) ProtoReflect() protoreflect.Message

func (*SettlementContract) Reset

func (x *SettlementContract) Reset()

func (*SettlementContract) String

func (x *SettlementContract) String() string

type SettlementContracts

type SettlementContracts struct {
	Contracts []*SettlementContract `protobuf:"bytes,1,rep,name=contracts,proto3" json:"contracts,omitempty"`
	// contains filtered or unexported fields
}

func (*SettlementContracts) Descriptor deprecated

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

Deprecated: Use SettlementContracts.ProtoReflect.Descriptor instead.

func (*SettlementContracts) GetContracts

func (x *SettlementContracts) GetContracts() []*SettlementContract

func (*SettlementContracts) ProtoMessage

func (*SettlementContracts) ProtoMessage()

func (*SettlementContracts) ProtoReflect

func (x *SettlementContracts) ProtoReflect() protoreflect.Message

func (*SettlementContracts) Reset

func (x *SettlementContracts) Reset()

func (*SettlementContracts) String

func (x *SettlementContracts) String() string

type SignContractParam

type SignContractParam struct {
	ContractAddress string `protobuf:"bytes,1,opt,name=contractAddress,proto3" json:"contractAddress,omitempty"`
	Address         string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*SignContractParam) Descriptor deprecated

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

Deprecated: Use SignContractParam.ProtoReflect.Descriptor instead.

func (*SignContractParam) GetAddress

func (x *SignContractParam) GetAddress() string

func (*SignContractParam) GetContractAddress

func (x *SignContractParam) GetContractAddress() string

func (*SignContractParam) ProtoMessage

func (*SignContractParam) ProtoMessage()

func (*SignContractParam) ProtoReflect

func (x *SignContractParam) ProtoReflect() protoreflect.Message

func (*SignContractParam) Reset

func (x *SignContractParam) Reset()

func (*SignContractParam) String

func (x *SignContractParam) String() string

type StartMiningRequest

type StartMiningRequest struct {
	MinerAddr string `protobuf:"bytes,1,opt,name=minerAddr,proto3" json:"minerAddr,omitempty"`
	AlgoName  string `protobuf:"bytes,2,opt,name=algoName,proto3" json:"algoName,omitempty"`
	// contains filtered or unexported fields
}

func (*StartMiningRequest) Descriptor deprecated

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

Deprecated: Use StartMiningRequest.ProtoReflect.Descriptor instead.

func (*StartMiningRequest) GetAlgoName

func (x *StartMiningRequest) GetAlgoName() string

func (*StartMiningRequest) GetMinerAddr

func (x *StartMiningRequest) GetMinerAddr() string

func (*StartMiningRequest) ProtoMessage

func (*StartMiningRequest) ProtoMessage()

func (*StartMiningRequest) ProtoReflect

func (x *StartMiningRequest) ProtoReflect() protoreflect.Message

func (*StartMiningRequest) Reset

func (x *StartMiningRequest) Reset()

func (*StartMiningRequest) String

func (x *StartMiningRequest) String() string

type StopParam

type StopParam struct {
	StopParam *types.StopParam `protobuf:"bytes,1,opt,name=stopParam,proto3" json:"stopParam,omitempty"`
	Address   string           `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address,omitempty"`
	// contains filtered or unexported fields
}

func (*StopParam) Descriptor deprecated

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

Deprecated: Use StopParam.ProtoReflect.Descriptor instead.

func (*StopParam) GetAddress

func (x *StopParam) GetAddress() string

func (*StopParam) GetStopParam

func (x *StopParam) GetStopParam() *types.StopParam

func (*StopParam) ProtoMessage

func (*StopParam) ProtoMessage()

func (*StopParam) ProtoReflect

func (x *StopParam) ProtoReflect() protoreflect.Message

func (*StopParam) Reset

func (x *StopParam) Reset()

func (*StopParam) String

func (x *StopParam) String() string

type String

type String struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*String) Descriptor deprecated

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

Deprecated: Use String.ProtoReflect.Descriptor instead.

func (*String) GetValue

func (x *String) GetValue() string

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) ProtoReflect

func (x *String) ProtoReflect() protoreflect.Message

func (*String) Reset

func (x *String) Reset()

func (*String) String

func (x *String) String() string

type Strings

type Strings struct {
	Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Strings) Descriptor deprecated

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

Deprecated: Use Strings.ProtoReflect.Descriptor instead.

func (*Strings) GetValue

func (x *Strings) GetValue() []string

func (*Strings) ProtoMessage

func (*Strings) ProtoMessage()

func (*Strings) ProtoReflect

func (x *Strings) ProtoReflect() protoreflect.Message

func (*Strings) Reset

func (x *Strings) Reset()

func (*Strings) String

func (x *Strings) String() string

type TerminateParam

type TerminateParam struct {
	TerminateParam *types.TerminateParam `protobuf:"bytes,1,opt,name=terminateParam,proto3" json:"terminateParam,omitempty"`
	Address        string                `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*TerminateParam) Descriptor deprecated

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

Deprecated: Use TerminateParam.ProtoReflect.Descriptor instead.

func (*TerminateParam) GetAddress

func (x *TerminateParam) GetAddress() string

func (*TerminateParam) GetTerminateParam

func (x *TerminateParam) GetTerminateParam() *types.TerminateParam

func (*TerminateParam) ProtoMessage

func (*TerminateParam) ProtoMessage()

func (*TerminateParam) ProtoReflect

func (x *TerminateParam) ProtoReflect() protoreflect.Message

func (*TerminateParam) Reset

func (x *TerminateParam) Reset()

func (*TerminateParam) String

func (x *TerminateParam) String() string

type TestRsp

type TestRsp struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*TestRsp) Descriptor deprecated

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

Deprecated: Use TestRsp.ProtoReflect.Descriptor instead.

func (*TestRsp) GetVersion

func (x *TestRsp) GetVersion() string

func (*TestRsp) ProtoMessage

func (*TestRsp) ProtoMessage()

func (*TestRsp) ProtoReflect

func (x *TestRsp) ProtoReflect() protoreflect.Message

func (*TestRsp) Reset

func (x *TestRsp) Reset()

func (*TestRsp) String

func (x *TestRsp) String() string

type TimesStat

type TimesStat struct {
	Cpu       string  `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	User      float64 `protobuf:"fixed64,2,opt,name=User,proto3" json:"User,omitempty"`
	System    float64 `protobuf:"fixed64,3,opt,name=System,proto3" json:"System,omitempty"`
	Idle      float64 `protobuf:"fixed64,4,opt,name=Idle,proto3" json:"Idle,omitempty"`
	Nice      float64 `protobuf:"fixed64,5,opt,name=Nice,proto3" json:"Nice,omitempty"`
	Iowait    float64 `protobuf:"fixed64,6,opt,name=Iowait,proto3" json:"Iowait,omitempty"`
	Irq       float64 `protobuf:"fixed64,7,opt,name=Irq,proto3" json:"Irq,omitempty"`
	Softirq   float64 `protobuf:"fixed64,8,opt,name=Softirq,proto3" json:"Softirq,omitempty"`
	Steal     float64 `protobuf:"fixed64,9,opt,name=Steal,proto3" json:"Steal,omitempty"`
	Guest     float64 `protobuf:"fixed64,10,opt,name=Guest,proto3" json:"Guest,omitempty"`
	GuestNice float64 `protobuf:"fixed64,11,opt,name=GuestNice,proto3" json:"GuestNice,omitempty"`
	// contains filtered or unexported fields
}

func (*TimesStat) Descriptor deprecated

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

Deprecated: Use TimesStat.ProtoReflect.Descriptor instead.

func (*TimesStat) GetCpu

func (x *TimesStat) GetCpu() string

func (*TimesStat) GetGuest

func (x *TimesStat) GetGuest() float64

func (*TimesStat) GetGuestNice

func (x *TimesStat) GetGuestNice() float64

func (*TimesStat) GetIdle

func (x *TimesStat) GetIdle() float64

func (*TimesStat) GetIowait

func (x *TimesStat) GetIowait() float64

func (*TimesStat) GetIrq

func (x *TimesStat) GetIrq() float64

func (*TimesStat) GetNice

func (x *TimesStat) GetNice() float64

func (*TimesStat) GetSoftirq

func (x *TimesStat) GetSoftirq() float64

func (*TimesStat) GetSteal

func (x *TimesStat) GetSteal() float64

func (*TimesStat) GetSystem

func (x *TimesStat) GetSystem() float64

func (*TimesStat) GetUser

func (x *TimesStat) GetUser() float64

func (*TimesStat) ProtoMessage

func (*TimesStat) ProtoMessage()

func (*TimesStat) ProtoReflect

func (x *TimesStat) ProtoReflect() protoreflect.Message

func (*TimesStat) Reset

func (x *TimesStat) Reset()

func (*TimesStat) String

func (x *TimesStat) String() string

type TimesStats

type TimesStats struct {
	Stats []*TimesStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*TimesStats) Descriptor deprecated

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

Deprecated: Use TimesStats.ProtoReflect.Descriptor instead.

func (*TimesStats) GetStats

func (x *TimesStats) GetStats() []*TimesStat

func (*TimesStats) ProtoMessage

func (*TimesStats) ProtoMessage()

func (*TimesStats) ProtoReflect

func (x *TimesStats) ProtoReflect() protoreflect.Message

func (*TimesStats) Reset

func (x *TimesStats) Reset()

func (*TimesStats) String

func (x *TimesStats) String() string

type TransactionByBlockHashRequest

type TransactionByBlockHashRequest struct {
	Index     uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	BlockHash string `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionByBlockHashRequest) Descriptor deprecated

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

Deprecated: Use TransactionByBlockHashRequest.ProtoReflect.Descriptor instead.

func (*TransactionByBlockHashRequest) GetBlockHash

func (x *TransactionByBlockHashRequest) GetBlockHash() string

func (*TransactionByBlockHashRequest) GetIndex

func (x *TransactionByBlockHashRequest) GetIndex() uint32

func (*TransactionByBlockHashRequest) ProtoMessage

func (*TransactionByBlockHashRequest) ProtoMessage()

func (*TransactionByBlockHashRequest) ProtoReflect

func (*TransactionByBlockHashRequest) Reset

func (x *TransactionByBlockHashRequest) Reset()

func (*TransactionByBlockHashRequest) String

type TransactionByBlockHeightRequest

type TransactionByBlockHeightRequest struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Index  uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionByBlockHeightRequest) Descriptor deprecated

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

Deprecated: Use TransactionByBlockHeightRequest.ProtoReflect.Descriptor instead.

func (*TransactionByBlockHeightRequest) GetHeight

func (x *TransactionByBlockHeightRequest) GetHeight() uint64

func (*TransactionByBlockHeightRequest) GetIndex

func (*TransactionByBlockHeightRequest) ProtoMessage

func (*TransactionByBlockHeightRequest) ProtoMessage()

func (*TransactionByBlockHeightRequest) ProtoReflect

func (*TransactionByBlockHeightRequest) Reset

func (*TransactionByBlockHeightRequest) String

type TypeAndIDParam

type TypeAndIDParam struct {
	PType string `protobuf:"bytes,1,opt,name=pType,proto3" json:"pType,omitempty"`
	PID   string `protobuf:"bytes,2,opt,name=pID,proto3" json:"pID,omitempty"`
	// contains filtered or unexported fields
}

func (*TypeAndIDParam) Descriptor deprecated

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

Deprecated: Use TypeAndIDParam.ProtoReflect.Descriptor instead.

func (*TypeAndIDParam) GetPID

func (x *TypeAndIDParam) GetPID() string

func (*TypeAndIDParam) GetPType

func (x *TypeAndIDParam) GetPType() string

func (*TypeAndIDParam) ProtoMessage

func (*TypeAndIDParam) ProtoMessage()

func (*TypeAndIDParam) ProtoReflect

func (x *TypeAndIDParam) ProtoReflect() protoreflect.Message

func (*TypeAndIDParam) Reset

func (x *TypeAndIDParam) Reset()

func (*TypeAndIDParam) String

func (x *TypeAndIDParam) String() string

type UInt32

type UInt32 struct {
	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UInt32) Descriptor deprecated

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

Deprecated: Use UInt32.ProtoReflect.Descriptor instead.

func (*UInt32) GetValue

func (x *UInt32) GetValue() uint32

func (*UInt32) ProtoMessage

func (*UInt32) ProtoMessage()

func (*UInt32) ProtoReflect

func (x *UInt32) ProtoReflect() protoreflect.Message

func (*UInt32) Reset

func (x *UInt32) Reset()

func (*UInt32) String

func (x *UInt32) String() string

type UInt64

type UInt64 struct {
	Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UInt64) Descriptor deprecated

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

Deprecated: Use UInt64.ProtoReflect.Descriptor instead.

func (*UInt64) GetValue

func (x *UInt64) GetValue() uint64

func (*UInt64) ProtoMessage

func (*UInt64) ProtoMessage()

func (*UInt64) ProtoReflect

func (x *UInt64) ProtoReflect() protoreflect.Message

func (*UInt64) Reset

func (x *UInt64) Reset()

func (*UInt64) String

func (x *UInt64) String() string

type UnPublishParam

type UnPublishParam struct {
	Account string `protobuf:"bytes,1,opt,name=Account,proto3" json:"Account,omitempty"`
	Type    string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Id      string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	PubKey  string `protobuf:"bytes,4,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	KeyType string `protobuf:"bytes,5,opt,name=keyType,proto3" json:"keyType,omitempty"`
	Hash    string `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*UnPublishParam) Descriptor deprecated

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

Deprecated: Use UnPublishParam.ProtoReflect.Descriptor instead.

func (*UnPublishParam) GetAccount

func (x *UnPublishParam) GetAccount() string

func (*UnPublishParam) GetHash

func (x *UnPublishParam) GetHash() string

func (*UnPublishParam) GetId

func (x *UnPublishParam) GetId() string

func (*UnPublishParam) GetKeyType

func (x *UnPublishParam) GetKeyType() string

func (*UnPublishParam) GetPubKey

func (x *UnPublishParam) GetPubKey() string

func (*UnPublishParam) GetType

func (x *UnPublishParam) GetType() string

func (*UnPublishParam) ProtoMessage

func (*UnPublishParam) ProtoMessage()

func (*UnPublishParam) ProtoReflect

func (x *UnPublishParam) ProtoReflect() protoreflect.Message

func (*UnPublishParam) Reset

func (x *UnPublishParam) Reset()

func (*UnPublishParam) String

func (x *UnPublishParam) String() string

type UnimplementedAccountAPIServer

type UnimplementedAccountAPIServer struct {
}

UnimplementedAccountAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedAccountAPIServer) Create

func (*UnimplementedAccountAPIServer) ForPublicKey

func (*UnimplementedAccountAPIServer) NewAccounts

func (*UnimplementedAccountAPIServer) NewSeed

func (*UnimplementedAccountAPIServer) PublicKey

func (*UnimplementedAccountAPIServer) Validate

type UnimplementedBlackHoleAPIServer

type UnimplementedBlackHoleAPIServer struct {
}

UnimplementedBlackHoleAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedBlackHoleAPIServer) GetDestroyInfoDetail

func (*UnimplementedBlackHoleAPIServer) GetRewardsBlock

func (*UnimplementedBlackHoleAPIServer) GetSendBlock

func (*UnimplementedBlackHoleAPIServer) GetTotalDestroyInfo

type UnimplementedChainAPIServer

type UnimplementedChainAPIServer struct {
}

UnimplementedChainAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedChainAPIServer) LedgerSize

func (*UnimplementedChainAPIServer) Version

type UnimplementedContractAPIServer

type UnimplementedContractAPIServer struct {
}

UnimplementedContractAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedContractAPIServer) ContractAddressList

func (*UnimplementedContractAPIServer) GenerateRewardBlock

func (*UnimplementedContractAPIServer) GenerateSendBlock

func (*UnimplementedContractAPIServer) GetAbiByContractAddress

func (*UnimplementedContractAPIServer) GetAbiByContractAddress(context.Context, *types.Address) (*String, error)

func (*UnimplementedContractAPIServer) PackChainContractData

func (*UnimplementedContractAPIServer) PackContractData

type UnimplementedLedgerAPIServer

type UnimplementedLedgerAPIServer struct {
}

UnimplementedLedgerAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedLedgerAPIServer) AccountBlocksCount

func (*UnimplementedLedgerAPIServer) AccountHistoryTopn

func (*UnimplementedLedgerAPIServer) AccountInfo

func (*UnimplementedLedgerAPIServer) AccountRepresentative

func (*UnimplementedLedgerAPIServer) AccountVotingWeight

func (*UnimplementedLedgerAPIServer) Accounts

func (*UnimplementedLedgerAPIServer) AccountsBalance

func (*UnimplementedLedgerAPIServer) AccountsCount

func (*UnimplementedLedgerAPIServer) AccountsFrontiers

func (*UnimplementedLedgerAPIServer) AccountsPending

func (*UnimplementedLedgerAPIServer) AllGenesisBlocks

func (*UnimplementedLedgerAPIServer) BalanceChange

func (*UnimplementedLedgerAPIServer) BlockAccount

func (*UnimplementedLedgerAPIServer) BlockConfirmedStatus

func (*UnimplementedLedgerAPIServer) BlockConfirmedStatus(context.Context, *types.Hash) (*Boolean, error)

func (*UnimplementedLedgerAPIServer) BlockHash

func (*UnimplementedLedgerAPIServer) Blocks

func (*UnimplementedLedgerAPIServer) BlocksCount

func (*UnimplementedLedgerAPIServer) BlocksCount2

func (*UnimplementedLedgerAPIServer) BlocksCountByType

func (*UnimplementedLedgerAPIServer) BlocksInfo

func (*UnimplementedLedgerAPIServer) Chain

func (*UnimplementedLedgerAPIServer) ChainToken

func (*UnimplementedLedgerAPIServer) ConfirmedAccountInfo

func (*UnimplementedLedgerAPIServer) ConfirmedBlocksInfo

func (*UnimplementedLedgerAPIServer) Delegators

func (*UnimplementedLedgerAPIServer) DelegatorsCount

func (*UnimplementedLedgerAPIServer) GasAddress

func (*UnimplementedLedgerAPIServer) GasBlock

func (*UnimplementedLedgerAPIServer) GasBlockHash

func (*UnimplementedLedgerAPIServer) GasMintageBlock

func (*UnimplementedLedgerAPIServer) GasToken

func (*UnimplementedLedgerAPIServer) GenerateChangeBlock

func (*UnimplementedLedgerAPIServer) GenerateReceiveBlock

func (*UnimplementedLedgerAPIServer) GenerateReceiveBlockByHash

func (*UnimplementedLedgerAPIServer) GenerateSendBlock

func (*UnimplementedLedgerAPIServer) GenesisAddress

func (*UnimplementedLedgerAPIServer) GenesisBlock

func (*UnimplementedLedgerAPIServer) GenesisBlockHash

func (*UnimplementedLedgerAPIServer) GenesisMintageBlock

func (*UnimplementedLedgerAPIServer) GenesisMintageHash

func (*UnimplementedLedgerAPIServer) GetAccountOnlineBlock

func (*UnimplementedLedgerAPIServer) IsGenesisBlock

func (*UnimplementedLedgerAPIServer) IsGenesisToken

func (*UnimplementedLedgerAPIServer) NewAccountBlock

func (*UnimplementedLedgerAPIServer) NewBlock

func (*UnimplementedLedgerAPIServer) NewPending

func (*UnimplementedLedgerAPIServer) Pendings

func (*UnimplementedLedgerAPIServer) Process

func (*UnimplementedLedgerAPIServer) Representatives

func (*UnimplementedLedgerAPIServer) TokenInfoById

func (*UnimplementedLedgerAPIServer) TokenInfoByName

func (*UnimplementedLedgerAPIServer) Tokens

func (*UnimplementedLedgerAPIServer) TransactionsCount

type UnimplementedMetricsAPIServer

type UnimplementedMetricsAPIServer struct {
}

UnimplementedMetricsAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedMetricsAPIServer) DiskInfo

func (*UnimplementedMetricsAPIServer) GetAllCPUTimeStats

func (*UnimplementedMetricsAPIServer) GetCPUInfo

func (*UnimplementedMetricsAPIServer) GetCPUTimeStats

func (*UnimplementedMetricsAPIServer) GetNetworkInterfaces

type UnimplementedMinerAPIServer

type UnimplementedMinerAPIServer struct {
}

UnimplementedMinerAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedMinerAPIServer) GetAvailRewardInfo

func (*UnimplementedMinerAPIServer) GetRewardData

func (*UnimplementedMinerAPIServer) GetRewardHistory

func (*UnimplementedMinerAPIServer) GetRewardRecvBlock

func (*UnimplementedMinerAPIServer) GetRewardRecvBlockBySendHash

func (*UnimplementedMinerAPIServer) GetRewardRecvBlockBySendHash(context.Context, *types.Hash) (*types.StateBlock, error)

func (*UnimplementedMinerAPIServer) GetRewardSendBlock

func (*UnimplementedMinerAPIServer) UnpackRewardData

type UnimplementedMintageAPIServer

type UnimplementedMintageAPIServer struct {
}

UnimplementedMintageAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedMintageAPIServer) GetMintageBlock

func (*UnimplementedMintageAPIServer) GetMintageData

func (*UnimplementedMintageAPIServer) GetRewardBlock

func (*UnimplementedMintageAPIServer) GetWithdrawMintageBlock

func (*UnimplementedMintageAPIServer) GetWithdrawMintageData

func (*UnimplementedMintageAPIServer) GetWithdrawMintageData(context.Context, *types.Hash) (*Bytes, error)

func (*UnimplementedMintageAPIServer) GetWithdrawRewardBlock

func (*UnimplementedMintageAPIServer) ParseTokenInfo

type UnimplementedNEP5PledgeAPIServer

type UnimplementedNEP5PledgeAPIServer struct {
}

UnimplementedNEP5PledgeAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedNEP5PledgeAPIServer) GetAllPledgeInfo

func (*UnimplementedNEP5PledgeAPIServer) GetBeneficialPledgeInfos

func (*UnimplementedNEP5PledgeAPIServer) GetBeneficialPledgeInfosByAddress

func (*UnimplementedNEP5PledgeAPIServer) GetBeneficialPledgeInfosByAddress(context.Context, *types.Address) (*PledgeInfos, error)

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeBeneficialAmount

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeBeneficialTotalAmount

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeBeneficialTotalAmount(context.Context, *types.Address) (*Int64, error)

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeBlock

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeData

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeInfo

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeInfoWithNEP5TxId

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeInfoWithTimeExpired

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeInfosByPledgeAddress

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeInfosByPledgeAddress(context.Context, *types.Address) (*PledgeInfos, error)

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeRewardBlock

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeRewardBlockBySendHash

func (*UnimplementedNEP5PledgeAPIServer) GetPledgeRewardBlockBySendHash(context.Context, *types.Hash) (*types.StateBlock, error)

func (*UnimplementedNEP5PledgeAPIServer) GetTotalPledgeAmount

func (*UnimplementedNEP5PledgeAPIServer) GetTotalPledgeAmount(context.Context, *empty.Empty) (*Int64, error)

func (*UnimplementedNEP5PledgeAPIServer) GetWithdrawPledgeBlock

func (*UnimplementedNEP5PledgeAPIServer) GetWithdrawPledgeData

func (*UnimplementedNEP5PledgeAPIServer) GetWithdrawRewardBlock

func (*UnimplementedNEP5PledgeAPIServer) GetWithdrawRewardBlockBySendHash

func (*UnimplementedNEP5PledgeAPIServer) GetWithdrawRewardBlockBySendHash(context.Context, *types.Hash) (*types.StateBlock, error)

func (*UnimplementedNEP5PledgeAPIServer) ParsePledgeInfo

type UnimplementedNetAPIServer

type UnimplementedNetAPIServer struct {
}

UnimplementedNetAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedNetAPIServer) ConnectPeersInfo

func (*UnimplementedNetAPIServer) GetAllPeersInfo

func (*UnimplementedNetAPIServer) GetBandwidthStats

func (*UnimplementedNetAPIServer) GetOnlinePeersInfo

func (*UnimplementedNetAPIServer) GetOnlinePeersInfo(context.Context, *Offset) (*PeerInfos, error)

func (*UnimplementedNetAPIServer) GetPeerId

func (*UnimplementedNetAPIServer) OnlineRepresentatives

func (*UnimplementedNetAPIServer) OnlineRepresentatives(context.Context, *empty.Empty) (*types.Addresses, error)

func (*UnimplementedNetAPIServer) OnlineRepsInfo

func (*UnimplementedNetAPIServer) PeersCount

func (*UnimplementedNetAPIServer) Syncing

type UnimplementedPermissionAPIServer

type UnimplementedPermissionAPIServer struct {
}

UnimplementedPermissionAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedPermissionAPIServer) GetAdmin

func (*UnimplementedPermissionAPIServer) GetAdminHandoverBlock

func (*UnimplementedPermissionAPIServer) GetNode

func (*UnimplementedPermissionAPIServer) GetNodeUpdateBlock

func (*UnimplementedPermissionAPIServer) GetNodes

func (*UnimplementedPermissionAPIServer) GetNodesCount

type UnimplementedPovAPIServer

type UnimplementedPovAPIServer struct {
}

UnimplementedPovAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedPovAPIServer) BatchGetHeadersByHeight

func (*UnimplementedPovAPIServer) GetAccountState

func (*UnimplementedPovAPIServer) GetAccountStateByBlockHash

func (*UnimplementedPovAPIServer) GetAccountStateByBlockHeight

func (*UnimplementedPovAPIServer) GetAllRepStatesByBlockHash

func (*UnimplementedPovAPIServer) GetAllRepStatesByBlockHash(context.Context, *types.Hash) (*PovApiRepState, error)

func (*UnimplementedPovAPIServer) GetAllRepStatesByBlockHeight

func (*UnimplementedPovAPIServer) GetAllRepStatesByBlockHeight(context.Context, *UInt64) (*PovApiRepState, error)

func (*UnimplementedPovAPIServer) GetAllRepStatesByStateHash

func (*UnimplementedPovAPIServer) GetAllRepStatesByStateHash(context.Context, *types.Hash) (*PovApiRepState, error)

func (*UnimplementedPovAPIServer) GetBlockByHash

func (*UnimplementedPovAPIServer) GetBlockByHeight

func (*UnimplementedPovAPIServer) GetDiffDayStat

func (*UnimplementedPovAPIServer) GetDiffDayStatByHeight

func (*UnimplementedPovAPIServer) GetDiffDayStatByHeight(context.Context, *UInt64) (*types.PovDiffDayStat, error)

func (*UnimplementedPovAPIServer) GetFittestHeader

func (*UnimplementedPovAPIServer) GetHashInfo

func (*UnimplementedPovAPIServer) GetHeaderByHash

func (*UnimplementedPovAPIServer) GetHeaderByHeight

func (*UnimplementedPovAPIServer) GetLastNHourInfo

func (*UnimplementedPovAPIServer) GetLatestAccountState

func (*UnimplementedPovAPIServer) GetLatestAccountState(context.Context, *types.Address) (*PovApiState, error)

func (*UnimplementedPovAPIServer) GetLatestBlock

func (*UnimplementedPovAPIServer) GetLatestHeader

func (*UnimplementedPovAPIServer) GetLedgerStats

func (*UnimplementedPovAPIServer) GetMinerDayStat

func (*UnimplementedPovAPIServer) GetMinerDayStatByHeight

func (*UnimplementedPovAPIServer) GetMinerDayStatByHeight(context.Context, *UInt64) (*types.PovMinerDayStat, error)

func (*UnimplementedPovAPIServer) GetMinerStats

func (*UnimplementedPovAPIServer) GetMiningInfo

func (*UnimplementedPovAPIServer) GetPovStatus

func (*UnimplementedPovAPIServer) GetRepStats

func (*UnimplementedPovAPIServer) GetTransaction

func (*UnimplementedPovAPIServer) GetTransactionByBlockHashAndIndex

func (*UnimplementedPovAPIServer) GetTransactionByBlockHeightAndIndex

func (*UnimplementedPovAPIServer) GetWork

func (*UnimplementedPovAPIServer) NewBlock

func (*UnimplementedPovAPIServer) StartMining

func (*UnimplementedPovAPIServer) StopMining

type UnimplementedPrivacyAPIServer

type UnimplementedPrivacyAPIServer struct {
}

UnimplementedPrivacyAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedPrivacyAPIServer) DistributeRawPayload

func (*UnimplementedPrivacyAPIServer) GetBlockPrivatePayload

func (*UnimplementedPrivacyAPIServer) GetBlockPrivatePayload(context.Context, *types.Hash) (*Bytes, error)

func (*UnimplementedPrivacyAPIServer) GetDemoKV

func (*UnimplementedPrivacyAPIServer) GetRawPayload

type UnimplementedPtmKeyAPIServer

type UnimplementedPtmKeyAPIServer struct {
}

UnimplementedPtmKeyAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedPtmKeyAPIServer) GetPtmKeyByAccount

func (*UnimplementedPtmKeyAPIServer) GetPtmKeyByAccountAndBtype

func (*UnimplementedPtmKeyAPIServer) GetPtmKeyDeleteBlock

func (*UnimplementedPtmKeyAPIServer) GetPtmKeyUpdateBlock

type UnimplementedPublicKeyDistributionAPIServer

type UnimplementedPublicKeyDistributionAPIServer struct {
}

UnimplementedPublicKeyDistributionAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedPublicKeyDistributionAPIServer) GetActiveVerifiers

func (*UnimplementedPublicKeyDistributionAPIServer) GetAllVerifierStatesByBlockHeight

func (*UnimplementedPublicKeyDistributionAPIServer) GetAllVerifiers

func (*UnimplementedPublicKeyDistributionAPIServer) GetAvailRewardInfo

func (*UnimplementedPublicKeyDistributionAPIServer) GetOracleBlock

func (*UnimplementedPublicKeyDistributionAPIServer) GetOracleInfosByAccountAndType

func (*UnimplementedPublicKeyDistributionAPIServer) GetOracleInfosByHash

func (*UnimplementedPublicKeyDistributionAPIServer) GetOracleInfosByType

func (*UnimplementedPublicKeyDistributionAPIServer) GetOracleInfosByTypeAndID

func (*UnimplementedPublicKeyDistributionAPIServer) GetPubKeyByTypeAndID

func (*UnimplementedPublicKeyDistributionAPIServer) GetPublishBlock

func (*UnimplementedPublicKeyDistributionAPIServer) GetPublishInfosByAccountAndType

func (*UnimplementedPublicKeyDistributionAPIServer) GetPublishInfosByType

func (*UnimplementedPublicKeyDistributionAPIServer) GetRecommendPubKey

func (*UnimplementedPublicKeyDistributionAPIServer) GetRewardHistory

func (*UnimplementedPublicKeyDistributionAPIServer) GetRewardRecvBlock

func (*UnimplementedPublicKeyDistributionAPIServer) GetRewardRecvBlockBySendHash

func (*UnimplementedPublicKeyDistributionAPIServer) GetRewardSendBlock

func (*UnimplementedPublicKeyDistributionAPIServer) GetUnPublishBlock

func (*UnimplementedPublicKeyDistributionAPIServer) GetVerifierHeartBlock

func (*UnimplementedPublicKeyDistributionAPIServer) GetVerifierRegisterBlock

func (*UnimplementedPublicKeyDistributionAPIServer) GetVerifierStateByBlockHeight

func (*UnimplementedPublicKeyDistributionAPIServer) GetVerifierUnregisterBlock

func (*UnimplementedPublicKeyDistributionAPIServer) GetVerifiersByAccount

func (*UnimplementedPublicKeyDistributionAPIServer) GetVerifiersByType

func (*UnimplementedPublicKeyDistributionAPIServer) PackRewardData

func (*UnimplementedPublicKeyDistributionAPIServer) UnpackRewardData

type UnimplementedRepAPIServer

type UnimplementedRepAPIServer struct {
}

UnimplementedRepAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedRepAPIServer) GetAvailRewardInfo

func (*UnimplementedRepAPIServer) GetRepStateWithHeight

func (*UnimplementedRepAPIServer) GetRewardData

func (*UnimplementedRepAPIServer) GetRewardHistory

func (*UnimplementedRepAPIServer) GetRewardRecvBlock

func (*UnimplementedRepAPIServer) GetRewardRecvBlockBySendHash

func (*UnimplementedRepAPIServer) GetRewardRecvBlockBySendHash(context.Context, *types.Hash) (*types.StateBlock, error)

func (*UnimplementedRepAPIServer) GetRewardSendBlock

func (*UnimplementedRepAPIServer) UnpackRewardData

type UnimplementedRewardsAPIServer

type UnimplementedRewardsAPIServer struct {
}

UnimplementedRewardsAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedRewardsAPIServer) GetConfidantRewards

func (*UnimplementedRewardsAPIServer) GetConfidantRewordsDetail

func (*UnimplementedRewardsAPIServer) GetReceiveRewardBlock

func (*UnimplementedRewardsAPIServer) GetRewardsDetail

func (*UnimplementedRewardsAPIServer) GetSendConfidantBlock

func (*UnimplementedRewardsAPIServer) GetSendRewardBlock

func (*UnimplementedRewardsAPIServer) GetTotalRewards

func (*UnimplementedRewardsAPIServer) GetUnsignedConfidantData

func (*UnimplementedRewardsAPIServer) GetUnsignedConfidantData(context.Context, *RewardsParam) (*types.Hash, error)

func (*UnimplementedRewardsAPIServer) GetUnsignedRewardData

func (*UnimplementedRewardsAPIServer) IsAirdropRewards

type UnimplementedSettlementAPIServer

type UnimplementedSettlementAPIServer struct {
}

UnimplementedSettlementAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedSettlementAPIServer) GenerateInvoices

func (*UnimplementedSettlementAPIServer) GenerateInvoicesByAccount

func (*UnimplementedSettlementAPIServer) GenerateInvoicesByContract

func (*UnimplementedSettlementAPIServer) GenerateInvoicesByCustomer

func (*UnimplementedSettlementAPIServer) GenerateMultiPartyInvoice

func (*UnimplementedSettlementAPIServer) GenerateMultiPartySummaryReport

func (*UnimplementedSettlementAPIServer) GetAddNextStopBlock

func (*UnimplementedSettlementAPIServer) GetAddPreStopBlock

func (*UnimplementedSettlementAPIServer) GetAllAssets

func (*UnimplementedSettlementAPIServer) GetAllCDRStatus

func (*UnimplementedSettlementAPIServer) GetAllContracts

func (*UnimplementedSettlementAPIServer) GetAsset

func (*UnimplementedSettlementAPIServer) GetAssetsByOwner

func (*UnimplementedSettlementAPIServer) GetCDRStatus

func (*UnimplementedSettlementAPIServer) GetCDRStatusByCdrData

func (*UnimplementedSettlementAPIServer) GetCDRStatusByDate

func (*UnimplementedSettlementAPIServer) GetContractAddressByPartyANextStop

func (*UnimplementedSettlementAPIServer) GetContractAddressByPartyBPreStop

func (*UnimplementedSettlementAPIServer) GetContractsAsPartyA

func (*UnimplementedSettlementAPIServer) GetContractsAsPartyB

func (*UnimplementedSettlementAPIServer) GetContractsByAddress

func (*UnimplementedSettlementAPIServer) GetContractsByStatus

func (*UnimplementedSettlementAPIServer) GetCreateContractBlock

func (*UnimplementedSettlementAPIServer) GetExpiredContracts

func (*UnimplementedSettlementAPIServer) GetMultiPartyCDRStatus

func (*UnimplementedSettlementAPIServer) GetNextStopNames

func (*UnimplementedSettlementAPIServer) GetPreStopNames

func (*UnimplementedSettlementAPIServer) GetProcessCDRBlock

func (*UnimplementedSettlementAPIServer) GetRegisterAssetBlock

func (*UnimplementedSettlementAPIServer) GetRemoveNextStopBlock

func (*UnimplementedSettlementAPIServer) GetRemovePreStopBlock

func (*UnimplementedSettlementAPIServer) GetSettlementRewardsBlock

func (*UnimplementedSettlementAPIServer) GetSettlementRewardsBlock(context.Context, *types.Hash) (*types.StateBlock, error)

func (*UnimplementedSettlementAPIServer) GetSignContractBlock

func (*UnimplementedSettlementAPIServer) GetSummaryReport

func (*UnimplementedSettlementAPIServer) GetSummaryReportByAccount

func (*UnimplementedSettlementAPIServer) GetSummaryReportByCustomer

func (*UnimplementedSettlementAPIServer) GetTerminateContractBlock

func (*UnimplementedSettlementAPIServer) GetUpdateNextStopBlock

func (*UnimplementedSettlementAPIServer) GetUpdatePreStopBlock

func (*UnimplementedSettlementAPIServer) ToAddress

type UnimplementedUtilAPIServer

type UnimplementedUtilAPIServer struct {
}

UnimplementedUtilAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedUtilAPIServer) BalanceToRaw

func (*UnimplementedUtilAPIServer) Decrypt

func (*UnimplementedUtilAPIServer) Encrypt

func (*UnimplementedUtilAPIServer) RawToBalance

type UpdateStopParam

type UpdateStopParam struct {
	UpdateStopParam *types.UpdateStopParam `protobuf:"bytes,1,opt,name=updateStopParam,proto3" json:"updateStopParam,omitempty"`
	Address         string                 `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateStopParam) Descriptor deprecated

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

Deprecated: Use UpdateStopParam.ProtoReflect.Descriptor instead.

func (*UpdateStopParam) GetAddress

func (x *UpdateStopParam) GetAddress() string

func (*UpdateStopParam) GetUpdateStopParam

func (x *UpdateStopParam) GetUpdateStopParam() *types.UpdateStopParam

func (*UpdateStopParam) ProtoMessage

func (*UpdateStopParam) ProtoMessage()

func (*UpdateStopParam) ProtoReflect

func (x *UpdateStopParam) ProtoReflect() protoreflect.Message

func (*UpdateStopParam) Reset

func (x *UpdateStopParam) Reset()

func (*UpdateStopParam) String

func (x *UpdateStopParam) String() string

type UsageStat

type UsageStat struct {
	Path              string  `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Fstype            string  `protobuf:"bytes,2,opt,name=fstype,proto3" json:"fstype,omitempty"`
	Total             uint64  `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Free              uint64  `protobuf:"varint,4,opt,name=free,proto3" json:"free,omitempty"`
	Used              uint64  `protobuf:"varint,5,opt,name=used,proto3" json:"used,omitempty"`
	UsedPercent       float64 `protobuf:"fixed64,6,opt,name=usedPercent,proto3" json:"usedPercent,omitempty"`
	InodesTotal       uint64  `protobuf:"varint,7,opt,name=inodesTotal,proto3" json:"inodesTotal,omitempty"`
	InodesUsed        uint64  `protobuf:"varint,8,opt,name=inodesUsed,proto3" json:"inodesUsed,omitempty"`
	InodesFree        uint64  `protobuf:"varint,9,opt,name=inodesFree,proto3" json:"inodesFree,omitempty"`
	InodesUsedPercent float64 `protobuf:"fixed64,10,opt,name=inodesUsedPercent,proto3" json:"inodesUsedPercent,omitempty"`
	// contains filtered or unexported fields
}

func (*UsageStat) Descriptor deprecated

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

Deprecated: Use UsageStat.ProtoReflect.Descriptor instead.

func (*UsageStat) GetFree

func (x *UsageStat) GetFree() uint64

func (*UsageStat) GetFstype

func (x *UsageStat) GetFstype() string

func (*UsageStat) GetInodesFree

func (x *UsageStat) GetInodesFree() uint64

func (*UsageStat) GetInodesTotal

func (x *UsageStat) GetInodesTotal() uint64

func (*UsageStat) GetInodesUsed

func (x *UsageStat) GetInodesUsed() uint64

func (*UsageStat) GetInodesUsedPercent

func (x *UsageStat) GetInodesUsedPercent() float64

func (*UsageStat) GetPath

func (x *UsageStat) GetPath() string

func (*UsageStat) GetTotal

func (x *UsageStat) GetTotal() uint64

func (*UsageStat) GetUsed

func (x *UsageStat) GetUsed() uint64

func (*UsageStat) GetUsedPercent

func (x *UsageStat) GetUsedPercent() float64

func (*UsageStat) ProtoMessage

func (*UsageStat) ProtoMessage()

func (*UsageStat) ProtoReflect

func (x *UsageStat) ProtoReflect() protoreflect.Message

func (*UsageStat) Reset

func (x *UsageStat) Reset()

func (*UsageStat) String

func (x *UsageStat) String() string

type UtilAPIClient

type UtilAPIClient interface {
	Decrypt(ctx context.Context, in *DecryptRequest, opts ...grpc.CallOption) (*String, error)
	Encrypt(ctx context.Context, in *EncryptRequest, opts ...grpc.CallOption) (*String, error)
	RawToBalance(ctx context.Context, in *RawBalance, opts ...grpc.CallOption) (*Float, error)
	BalanceToRaw(ctx context.Context, in *RawBalance, opts ...grpc.CallOption) (*Int64, error)
}

UtilAPIClient is the client API for UtilAPI service.

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

func NewUtilAPIClient

func NewUtilAPIClient(cc grpc.ClientConnInterface) UtilAPIClient

type UtilAPIServer

type UtilAPIServer interface {
	Decrypt(context.Context, *DecryptRequest) (*String, error)
	Encrypt(context.Context, *EncryptRequest) (*String, error)
	RawToBalance(context.Context, *RawBalance) (*Float, error)
	BalanceToRaw(context.Context, *RawBalance) (*Int64, error)
}

UtilAPIServer is the server API for UtilAPI service.

type VerifierContent

type VerifierContent struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	PubKey  string `protobuf:"bytes,2,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	Code    string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	Hash    string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifierContent) Descriptor deprecated

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

Deprecated: Use VerifierContent.ProtoReflect.Descriptor instead.

func (*VerifierContent) GetAccount

func (x *VerifierContent) GetAccount() string

func (*VerifierContent) GetCode

func (x *VerifierContent) GetCode() string

func (*VerifierContent) GetHash

func (x *VerifierContent) GetHash() string

func (*VerifierContent) GetPubKey

func (x *VerifierContent) GetPubKey() string

func (*VerifierContent) ProtoMessage

func (*VerifierContent) ProtoMessage()

func (*VerifierContent) ProtoReflect

func (x *VerifierContent) ProtoReflect() protoreflect.Message

func (*VerifierContent) Reset

func (x *VerifierContent) Reset()

func (*VerifierContent) String

func (x *VerifierContent) String() string

type VerifierHeartBlockRequest

type VerifierHeartBlockRequest struct {
	Account string   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	VTypes  []string `protobuf:"bytes,2,rep,name=vTypes,proto3" json:"vTypes,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifierHeartBlockRequest) Descriptor deprecated

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

Deprecated: Use VerifierHeartBlockRequest.ProtoReflect.Descriptor instead.

func (*VerifierHeartBlockRequest) GetAccount

func (x *VerifierHeartBlockRequest) GetAccount() string

func (*VerifierHeartBlockRequest) GetVTypes

func (x *VerifierHeartBlockRequest) GetVTypes() []string

func (*VerifierHeartBlockRequest) ProtoMessage

func (*VerifierHeartBlockRequest) ProtoMessage()

func (*VerifierHeartBlockRequest) ProtoReflect

func (*VerifierHeartBlockRequest) Reset

func (x *VerifierHeartBlockRequest) Reset()

func (*VerifierHeartBlockRequest) String

func (x *VerifierHeartBlockRequest) String() string

type VerifierRegParam

type VerifierRegParam struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Type    string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Id      string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Key     string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifierRegParam) Descriptor deprecated

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

Deprecated: Use VerifierRegParam.ProtoReflect.Descriptor instead.

func (*VerifierRegParam) GetAccount

func (x *VerifierRegParam) GetAccount() string

func (*VerifierRegParam) GetId

func (x *VerifierRegParam) GetId() string

func (*VerifierRegParam) GetKey

func (x *VerifierRegParam) GetKey() string

func (*VerifierRegParam) GetType

func (x *VerifierRegParam) GetType() string

func (*VerifierRegParam) ProtoMessage

func (*VerifierRegParam) ProtoMessage()

func (*VerifierRegParam) ProtoReflect

func (x *VerifierRegParam) ProtoReflect() protoreflect.Message

func (*VerifierRegParam) Reset

func (x *VerifierRegParam) Reset()

func (*VerifierRegParam) String

func (x *VerifierRegParam) String() string

type VerifierRegParams

type VerifierRegParams struct {
	Params []*VerifierRegParam `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifierRegParams) Descriptor deprecated

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

Deprecated: Use VerifierRegParams.ProtoReflect.Descriptor instead.

func (*VerifierRegParams) GetParams

func (x *VerifierRegParams) GetParams() []*VerifierRegParam

func (*VerifierRegParams) ProtoMessage

func (*VerifierRegParams) ProtoMessage()

func (*VerifierRegParams) ProtoReflect

func (x *VerifierRegParams) ProtoReflect() protoreflect.Message

func (*VerifierRegParams) Reset

func (x *VerifierRegParams) Reset()

func (*VerifierRegParams) String

func (x *VerifierRegParams) String() string

type VerifierStateByBlockHeightRequest

type VerifierStateByBlockHeightRequest struct {
	Height  uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifierStateByBlockHeightRequest) Descriptor deprecated

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

Deprecated: Use VerifierStateByBlockHeightRequest.ProtoReflect.Descriptor instead.

func (*VerifierStateByBlockHeightRequest) GetAddress

func (x *VerifierStateByBlockHeightRequest) GetAddress() string

func (*VerifierStateByBlockHeightRequest) GetHeight

func (*VerifierStateByBlockHeightRequest) ProtoMessage

func (*VerifierStateByBlockHeightRequest) ProtoMessage()

func (*VerifierStateByBlockHeightRequest) ProtoReflect

func (*VerifierStateByBlockHeightRequest) Reset

func (*VerifierStateByBlockHeightRequest) String

type VerifierUnRegParam

type VerifierUnRegParam struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Type    string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifierUnRegParam) Descriptor deprecated

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

Deprecated: Use VerifierUnRegParam.ProtoReflect.Descriptor instead.

func (*VerifierUnRegParam) GetAccount

func (x *VerifierUnRegParam) GetAccount() string

func (*VerifierUnRegParam) GetType

func (x *VerifierUnRegParam) GetType() string

func (*VerifierUnRegParam) ProtoMessage

func (*VerifierUnRegParam) ProtoMessage()

func (*VerifierUnRegParam) ProtoReflect

func (x *VerifierUnRegParam) ProtoReflect() protoreflect.Message

func (*VerifierUnRegParam) Reset

func (x *VerifierUnRegParam) Reset()

func (*VerifierUnRegParam) String

func (x *VerifierUnRegParam) String() string

type VersionResponse

type VersionResponse struct {
	Size map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VersionResponse) Descriptor deprecated

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

Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.

func (*VersionResponse) GetSize

func (x *VersionResponse) GetSize() map[string]string

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) ProtoReflect

func (x *VersionResponse) ProtoReflect() protoreflect.Message

func (*VersionResponse) Reset

func (x *VersionResponse) Reset()

func (*VersionResponse) String

func (x *VersionResponse) String() string

type WithdrawParams

type WithdrawParams struct {
	SelfAddr string `protobuf:"bytes,1,opt,name=selfAddr,proto3" json:"selfAddr,omitempty"`
	TokenId  string `protobuf:"bytes,2,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawParams) Descriptor deprecated

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

Deprecated: Use WithdrawParams.ProtoReflect.Descriptor instead.

func (*WithdrawParams) GetSelfAddr

func (x *WithdrawParams) GetSelfAddr() string

func (*WithdrawParams) GetTokenId

func (x *WithdrawParams) GetTokenId() string

func (*WithdrawParams) ProtoMessage

func (*WithdrawParams) ProtoMessage()

func (*WithdrawParams) ProtoReflect

func (x *WithdrawParams) ProtoReflect() protoreflect.Message

func (*WithdrawParams) Reset

func (x *WithdrawParams) Reset()

func (*WithdrawParams) String

func (x *WithdrawParams) String() string

type WithdrawPledgeParam

type WithdrawPledgeParam struct {
	Beneficial string `protobuf:"bytes,1,opt,name=beneficial,proto3" json:"beneficial,omitempty"`
	Amount     int64  `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	PType      string `protobuf:"bytes,3,opt,name=pType,proto3" json:"pType,omitempty"`
	Nep5TxId   string `protobuf:"bytes,4,opt,name=nep5TxId,proto3" json:"nep5TxId,omitempty"`
	// contains filtered or unexported fields
}

func (*WithdrawPledgeParam) Descriptor deprecated

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

Deprecated: Use WithdrawPledgeParam.ProtoReflect.Descriptor instead.

func (*WithdrawPledgeParam) GetAmount

func (x *WithdrawPledgeParam) GetAmount() int64

func (*WithdrawPledgeParam) GetBeneficial

func (x *WithdrawPledgeParam) GetBeneficial() string

func (*WithdrawPledgeParam) GetNep5TxId

func (x *WithdrawPledgeParam) GetNep5TxId() string

func (*WithdrawPledgeParam) GetPType

func (x *WithdrawPledgeParam) GetPType() string

func (*WithdrawPledgeParam) ProtoMessage

func (*WithdrawPledgeParam) ProtoMessage()

func (*WithdrawPledgeParam) ProtoReflect

func (x *WithdrawPledgeParam) ProtoReflect() protoreflect.Message

func (*WithdrawPledgeParam) Reset

func (x *WithdrawPledgeParam) Reset()

func (*WithdrawPledgeParam) String

func (x *WithdrawPledgeParam) String() string

type WorkRequest

type WorkRequest struct {
	MinerAddr string `protobuf:"bytes,1,opt,name=minerAddr,proto3" json:"minerAddr,omitempty"`
	AlgoName  string `protobuf:"bytes,2,opt,name=algoName,proto3" json:"algoName,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkRequest) Descriptor deprecated

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

Deprecated: Use WorkRequest.ProtoReflect.Descriptor instead.

func (*WorkRequest) GetAlgoName

func (x *WorkRequest) GetAlgoName() string

func (*WorkRequest) GetMinerAddr

func (x *WorkRequest) GetMinerAddr() string

func (*WorkRequest) ProtoMessage

func (*WorkRequest) ProtoMessage()

func (*WorkRequest) ProtoReflect

func (x *WorkRequest) ProtoReflect() protoreflect.Message

func (*WorkRequest) Reset

func (x *WorkRequest) Reset()

func (*WorkRequest) String

func (x *WorkRequest) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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