Documentation ¶
Overview ¶
Package spacemeshv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package spacemeshv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package spacemeshv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package spacemeshv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package spacemeshv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package spacemeshv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package spacemeshv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package spacemeshv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package spacemeshv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterActivationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterActivationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ActivationServiceClient) error
- func RegisterActivationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterActivationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ActivationServiceServer) error
- func RegisterActivationServiceServer(s grpc.ServiceRegistrar, srv ActivationServiceServer)
- func RegisterAdminServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdminServiceClient) error
- func RegisterAdminServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAdminServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AdminServiceServer) error
- func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
- func RegisterDebugServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterDebugServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DebugServiceClient) error
- func RegisterDebugServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterDebugServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DebugServiceServer) error
- func RegisterDebugServiceServer(s grpc.ServiceRegistrar, srv DebugServiceServer)
- func RegisterGlobalStateServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterGlobalStateServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GlobalStateServiceClient) error
- func RegisterGlobalStateServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterGlobalStateServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GlobalStateServiceServer) error
- func RegisterGlobalStateServiceServer(s grpc.ServiceRegistrar, srv GlobalStateServiceServer)
- func RegisterMeshServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMeshServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MeshServiceClient) error
- func RegisterMeshServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMeshServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MeshServiceServer) error
- func RegisterMeshServiceServer(s grpc.ServiceRegistrar, srv MeshServiceServer)
- func RegisterNodeServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterNodeServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NodeServiceClient) error
- func RegisterNodeServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterNodeServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NodeServiceServer) error
- func RegisterNodeServiceServer(s grpc.ServiceRegistrar, srv NodeServiceServer)
- func RegisterPostServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPostServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PostServiceClient) error
- func RegisterPostServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPostServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PostServiceServer) error
- func RegisterPostServiceServer(s grpc.ServiceRegistrar, srv PostServiceServer)
- func RegisterSmesherServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSmesherServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SmesherServiceClient) error
- func RegisterSmesherServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSmesherServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SmesherServiceServer) error
- func RegisterSmesherServiceServer(s grpc.ServiceRegistrar, srv SmesherServiceServer)
- func RegisterTransactionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTransactionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TransactionServiceClient) error
- func RegisterTransactionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTransactionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TransactionServiceServer) error
- func RegisterTransactionServiceServer(s grpc.ServiceRegistrar, srv TransactionServiceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAccountId() *AccountId
- func (x *Account) GetStateCurrent() *AccountState
- func (x *Account) GetStateProjected() *AccountState
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountData
- func (*AccountData) Descriptor() ([]byte, []int)deprecated
- func (x *AccountData) GetAccountWrapper() *Account
- func (m *AccountData) GetDatum() isAccountData_Datum
- func (x *AccountData) GetReceipt() *TransactionReceipt
- func (x *AccountData) GetReward() *Reward
- func (*AccountData) ProtoMessage()
- func (x *AccountData) ProtoReflect() protoreflect.Message
- func (x *AccountData) Reset()
- func (x *AccountData) String() string
- type AccountDataFilter
- func (*AccountDataFilter) Descriptor() ([]byte, []int)deprecated
- func (x *AccountDataFilter) GetAccountDataFlags() uint32
- func (x *AccountDataFilter) GetAccountId() *AccountId
- func (*AccountDataFilter) ProtoMessage()
- func (x *AccountDataFilter) ProtoReflect() protoreflect.Message
- func (x *AccountDataFilter) Reset()
- func (x *AccountDataFilter) String() string
- type AccountDataFlag
- func (AccountDataFlag) Descriptor() protoreflect.EnumDescriptor
- func (x AccountDataFlag) Enum() *AccountDataFlag
- func (AccountDataFlag) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountDataFlag) Number() protoreflect.EnumNumber
- func (x AccountDataFlag) String() string
- func (AccountDataFlag) Type() protoreflect.EnumType
- type AccountDataQueryRequest
- func (*AccountDataQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountDataQueryRequest) GetFilter() *AccountDataFilter
- func (x *AccountDataQueryRequest) GetMaxResults() uint32
- func (x *AccountDataQueryRequest) GetOffset() uint32
- func (*AccountDataQueryRequest) ProtoMessage()
- func (x *AccountDataQueryRequest) ProtoReflect() protoreflect.Message
- func (x *AccountDataQueryRequest) Reset()
- func (x *AccountDataQueryRequest) String() string
- type AccountDataQueryResponse
- func (*AccountDataQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccountDataQueryResponse) GetAccountItem() []*AccountData
- func (x *AccountDataQueryResponse) GetTotalResults() uint32
- func (*AccountDataQueryResponse) ProtoMessage()
- func (x *AccountDataQueryResponse) ProtoReflect() protoreflect.Message
- func (x *AccountDataQueryResponse) Reset()
- func (x *AccountDataQueryResponse) String() string
- type AccountDataStreamRequest
- func (*AccountDataStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountDataStreamRequest) GetFilter() *AccountDataFilter
- func (*AccountDataStreamRequest) ProtoMessage()
- func (x *AccountDataStreamRequest) ProtoReflect() protoreflect.Message
- func (x *AccountDataStreamRequest) Reset()
- func (x *AccountDataStreamRequest) String() string
- type AccountDataStreamResponse
- func (*AccountDataStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccountDataStreamResponse) GetDatum() *AccountData
- func (*AccountDataStreamResponse) ProtoMessage()
- func (x *AccountDataStreamResponse) ProtoReflect() protoreflect.Message
- func (x *AccountDataStreamResponse) Reset()
- func (x *AccountDataStreamResponse) String() string
- type AccountData_AccountWrapper
- type AccountData_Receipt
- type AccountData_Reward
- type AccountId
- type AccountMeshData
- func (*AccountMeshData) Descriptor() ([]byte, []int)deprecated
- func (x *AccountMeshData) GetActivation() *Activation
- func (m *AccountMeshData) GetDatum() isAccountMeshData_Datum
- func (x *AccountMeshData) GetMeshTransaction() *MeshTransaction
- func (*AccountMeshData) ProtoMessage()
- func (x *AccountMeshData) ProtoReflect() protoreflect.Message
- func (x *AccountMeshData) Reset()
- func (x *AccountMeshData) String() string
- type AccountMeshDataFilter
- func (*AccountMeshDataFilter) Descriptor() ([]byte, []int)deprecated
- func (x *AccountMeshDataFilter) GetAccountId() *AccountId
- func (x *AccountMeshDataFilter) GetAccountMeshDataFlags() uint32
- func (*AccountMeshDataFilter) ProtoMessage()
- func (x *AccountMeshDataFilter) ProtoReflect() protoreflect.Message
- func (x *AccountMeshDataFilter) Reset()
- func (x *AccountMeshDataFilter) String() string
- type AccountMeshDataFlag
- func (AccountMeshDataFlag) Descriptor() protoreflect.EnumDescriptor
- func (x AccountMeshDataFlag) Enum() *AccountMeshDataFlag
- func (AccountMeshDataFlag) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountMeshDataFlag) Number() protoreflect.EnumNumber
- func (x AccountMeshDataFlag) String() string
- func (AccountMeshDataFlag) Type() protoreflect.EnumType
- type AccountMeshDataQueryRequest
- func (*AccountMeshDataQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountMeshDataQueryRequest) GetFilter() *AccountMeshDataFilter
- func (x *AccountMeshDataQueryRequest) GetMaxResults() uint32
- func (x *AccountMeshDataQueryRequest) GetMinLayer() *LayerNumber
- func (x *AccountMeshDataQueryRequest) GetOffset() uint32
- func (*AccountMeshDataQueryRequest) ProtoMessage()
- func (x *AccountMeshDataQueryRequest) ProtoReflect() protoreflect.Message
- func (x *AccountMeshDataQueryRequest) Reset()
- func (x *AccountMeshDataQueryRequest) String() string
- type AccountMeshDataQueryResponse
- func (*AccountMeshDataQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccountMeshDataQueryResponse) GetData() []*AccountMeshData
- func (x *AccountMeshDataQueryResponse) GetTotalResults() uint32
- func (*AccountMeshDataQueryResponse) ProtoMessage()
- func (x *AccountMeshDataQueryResponse) ProtoReflect() protoreflect.Message
- func (x *AccountMeshDataQueryResponse) Reset()
- func (x *AccountMeshDataQueryResponse) String() string
- type AccountMeshDataStreamRequest
- func (*AccountMeshDataStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountMeshDataStreamRequest) GetFilter() *AccountMeshDataFilter
- func (*AccountMeshDataStreamRequest) ProtoMessage()
- func (x *AccountMeshDataStreamRequest) ProtoReflect() protoreflect.Message
- func (x *AccountMeshDataStreamRequest) Reset()
- func (x *AccountMeshDataStreamRequest) String() string
- type AccountMeshDataStreamResponse
- func (*AccountMeshDataStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccountMeshDataStreamResponse) GetDatum() *AccountMeshData
- func (*AccountMeshDataStreamResponse) ProtoMessage()
- func (x *AccountMeshDataStreamResponse) ProtoReflect() protoreflect.Message
- func (x *AccountMeshDataStreamResponse) Reset()
- func (x *AccountMeshDataStreamResponse) String() string
- type AccountMeshData_Activation
- type AccountMeshData_MeshTransaction
- type AccountRequest
- type AccountResponse
- type AccountState
- func (*AccountState) Descriptor() ([]byte, []int)deprecated
- func (x *AccountState) GetBalance() *Amount
- func (x *AccountState) GetCounter() uint64
- func (*AccountState) ProtoMessage()
- func (x *AccountState) ProtoReflect() protoreflect.Message
- func (x *AccountState) Reset()
- func (x *AccountState) String() string
- type AccountsRequest
- type AccountsResponse
- func (*AccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccountsResponse) GetAccountWrapper() []*Account
- func (*AccountsResponse) ProtoMessage()
- func (x *AccountsResponse) ProtoReflect() protoreflect.Message
- func (x *AccountsResponse) Reset()
- func (x *AccountsResponse) String() string
- type Activation
- func (*Activation) Descriptor() ([]byte, []int)deprecated
- func (x *Activation) GetCoinbase() *AccountId
- func (x *Activation) GetId() *ActivationId
- func (x *Activation) GetLayer() *LayerNumber
- func (x *Activation) GetNumUnits() uint32
- func (x *Activation) GetPrevAtx() *ActivationId
- func (x *Activation) GetSequence() uint64
- func (x *Activation) GetSmesherId() *SmesherId
- func (*Activation) ProtoMessage()
- func (x *Activation) ProtoReflect() protoreflect.Message
- func (x *Activation) Reset()
- func (x *Activation) String() string
- type ActivationId
- type ActivationServiceClient
- type ActivationServiceServer
- type ActiveSetRequest
- type ActiveSetResponse
- func (*ActiveSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ActiveSetResponse) GetIds() []*ActivationId
- func (*ActiveSetResponse) ProtoMessage()
- func (x *ActiveSetResponse) ProtoReflect() protoreflect.Message
- func (x *ActiveSetResponse) Reset()
- func (x *ActiveSetResponse) String() string
- type AdminServiceClient
- type AdminServiceServer
- type AdminService_CheckpointStreamClient
- type AdminService_CheckpointStreamServer
- type AdminService_EventsStreamClient
- type AdminService_EventsStreamServer
- type AdminService_PeerInfoStreamClient
- type AdminService_PeerInfoStreamServer
- type Amount
- type AppEvent
- type AppEventStreamRequest
- type AppEventStreamResponse
- func (*AppEventStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AppEventStreamResponse) GetEvent() *AppEvent
- func (*AppEventStreamResponse) ProtoMessage()
- func (x *AppEventStreamResponse) ProtoReflect() protoreflect.Message
- func (x *AppEventStreamResponse) Reset()
- func (x *AppEventStreamResponse) String() string
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetActivationId() *ActivationId
- func (x *Block) GetId() []byte
- func (x *Block) GetSmesherId() *SmesherId
- func (x *Block) GetTransactions() []*Transaction
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type BuildResponse
- type CheckpointStreamRequest
- func (*CheckpointStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckpointStreamRequest) GetNumAtxs() uint32
- func (x *CheckpointStreamRequest) GetSnapshotLayer() uint32
- func (*CheckpointStreamRequest) ProtoMessage()
- func (x *CheckpointStreamRequest) ProtoReflect() protoreflect.Message
- func (x *CheckpointStreamRequest) Reset()
- func (x *CheckpointStreamRequest) String() string
- type CheckpointStreamResponse
- func (*CheckpointStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckpointStreamResponse) GetData() []byte
- func (*CheckpointStreamResponse) ProtoMessage()
- func (x *CheckpointStreamResponse) ProtoReflect() protoreflect.Message
- func (x *CheckpointStreamResponse) Reset()
- func (x *CheckpointStreamResponse) String() string
- type CoinbaseResponse
- type ConnectionInfo
- func (*ConnectionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionInfo) GetAddress() string
- func (x *ConnectionInfo) GetOutbound() bool
- func (x *ConnectionInfo) GetUptime() *durationpb.Duration
- func (*ConnectionInfo) ProtoMessage()
- func (x *ConnectionInfo) ProtoReflect() protoreflect.Message
- func (x *ConnectionInfo) Reset()
- func (x *ConnectionInfo) String() string
- type CurrentEpochRequest
- type CurrentEpochResponse
- func (*CurrentEpochResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentEpochResponse) GetEpochnum() *EpochNumber
- func (*CurrentEpochResponse) ProtoMessage()
- func (x *CurrentEpochResponse) ProtoReflect() protoreflect.Message
- func (x *CurrentEpochResponse) Reset()
- func (x *CurrentEpochResponse) String() string
- type CurrentLayerRequest
- type CurrentLayerResponse
- func (*CurrentLayerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentLayerResponse) GetLayernum() *LayerNumber
- func (*CurrentLayerResponse) ProtoMessage()
- func (x *CurrentLayerResponse) ProtoReflect() protoreflect.Message
- func (x *CurrentLayerResponse) Reset()
- func (x *CurrentLayerResponse) String() string
- type DebugServiceClient
- type DebugServiceServer
- type DebugService_ProposalsStreamClient
- type DebugService_ProposalsStreamServer
- type EchoRequest
- type EchoResponse
- type Eligibility
- type EpochData
- type EpochNumLayersRequest
- type EpochNumLayersResponse
- func (*EpochNumLayersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EpochNumLayersResponse) GetNumlayers() *LayerNumber
- func (*EpochNumLayersResponse) ProtoMessage()
- func (x *EpochNumLayersResponse) ProtoReflect() protoreflect.Message
- func (x *EpochNumLayersResponse) Reset()
- func (x *EpochNumLayersResponse) String() string
- type EpochNumber
- type EpochStreamRequest
- func (*EpochStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EpochStreamRequest) GetEpoch() uint32
- func (*EpochStreamRequest) ProtoMessage()
- func (x *EpochStreamRequest) ProtoReflect() protoreflect.Message
- func (x *EpochStreamRequest) Reset()
- func (x *EpochStreamRequest) String() string
- type EpochStreamResponse
- func (*EpochStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EpochStreamResponse) GetId() *ActivationId
- func (*EpochStreamResponse) ProtoMessage()
- func (x *EpochStreamResponse) ProtoReflect() protoreflect.Message
- func (x *EpochStreamResponse) Reset()
- func (x *EpochStreamResponse) String() string
- type ErrorStreamRequest
- type ErrorStreamResponse
- func (*ErrorStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorStreamResponse) GetError() *NodeError
- func (*ErrorStreamResponse) ProtoMessage()
- func (x *ErrorStreamResponse) ProtoReflect() protoreflect.Message
- func (x *ErrorStreamResponse) Reset()
- func (x *ErrorStreamResponse) String() string
- type EstimatedRewardsRequest
- type EstimatedRewardsResponse
- func (*EstimatedRewardsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EstimatedRewardsResponse) GetAmount() *Amount
- func (x *EstimatedRewardsResponse) GetNumUnits() uint32
- func (*EstimatedRewardsResponse) ProtoMessage()
- func (x *EstimatedRewardsResponse) ProtoReflect() protoreflect.Message
- func (x *EstimatedRewardsResponse) Reset()
- func (x *EstimatedRewardsResponse) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAtxPublished() *EventAtxPubished
- func (x *Event) GetBeacon() *EventBeacon
- func (m *Event) GetDetails() isEvent_Details
- func (x *Event) GetEligibilities() *EventEligibilities
- func (x *Event) GetFailure() bool
- func (x *Event) GetHelp() string
- func (x *Event) GetInitComplete() *EventInitComplete
- func (x *Event) GetInitFailed() *EventInitFailed
- func (x *Event) GetInitStart() *EventInitStart
- func (x *Event) GetMalfeasance() *EventMalfeasance
- func (x *Event) GetPoetWaitProof() *EventPoetWaitProof
- func (x *Event) GetPoetWaitRound() *EventPoetWaitRound
- func (x *Event) GetPostComplete() *EventPostComplete
- func (x *Event) GetPostServiceStarted() *EventPostServiceStarted
- func (x *Event) GetPostServiceStopped() *EventPostServiceStopped
- func (x *Event) GetPostStart() *EventPostStart
- func (x *Event) GetProposal() *EventProposal
- func (x *Event) GetTimestamp() *timestamppb.Timestamp
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventAtxPubished
- func (*EventAtxPubished) Descriptor() ([]byte, []int)deprecated
- func (x *EventAtxPubished) GetCurrent() uint32
- func (x *EventAtxPubished) GetId() []byte
- func (x *EventAtxPubished) GetTarget() uint32
- func (x *EventAtxPubished) GetWait() *durationpb.Duration
- func (*EventAtxPubished) ProtoMessage()
- func (x *EventAtxPubished) ProtoReflect() protoreflect.Message
- func (x *EventAtxPubished) Reset()
- func (x *EventAtxPubished) String() string
- type EventBeacon
- func (*EventBeacon) Descriptor() ([]byte, []int)deprecated
- func (x *EventBeacon) GetBeacon() []byte
- func (x *EventBeacon) GetEpoch() uint32
- func (*EventBeacon) ProtoMessage()
- func (x *EventBeacon) ProtoReflect() protoreflect.Message
- func (x *EventBeacon) Reset()
- func (x *EventBeacon) String() string
- type EventEligibilities
- func (*EventEligibilities) Descriptor() ([]byte, []int)deprecated
- func (x *EventEligibilities) GetActiveSetSize() uint32
- func (x *EventEligibilities) GetAtx() []byte
- func (x *EventEligibilities) GetBeacon() []byte
- func (x *EventEligibilities) GetEligibilities() []*ProposalEligibility
- func (x *EventEligibilities) GetEpoch() uint32
- func (*EventEligibilities) ProtoMessage()
- func (x *EventEligibilities) ProtoReflect() protoreflect.Message
- func (x *EventEligibilities) Reset()
- func (x *EventEligibilities) String() string
- type EventInitComplete
- type EventInitFailed
- func (*EventInitFailed) Descriptor() ([]byte, []int)deprecated
- func (x *EventInitFailed) GetCommitment() []byte
- func (x *EventInitFailed) GetError() string
- func (x *EventInitFailed) GetSmesher() []byte
- func (*EventInitFailed) ProtoMessage()
- func (x *EventInitFailed) ProtoReflect() protoreflect.Message
- func (x *EventInitFailed) Reset()
- func (x *EventInitFailed) String() string
- type EventInitStart
- func (*EventInitStart) Descriptor() ([]byte, []int)deprecated
- func (x *EventInitStart) GetCommitment() []byte
- func (x *EventInitStart) GetSmesher() []byte
- func (*EventInitStart) ProtoMessage()
- func (x *EventInitStart) ProtoReflect() protoreflect.Message
- func (x *EventInitStart) Reset()
- func (x *EventInitStart) String() string
- type EventMalfeasance
- func (*EventMalfeasance) Descriptor() ([]byte, []int)deprecated
- func (x *EventMalfeasance) GetProof() *MalfeasanceProof
- func (*EventMalfeasance) ProtoMessage()
- func (x *EventMalfeasance) ProtoReflect() protoreflect.Message
- func (x *EventMalfeasance) Reset()
- func (x *EventMalfeasance) String() string
- type EventPoetWaitProof
- func (*EventPoetWaitProof) Descriptor() ([]byte, []int)deprecated
- func (x *EventPoetWaitProof) GetPublish() uint32
- func (x *EventPoetWaitProof) GetTarget() uint32
- func (x *EventPoetWaitProof) GetWait() *durationpb.Duration
- func (*EventPoetWaitProof) ProtoMessage()
- func (x *EventPoetWaitProof) ProtoReflect() protoreflect.Message
- func (x *EventPoetWaitProof) Reset()
- func (x *EventPoetWaitProof) String() string
- type EventPoetWaitRound
- func (*EventPoetWaitRound) Descriptor() ([]byte, []int)deprecated
- func (x *EventPoetWaitRound) GetCurrent() uint32
- func (x *EventPoetWaitRound) GetPublish() uint32
- func (x *EventPoetWaitRound) GetWait() *durationpb.Duration
- func (*EventPoetWaitRound) ProtoMessage()
- func (x *EventPoetWaitRound) ProtoReflect() protoreflect.Message
- func (x *EventPoetWaitRound) Reset()
- func (x *EventPoetWaitRound) String() string
- type EventPostComplete
- type EventPostServiceStarted
- type EventPostServiceStopped
- type EventPostStart
- type EventProposal
- func (*EventProposal) Descriptor() ([]byte, []int)deprecated
- func (x *EventProposal) GetLayer() uint32
- func (x *EventProposal) GetProposal() []byte
- func (*EventProposal) ProtoMessage()
- func (x *EventProposal) ProtoReflect() protoreflect.Message
- func (x *EventProposal) Reset()
- func (x *EventProposal) String() string
- type EventStreamRequest
- type Event_AtxPublished
- type Event_Beacon
- type Event_Eligibilities
- type Event_InitComplete
- type Event_InitFailed
- type Event_InitStart
- type Event_Malfeasance
- type Event_PoetWaitProof
- type Event_PoetWaitRound
- type Event_PostComplete
- type Event_PostServiceStarted
- type Event_PostServiceStopped
- type Event_PostStart
- type Event_Proposal
- type GenProofRequest
- type GenProofResponse
- func (*GenProofResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenProofResponse) GetMetadata() *ProofMetadata
- func (x *GenProofResponse) GetProof() *Proof
- func (x *GenProofResponse) GetStatus() GenProofStatus
- func (*GenProofResponse) ProtoMessage()
- func (x *GenProofResponse) ProtoReflect() protoreflect.Message
- func (x *GenProofResponse) Reset()
- func (x *GenProofResponse) String() string
- type GenProofStatus
- func (GenProofStatus) Descriptor() protoreflect.EnumDescriptor
- func (x GenProofStatus) Enum() *GenProofStatus
- func (GenProofStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x GenProofStatus) Number() protoreflect.EnumNumber
- func (x GenProofStatus) String() string
- func (GenProofStatus) Type() protoreflect.EnumType
- type GenesisIDRequest
- type GenesisIDResponse
- type GenesisTimeRequest
- type GenesisTimeResponse
- func (*GenesisTimeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisTimeResponse) GetUnixtime() *SimpleInt
- func (*GenesisTimeResponse) ProtoMessage()
- func (x *GenesisTimeResponse) ProtoReflect() protoreflect.Message
- func (x *GenesisTimeResponse) Reset()
- func (x *GenesisTimeResponse) String() string
- type GetRequest
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetAtx() *Activation
- func (x *GetResponse) GetMalfeasanceProof() *MalfeasanceProof
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- type GlobalStateData
- func (*GlobalStateData) Descriptor() ([]byte, []int)deprecated
- func (x *GlobalStateData) GetAccountWrapper() *Account
- func (m *GlobalStateData) GetDatum() isGlobalStateData_Datum
- func (x *GlobalStateData) GetGlobalState() *GlobalStateHash
- func (x *GlobalStateData) GetReceipt() *TransactionReceipt
- func (x *GlobalStateData) GetReward() *Reward
- func (*GlobalStateData) ProtoMessage()
- func (x *GlobalStateData) ProtoReflect() protoreflect.Message
- func (x *GlobalStateData) Reset()
- func (x *GlobalStateData) String() string
- type GlobalStateDataFlag
- func (GlobalStateDataFlag) Descriptor() protoreflect.EnumDescriptor
- func (x GlobalStateDataFlag) Enum() *GlobalStateDataFlag
- func (GlobalStateDataFlag) EnumDescriptor() ([]byte, []int)deprecated
- func (x GlobalStateDataFlag) Number() protoreflect.EnumNumber
- func (x GlobalStateDataFlag) String() string
- func (GlobalStateDataFlag) Type() protoreflect.EnumType
- type GlobalStateData_AccountWrapper
- type GlobalStateData_GlobalState
- type GlobalStateData_Receipt
- type GlobalStateData_Reward
- type GlobalStateHash
- func (*GlobalStateHash) Descriptor() ([]byte, []int)deprecated
- func (x *GlobalStateHash) GetLayer() *LayerNumber
- func (x *GlobalStateHash) GetRootHash() []byte
- func (*GlobalStateHash) ProtoMessage()
- func (x *GlobalStateHash) ProtoReflect() protoreflect.Message
- func (x *GlobalStateHash) Reset()
- func (x *GlobalStateHash) String() string
- type GlobalStateHashRequest
- type GlobalStateHashResponse
- func (*GlobalStateHashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GlobalStateHashResponse) GetResponse() *GlobalStateHash
- func (*GlobalStateHashResponse) ProtoMessage()
- func (x *GlobalStateHashResponse) ProtoReflect() protoreflect.Message
- func (x *GlobalStateHashResponse) Reset()
- func (x *GlobalStateHashResponse) String() string
- type GlobalStateServiceClient
- type GlobalStateServiceServer
- type GlobalStateService_AccountDataStreamClient
- type GlobalStateService_AccountDataStreamServer
- type GlobalStateService_AppEventStreamClient
- type GlobalStateService_AppEventStreamServer
- type GlobalStateService_GlobalStateStreamClient
- type GlobalStateService_GlobalStateStreamServer
- type GlobalStateService_SmesherRewardStreamClient
- type GlobalStateService_SmesherRewardStreamServer
- type GlobalStateStreamRequest
- func (*GlobalStateStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GlobalStateStreamRequest) GetGlobalStateDataFlags() uint32
- func (*GlobalStateStreamRequest) ProtoMessage()
- func (x *GlobalStateStreamRequest) ProtoReflect() protoreflect.Message
- func (x *GlobalStateStreamRequest) Reset()
- func (x *GlobalStateStreamRequest) String() string
- type GlobalStateStreamResponse
- func (*GlobalStateStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GlobalStateStreamResponse) GetDatum() *GlobalStateData
- func (*GlobalStateStreamResponse) ProtoMessage()
- func (x *GlobalStateStreamResponse) ProtoReflect() protoreflect.Message
- func (x *GlobalStateStreamResponse) Reset()
- func (x *GlobalStateStreamResponse) String() string
- type HighestResponse
- type IsEventDetails
- type IsSmeshingResponse
- func (*IsSmeshingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsSmeshingResponse) GetIsSmeshing() bool
- func (*IsSmeshingResponse) ProtoMessage()
- func (x *IsSmeshingResponse) ProtoReflect() protoreflect.Message
- func (x *IsSmeshingResponse) Reset()
- func (x *IsSmeshingResponse) String() string
- type Layer
- func (*Layer) Descriptor() ([]byte, []int)deprecated
- func (x *Layer) GetActivations() []*Activation
- func (x *Layer) GetBlocks() []*Block
- func (x *Layer) GetHash() []byte
- func (x *Layer) GetNumber() *LayerNumber
- func (x *Layer) GetRootStateHash() []byte
- func (x *Layer) GetStatus() Layer_LayerStatus
- func (*Layer) ProtoMessage()
- func (x *Layer) ProtoReflect() protoreflect.Message
- func (x *Layer) Reset()
- func (x *Layer) String() string
- type LayerDurationRequest
- type LayerDurationResponse
- func (*LayerDurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LayerDurationResponse) GetDuration() *SimpleInt
- func (*LayerDurationResponse) ProtoMessage()
- func (x *LayerDurationResponse) ProtoReflect() protoreflect.Message
- func (x *LayerDurationResponse) Reset()
- func (x *LayerDurationResponse) String() string
- type LayerLimits
- type LayerNumber
- type LayerStreamRequest
- type LayerStreamResponse
- func (*LayerStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LayerStreamResponse) GetLayer() *Layer
- func (*LayerStreamResponse) ProtoMessage()
- func (x *LayerStreamResponse) ProtoReflect() protoreflect.Message
- func (x *LayerStreamResponse) Reset()
- func (x *LayerStreamResponse) String() string
- type Layer_LayerStatus
- func (Layer_LayerStatus) Descriptor() protoreflect.EnumDescriptor
- func (x Layer_LayerStatus) Enum() *Layer_LayerStatus
- func (Layer_LayerStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x Layer_LayerStatus) Number() protoreflect.EnumNumber
- func (x Layer_LayerStatus) String() string
- func (Layer_LayerStatus) Type() protoreflect.EnumType
- type LayersQueryRequest
- func (*LayersQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LayersQueryRequest) GetEndLayer() *LayerNumber
- func (x *LayersQueryRequest) GetStartLayer() *LayerNumber
- func (*LayersQueryRequest) ProtoMessage()
- func (x *LayersQueryRequest) ProtoReflect() protoreflect.Message
- func (x *LayersQueryRequest) Reset()
- func (x *LayersQueryRequest) String() string
- type LayersQueryResponse
- func (*LayersQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LayersQueryResponse) GetLayer() []*Layer
- func (*LayersQueryResponse) ProtoMessage()
- func (x *LayersQueryResponse) ProtoReflect() protoreflect.Message
- func (x *LayersQueryResponse) Reset()
- func (x *LayersQueryResponse) String() string
- type LogLevel
- type MalfeasanceProof
- func (*MalfeasanceProof) Descriptor() ([]byte, []int)deprecated
- func (x *MalfeasanceProof) GetDebugInfo() string
- func (x *MalfeasanceProof) GetKind() MalfeasanceProof_MalfeasanceType
- func (x *MalfeasanceProof) GetLayer() *LayerNumber
- func (x *MalfeasanceProof) GetProof() []byte
- func (x *MalfeasanceProof) GetSmesherId() *SmesherId
- func (*MalfeasanceProof) ProtoMessage()
- func (x *MalfeasanceProof) ProtoReflect() protoreflect.Message
- func (x *MalfeasanceProof) Reset()
- func (x *MalfeasanceProof) String() string
- type MalfeasanceProof_MalfeasanceType
- func (MalfeasanceProof_MalfeasanceType) Descriptor() protoreflect.EnumDescriptor
- func (x MalfeasanceProof_MalfeasanceType) Enum() *MalfeasanceProof_MalfeasanceType
- func (MalfeasanceProof_MalfeasanceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MalfeasanceProof_MalfeasanceType) Number() protoreflect.EnumNumber
- func (x MalfeasanceProof_MalfeasanceType) String() string
- func (MalfeasanceProof_MalfeasanceType) Type() protoreflect.EnumType
- type MalfeasanceRequest
- func (*MalfeasanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MalfeasanceRequest) GetIncludeProof() bool
- func (x *MalfeasanceRequest) GetSmesherHex() string
- func (*MalfeasanceRequest) ProtoMessage()
- func (x *MalfeasanceRequest) ProtoReflect() protoreflect.Message
- func (x *MalfeasanceRequest) Reset()
- func (x *MalfeasanceRequest) String() string
- type MalfeasanceResponse
- func (*MalfeasanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MalfeasanceResponse) GetProof() *MalfeasanceProof
- func (*MalfeasanceResponse) ProtoMessage()
- func (x *MalfeasanceResponse) ProtoReflect() protoreflect.Message
- func (x *MalfeasanceResponse) Reset()
- func (x *MalfeasanceResponse) String() string
- type MalfeasanceStreamRequest
- func (*MalfeasanceStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MalfeasanceStreamRequest) GetIncludeProof() bool
- func (*MalfeasanceStreamRequest) ProtoMessage()
- func (x *MalfeasanceStreamRequest) ProtoReflect() protoreflect.Message
- func (x *MalfeasanceStreamRequest) Reset()
- func (x *MalfeasanceStreamRequest) String() string
- type MalfeasanceStreamResponse
- func (*MalfeasanceStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MalfeasanceStreamResponse) GetProof() *MalfeasanceProof
- func (*MalfeasanceStreamResponse) ProtoMessage()
- func (x *MalfeasanceStreamResponse) ProtoReflect() protoreflect.Message
- func (x *MalfeasanceStreamResponse) Reset()
- func (x *MalfeasanceStreamResponse) String() string
- type MaxTransactionsPerSecondRequest
- func (*MaxTransactionsPerSecondRequest) Descriptor() ([]byte, []int)deprecated
- func (*MaxTransactionsPerSecondRequest) ProtoMessage()
- func (x *MaxTransactionsPerSecondRequest) ProtoReflect() protoreflect.Message
- func (x *MaxTransactionsPerSecondRequest) Reset()
- func (x *MaxTransactionsPerSecondRequest) String() string
- type MaxTransactionsPerSecondResponse
- func (*MaxTransactionsPerSecondResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MaxTransactionsPerSecondResponse) GetMaxTxsPerSecond() *SimpleInt
- func (*MaxTransactionsPerSecondResponse) ProtoMessage()
- func (x *MaxTransactionsPerSecondResponse) ProtoReflect() protoreflect.Message
- func (x *MaxTransactionsPerSecondResponse) Reset()
- func (x *MaxTransactionsPerSecondResponse) String() string
- type MeshServiceClient
- type MeshServiceServer
- type MeshService_AccountMeshDataStreamClient
- type MeshService_AccountMeshDataStreamServer
- type MeshService_EpochStreamClient
- type MeshService_EpochStreamServer
- type MeshService_LayerStreamClient
- type MeshService_LayerStreamServer
- type MeshService_MalfeasanceStreamClient
- type MeshService_MalfeasanceStreamServer
- type MeshTransaction
- func (*MeshTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *MeshTransaction) GetLayerId() *LayerNumber
- func (x *MeshTransaction) GetTransaction() *Transaction
- func (*MeshTransaction) ProtoMessage()
- func (x *MeshTransaction) ProtoReflect() protoreflect.Message
- func (x *MeshTransaction) Reset()
- func (x *MeshTransaction) String() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetCommitmentAtxId() []byte
- func (x *Metadata) GetLabelsPerUnit() uint64
- func (x *Metadata) GetNodeId() []byte
- func (x *Metadata) GetNonce() uint64
- func (x *Metadata) GetNumUnits() uint32
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type MetadataRequest
- type MetadataResponse
- type MinGasResponse
- type NetworkInfoResponse
- func (*NetworkInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInfoResponse) GetId() string
- func (*NetworkInfoResponse) ProtoMessage()
- func (x *NetworkInfoResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkInfoResponse) Reset()
- func (x *NetworkInfoResponse) String() string
- type NodeError
- func (*NodeError) Descriptor() ([]byte, []int)deprecated
- func (x *NodeError) GetLevel() LogLevel
- func (x *NodeError) GetModule() string
- func (x *NodeError) GetMsg() string
- func (x *NodeError) GetStackTrace() string
- func (*NodeError) ProtoMessage()
- func (x *NodeError) ProtoReflect() protoreflect.Message
- func (x *NodeError) Reset()
- func (x *NodeError) String() string
- type NodeInfoResponse
- func (*NodeInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfoResponse) GetEffectiveGenesis() uint32
- func (x *NodeInfoResponse) GetEpochSize() uint32
- func (x *NodeInfoResponse) GetFirstGenesis() uint32
- func (x *NodeInfoResponse) GetHrp() string
- func (*NodeInfoResponse) ProtoMessage()
- func (x *NodeInfoResponse) ProtoReflect() protoreflect.Message
- func (x *NodeInfoResponse) Reset()
- func (x *NodeInfoResponse) String() string
- type NodeRequest
- func (*NodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodeRequest) GetGenProof() *GenProofRequest
- func (m *NodeRequest) GetKind() isNodeRequest_Kind
- func (x *NodeRequest) GetMetadata() *MetadataRequest
- func (*NodeRequest) ProtoMessage()
- func (x *NodeRequest) ProtoReflect() protoreflect.Message
- func (x *NodeRequest) Reset()
- func (x *NodeRequest) String() string
- type NodeRequest_GenProof
- type NodeRequest_Metadata
- type NodeServiceClient
- type NodeServiceServer
- type NodeService_ErrorStreamClient
- type NodeService_ErrorStreamServer
- type NodeService_StatusStreamClient
- type NodeService_StatusStreamServer
- type NodeStatus
- func (*NodeStatus) Descriptor() ([]byte, []int)deprecated
- func (x *NodeStatus) GetConnectedPeers() uint64
- func (x *NodeStatus) GetIsSynced() bool
- func (x *NodeStatus) GetSyncedLayer() *LayerNumber
- func (x *NodeStatus) GetTopLayer() *LayerNumber
- func (x *NodeStatus) GetVerifiedLayer() *LayerNumber
- func (*NodeStatus) ProtoMessage()
- func (x *NodeStatus) ProtoReflect() protoreflect.Message
- func (x *NodeStatus) Reset()
- func (x *NodeStatus) String() string
- type Nonce
- type ParseTransactionRequest
- func (*ParseTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParseTransactionRequest) GetTransaction() []byte
- func (x *ParseTransactionRequest) GetVerify() bool
- func (*ParseTransactionRequest) ProtoMessage()
- func (x *ParseTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *ParseTransactionRequest) Reset()
- func (x *ParseTransactionRequest) String() string
- type ParseTransactionResponse
- func (*ParseTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ParseTransactionResponse) GetTx() *Transaction
- func (*ParseTransactionResponse) ProtoMessage()
- func (x *ParseTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *ParseTransactionResponse) Reset()
- func (x *ParseTransactionResponse) String() string
- type PeerInfo
- func (*PeerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PeerInfo) GetConnections() []*ConnectionInfo
- func (x *PeerInfo) GetId() string
- func (x *PeerInfo) GetTags() []string
- func (*PeerInfo) ProtoMessage()
- func (x *PeerInfo) ProtoReflect() protoreflect.Message
- func (x *PeerInfo) Reset()
- func (x *PeerInfo) String() string
- type PostConfigResponse
- func (*PostConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PostConfigResponse) GetBitsPerLabel() uint32
- func (x *PostConfigResponse) GetK1() uint32
- func (x *PostConfigResponse) GetK2() uint32
- func (x *PostConfigResponse) GetLabelsPerUnit() uint64
- func (x *PostConfigResponse) GetMaxNumUnits() uint32
- func (x *PostConfigResponse) GetMinNumUnits() uint32
- func (*PostConfigResponse) ProtoMessage()
- func (x *PostConfigResponse) ProtoReflect() protoreflect.Message
- func (x *PostConfigResponse) Reset()
- func (x *PostConfigResponse) String() string
- type PostServiceClient
- type PostServiceServer
- type PostService_RegisterClient
- type PostService_RegisterServer
- type PostSetupOpts
- func (*PostSetupOpts) Descriptor() ([]byte, []int)deprecated
- func (x *PostSetupOpts) GetDataDir() string
- func (x *PostSetupOpts) GetMaxFileSize() uint64
- func (x *PostSetupOpts) GetNumUnits() uint32
- func (x *PostSetupOpts) GetProviderId() uint32
- func (x *PostSetupOpts) GetThrottle() bool
- func (*PostSetupOpts) ProtoMessage()
- func (x *PostSetupOpts) ProtoReflect() protoreflect.Message
- func (x *PostSetupOpts) Reset()
- func (x *PostSetupOpts) String() string
- type PostSetupProvider
- func (*PostSetupProvider) Descriptor() ([]byte, []int)deprecated
- func (x *PostSetupProvider) GetDeviceType() PostSetupProvider_DeviceType
- func (x *PostSetupProvider) GetId() uint32
- func (x *PostSetupProvider) GetModel() string
- func (x *PostSetupProvider) GetPerformance() uint64
- func (*PostSetupProvider) ProtoMessage()
- func (x *PostSetupProvider) ProtoReflect() protoreflect.Message
- func (x *PostSetupProvider) Reset()
- func (x *PostSetupProvider) String() string
- type PostSetupProvider_DeviceType
- func (PostSetupProvider_DeviceType) Descriptor() protoreflect.EnumDescriptor
- func (x PostSetupProvider_DeviceType) Enum() *PostSetupProvider_DeviceType
- func (PostSetupProvider_DeviceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PostSetupProvider_DeviceType) Number() protoreflect.EnumNumber
- func (x PostSetupProvider_DeviceType) String() string
- func (PostSetupProvider_DeviceType) Type() protoreflect.EnumType
- type PostSetupProvidersRequest
- func (*PostSetupProvidersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostSetupProvidersRequest) GetBenchmark() bool
- func (*PostSetupProvidersRequest) ProtoMessage()
- func (x *PostSetupProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *PostSetupProvidersRequest) Reset()
- func (x *PostSetupProvidersRequest) String() string
- type PostSetupProvidersResponse
- func (*PostSetupProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PostSetupProvidersResponse) GetProviders() []*PostSetupProvider
- func (*PostSetupProvidersResponse) ProtoMessage()
- func (x *PostSetupProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *PostSetupProvidersResponse) Reset()
- func (x *PostSetupProvidersResponse) String() string
- type PostSetupStatus
- func (*PostSetupStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PostSetupStatus) GetNumLabelsWritten() uint64
- func (x *PostSetupStatus) GetOpts() *PostSetupOpts
- func (x *PostSetupStatus) GetState() PostSetupStatus_State
- func (*PostSetupStatus) ProtoMessage()
- func (x *PostSetupStatus) ProtoReflect() protoreflect.Message
- func (x *PostSetupStatus) Reset()
- func (x *PostSetupStatus) String() string
- type PostSetupStatusResponse
- func (*PostSetupStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PostSetupStatusResponse) GetStatus() *PostSetupStatus
- func (*PostSetupStatusResponse) ProtoMessage()
- func (x *PostSetupStatusResponse) ProtoReflect() protoreflect.Message
- func (x *PostSetupStatusResponse) Reset()
- func (x *PostSetupStatusResponse) String() string
- type PostSetupStatusStreamResponse
- func (*PostSetupStatusStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PostSetupStatusStreamResponse) GetStatus() *PostSetupStatus
- func (*PostSetupStatusStreamResponse) ProtoMessage()
- func (x *PostSetupStatusStreamResponse) ProtoReflect() protoreflect.Message
- func (x *PostSetupStatusStreamResponse) Reset()
- func (x *PostSetupStatusStreamResponse) String() string
- type PostSetupStatus_State
- func (PostSetupStatus_State) Descriptor() protoreflect.EnumDescriptor
- func (x PostSetupStatus_State) Enum() *PostSetupStatus_State
- func (PostSetupStatus_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x PostSetupStatus_State) Number() protoreflect.EnumNumber
- func (x PostSetupStatus_State) String() string
- func (PostSetupStatus_State) Type() protoreflect.EnumType
- type Proof
- type ProofMetadata
- func (*ProofMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ProofMetadata) GetChallenge() []byte
- func (x *ProofMetadata) GetMeta() *Metadata
- func (*ProofMetadata) ProtoMessage()
- func (x *ProofMetadata) ProtoReflect() protoreflect.Message
- func (x *ProofMetadata) Reset()
- func (x *ProofMetadata) String() string
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal) GetBallot() []byte
- func (x *Proposal) GetData() *EpochData
- func (x *Proposal) GetEligibilities() []*Eligibility
- func (x *Proposal) GetEpoch() *EpochNumber
- func (m *Proposal) GetEpochData() isProposal_EpochData
- func (x *Proposal) GetId() []byte
- func (x *Proposal) GetLayer() *LayerNumber
- func (x *Proposal) GetReference() []byte
- func (x *Proposal) GetSmesher() *SmesherId
- func (x *Proposal) GetStatus() Proposal_Status
- func (*Proposal) ProtoMessage()
- func (x *Proposal) ProtoReflect() protoreflect.Message
- func (x *Proposal) Reset()
- func (x *Proposal) String() string
- type ProposalEligibility
- func (*ProposalEligibility) Descriptor() ([]byte, []int)deprecated
- func (x *ProposalEligibility) GetCount() uint32
- func (x *ProposalEligibility) GetLayer() uint32
- func (*ProposalEligibility) ProtoMessage()
- func (x *ProposalEligibility) ProtoReflect() protoreflect.Message
- func (x *ProposalEligibility) Reset()
- func (x *ProposalEligibility) String() string
- type Proposal_Data
- type Proposal_Reference
- type Proposal_Status
- func (Proposal_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Proposal_Status) Enum() *Proposal_Status
- func (Proposal_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Proposal_Status) Number() protoreflect.EnumNumber
- func (x Proposal_Status) String() string
- func (Proposal_Status) Type() protoreflect.EnumType
- type RecoverRequest
- func (*RecoverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecoverRequest) GetRestoreLayer() uint32
- func (x *RecoverRequest) GetUri() string
- func (*RecoverRequest) ProtoMessage()
- func (x *RecoverRequest) ProtoReflect() protoreflect.Message
- func (x *RecoverRequest) Reset()
- func (x *RecoverRequest) String() string
- type Reward
- func (*Reward) Descriptor() ([]byte, []int)deprecated
- func (x *Reward) GetCoinbase() *AccountId
- func (x *Reward) GetLayer() *LayerNumber
- func (x *Reward) GetLayerComputed() *LayerNumber
- func (x *Reward) GetLayerReward() *Amount
- func (x *Reward) GetSmesher() *SmesherId
- func (x *Reward) GetTotal() *Amount
- func (*Reward) ProtoMessage()
- func (x *Reward) ProtoReflect() protoreflect.Message
- func (x *Reward) Reset()
- func (x *Reward) String() string
- type ServiceResponse
- func (*ServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceResponse) GetGenProof() *GenProofResponse
- func (m *ServiceResponse) GetKind() isServiceResponse_Kind
- func (x *ServiceResponse) GetMetadata() *MetadataResponse
- func (*ServiceResponse) ProtoMessage()
- func (x *ServiceResponse) ProtoReflect() protoreflect.Message
- func (x *ServiceResponse) Reset()
- func (x *ServiceResponse) String() string
- type ServiceResponse_GenProof
- type ServiceResponse_Metadata
- type SetCoinbaseRequest
- func (*SetCoinbaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetCoinbaseRequest) GetId() *AccountId
- func (*SetCoinbaseRequest) ProtoMessage()
- func (x *SetCoinbaseRequest) ProtoReflect() protoreflect.Message
- func (x *SetCoinbaseRequest) Reset()
- func (x *SetCoinbaseRequest) String() string
- type SetCoinbaseResponse
- func (*SetCoinbaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetCoinbaseResponse) GetStatus() *status.Status
- func (*SetCoinbaseResponse) ProtoMessage()
- func (x *SetCoinbaseResponse) ProtoReflect() protoreflect.Message
- func (x *SetCoinbaseResponse) Reset()
- func (x *SetCoinbaseResponse) String() string
- type SetMinGasRequest
- type SetMinGasResponse
- func (*SetMinGasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetMinGasResponse) GetStatus() *status.Status
- func (*SetMinGasResponse) ProtoMessage()
- func (x *SetMinGasResponse) ProtoReflect() protoreflect.Message
- func (x *SetMinGasResponse) Reset()
- func (x *SetMinGasResponse) String() string
- type SimpleInt
- type SimpleString
- type SmesherDataQueryRequest
- func (*SmesherDataQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SmesherDataQueryRequest) GetMaxResults() uint32
- func (x *SmesherDataQueryRequest) GetOffset() uint32
- func (x *SmesherDataQueryRequest) GetSmesherId() *SmesherId
- func (*SmesherDataQueryRequest) ProtoMessage()
- func (x *SmesherDataQueryRequest) ProtoReflect() protoreflect.Message
- func (x *SmesherDataQueryRequest) Reset()
- func (x *SmesherDataQueryRequest) String() string
- type SmesherDataQueryResponse
- func (*SmesherDataQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SmesherDataQueryResponse) GetRewards() []*Reward
- func (x *SmesherDataQueryResponse) GetTotalResults() uint32
- func (*SmesherDataQueryResponse) ProtoMessage()
- func (x *SmesherDataQueryResponse) ProtoReflect() protoreflect.Message
- func (x *SmesherDataQueryResponse) Reset()
- func (x *SmesherDataQueryResponse) String() string
- type SmesherIDResponse
- type SmesherId
- type SmesherRewardStreamRequest
- func (*SmesherRewardStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SmesherRewardStreamRequest) GetId() *SmesherId
- func (*SmesherRewardStreamRequest) ProtoMessage()
- func (x *SmesherRewardStreamRequest) ProtoReflect() protoreflect.Message
- func (x *SmesherRewardStreamRequest) Reset()
- func (x *SmesherRewardStreamRequest) String() string
- type SmesherRewardStreamResponse
- func (*SmesherRewardStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SmesherRewardStreamResponse) GetReward() *Reward
- func (*SmesherRewardStreamResponse) ProtoMessage()
- func (x *SmesherRewardStreamResponse) ProtoReflect() protoreflect.Message
- func (x *SmesherRewardStreamResponse) Reset()
- func (x *SmesherRewardStreamResponse) String() string
- type SmesherServiceClient
- type SmesherServiceServer
- type SmesherService_PostSetupStatusStreamClient
- type SmesherService_PostSetupStatusStreamServer
- type StartSmeshingRequest
- func (*StartSmeshingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartSmeshingRequest) GetCoinbase() *AccountId
- func (x *StartSmeshingRequest) GetOpts() *PostSetupOpts
- func (*StartSmeshingRequest) ProtoMessage()
- func (x *StartSmeshingRequest) ProtoReflect() protoreflect.Message
- func (x *StartSmeshingRequest) Reset()
- func (x *StartSmeshingRequest) String() string
- type StartSmeshingResponse
- func (*StartSmeshingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartSmeshingResponse) GetStatus() *status.Status
- func (*StartSmeshingResponse) ProtoMessage()
- func (x *StartSmeshingResponse) ProtoReflect() protoreflect.Message
- func (x *StartSmeshingResponse) Reset()
- func (x *StartSmeshingResponse) String() string
- type StatusRequest
- type StatusResponse
- type StatusStreamRequest
- type StatusStreamResponse
- func (*StatusStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusStreamResponse) GetStatus() *NodeStatus
- func (*StatusStreamResponse) ProtoMessage()
- func (x *StatusStreamResponse) ProtoReflect() protoreflect.Message
- func (x *StatusStreamResponse) Reset()
- func (x *StatusStreamResponse) String() string
- type StopSmeshingRequest
- func (*StopSmeshingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopSmeshingRequest) GetDeleteFiles() bool
- func (*StopSmeshingRequest) ProtoMessage()
- func (x *StopSmeshingRequest) ProtoReflect() protoreflect.Message
- func (x *StopSmeshingRequest) Reset()
- func (x *StopSmeshingRequest) String() string
- type StopSmeshingResponse
- func (*StopSmeshingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StopSmeshingResponse) GetStatus() *status.Status
- func (*StopSmeshingResponse) ProtoMessage()
- func (x *StopSmeshingResponse) ProtoReflect() protoreflect.Message
- func (x *StopSmeshingResponse) Reset()
- func (x *StopSmeshingResponse) String() string
- type SubmitTransactionRequest
- func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitTransactionRequest) GetTransaction() []byte
- func (*SubmitTransactionRequest) ProtoMessage()
- func (x *SubmitTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitTransactionRequest) Reset()
- func (x *SubmitTransactionRequest) String() string
- type SubmitTransactionResponse
- func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitTransactionResponse) GetStatus() *status.Status
- func (x *SubmitTransactionResponse) GetTxstate() *TransactionState
- func (*SubmitTransactionResponse) ProtoMessage()
- func (x *SubmitTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitTransactionResponse) Reset()
- func (x *SubmitTransactionResponse) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetGasPrice() uint64
- func (x *Transaction) GetId() []byte
- func (x *Transaction) GetLimits() *LayerLimits
- func (x *Transaction) GetMaxGas() uint64
- func (x *Transaction) GetMaxSpend() uint64
- func (x *Transaction) GetMethod() uint32
- func (x *Transaction) GetNonce() *Nonce
- func (x *Transaction) GetPrincipal() *AccountId
- func (x *Transaction) GetRaw() []byte
- func (x *Transaction) GetTemplate() *AccountId
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionId
- type TransactionReceipt
- func (*TransactionReceipt) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionReceipt) GetFee() *Amount
- func (x *TransactionReceipt) GetGasUsed() uint64
- func (x *TransactionReceipt) GetId() *TransactionId
- func (x *TransactionReceipt) GetIndex() uint32
- func (x *TransactionReceipt) GetLayer() *LayerNumber
- func (x *TransactionReceipt) GetResult() TransactionReceipt_TransactionResult
- func (x *TransactionReceipt) GetSvmData() []byte
- func (*TransactionReceipt) ProtoMessage()
- func (x *TransactionReceipt) ProtoReflect() protoreflect.Message
- func (x *TransactionReceipt) Reset()
- func (x *TransactionReceipt) String() string
- type TransactionReceipt_TransactionResult
- func (TransactionReceipt_TransactionResult) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionReceipt_TransactionResult) Enum() *TransactionReceipt_TransactionResult
- func (TransactionReceipt_TransactionResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionReceipt_TransactionResult) Number() protoreflect.EnumNumber
- func (x TransactionReceipt_TransactionResult) String() string
- func (TransactionReceipt_TransactionResult) Type() protoreflect.EnumType
- type TransactionResult
- func (*TransactionResult) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionResult) GetBlock() []byte
- func (x *TransactionResult) GetFee() uint64
- func (x *TransactionResult) GetGasConsumed() uint64
- func (x *TransactionResult) GetLayer() uint32
- func (x *TransactionResult) GetMessage() string
- func (x *TransactionResult) GetStatus() TransactionResult_Status
- func (x *TransactionResult) GetTouchedAddresses() []string
- func (x *TransactionResult) GetTx() *Transaction
- func (*TransactionResult) ProtoMessage()
- func (x *TransactionResult) ProtoReflect() protoreflect.Message
- func (x *TransactionResult) Reset()
- func (x *TransactionResult) String() string
- type TransactionResult_Status
- func (TransactionResult_Status) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionResult_Status) Enum() *TransactionResult_Status
- func (TransactionResult_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionResult_Status) Number() protoreflect.EnumNumber
- func (x TransactionResult_Status) String() string
- func (TransactionResult_Status) Type() protoreflect.EnumType
- type TransactionResultsRequest
- func (*TransactionResultsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionResultsRequest) GetAddress() string
- func (x *TransactionResultsRequest) GetEnd() uint32
- func (x *TransactionResultsRequest) GetId() []byte
- func (x *TransactionResultsRequest) GetStart() uint32
- func (x *TransactionResultsRequest) GetWatch() bool
- func (*TransactionResultsRequest) ProtoMessage()
- func (x *TransactionResultsRequest) ProtoReflect() protoreflect.Message
- func (x *TransactionResultsRequest) Reset()
- func (x *TransactionResultsRequest) String() string
- type TransactionServiceClient
- type TransactionServiceServer
- type TransactionService_StreamResultsClient
- type TransactionService_StreamResultsServer
- type TransactionService_TransactionsStateStreamClient
- type TransactionService_TransactionsStateStreamServer
- type TransactionState
- func (*TransactionState) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionState) GetId() *TransactionId
- func (x *TransactionState) GetState() TransactionState_TransactionState
- func (*TransactionState) ProtoMessage()
- func (x *TransactionState) ProtoReflect() protoreflect.Message
- func (x *TransactionState) Reset()
- func (x *TransactionState) String() string
- type TransactionState_TransactionState
- func (TransactionState_TransactionState) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionState_TransactionState) Enum() *TransactionState_TransactionState
- func (TransactionState_TransactionState) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionState_TransactionState) Number() protoreflect.EnumNumber
- func (x TransactionState_TransactionState) String() string
- func (TransactionState_TransactionState) Type() protoreflect.EnumType
- type TransactionsIds
- func (*TransactionsIds) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsIds) GetTransactionId() []*TransactionId
- func (*TransactionsIds) ProtoMessage()
- func (x *TransactionsIds) ProtoReflect() protoreflect.Message
- func (x *TransactionsIds) Reset()
- func (x *TransactionsIds) String() string
- type TransactionsStateRequest
- func (*TransactionsStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsStateRequest) GetIncludeTransactions() bool
- func (x *TransactionsStateRequest) GetTransactionId() []*TransactionId
- func (*TransactionsStateRequest) ProtoMessage()
- func (x *TransactionsStateRequest) ProtoReflect() protoreflect.Message
- func (x *TransactionsStateRequest) Reset()
- func (x *TransactionsStateRequest) String() string
- type TransactionsStateResponse
- func (*TransactionsStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsStateResponse) GetTransactions() []*Transaction
- func (x *TransactionsStateResponse) GetTransactionsState() []*TransactionState
- func (*TransactionsStateResponse) ProtoMessage()
- func (x *TransactionsStateResponse) ProtoReflect() protoreflect.Message
- func (x *TransactionsStateResponse) Reset()
- func (x *TransactionsStateResponse) String() string
- type TransactionsStateStreamRequest
- func (*TransactionsStateStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsStateStreamRequest) GetIncludeTransactions() bool
- func (x *TransactionsStateStreamRequest) GetTransactionId() []*TransactionId
- func (*TransactionsStateStreamRequest) ProtoMessage()
- func (x *TransactionsStateStreamRequest) ProtoReflect() protoreflect.Message
- func (x *TransactionsStateStreamRequest) Reset()
- func (x *TransactionsStateStreamRequest) String() string
- type TransactionsStateStreamResponse
- func (*TransactionsStateStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionsStateStreamResponse) GetTransaction() *Transaction
- func (x *TransactionsStateStreamResponse) GetTransactionState() *TransactionState
- func (*TransactionsStateStreamResponse) ProtoMessage()
- func (x *TransactionsStateStreamResponse) ProtoReflect() protoreflect.Message
- func (x *TransactionsStateStreamResponse) Reset()
- func (x *TransactionsStateStreamResponse) String() string
- type UnimplementedActivationServiceServer
- type UnimplementedAdminServiceServer
- func (UnimplementedAdminServiceServer) CheckpointStream(*CheckpointStreamRequest, AdminService_CheckpointStreamServer) error
- func (UnimplementedAdminServiceServer) EventsStream(*EventStreamRequest, AdminService_EventsStreamServer) error
- func (UnimplementedAdminServiceServer) PeerInfoStream(*emptypb.Empty, AdminService_PeerInfoStreamServer) error
- func (UnimplementedAdminServiceServer) Recover(context.Context, *RecoverRequest) (*emptypb.Empty, error)
- type UnimplementedDebugServiceServer
- func (UnimplementedDebugServiceServer) Accounts(context.Context, *AccountsRequest) (*AccountsResponse, error)
- func (UnimplementedDebugServiceServer) ActiveSet(context.Context, *ActiveSetRequest) (*ActiveSetResponse, error)
- func (UnimplementedDebugServiceServer) NetworkInfo(context.Context, *emptypb.Empty) (*NetworkInfoResponse, error)
- func (UnimplementedDebugServiceServer) ProposalsStream(*emptypb.Empty, DebugService_ProposalsStreamServer) error
- type UnimplementedGlobalStateServiceServer
- func (UnimplementedGlobalStateServiceServer) Account(context.Context, *AccountRequest) (*AccountResponse, error)
- func (UnimplementedGlobalStateServiceServer) AccountDataQuery(context.Context, *AccountDataQueryRequest) (*AccountDataQueryResponse, error)
- func (UnimplementedGlobalStateServiceServer) AccountDataStream(*AccountDataStreamRequest, GlobalStateService_AccountDataStreamServer) error
- func (UnimplementedGlobalStateServiceServer) AppEventStream(*AppEventStreamRequest, GlobalStateService_AppEventStreamServer) error
- func (UnimplementedGlobalStateServiceServer) GlobalStateHash(context.Context, *GlobalStateHashRequest) (*GlobalStateHashResponse, error)
- func (UnimplementedGlobalStateServiceServer) GlobalStateStream(*GlobalStateStreamRequest, GlobalStateService_GlobalStateStreamServer) error
- func (UnimplementedGlobalStateServiceServer) SmesherDataQuery(context.Context, *SmesherDataQueryRequest) (*SmesherDataQueryResponse, error)
- func (UnimplementedGlobalStateServiceServer) SmesherRewardStream(*SmesherRewardStreamRequest, GlobalStateService_SmesherRewardStreamServer) error
- type UnimplementedMeshServiceServer
- func (UnimplementedMeshServiceServer) AccountMeshDataQuery(context.Context, *AccountMeshDataQueryRequest) (*AccountMeshDataQueryResponse, error)
- func (UnimplementedMeshServiceServer) AccountMeshDataStream(*AccountMeshDataStreamRequest, MeshService_AccountMeshDataStreamServer) error
- func (UnimplementedMeshServiceServer) CurrentEpoch(context.Context, *CurrentEpochRequest) (*CurrentEpochResponse, error)
- func (UnimplementedMeshServiceServer) CurrentLayer(context.Context, *CurrentLayerRequest) (*CurrentLayerResponse, error)
- func (UnimplementedMeshServiceServer) EpochNumLayers(context.Context, *EpochNumLayersRequest) (*EpochNumLayersResponse, error)
- func (UnimplementedMeshServiceServer) EpochStream(*EpochStreamRequest, MeshService_EpochStreamServer) error
- func (UnimplementedMeshServiceServer) GenesisID(context.Context, *GenesisIDRequest) (*GenesisIDResponse, error)
- func (UnimplementedMeshServiceServer) GenesisTime(context.Context, *GenesisTimeRequest) (*GenesisTimeResponse, error)
- func (UnimplementedMeshServiceServer) LayerDuration(context.Context, *LayerDurationRequest) (*LayerDurationResponse, error)
- func (UnimplementedMeshServiceServer) LayerStream(*LayerStreamRequest, MeshService_LayerStreamServer) error
- func (UnimplementedMeshServiceServer) LayersQuery(context.Context, *LayersQueryRequest) (*LayersQueryResponse, error)
- func (UnimplementedMeshServiceServer) MalfeasanceQuery(context.Context, *MalfeasanceRequest) (*MalfeasanceResponse, error)
- func (UnimplementedMeshServiceServer) MalfeasanceStream(*MalfeasanceStreamRequest, MeshService_MalfeasanceStreamServer) error
- func (UnimplementedMeshServiceServer) MaxTransactionsPerSecond(context.Context, *MaxTransactionsPerSecondRequest) (*MaxTransactionsPerSecondResponse, error)
- type UnimplementedNodeServiceServer
- func (UnimplementedNodeServiceServer) Build(context.Context, *emptypb.Empty) (*BuildResponse, error)
- func (UnimplementedNodeServiceServer) Echo(context.Context, *EchoRequest) (*EchoResponse, error)
- func (UnimplementedNodeServiceServer) ErrorStream(*ErrorStreamRequest, NodeService_ErrorStreamServer) error
- func (UnimplementedNodeServiceServer) NodeInfo(context.Context, *emptypb.Empty) (*NodeInfoResponse, error)
- func (UnimplementedNodeServiceServer) Status(context.Context, *StatusRequest) (*StatusResponse, error)
- func (UnimplementedNodeServiceServer) StatusStream(*StatusStreamRequest, NodeService_StatusStreamServer) error
- func (UnimplementedNodeServiceServer) Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
- type UnimplementedPostServiceServer
- type UnimplementedSmesherServiceServer
- func (UnimplementedSmesherServiceServer) Coinbase(context.Context, *emptypb.Empty) (*CoinbaseResponse, error)
- func (UnimplementedSmesherServiceServer) EstimatedRewards(context.Context, *EstimatedRewardsRequest) (*EstimatedRewardsResponse, error)
- func (UnimplementedSmesherServiceServer) IsSmeshing(context.Context, *emptypb.Empty) (*IsSmeshingResponse, error)
- func (UnimplementedSmesherServiceServer) MinGas(context.Context, *emptypb.Empty) (*MinGasResponse, error)
- func (UnimplementedSmesherServiceServer) PostConfig(context.Context, *emptypb.Empty) (*PostConfigResponse, error)
- func (UnimplementedSmesherServiceServer) PostSetupProviders(context.Context, *PostSetupProvidersRequest) (*PostSetupProvidersResponse, error)
- func (UnimplementedSmesherServiceServer) PostSetupStatus(context.Context, *emptypb.Empty) (*PostSetupStatusResponse, error)
- func (UnimplementedSmesherServiceServer) PostSetupStatusStream(*emptypb.Empty, SmesherService_PostSetupStatusStreamServer) error
- func (UnimplementedSmesherServiceServer) SetCoinbase(context.Context, *SetCoinbaseRequest) (*SetCoinbaseResponse, error)
- func (UnimplementedSmesherServiceServer) SetMinGas(context.Context, *SetMinGasRequest) (*SetMinGasResponse, error)
- func (UnimplementedSmesherServiceServer) SmesherID(context.Context, *emptypb.Empty) (*SmesherIDResponse, error)
- func (UnimplementedSmesherServiceServer) StartSmeshing(context.Context, *StartSmeshingRequest) (*StartSmeshingResponse, error)
- func (UnimplementedSmesherServiceServer) StopSmeshing(context.Context, *StopSmeshingRequest) (*StopSmeshingResponse, error)
- type UnimplementedTransactionServiceServer
- func (UnimplementedTransactionServiceServer) ParseTransaction(context.Context, *ParseTransactionRequest) (*ParseTransactionResponse, error)
- func (UnimplementedTransactionServiceServer) StreamResults(*TransactionResultsRequest, TransactionService_StreamResultsServer) error
- func (UnimplementedTransactionServiceServer) SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error)
- func (UnimplementedTransactionServiceServer) TransactionsState(context.Context, *TransactionsStateRequest) (*TransactionsStateResponse, error)
- func (UnimplementedTransactionServiceServer) TransactionsStateStream(*TransactionsStateStreamRequest, ...) error
- type UnsafeActivationServiceServer
- type UnsafeAdminServiceServer
- type UnsafeDebugServiceServer
- type UnsafeGlobalStateServiceServer
- type UnsafeMeshServiceServer
- type UnsafeNodeServiceServer
- type UnsafePostServiceServer
- type UnsafeSmesherServiceServer
- type UnsafeTransactionServiceServer
- type VersionResponse
Constants ¶
const ( ActivationService_Get_FullMethodName = "/spacemesh.v1.ActivationService/Get" ActivationService_Highest_FullMethodName = "/spacemesh.v1.ActivationService/Highest" )
const ( AdminService_CheckpointStream_FullMethodName = "/spacemesh.v1.AdminService/CheckpointStream" AdminService_Recover_FullMethodName = "/spacemesh.v1.AdminService/Recover" AdminService_EventsStream_FullMethodName = "/spacemesh.v1.AdminService/EventsStream" AdminService_PeerInfoStream_FullMethodName = "/spacemesh.v1.AdminService/PeerInfoStream" )
const ( DebugService_NetworkInfo_FullMethodName = "/spacemesh.v1.DebugService/NetworkInfo" DebugService_Accounts_FullMethodName = "/spacemesh.v1.DebugService/Accounts" DebugService_ActiveSet_FullMethodName = "/spacemesh.v1.DebugService/ActiveSet" DebugService_ProposalsStream_FullMethodName = "/spacemesh.v1.DebugService/ProposalsStream" )
const ( GlobalStateService_GlobalStateHash_FullMethodName = "/spacemesh.v1.GlobalStateService/GlobalStateHash" GlobalStateService_Account_FullMethodName = "/spacemesh.v1.GlobalStateService/Account" GlobalStateService_AccountDataQuery_FullMethodName = "/spacemesh.v1.GlobalStateService/AccountDataQuery" GlobalStateService_SmesherDataQuery_FullMethodName = "/spacemesh.v1.GlobalStateService/SmesherDataQuery" GlobalStateService_AccountDataStream_FullMethodName = "/spacemesh.v1.GlobalStateService/AccountDataStream" GlobalStateService_SmesherRewardStream_FullMethodName = "/spacemesh.v1.GlobalStateService/SmesherRewardStream" GlobalStateService_AppEventStream_FullMethodName = "/spacemesh.v1.GlobalStateService/AppEventStream" GlobalStateService_GlobalStateStream_FullMethodName = "/spacemesh.v1.GlobalStateService/GlobalStateStream" )
const ( MeshService_GenesisTime_FullMethodName = "/spacemesh.v1.MeshService/GenesisTime" MeshService_CurrentLayer_FullMethodName = "/spacemesh.v1.MeshService/CurrentLayer" MeshService_CurrentEpoch_FullMethodName = "/spacemesh.v1.MeshService/CurrentEpoch" MeshService_GenesisID_FullMethodName = "/spacemesh.v1.MeshService/GenesisID" MeshService_EpochNumLayers_FullMethodName = "/spacemesh.v1.MeshService/EpochNumLayers" MeshService_LayerDuration_FullMethodName = "/spacemesh.v1.MeshService/LayerDuration" MeshService_MaxTransactionsPerSecond_FullMethodName = "/spacemesh.v1.MeshService/MaxTransactionsPerSecond" MeshService_AccountMeshDataQuery_FullMethodName = "/spacemesh.v1.MeshService/AccountMeshDataQuery" MeshService_LayersQuery_FullMethodName = "/spacemesh.v1.MeshService/LayersQuery" MeshService_AccountMeshDataStream_FullMethodName = "/spacemesh.v1.MeshService/AccountMeshDataStream" MeshService_LayerStream_FullMethodName = "/spacemesh.v1.MeshService/LayerStream" MeshService_EpochStream_FullMethodName = "/spacemesh.v1.MeshService/EpochStream" MeshService_MalfeasanceQuery_FullMethodName = "/spacemesh.v1.MeshService/MalfeasanceQuery" MeshService_MalfeasanceStream_FullMethodName = "/spacemesh.v1.MeshService/MalfeasanceStream" )
const ( NodeService_Echo_FullMethodName = "/spacemesh.v1.NodeService/Echo" NodeService_Version_FullMethodName = "/spacemesh.v1.NodeService/Version" NodeService_Build_FullMethodName = "/spacemesh.v1.NodeService/Build" NodeService_Status_FullMethodName = "/spacemesh.v1.NodeService/Status" NodeService_NodeInfo_FullMethodName = "/spacemesh.v1.NodeService/NodeInfo" NodeService_StatusStream_FullMethodName = "/spacemesh.v1.NodeService/StatusStream" NodeService_ErrorStream_FullMethodName = "/spacemesh.v1.NodeService/ErrorStream" )
const ( SmesherService_IsSmeshing_FullMethodName = "/spacemesh.v1.SmesherService/IsSmeshing" SmesherService_StartSmeshing_FullMethodName = "/spacemesh.v1.SmesherService/StartSmeshing" SmesherService_StopSmeshing_FullMethodName = "/spacemesh.v1.SmesherService/StopSmeshing" SmesherService_SmesherID_FullMethodName = "/spacemesh.v1.SmesherService/SmesherID" SmesherService_Coinbase_FullMethodName = "/spacemesh.v1.SmesherService/Coinbase" SmesherService_SetCoinbase_FullMethodName = "/spacemesh.v1.SmesherService/SetCoinbase" SmesherService_MinGas_FullMethodName = "/spacemesh.v1.SmesherService/MinGas" SmesherService_SetMinGas_FullMethodName = "/spacemesh.v1.SmesherService/SetMinGas" SmesherService_EstimatedRewards_FullMethodName = "/spacemesh.v1.SmesherService/EstimatedRewards" SmesherService_PostSetupStatus_FullMethodName = "/spacemesh.v1.SmesherService/PostSetupStatus" SmesherService_PostSetupStatusStream_FullMethodName = "/spacemesh.v1.SmesherService/PostSetupStatusStream" SmesherService_PostSetupProviders_FullMethodName = "/spacemesh.v1.SmesherService/PostSetupProviders" SmesherService_PostConfig_FullMethodName = "/spacemesh.v1.SmesherService/PostConfig" )
const ( TransactionService_SubmitTransaction_FullMethodName = "/spacemesh.v1.TransactionService/SubmitTransaction" TransactionService_ParseTransaction_FullMethodName = "/spacemesh.v1.TransactionService/ParseTransaction" TransactionService_TransactionsState_FullMethodName = "/spacemesh.v1.TransactionService/TransactionsState" TransactionService_TransactionsStateStream_FullMethodName = "/spacemesh.v1.TransactionService/TransactionsStateStream" TransactionService_StreamResults_FullMethodName = "/spacemesh.v1.TransactionService/StreamResults" )
const (
PostService_Register_FullMethodName = "/spacemesh.v1.PostService/Register"
)
Variables ¶
var ( Proposal_Status_name = map[int32]string{ 0: "Created", 1: "Included", } Proposal_Status_value = map[string]int32{ "Created": 0, "Included": 1, } )
Enum value maps for Proposal_Status.
var ( AccountDataFlag_name = map[int32]string{ 0: "ACCOUNT_DATA_FLAG_UNSPECIFIED", 1: "ACCOUNT_DATA_FLAG_TRANSACTION_RECEIPT", 2: "ACCOUNT_DATA_FLAG_REWARD", 4: "ACCOUNT_DATA_FLAG_ACCOUNT", } AccountDataFlag_value = map[string]int32{ "ACCOUNT_DATA_FLAG_UNSPECIFIED": 0, "ACCOUNT_DATA_FLAG_TRANSACTION_RECEIPT": 1, "ACCOUNT_DATA_FLAG_REWARD": 2, "ACCOUNT_DATA_FLAG_ACCOUNT": 4, } )
Enum value maps for AccountDataFlag.
var ( GlobalStateDataFlag_name = map[int32]string{ 0: "GLOBAL_STATE_DATA_FLAG_UNSPECIFIED", 1: "GLOBAL_STATE_DATA_FLAG_TRANSACTION_RECEIPT", 2: "GLOBAL_STATE_DATA_FLAG_REWARD", 4: "GLOBAL_STATE_DATA_FLAG_ACCOUNT", 8: "GLOBAL_STATE_DATA_FLAG_GLOBAL_STATE_HASH", } GlobalStateDataFlag_value = map[string]int32{ "GLOBAL_STATE_DATA_FLAG_UNSPECIFIED": 0, "GLOBAL_STATE_DATA_FLAG_TRANSACTION_RECEIPT": 1, "GLOBAL_STATE_DATA_FLAG_REWARD": 2, "GLOBAL_STATE_DATA_FLAG_ACCOUNT": 4, "GLOBAL_STATE_DATA_FLAG_GLOBAL_STATE_HASH": 8, } )
Enum value maps for GlobalStateDataFlag.
var ( TransactionReceipt_TransactionResult_name = map[int32]string{ 0: "TRANSACTION_RESULT_UNSPECIFIED", 1: "TRANSACTION_RESULT_EXECUTED", 2: "TRANSACTION_RESULT_BAD_COUNTER", 3: "TRANSACTION_RESULT_RUNTIME_EXCEPTION", 4: "TRANSACTION_RESULT_INSUFFICIENT_GAS", 5: "TRANSACTION_RESULT_INSUFFICIENT_FUNDS", } TransactionReceipt_TransactionResult_value = map[string]int32{ "TRANSACTION_RESULT_UNSPECIFIED": 0, "TRANSACTION_RESULT_EXECUTED": 1, "TRANSACTION_RESULT_BAD_COUNTER": 2, "TRANSACTION_RESULT_RUNTIME_EXCEPTION": 3, "TRANSACTION_RESULT_INSUFFICIENT_GAS": 4, "TRANSACTION_RESULT_INSUFFICIENT_FUNDS": 5, } )
Enum value maps for TransactionReceipt_TransactionResult.
var ( AccountMeshDataFlag_name = map[int32]string{ 0: "ACCOUNT_MESH_DATA_FLAG_UNSPECIFIED", 1: "ACCOUNT_MESH_DATA_FLAG_TRANSACTIONS", 2: "ACCOUNT_MESH_DATA_FLAG_ACTIVATIONS", } AccountMeshDataFlag_value = map[string]int32{ "ACCOUNT_MESH_DATA_FLAG_UNSPECIFIED": 0, "ACCOUNT_MESH_DATA_FLAG_TRANSACTIONS": 1, "ACCOUNT_MESH_DATA_FLAG_ACTIVATIONS": 2, } )
Enum value maps for AccountMeshDataFlag.
var ( LogLevel_name = map[int32]string{ 0: "LOG_LEVEL_UNSPECIFIED", 1: "LOG_LEVEL_DEBUG", 2: "LOG_LEVEL_INFO", 3: "LOG_LEVEL_WARN", 4: "LOG_LEVEL_ERROR", 5: "LOG_LEVEL_DPANIC", 6: "LOG_LEVEL_PANIC", 7: "LOG_LEVEL_FATAL", } LogLevel_value = map[string]int32{ "LOG_LEVEL_UNSPECIFIED": 0, "LOG_LEVEL_DEBUG": 1, "LOG_LEVEL_INFO": 2, "LOG_LEVEL_WARN": 3, "LOG_LEVEL_ERROR": 4, "LOG_LEVEL_DPANIC": 5, "LOG_LEVEL_PANIC": 6, "LOG_LEVEL_FATAL": 7, } )
Enum value maps for LogLevel.
var ( GenProofStatus_name = map[int32]string{ 0: "GEN_PROOF_STATUS_UNSPECIFIED", 1: "GEN_PROOF_STATUS_OK", 2: "GEN_PROOF_STATUS_ERROR", } GenProofStatus_value = map[string]int32{ "GEN_PROOF_STATUS_UNSPECIFIED": 0, "GEN_PROOF_STATUS_OK": 1, "GEN_PROOF_STATUS_ERROR": 2, } )
Enum value maps for GenProofStatus.
var ( PostSetupProvider_DeviceType_name = map[int32]string{ 0: "DEVICE_CLASS_CPU", 1: "DEVICE_CLASS_GPU", } PostSetupProvider_DeviceType_value = map[string]int32{ "DEVICE_CLASS_CPU": 0, "DEVICE_CLASS_GPU": 1, } )
Enum value maps for PostSetupProvider_DeviceType.
var ( PostSetupStatus_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STATE_NOT_STARTED", 2: "STATE_PREPARED", 3: "STATE_IN_PROGRESS", 4: "STATE_PAUSED", 5: "STATE_COMPLETE", 6: "STATE_ERROR", } PostSetupStatus_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STATE_NOT_STARTED": 1, "STATE_PREPARED": 2, "STATE_IN_PROGRESS": 3, "STATE_PAUSED": 4, "STATE_COMPLETE": 5, "STATE_ERROR": 6, } )
Enum value maps for PostSetupStatus_State.
var ( TransactionState_TransactionState_name = map[int32]string{ 0: "TRANSACTION_STATE_UNSPECIFIED", 1: "TRANSACTION_STATE_REJECTED", 2: "TRANSACTION_STATE_INSUFFICIENT_FUNDS", 3: "TRANSACTION_STATE_CONFLICTING", 4: "TRANSACTION_STATE_MEMPOOL", 5: "TRANSACTION_STATE_MESH", 6: "TRANSACTION_STATE_PROCESSED", } TransactionState_TransactionState_value = map[string]int32{ "TRANSACTION_STATE_UNSPECIFIED": 0, "TRANSACTION_STATE_REJECTED": 1, "TRANSACTION_STATE_INSUFFICIENT_FUNDS": 2, "TRANSACTION_STATE_CONFLICTING": 3, "TRANSACTION_STATE_MEMPOOL": 4, "TRANSACTION_STATE_MESH": 5, "TRANSACTION_STATE_PROCESSED": 6, } )
Enum value maps for TransactionState_TransactionState.
var ( TransactionResult_Status_name = map[int32]string{ 0: "SUCCESS", 1: "FAILURE", 2: "INVALID", } TransactionResult_Status_value = map[string]int32{ "SUCCESS": 0, "FAILURE": 1, "INVALID": 2, } )
Enum value maps for TransactionResult_Status.
var ( Layer_LayerStatus_name = map[int32]string{ 0: "LAYER_STATUS_UNSPECIFIED", 1: "LAYER_STATUS_APPROVED", 2: "LAYER_STATUS_CONFIRMED", 3: "LAYER_STATUS_APPLIED", } Layer_LayerStatus_value = map[string]int32{ "LAYER_STATUS_UNSPECIFIED": 0, "LAYER_STATUS_APPROVED": 1, "LAYER_STATUS_CONFIRMED": 2, "LAYER_STATUS_APPLIED": 3, } )
Enum value maps for Layer_LayerStatus.
var ( MalfeasanceProof_MalfeasanceType_name = map[int32]string{ 0: "MALFEASANCE_UNSPECIFIED", 1: "MALFEASANCE_ATX", 2: "MALFEASANCE_BALLOT", 3: "MALFEASANCE_HARE", } MalfeasanceProof_MalfeasanceType_value = map[string]int32{ "MALFEASANCE_UNSPECIFIED": 0, "MALFEASANCE_ATX": 1, "MALFEASANCE_BALLOT": 2, "MALFEASANCE_HARE": 3, } )
Enum value maps for MalfeasanceProof_MalfeasanceType.
var ActivationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spacemesh.v1.ActivationService", HandlerType: (*ActivationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _ActivationService_Get_Handler, }, { MethodName: "Highest", Handler: _ActivationService_Highest_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spacemesh/v1/activation.proto", }
ActivationService_ServiceDesc is the grpc.ServiceDesc for ActivationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AdminService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spacemesh.v1.AdminService", HandlerType: (*AdminServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Recover", Handler: _AdminService_Recover_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "CheckpointStream", Handler: _AdminService_CheckpointStream_Handler, ServerStreams: true, }, { StreamName: "EventsStream", Handler: _AdminService_EventsStream_Handler, ServerStreams: true, }, { StreamName: "PeerInfoStream", Handler: _AdminService_PeerInfoStream_Handler, ServerStreams: true, }, }, Metadata: "spacemesh/v1/admin.proto", }
AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DebugService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spacemesh.v1.DebugService", HandlerType: (*DebugServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "NetworkInfo", Handler: _DebugService_NetworkInfo_Handler, }, { MethodName: "Accounts", Handler: _DebugService_Accounts_Handler, }, { MethodName: "ActiveSet", Handler: _DebugService_ActiveSet_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ProposalsStream", Handler: _DebugService_ProposalsStream_Handler, ServerStreams: true, }, }, Metadata: "spacemesh/v1/debug.proto", }
DebugService_ServiceDesc is the grpc.ServiceDesc for DebugService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_spacemesh_v1_activation_proto protoreflect.FileDescriptor
var File_spacemesh_v1_activation_types_proto protoreflect.FileDescriptor
var File_spacemesh_v1_admin_proto protoreflect.FileDescriptor
var File_spacemesh_v1_admin_types_proto protoreflect.FileDescriptor
var File_spacemesh_v1_debug_proto protoreflect.FileDescriptor
var File_spacemesh_v1_debug_types_proto protoreflect.FileDescriptor
var File_spacemesh_v1_global_state_proto protoreflect.FileDescriptor
var File_spacemesh_v1_global_state_types_proto protoreflect.FileDescriptor
var File_spacemesh_v1_mesh_proto protoreflect.FileDescriptor
var File_spacemesh_v1_mesh_types_proto protoreflect.FileDescriptor
var File_spacemesh_v1_node_proto protoreflect.FileDescriptor
var File_spacemesh_v1_node_types_proto protoreflect.FileDescriptor
var File_spacemesh_v1_post_proto protoreflect.FileDescriptor
var File_spacemesh_v1_post_types_proto protoreflect.FileDescriptor
var File_spacemesh_v1_smesher_proto protoreflect.FileDescriptor
var File_spacemesh_v1_smesher_types_proto protoreflect.FileDescriptor
var File_spacemesh_v1_tx_proto protoreflect.FileDescriptor
var File_spacemesh_v1_tx_types_proto protoreflect.FileDescriptor
var File_spacemesh_v1_types_proto protoreflect.FileDescriptor
var GlobalStateService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spacemesh.v1.GlobalStateService", HandlerType: (*GlobalStateServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GlobalStateHash", Handler: _GlobalStateService_GlobalStateHash_Handler, }, { MethodName: "Account", Handler: _GlobalStateService_Account_Handler, }, { MethodName: "AccountDataQuery", Handler: _GlobalStateService_AccountDataQuery_Handler, }, { MethodName: "SmesherDataQuery", Handler: _GlobalStateService_SmesherDataQuery_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "AccountDataStream", Handler: _GlobalStateService_AccountDataStream_Handler, ServerStreams: true, }, { StreamName: "SmesherRewardStream", Handler: _GlobalStateService_SmesherRewardStream_Handler, ServerStreams: true, }, { StreamName: "AppEventStream", Handler: _GlobalStateService_AppEventStream_Handler, ServerStreams: true, }, { StreamName: "GlobalStateStream", Handler: _GlobalStateService_GlobalStateStream_Handler, ServerStreams: true, }, }, Metadata: "spacemesh/v1/global_state.proto", }
GlobalStateService_ServiceDesc is the grpc.ServiceDesc for GlobalStateService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MeshService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spacemesh.v1.MeshService", HandlerType: (*MeshServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GenesisTime", Handler: _MeshService_GenesisTime_Handler, }, { MethodName: "CurrentLayer", Handler: _MeshService_CurrentLayer_Handler, }, { MethodName: "CurrentEpoch", Handler: _MeshService_CurrentEpoch_Handler, }, { MethodName: "GenesisID", Handler: _MeshService_GenesisID_Handler, }, { MethodName: "EpochNumLayers", Handler: _MeshService_EpochNumLayers_Handler, }, { MethodName: "LayerDuration", Handler: _MeshService_LayerDuration_Handler, }, { MethodName: "MaxTransactionsPerSecond", Handler: _MeshService_MaxTransactionsPerSecond_Handler, }, { MethodName: "AccountMeshDataQuery", Handler: _MeshService_AccountMeshDataQuery_Handler, }, { MethodName: "LayersQuery", Handler: _MeshService_LayersQuery_Handler, }, { MethodName: "MalfeasanceQuery", Handler: _MeshService_MalfeasanceQuery_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "AccountMeshDataStream", Handler: _MeshService_AccountMeshDataStream_Handler, ServerStreams: true, }, { StreamName: "LayerStream", Handler: _MeshService_LayerStream_Handler, ServerStreams: true, }, { StreamName: "EpochStream", Handler: _MeshService_EpochStream_Handler, ServerStreams: true, }, { StreamName: "MalfeasanceStream", Handler: _MeshService_MalfeasanceStream_Handler, ServerStreams: true, }, }, Metadata: "spacemesh/v1/mesh.proto", }
MeshService_ServiceDesc is the grpc.ServiceDesc for MeshService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var NodeService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spacemesh.v1.NodeService", HandlerType: (*NodeServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Echo", Handler: _NodeService_Echo_Handler, }, { MethodName: "Version", Handler: _NodeService_Version_Handler, }, { MethodName: "Build", Handler: _NodeService_Build_Handler, }, { MethodName: "Status", Handler: _NodeService_Status_Handler, }, { MethodName: "NodeInfo", Handler: _NodeService_NodeInfo_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StatusStream", Handler: _NodeService_StatusStream_Handler, ServerStreams: true, }, { StreamName: "ErrorStream", Handler: _NodeService_ErrorStream_Handler, ServerStreams: true, }, }, Metadata: "spacemesh/v1/node.proto", }
NodeService_ServiceDesc is the grpc.ServiceDesc for NodeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PostService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spacemesh.v1.PostService", HandlerType: (*PostServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Register", Handler: _PostService_Register_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "spacemesh/v1/post.proto", }
PostService_ServiceDesc is the grpc.ServiceDesc for PostService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SmesherService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spacemesh.v1.SmesherService", HandlerType: (*SmesherServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IsSmeshing", Handler: _SmesherService_IsSmeshing_Handler, }, { MethodName: "StartSmeshing", Handler: _SmesherService_StartSmeshing_Handler, }, { MethodName: "StopSmeshing", Handler: _SmesherService_StopSmeshing_Handler, }, { MethodName: "SmesherID", Handler: _SmesherService_SmesherID_Handler, }, { MethodName: "Coinbase", Handler: _SmesherService_Coinbase_Handler, }, { MethodName: "SetCoinbase", Handler: _SmesherService_SetCoinbase_Handler, }, { MethodName: "MinGas", Handler: _SmesherService_MinGas_Handler, }, { MethodName: "SetMinGas", Handler: _SmesherService_SetMinGas_Handler, }, { MethodName: "EstimatedRewards", Handler: _SmesherService_EstimatedRewards_Handler, }, { MethodName: "PostSetupStatus", Handler: _SmesherService_PostSetupStatus_Handler, }, { MethodName: "PostSetupProviders", Handler: _SmesherService_PostSetupProviders_Handler, }, { MethodName: "PostConfig", Handler: _SmesherService_PostConfig_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PostSetupStatusStream", Handler: _SmesherService_PostSetupStatusStream_Handler, ServerStreams: true, }, }, Metadata: "spacemesh/v1/smesher.proto", }
SmesherService_ServiceDesc is the grpc.ServiceDesc for SmesherService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TransactionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spacemesh.v1.TransactionService", HandlerType: (*TransactionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SubmitTransaction", Handler: _TransactionService_SubmitTransaction_Handler, }, { MethodName: "ParseTransaction", Handler: _TransactionService_ParseTransaction_Handler, }, { MethodName: "TransactionsState", Handler: _TransactionService_TransactionsState_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "TransactionsStateStream", Handler: _TransactionService_TransactionsStateStream_Handler, ServerStreams: true, }, { StreamName: "StreamResults", Handler: _TransactionService_StreamResults_Handler, ServerStreams: true, }, }, Metadata: "spacemesh/v1/tx.proto", }
TransactionService_ServiceDesc is the grpc.ServiceDesc for TransactionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterActivationServiceHandler ¶ added in v1.21.0
func RegisterActivationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterActivationServiceHandler registers the http handlers for service ActivationService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterActivationServiceHandlerClient ¶ added in v1.21.0
func RegisterActivationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ActivationServiceClient) error
RegisterActivationServiceHandlerClient registers the http handlers for service ActivationService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ActivationServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ActivationServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ActivationServiceClient" to call the correct interceptors.
func RegisterActivationServiceHandlerFromEndpoint ¶ added in v1.21.0
func RegisterActivationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterActivationServiceHandlerFromEndpoint is same as RegisterActivationServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterActivationServiceHandlerServer ¶ added in v1.21.0
func RegisterActivationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ActivationServiceServer) error
RegisterActivationServiceHandlerServer registers the http handlers for service ActivationService to "mux". UnaryRPC :call ActivationServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterActivationServiceHandlerFromEndpoint instead.
func RegisterActivationServiceServer ¶ added in v1.5.1
func RegisterActivationServiceServer(s grpc.ServiceRegistrar, srv ActivationServiceServer)
func RegisterAdminServiceHandler ¶ added in v1.21.0
func RegisterAdminServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAdminServiceHandler registers the http handlers for service AdminService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAdminServiceHandlerClient ¶ added in v1.21.0
func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdminServiceClient) error
RegisterAdminServiceHandlerClient registers the http handlers for service AdminService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AdminServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AdminServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AdminServiceClient" to call the correct interceptors.
func RegisterAdminServiceHandlerFromEndpoint ¶ added in v1.21.0
func RegisterAdminServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAdminServiceHandlerFromEndpoint is same as RegisterAdminServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAdminServiceHandlerServer ¶ added in v1.21.0
func RegisterAdminServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AdminServiceServer) error
RegisterAdminServiceHandlerServer registers the http handlers for service AdminService to "mux". UnaryRPC :call AdminServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAdminServiceHandlerFromEndpoint instead.
func RegisterAdminServiceServer ¶ added in v1.11.0
func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
func RegisterDebugServiceHandler ¶
func RegisterDebugServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterDebugServiceHandler registers the http handlers for service DebugService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterDebugServiceHandlerClient ¶
func RegisterDebugServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DebugServiceClient) error
RegisterDebugServiceHandlerClient registers the http handlers for service DebugService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DebugServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DebugServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DebugServiceClient" to call the correct interceptors.
func RegisterDebugServiceHandlerFromEndpoint ¶
func RegisterDebugServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterDebugServiceHandlerFromEndpoint is same as RegisterDebugServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterDebugServiceHandlerServer ¶
func RegisterDebugServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DebugServiceServer) error
RegisterDebugServiceHandlerServer registers the http handlers for service DebugService to "mux". UnaryRPC :call DebugServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDebugServiceHandlerFromEndpoint instead.
func RegisterDebugServiceServer ¶
func RegisterDebugServiceServer(s grpc.ServiceRegistrar, srv DebugServiceServer)
func RegisterGlobalStateServiceHandler ¶
func RegisterGlobalStateServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterGlobalStateServiceHandler registers the http handlers for service GlobalStateService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterGlobalStateServiceHandlerClient ¶
func RegisterGlobalStateServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GlobalStateServiceClient) error
RegisterGlobalStateServiceHandlerClient registers the http handlers for service GlobalStateService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GlobalStateServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GlobalStateServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GlobalStateServiceClient" to call the correct interceptors.
func RegisterGlobalStateServiceHandlerFromEndpoint ¶
func RegisterGlobalStateServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterGlobalStateServiceHandlerFromEndpoint is same as RegisterGlobalStateServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterGlobalStateServiceHandlerServer ¶
func RegisterGlobalStateServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GlobalStateServiceServer) error
RegisterGlobalStateServiceHandlerServer registers the http handlers for service GlobalStateService to "mux". UnaryRPC :call GlobalStateServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGlobalStateServiceHandlerFromEndpoint instead.
func RegisterGlobalStateServiceServer ¶
func RegisterGlobalStateServiceServer(s grpc.ServiceRegistrar, srv GlobalStateServiceServer)
func RegisterMeshServiceHandler ¶
func RegisterMeshServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMeshServiceHandler registers the http handlers for service MeshService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMeshServiceHandlerClient ¶
func RegisterMeshServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MeshServiceClient) error
RegisterMeshServiceHandlerClient registers the http handlers for service MeshService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MeshServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MeshServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MeshServiceClient" to call the correct interceptors.
func RegisterMeshServiceHandlerFromEndpoint ¶
func RegisterMeshServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMeshServiceHandlerFromEndpoint is same as RegisterMeshServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMeshServiceHandlerServer ¶
func RegisterMeshServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MeshServiceServer) error
RegisterMeshServiceHandlerServer registers the http handlers for service MeshService to "mux". UnaryRPC :call MeshServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMeshServiceHandlerFromEndpoint instead.
func RegisterMeshServiceServer ¶
func RegisterMeshServiceServer(s grpc.ServiceRegistrar, srv MeshServiceServer)
func RegisterNodeServiceHandler ¶
func RegisterNodeServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterNodeServiceHandler registers the http handlers for service NodeService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterNodeServiceHandlerClient ¶
func RegisterNodeServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NodeServiceClient) error
RegisterNodeServiceHandlerClient registers the http handlers for service NodeService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NodeServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NodeServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NodeServiceClient" to call the correct interceptors.
func RegisterNodeServiceHandlerFromEndpoint ¶
func RegisterNodeServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterNodeServiceHandlerFromEndpoint is same as RegisterNodeServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterNodeServiceHandlerServer ¶
func RegisterNodeServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NodeServiceServer) error
RegisterNodeServiceHandlerServer registers the http handlers for service NodeService to "mux". UnaryRPC :call NodeServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterNodeServiceHandlerFromEndpoint instead.
func RegisterNodeServiceServer ¶
func RegisterNodeServiceServer(s grpc.ServiceRegistrar, srv NodeServiceServer)
func RegisterPostServiceHandler ¶ added in v1.22.0
func RegisterPostServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPostServiceHandler registers the http handlers for service PostService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPostServiceHandlerClient ¶ added in v1.22.0
func RegisterPostServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PostServiceClient) error
RegisterPostServiceHandlerClient registers the http handlers for service PostService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PostServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PostServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PostServiceClient" to call the correct interceptors.
func RegisterPostServiceHandlerFromEndpoint ¶ added in v1.22.0
func RegisterPostServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPostServiceHandlerFromEndpoint is same as RegisterPostServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPostServiceHandlerServer ¶ added in v1.22.0
func RegisterPostServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PostServiceServer) error
RegisterPostServiceHandlerServer registers the http handlers for service PostService to "mux". UnaryRPC :call PostServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPostServiceHandlerFromEndpoint instead.
func RegisterPostServiceServer ¶ added in v1.22.0
func RegisterPostServiceServer(s grpc.ServiceRegistrar, srv PostServiceServer)
func RegisterSmesherServiceHandler ¶
func RegisterSmesherServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSmesherServiceHandler registers the http handlers for service SmesherService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSmesherServiceHandlerClient ¶
func RegisterSmesherServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SmesherServiceClient) error
RegisterSmesherServiceHandlerClient registers the http handlers for service SmesherService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SmesherServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SmesherServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SmesherServiceClient" to call the correct interceptors.
func RegisterSmesherServiceHandlerFromEndpoint ¶
func RegisterSmesherServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSmesherServiceHandlerFromEndpoint is same as RegisterSmesherServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSmesherServiceHandlerServer ¶
func RegisterSmesherServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SmesherServiceServer) error
RegisterSmesherServiceHandlerServer registers the http handlers for service SmesherService to "mux". UnaryRPC :call SmesherServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSmesherServiceHandlerFromEndpoint instead.
func RegisterSmesherServiceServer ¶
func RegisterSmesherServiceServer(s grpc.ServiceRegistrar, srv SmesherServiceServer)
func RegisterTransactionServiceHandler ¶
func RegisterTransactionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterTransactionServiceHandler registers the http handlers for service TransactionService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTransactionServiceHandlerClient ¶
func RegisterTransactionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TransactionServiceClient) error
RegisterTransactionServiceHandlerClient registers the http handlers for service TransactionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TransactionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TransactionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TransactionServiceClient" to call the correct interceptors.
func RegisterTransactionServiceHandlerFromEndpoint ¶
func RegisterTransactionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTransactionServiceHandlerFromEndpoint is same as RegisterTransactionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTransactionServiceHandlerServer ¶
func RegisterTransactionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TransactionServiceServer) error
RegisterTransactionServiceHandlerServer registers the http handlers for service TransactionService to "mux". UnaryRPC :call TransactionServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTransactionServiceHandlerFromEndpoint instead.
func RegisterTransactionServiceServer ¶
func RegisterTransactionServiceServer(s grpc.ServiceRegistrar, srv TransactionServiceServer)
Types ¶
type Account ¶
type Account struct { AccountId *AccountId `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // account public address StateCurrent *AccountState `protobuf:"bytes,2,opt,name=state_current,json=stateCurrent,proto3" json:"state_current,omitempty"` // current state StateProjected *AccountState `protobuf:"bytes,3,opt,name=state_projected,json=stateProjected,proto3" json:"state_projected,omitempty"` // projected state (includes pending txs) // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetAccountId ¶
func (*Account) GetStateCurrent ¶
func (x *Account) GetStateCurrent() *AccountState
func (*Account) GetStateProjected ¶
func (x *Account) GetStateProjected() *AccountState
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountData ¶
type AccountData struct { // Types that are assignable to Datum: // // *AccountData_Reward // *AccountData_Receipt // *AccountData_AccountWrapper Datum isAccountData_Datum `protobuf_oneof:"datum"` // contains filtered or unexported fields }
All data items that touch an account: receipts for transactions from, or to this account, as well as those that modify its state (e.g., token transfers). Rewards here includes fees paid. Account contains counter and balance updates. Note that this mixes concerns: transactions and rewards are _causes_ of a change to account state; nonce and balance updates are _results_.
func (*AccountData) Descriptor
deprecated
func (*AccountData) Descriptor() ([]byte, []int)
Deprecated: Use AccountData.ProtoReflect.Descriptor instead.
func (*AccountData) GetAccountWrapper ¶
func (x *AccountData) GetAccountWrapper() *Account
func (*AccountData) GetDatum ¶
func (m *AccountData) GetDatum() isAccountData_Datum
func (*AccountData) GetReceipt ¶
func (x *AccountData) GetReceipt() *TransactionReceipt
func (*AccountData) GetReward ¶
func (x *AccountData) GetReward() *Reward
func (*AccountData) ProtoMessage ¶
func (*AccountData) ProtoMessage()
func (*AccountData) ProtoReflect ¶
func (x *AccountData) ProtoReflect() protoreflect.Message
func (*AccountData) Reset ¶
func (x *AccountData) Reset()
func (*AccountData) String ¶
func (x *AccountData) String() string
type AccountDataFilter ¶
type AccountDataFilter struct { AccountId *AccountId `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` AccountDataFlags uint32 `protobuf:"varint,2,opt,name=account_data_flags,json=accountDataFlags,proto3" json:"account_data_flags,omitempty"` // bit field of AccountDataFlag // contains filtered or unexported fields }
func (*AccountDataFilter) Descriptor
deprecated
func (*AccountDataFilter) Descriptor() ([]byte, []int)
Deprecated: Use AccountDataFilter.ProtoReflect.Descriptor instead.
func (*AccountDataFilter) GetAccountDataFlags ¶
func (x *AccountDataFilter) GetAccountDataFlags() uint32
func (*AccountDataFilter) GetAccountId ¶
func (x *AccountDataFilter) GetAccountId() *AccountId
func (*AccountDataFilter) ProtoMessage ¶
func (*AccountDataFilter) ProtoMessage()
func (*AccountDataFilter) ProtoReflect ¶
func (x *AccountDataFilter) ProtoReflect() protoreflect.Message
func (*AccountDataFilter) Reset ¶
func (x *AccountDataFilter) Reset()
func (*AccountDataFilter) String ¶
func (x *AccountDataFilter) String() string
type AccountDataFlag ¶
type AccountDataFlag int32
All data items that touch an account (see below note, under the associated message)
const ( AccountDataFlag_ACCOUNT_DATA_FLAG_UNSPECIFIED AccountDataFlag = 0 AccountDataFlag_ACCOUNT_DATA_FLAG_TRANSACTION_RECEIPT AccountDataFlag = 1 // tx receipt for a tx to or from an account AccountDataFlag_ACCOUNT_DATA_FLAG_REWARD AccountDataFlag = 2 // reward awarded to an account AccountDataFlag_ACCOUNT_DATA_FLAG_ACCOUNT AccountDataFlag = 4 // account data changes (counter or balance) )
func (AccountDataFlag) Descriptor ¶
func (AccountDataFlag) Descriptor() protoreflect.EnumDescriptor
func (AccountDataFlag) Enum ¶
func (x AccountDataFlag) Enum() *AccountDataFlag
func (AccountDataFlag) EnumDescriptor
deprecated
func (AccountDataFlag) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountDataFlag.Descriptor instead.
func (AccountDataFlag) Number ¶
func (x AccountDataFlag) Number() protoreflect.EnumNumber
func (AccountDataFlag) String ¶
func (x AccountDataFlag) String() string
func (AccountDataFlag) Type ¶
func (AccountDataFlag) Type() protoreflect.EnumType
type AccountDataQueryRequest ¶
type AccountDataQueryRequest struct { Filter *AccountDataFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` MaxResults uint32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` // max numbers of results client would like to get Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // return results from offset // contains filtered or unexported fields }
func (*AccountDataQueryRequest) Descriptor
deprecated
func (*AccountDataQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountDataQueryRequest.ProtoReflect.Descriptor instead.
func (*AccountDataQueryRequest) GetFilter ¶
func (x *AccountDataQueryRequest) GetFilter() *AccountDataFilter
func (*AccountDataQueryRequest) GetMaxResults ¶
func (x *AccountDataQueryRequest) GetMaxResults() uint32
func (*AccountDataQueryRequest) GetOffset ¶
func (x *AccountDataQueryRequest) GetOffset() uint32
func (*AccountDataQueryRequest) ProtoMessage ¶
func (*AccountDataQueryRequest) ProtoMessage()
func (*AccountDataQueryRequest) ProtoReflect ¶
func (x *AccountDataQueryRequest) ProtoReflect() protoreflect.Message
func (*AccountDataQueryRequest) Reset ¶
func (x *AccountDataQueryRequest) Reset()
func (*AccountDataQueryRequest) String ¶
func (x *AccountDataQueryRequest) String() string
type AccountDataQueryResponse ¶
type AccountDataQueryResponse struct { TotalResults uint32 `protobuf:"varint,1,opt,name=total_results,json=totalResults,proto3" json:"total_results,omitempty"` AccountItem []*AccountData `protobuf:"bytes,2,rep,name=account_item,json=accountItem,proto3" json:"account_item,omitempty"` // contains filtered or unexported fields }
func (*AccountDataQueryResponse) Descriptor
deprecated
func (*AccountDataQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountDataQueryResponse.ProtoReflect.Descriptor instead.
func (*AccountDataQueryResponse) GetAccountItem ¶
func (x *AccountDataQueryResponse) GetAccountItem() []*AccountData
func (*AccountDataQueryResponse) GetTotalResults ¶
func (x *AccountDataQueryResponse) GetTotalResults() uint32
func (*AccountDataQueryResponse) ProtoMessage ¶
func (*AccountDataQueryResponse) ProtoMessage()
func (*AccountDataQueryResponse) ProtoReflect ¶
func (x *AccountDataQueryResponse) ProtoReflect() protoreflect.Message
func (*AccountDataQueryResponse) Reset ¶
func (x *AccountDataQueryResponse) Reset()
func (*AccountDataQueryResponse) String ¶
func (x *AccountDataQueryResponse) String() string
type AccountDataStreamRequest ¶
type AccountDataStreamRequest struct { Filter *AccountDataFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*AccountDataStreamRequest) Descriptor
deprecated
func (*AccountDataStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountDataStreamRequest.ProtoReflect.Descriptor instead.
func (*AccountDataStreamRequest) GetFilter ¶
func (x *AccountDataStreamRequest) GetFilter() *AccountDataFilter
func (*AccountDataStreamRequest) ProtoMessage ¶
func (*AccountDataStreamRequest) ProtoMessage()
func (*AccountDataStreamRequest) ProtoReflect ¶
func (x *AccountDataStreamRequest) ProtoReflect() protoreflect.Message
func (*AccountDataStreamRequest) Reset ¶
func (x *AccountDataStreamRequest) Reset()
func (*AccountDataStreamRequest) String ¶
func (x *AccountDataStreamRequest) String() string
type AccountDataStreamResponse ¶
type AccountDataStreamResponse struct { Datum *AccountData `protobuf:"bytes,1,opt,name=datum,proto3" json:"datum,omitempty"` // contains filtered or unexported fields }
func (*AccountDataStreamResponse) Descriptor
deprecated
func (*AccountDataStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountDataStreamResponse.ProtoReflect.Descriptor instead.
func (*AccountDataStreamResponse) GetDatum ¶
func (x *AccountDataStreamResponse) GetDatum() *AccountData
func (*AccountDataStreamResponse) ProtoMessage ¶
func (*AccountDataStreamResponse) ProtoMessage()
func (*AccountDataStreamResponse) ProtoReflect ¶
func (x *AccountDataStreamResponse) ProtoReflect() protoreflect.Message
func (*AccountDataStreamResponse) Reset ¶
func (x *AccountDataStreamResponse) Reset()
func (*AccountDataStreamResponse) String ¶
func (x *AccountDataStreamResponse) String() string
type AccountData_AccountWrapper ¶
type AccountData_AccountWrapper struct {
AccountWrapper *Account `protobuf:"bytes,3,opt,name=account_wrapper,json=accountWrapper,proto3,oneof"`
}
type AccountData_Receipt ¶
type AccountData_Receipt struct {
Receipt *TransactionReceipt `protobuf:"bytes,2,opt,name=receipt,proto3,oneof"`
}
type AccountData_Reward ¶
type AccountData_Reward struct {
Reward *Reward `protobuf:"bytes,1,opt,name=reward,proto3,oneof"`
}
type AccountId ¶
type AccountId struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*AccountId) Descriptor
deprecated
func (*AccountId) GetAddress ¶
func (*AccountId) ProtoMessage ¶
func (*AccountId) ProtoMessage()
func (*AccountId) ProtoReflect ¶
func (x *AccountId) ProtoReflect() protoreflect.Message
type AccountMeshData ¶
type AccountMeshData struct { // Types that are assignable to Datum: // // *AccountMeshData_MeshTransaction // *AccountMeshData_Activation Datum isAccountMeshData_Datum `protobuf_oneof:"datum"` // contains filtered or unexported fields }
func (*AccountMeshData) Descriptor
deprecated
func (*AccountMeshData) Descriptor() ([]byte, []int)
Deprecated: Use AccountMeshData.ProtoReflect.Descriptor instead.
func (*AccountMeshData) GetActivation ¶
func (x *AccountMeshData) GetActivation() *Activation
func (*AccountMeshData) GetDatum ¶
func (m *AccountMeshData) GetDatum() isAccountMeshData_Datum
func (*AccountMeshData) GetMeshTransaction ¶
func (x *AccountMeshData) GetMeshTransaction() *MeshTransaction
func (*AccountMeshData) ProtoMessage ¶
func (*AccountMeshData) ProtoMessage()
func (*AccountMeshData) ProtoReflect ¶
func (x *AccountMeshData) ProtoReflect() protoreflect.Message
func (*AccountMeshData) Reset ¶
func (x *AccountMeshData) Reset()
func (*AccountMeshData) String ¶
func (x *AccountMeshData) String() string
type AccountMeshDataFilter ¶
type AccountMeshDataFilter struct { AccountId *AccountId `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` AccountMeshDataFlags uint32 `` // A bit field of AccountMeshDataFlags /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AccountMeshDataFilter) Descriptor
deprecated
func (*AccountMeshDataFilter) Descriptor() ([]byte, []int)
Deprecated: Use AccountMeshDataFilter.ProtoReflect.Descriptor instead.
func (*AccountMeshDataFilter) GetAccountId ¶
func (x *AccountMeshDataFilter) GetAccountId() *AccountId
func (*AccountMeshDataFilter) GetAccountMeshDataFlags ¶
func (x *AccountMeshDataFilter) GetAccountMeshDataFlags() uint32
func (*AccountMeshDataFilter) ProtoMessage ¶
func (*AccountMeshDataFilter) ProtoMessage()
func (*AccountMeshDataFilter) ProtoReflect ¶
func (x *AccountMeshDataFilter) ProtoReflect() protoreflect.Message
func (*AccountMeshDataFilter) Reset ¶
func (x *AccountMeshDataFilter) Reset()
func (*AccountMeshDataFilter) String ¶
func (x *AccountMeshDataFilter) String() string
type AccountMeshDataFlag ¶
type AccountMeshDataFlag int32
const ( AccountMeshDataFlag_ACCOUNT_MESH_DATA_FLAG_UNSPECIFIED AccountMeshDataFlag = 0 AccountMeshDataFlag_ACCOUNT_MESH_DATA_FLAG_TRANSACTIONS AccountMeshDataFlag = 1 AccountMeshDataFlag_ACCOUNT_MESH_DATA_FLAG_ACTIVATIONS AccountMeshDataFlag = 2 )
func (AccountMeshDataFlag) Descriptor ¶
func (AccountMeshDataFlag) Descriptor() protoreflect.EnumDescriptor
func (AccountMeshDataFlag) Enum ¶
func (x AccountMeshDataFlag) Enum() *AccountMeshDataFlag
func (AccountMeshDataFlag) EnumDescriptor
deprecated
func (AccountMeshDataFlag) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountMeshDataFlag.Descriptor instead.
func (AccountMeshDataFlag) Number ¶
func (x AccountMeshDataFlag) Number() protoreflect.EnumNumber
func (AccountMeshDataFlag) String ¶
func (x AccountMeshDataFlag) String() string
func (AccountMeshDataFlag) Type ¶
func (AccountMeshDataFlag) Type() protoreflect.EnumType
type AccountMeshDataQueryRequest ¶
type AccountMeshDataQueryRequest struct { Filter *AccountMeshDataFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` MinLayer *LayerNumber `protobuf:"bytes,2,opt,name=min_layer,json=minLayer,proto3" json:"min_layer,omitempty"` // return data only from this layer or later MaxResults uint32 `protobuf:"varint,3,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` // max number of results to return Offset uint32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` // query offset // contains filtered or unexported fields }
func (*AccountMeshDataQueryRequest) Descriptor
deprecated
func (*AccountMeshDataQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountMeshDataQueryRequest.ProtoReflect.Descriptor instead.
func (*AccountMeshDataQueryRequest) GetFilter ¶
func (x *AccountMeshDataQueryRequest) GetFilter() *AccountMeshDataFilter
func (*AccountMeshDataQueryRequest) GetMaxResults ¶
func (x *AccountMeshDataQueryRequest) GetMaxResults() uint32
func (*AccountMeshDataQueryRequest) GetMinLayer ¶
func (x *AccountMeshDataQueryRequest) GetMinLayer() *LayerNumber
func (*AccountMeshDataQueryRequest) GetOffset ¶
func (x *AccountMeshDataQueryRequest) GetOffset() uint32
func (*AccountMeshDataQueryRequest) ProtoMessage ¶
func (*AccountMeshDataQueryRequest) ProtoMessage()
func (*AccountMeshDataQueryRequest) ProtoReflect ¶
func (x *AccountMeshDataQueryRequest) ProtoReflect() protoreflect.Message
func (*AccountMeshDataQueryRequest) Reset ¶
func (x *AccountMeshDataQueryRequest) Reset()
func (*AccountMeshDataQueryRequest) String ¶
func (x *AccountMeshDataQueryRequest) String() string
type AccountMeshDataQueryResponse ¶
type AccountMeshDataQueryResponse struct { Data []*AccountMeshData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` TotalResults uint32 `protobuf:"varint,2,opt,name=total_results,json=totalResults,proto3" json:"total_results,omitempty"` // total number of availble results // contains filtered or unexported fields }
func (*AccountMeshDataQueryResponse) Descriptor
deprecated
func (*AccountMeshDataQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountMeshDataQueryResponse.ProtoReflect.Descriptor instead.
func (*AccountMeshDataQueryResponse) GetData ¶
func (x *AccountMeshDataQueryResponse) GetData() []*AccountMeshData
func (*AccountMeshDataQueryResponse) GetTotalResults ¶
func (x *AccountMeshDataQueryResponse) GetTotalResults() uint32
func (*AccountMeshDataQueryResponse) ProtoMessage ¶
func (*AccountMeshDataQueryResponse) ProtoMessage()
func (*AccountMeshDataQueryResponse) ProtoReflect ¶
func (x *AccountMeshDataQueryResponse) ProtoReflect() protoreflect.Message
func (*AccountMeshDataQueryResponse) Reset ¶
func (x *AccountMeshDataQueryResponse) Reset()
func (*AccountMeshDataQueryResponse) String ¶
func (x *AccountMeshDataQueryResponse) String() string
type AccountMeshDataStreamRequest ¶
type AccountMeshDataStreamRequest struct { Filter *AccountMeshDataFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*AccountMeshDataStreamRequest) Descriptor
deprecated
func (*AccountMeshDataStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountMeshDataStreamRequest.ProtoReflect.Descriptor instead.
func (*AccountMeshDataStreamRequest) GetFilter ¶
func (x *AccountMeshDataStreamRequest) GetFilter() *AccountMeshDataFilter
func (*AccountMeshDataStreamRequest) ProtoMessage ¶
func (*AccountMeshDataStreamRequest) ProtoMessage()
func (*AccountMeshDataStreamRequest) ProtoReflect ¶
func (x *AccountMeshDataStreamRequest) ProtoReflect() protoreflect.Message
func (*AccountMeshDataStreamRequest) Reset ¶
func (x *AccountMeshDataStreamRequest) Reset()
func (*AccountMeshDataStreamRequest) String ¶
func (x *AccountMeshDataStreamRequest) String() string
type AccountMeshDataStreamResponse ¶
type AccountMeshDataStreamResponse struct { Datum *AccountMeshData `protobuf:"bytes,1,opt,name=datum,proto3" json:"datum,omitempty"` // contains filtered or unexported fields }
func (*AccountMeshDataStreamResponse) Descriptor
deprecated
func (*AccountMeshDataStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountMeshDataStreamResponse.ProtoReflect.Descriptor instead.
func (*AccountMeshDataStreamResponse) GetDatum ¶
func (x *AccountMeshDataStreamResponse) GetDatum() *AccountMeshData
func (*AccountMeshDataStreamResponse) ProtoMessage ¶
func (*AccountMeshDataStreamResponse) ProtoMessage()
func (*AccountMeshDataStreamResponse) ProtoReflect ¶
func (x *AccountMeshDataStreamResponse) ProtoReflect() protoreflect.Message
func (*AccountMeshDataStreamResponse) Reset ¶
func (x *AccountMeshDataStreamResponse) Reset()
func (*AccountMeshDataStreamResponse) String ¶
func (x *AccountMeshDataStreamResponse) String() string
type AccountMeshData_Activation ¶
type AccountMeshData_Activation struct {
Activation *Activation `protobuf:"bytes,2,opt,name=activation,proto3,oneof"`
}
type AccountMeshData_MeshTransaction ¶
type AccountMeshData_MeshTransaction struct {
MeshTransaction *MeshTransaction `protobuf:"bytes,1,opt,name=mesh_transaction,json=meshTransaction,proto3,oneof"`
}
type AccountRequest ¶
type AccountRequest struct { AccountId *AccountId `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*AccountRequest) Descriptor
deprecated
func (*AccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountRequest.ProtoReflect.Descriptor instead.
func (*AccountRequest) GetAccountId ¶
func (x *AccountRequest) GetAccountId() *AccountId
func (*AccountRequest) ProtoMessage ¶
func (*AccountRequest) ProtoMessage()
func (*AccountRequest) ProtoReflect ¶
func (x *AccountRequest) ProtoReflect() protoreflect.Message
func (*AccountRequest) Reset ¶
func (x *AccountRequest) Reset()
func (*AccountRequest) String ¶
func (x *AccountRequest) String() string
type AccountResponse ¶
type AccountResponse struct { AccountWrapper *Account `protobuf:"bytes,1,opt,name=account_wrapper,json=accountWrapper,proto3" json:"account_wrapper,omitempty"` // contains filtered or unexported fields }
func (*AccountResponse) Descriptor
deprecated
func (*AccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountResponse.ProtoReflect.Descriptor instead.
func (*AccountResponse) GetAccountWrapper ¶
func (x *AccountResponse) GetAccountWrapper() *Account
func (*AccountResponse) ProtoMessage ¶
func (*AccountResponse) ProtoMessage()
func (*AccountResponse) ProtoReflect ¶
func (x *AccountResponse) ProtoReflect() protoreflect.Message
func (*AccountResponse) Reset ¶
func (x *AccountResponse) Reset()
func (*AccountResponse) String ¶
func (x *AccountResponse) String() string
type AccountState ¶
type AccountState struct { Counter uint64 `protobuf:"varint,1,opt,name=counter,proto3" json:"counter,omitempty"` // aka nonce Balance *Amount `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` // known account balance // contains filtered or unexported fields }
func (*AccountState) Descriptor
deprecated
func (*AccountState) Descriptor() ([]byte, []int)
Deprecated: Use AccountState.ProtoReflect.Descriptor instead.
func (*AccountState) GetBalance ¶
func (x *AccountState) GetBalance() *Amount
func (*AccountState) GetCounter ¶
func (x *AccountState) GetCounter() uint64
func (*AccountState) ProtoMessage ¶
func (*AccountState) ProtoMessage()
func (*AccountState) ProtoReflect ¶
func (x *AccountState) ProtoReflect() protoreflect.Message
func (*AccountState) Reset ¶
func (x *AccountState) Reset()
func (*AccountState) String ¶
func (x *AccountState) String() string
type AccountsRequest ¶ added in v1.12.0
type AccountsRequest struct { Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` // contains filtered or unexported fields }
func (*AccountsRequest) Descriptor
deprecated
added in
v1.12.0
func (*AccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountsRequest.ProtoReflect.Descriptor instead.
func (*AccountsRequest) GetLayer ¶ added in v1.12.0
func (x *AccountsRequest) GetLayer() uint32
func (*AccountsRequest) ProtoMessage ¶ added in v1.12.0
func (*AccountsRequest) ProtoMessage()
func (*AccountsRequest) ProtoReflect ¶ added in v1.12.0
func (x *AccountsRequest) ProtoReflect() protoreflect.Message
func (*AccountsRequest) Reset ¶ added in v1.12.0
func (x *AccountsRequest) Reset()
func (*AccountsRequest) String ¶ added in v1.12.0
func (x *AccountsRequest) String() string
type AccountsResponse ¶
type AccountsResponse struct { AccountWrapper []*Account `protobuf:"bytes,1,rep,name=account_wrapper,json=accountWrapper,proto3" json:"account_wrapper,omitempty"` // contains filtered or unexported fields }
func (*AccountsResponse) Descriptor
deprecated
func (*AccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountsResponse.ProtoReflect.Descriptor instead.
func (*AccountsResponse) GetAccountWrapper ¶
func (x *AccountsResponse) GetAccountWrapper() []*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 Activation ¶
type Activation struct { Id *ActivationId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Layer *LayerNumber `protobuf:"bytes,2,opt,name=layer,proto3" json:"layer,omitempty"` // the layer that this activation is part of SmesherId *SmesherId `protobuf:"bytes,3,opt,name=smesher_id,json=smesherId,proto3" json:"smesher_id,omitempty"` // id of smesher who created the ATX Coinbase *AccountId `protobuf:"bytes,4,opt,name=coinbase,proto3" json:"coinbase,omitempty"` // coinbase account id PrevAtx *ActivationId `protobuf:"bytes,5,opt,name=prev_atx,json=prevAtx,proto3" json:"prev_atx,omitempty"` // previous ATX pointed to NumUnits uint32 `protobuf:"varint,6,opt,name=num_units,json=numUnits,proto3" json:"num_units,omitempty"` // number of PoST data commitment units Sequence uint64 `protobuf:"varint,7,opt,name=sequence,proto3" json:"sequence,omitempty"` // contains filtered or unexported fields }
An Activation "transaction" (ATX)
func (*Activation) Descriptor
deprecated
func (*Activation) Descriptor() ([]byte, []int)
Deprecated: Use Activation.ProtoReflect.Descriptor instead.
func (*Activation) GetCoinbase ¶
func (x *Activation) GetCoinbase() *AccountId
func (*Activation) GetId ¶
func (x *Activation) GetId() *ActivationId
func (*Activation) GetLayer ¶
func (x *Activation) GetLayer() *LayerNumber
func (*Activation) GetNumUnits ¶ added in v1.4.0
func (x *Activation) GetNumUnits() uint32
func (*Activation) GetPrevAtx ¶
func (x *Activation) GetPrevAtx() *ActivationId
func (*Activation) GetSequence ¶ added in v1.5.1
func (x *Activation) GetSequence() uint64
func (*Activation) GetSmesherId ¶
func (x *Activation) GetSmesherId() *SmesherId
func (*Activation) ProtoMessage ¶
func (*Activation) ProtoMessage()
func (*Activation) ProtoReflect ¶
func (x *Activation) ProtoReflect() protoreflect.Message
func (*Activation) Reset ¶
func (x *Activation) Reset()
func (*Activation) String ¶
func (x *Activation) String() string
type ActivationId ¶
type ActivationId struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ActivationId) Descriptor
deprecated
func (*ActivationId) Descriptor() ([]byte, []int)
Deprecated: Use ActivationId.ProtoReflect.Descriptor instead.
func (*ActivationId) GetId ¶
func (x *ActivationId) GetId() []byte
func (*ActivationId) ProtoMessage ¶
func (*ActivationId) ProtoMessage()
func (*ActivationId) ProtoReflect ¶
func (x *ActivationId) ProtoReflect() protoreflect.Message
func (*ActivationId) Reset ¶
func (x *ActivationId) Reset()
func (*ActivationId) String ¶
func (x *ActivationId) String() string
type ActivationServiceClient ¶ added in v1.5.1
type ActivationServiceClient interface { // Get a single activation transaction Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) // Highest returns the atx id with the highest tick count. Highest(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HighestResponse, error) }
ActivationServiceClient is the client API for ActivationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewActivationServiceClient ¶ added in v1.5.1
func NewActivationServiceClient(cc grpc.ClientConnInterface) ActivationServiceClient
type ActivationServiceServer ¶ added in v1.5.1
type ActivationServiceServer interface { // Get a single activation transaction Get(context.Context, *GetRequest) (*GetResponse, error) // Highest returns the atx id with the highest tick count. Highest(context.Context, *emptypb.Empty) (*HighestResponse, error) }
ActivationServiceServer is the server API for ActivationService service. All implementations should embed UnimplementedActivationServiceServer for forward compatibility
type ActiveSetRequest ¶ added in v1.8.0
type ActiveSetRequest struct { Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` // contains filtered or unexported fields }
func (*ActiveSetRequest) Descriptor
deprecated
added in
v1.8.0
func (*ActiveSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActiveSetRequest.ProtoReflect.Descriptor instead.
func (*ActiveSetRequest) GetEpoch ¶ added in v1.8.0
func (x *ActiveSetRequest) GetEpoch() uint32
func (*ActiveSetRequest) ProtoMessage ¶ added in v1.8.0
func (*ActiveSetRequest) ProtoMessage()
func (*ActiveSetRequest) ProtoReflect ¶ added in v1.8.0
func (x *ActiveSetRequest) ProtoReflect() protoreflect.Message
func (*ActiveSetRequest) Reset ¶ added in v1.8.0
func (x *ActiveSetRequest) Reset()
func (*ActiveSetRequest) String ¶ added in v1.8.0
func (x *ActiveSetRequest) String() string
type ActiveSetResponse ¶ added in v1.8.0
type ActiveSetResponse struct { Ids []*ActivationId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*ActiveSetResponse) Descriptor
deprecated
added in
v1.8.0
func (*ActiveSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ActiveSetResponse.ProtoReflect.Descriptor instead.
func (*ActiveSetResponse) GetIds ¶ added in v1.8.0
func (x *ActiveSetResponse) GetIds() []*ActivationId
func (*ActiveSetResponse) ProtoMessage ¶ added in v1.8.0
func (*ActiveSetResponse) ProtoMessage()
func (*ActiveSetResponse) ProtoReflect ¶ added in v1.8.0
func (x *ActiveSetResponse) ProtoReflect() protoreflect.Message
func (*ActiveSetResponse) Reset ¶ added in v1.8.0
func (x *ActiveSetResponse) Reset()
func (*ActiveSetResponse) String ¶ added in v1.8.0
func (x *ActiveSetResponse) String() string
type AdminServiceClient ¶ added in v1.11.0
type AdminServiceClient interface { // Returns the checkpoint data. CheckpointStream(ctx context.Context, in *CheckpointStreamRequest, opts ...grpc.CallOption) (AdminService_CheckpointStreamClient, error) // Recovers from the provided checkpoint data. Recover(ctx context.Context, in *RecoverRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Events that are relevant for node operator EventsStream(ctx context.Context, in *EventStreamRequest, opts ...grpc.CallOption) (AdminService_EventsStreamClient, error) // PeerInfo returns info for all connected peers. PeerInfoStream(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (AdminService_PeerInfoStreamClient, error) }
AdminServiceClient is the client API for AdminService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAdminServiceClient ¶ added in v1.11.0
func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient
type AdminServiceServer ¶ added in v1.11.0
type AdminServiceServer interface { // Returns the checkpoint data. CheckpointStream(*CheckpointStreamRequest, AdminService_CheckpointStreamServer) error // Recovers from the provided checkpoint data. Recover(context.Context, *RecoverRequest) (*emptypb.Empty, error) // Events that are relevant for node operator EventsStream(*EventStreamRequest, AdminService_EventsStreamServer) error // PeerInfo returns info for all connected peers. PeerInfoStream(*emptypb.Empty, AdminService_PeerInfoStreamServer) error }
AdminServiceServer is the server API for AdminService service. All implementations should embed UnimplementedAdminServiceServer for forward compatibility
type AdminService_CheckpointStreamClient ¶ added in v1.11.0
type AdminService_CheckpointStreamClient interface { Recv() (*CheckpointStreamResponse, error) grpc.ClientStream }
type AdminService_CheckpointStreamServer ¶ added in v1.11.0
type AdminService_CheckpointStreamServer interface { Send(*CheckpointStreamResponse) error grpc.ServerStream }
type AdminService_EventsStreamClient ¶ added in v1.14.0
type AdminService_EventsStreamClient interface { Recv() (*Event, error) grpc.ClientStream }
type AdminService_EventsStreamServer ¶ added in v1.14.0
type AdminService_EventsStreamServer interface { Send(*Event) error grpc.ServerStream }
type AdminService_PeerInfoStreamClient ¶ added in v1.20.0
type AdminService_PeerInfoStreamClient interface { Recv() (*PeerInfo, error) grpc.ClientStream }
type AdminService_PeerInfoStreamServer ¶ added in v1.20.0
type AdminService_PeerInfoStreamServer interface { Send(*PeerInfo) error grpc.ServerStream }
type Amount ¶
type Amount struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A non-negative coin amount, in smidge
func (*Amount) Descriptor
deprecated
func (*Amount) ProtoMessage ¶
func (*Amount) ProtoMessage()
func (*Amount) ProtoReflect ¶
func (x *Amount) ProtoReflect() protoreflect.Message
type AppEvent ¶
type AppEvent struct { TransactionId *TransactionId `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // the transaction that called the code Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // the event's string emitted from code // contains filtered or unexported fields }
func (*AppEvent) Descriptor
deprecated
func (*AppEvent) GetMessage ¶
func (*AppEvent) GetTransactionId ¶
func (x *AppEvent) GetTransactionId() *TransactionId
func (*AppEvent) ProtoMessage ¶
func (*AppEvent) ProtoMessage()
func (*AppEvent) ProtoReflect ¶
func (x *AppEvent) ProtoReflect() protoreflect.Message
type AppEventStreamRequest ¶
type AppEventStreamRequest struct {
// contains filtered or unexported fields
}
func (*AppEventStreamRequest) Descriptor
deprecated
func (*AppEventStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppEventStreamRequest.ProtoReflect.Descriptor instead.
func (*AppEventStreamRequest) ProtoMessage ¶
func (*AppEventStreamRequest) ProtoMessage()
func (*AppEventStreamRequest) ProtoReflect ¶
func (x *AppEventStreamRequest) ProtoReflect() protoreflect.Message
func (*AppEventStreamRequest) Reset ¶
func (x *AppEventStreamRequest) Reset()
func (*AppEventStreamRequest) String ¶
func (x *AppEventStreamRequest) String() string
type AppEventStreamResponse ¶
type AppEventStreamResponse struct { Event *AppEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*AppEventStreamResponse) Descriptor
deprecated
func (*AppEventStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use AppEventStreamResponse.ProtoReflect.Descriptor instead.
func (*AppEventStreamResponse) GetEvent ¶
func (x *AppEventStreamResponse) GetEvent() *AppEvent
func (*AppEventStreamResponse) ProtoMessage ¶
func (*AppEventStreamResponse) ProtoMessage()
func (*AppEventStreamResponse) ProtoReflect ¶
func (x *AppEventStreamResponse) ProtoReflect() protoreflect.Message
func (*AppEventStreamResponse) Reset ¶
func (x *AppEventStreamResponse) Reset()
func (*AppEventStreamResponse) String ¶
func (x *AppEventStreamResponse) String() string
type Block ¶
type Block struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // block hash Transactions []*Transaction `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"` // block transactions ActivationId *ActivationId `protobuf:"bytes,3,opt,name=activation_id,json=activationId,proto3" json:"activation_id,omitempty"` // the smesher's activation that this block refers to SmesherId *SmesherId `protobuf:"bytes,4,opt,name=smesher_id,json=smesherId,proto3" json:"smesher_id,omitempty"` // the id of the smesher who submitted this block // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) GetActivationId ¶
func (x *Block) GetActivationId() *ActivationId
func (*Block) GetSmesherId ¶
func (*Block) GetTransactions ¶
func (x *Block) GetTransactions() []*Transaction
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type BuildResponse ¶
type BuildResponse struct { BuildString *SimpleString `protobuf:"bytes,1,opt,name=build_string,json=buildString,proto3" json:"build_string,omitempty"` // contains filtered or unexported fields }
func (*BuildResponse) Descriptor
deprecated
func (*BuildResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildResponse.ProtoReflect.Descriptor instead.
func (*BuildResponse) GetBuildString ¶
func (x *BuildResponse) GetBuildString() *SimpleString
func (*BuildResponse) ProtoMessage ¶
func (*BuildResponse) ProtoMessage()
func (*BuildResponse) ProtoReflect ¶
func (x *BuildResponse) ProtoReflect() protoreflect.Message
func (*BuildResponse) Reset ¶
func (x *BuildResponse) Reset()
func (*BuildResponse) String ¶
func (x *BuildResponse) String() string
type CheckpointStreamRequest ¶ added in v1.11.0
type CheckpointStreamRequest struct { SnapshotLayer uint32 `protobuf:"varint,1,opt,name=snapshot_layer,json=snapshotLayer,proto3" json:"snapshot_layer,omitempty"` NumAtxs uint32 `protobuf:"varint,2,opt,name=num_atxs,json=numAtxs,proto3" json:"num_atxs,omitempty"` // contains filtered or unexported fields }
func (*CheckpointStreamRequest) Descriptor
deprecated
added in
v1.11.0
func (*CheckpointStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckpointStreamRequest.ProtoReflect.Descriptor instead.
func (*CheckpointStreamRequest) GetNumAtxs ¶ added in v1.13.0
func (x *CheckpointStreamRequest) GetNumAtxs() uint32
func (*CheckpointStreamRequest) GetSnapshotLayer ¶ added in v1.11.0
func (x *CheckpointStreamRequest) GetSnapshotLayer() uint32
func (*CheckpointStreamRequest) ProtoMessage ¶ added in v1.11.0
func (*CheckpointStreamRequest) ProtoMessage()
func (*CheckpointStreamRequest) ProtoReflect ¶ added in v1.11.0
func (x *CheckpointStreamRequest) ProtoReflect() protoreflect.Message
func (*CheckpointStreamRequest) Reset ¶ added in v1.11.0
func (x *CheckpointStreamRequest) Reset()
func (*CheckpointStreamRequest) String ¶ added in v1.11.0
func (x *CheckpointStreamRequest) String() string
type CheckpointStreamResponse ¶ added in v1.11.0
type CheckpointStreamResponse struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CheckpointStreamResponse) Descriptor
deprecated
added in
v1.11.0
func (*CheckpointStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckpointStreamResponse.ProtoReflect.Descriptor instead.
func (*CheckpointStreamResponse) GetData ¶ added in v1.11.0
func (x *CheckpointStreamResponse) GetData() []byte
func (*CheckpointStreamResponse) ProtoMessage ¶ added in v1.11.0
func (*CheckpointStreamResponse) ProtoMessage()
func (*CheckpointStreamResponse) ProtoReflect ¶ added in v1.11.0
func (x *CheckpointStreamResponse) ProtoReflect() protoreflect.Message
func (*CheckpointStreamResponse) Reset ¶ added in v1.11.0
func (x *CheckpointStreamResponse) Reset()
func (*CheckpointStreamResponse) String ¶ added in v1.11.0
func (x *CheckpointStreamResponse) String() string
type CoinbaseResponse ¶
type CoinbaseResponse struct { AccountId *AccountId `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*CoinbaseResponse) Descriptor
deprecated
func (*CoinbaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use CoinbaseResponse.ProtoReflect.Descriptor instead.
func (*CoinbaseResponse) GetAccountId ¶
func (x *CoinbaseResponse) GetAccountId() *AccountId
func (*CoinbaseResponse) ProtoMessage ¶
func (*CoinbaseResponse) ProtoMessage()
func (*CoinbaseResponse) ProtoReflect ¶
func (x *CoinbaseResponse) ProtoReflect() protoreflect.Message
func (*CoinbaseResponse) Reset ¶
func (x *CoinbaseResponse) Reset()
func (*CoinbaseResponse) String ¶
func (x *CoinbaseResponse) String() string
type ConnectionInfo ¶ added in v1.20.0
type ConnectionInfo struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Uptime *durationpb.Duration `protobuf:"bytes,2,opt,name=uptime,proto3" json:"uptime,omitempty"` Outbound bool `protobuf:"varint,3,opt,name=outbound,proto3" json:"outbound,omitempty"` // contains filtered or unexported fields }
func (*ConnectionInfo) Descriptor
deprecated
added in
v1.20.0
func (*ConnectionInfo) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionInfo.ProtoReflect.Descriptor instead.
func (*ConnectionInfo) GetAddress ¶ added in v1.20.0
func (x *ConnectionInfo) GetAddress() string
func (*ConnectionInfo) GetOutbound ¶ added in v1.20.0
func (x *ConnectionInfo) GetOutbound() bool
func (*ConnectionInfo) GetUptime ¶ added in v1.20.0
func (x *ConnectionInfo) GetUptime() *durationpb.Duration
func (*ConnectionInfo) ProtoMessage ¶ added in v1.20.0
func (*ConnectionInfo) ProtoMessage()
func (*ConnectionInfo) ProtoReflect ¶ added in v1.20.0
func (x *ConnectionInfo) ProtoReflect() protoreflect.Message
func (*ConnectionInfo) Reset ¶ added in v1.20.0
func (x *ConnectionInfo) Reset()
func (*ConnectionInfo) String ¶ added in v1.20.0
func (x *ConnectionInfo) String() string
type CurrentEpochRequest ¶
type CurrentEpochRequest struct {
// contains filtered or unexported fields
}
func (*CurrentEpochRequest) Descriptor
deprecated
func (*CurrentEpochRequest) Descriptor() ([]byte, []int)
Deprecated: Use CurrentEpochRequest.ProtoReflect.Descriptor instead.
func (*CurrentEpochRequest) ProtoMessage ¶
func (*CurrentEpochRequest) ProtoMessage()
func (*CurrentEpochRequest) ProtoReflect ¶
func (x *CurrentEpochRequest) ProtoReflect() protoreflect.Message
func (*CurrentEpochRequest) Reset ¶
func (x *CurrentEpochRequest) Reset()
func (*CurrentEpochRequest) String ¶
func (x *CurrentEpochRequest) String() string
type CurrentEpochResponse ¶
type CurrentEpochResponse struct { Epochnum *EpochNumber `protobuf:"bytes,1,opt,name=epochnum,proto3" json:"epochnum,omitempty"` // contains filtered or unexported fields }
func (*CurrentEpochResponse) Descriptor
deprecated
func (*CurrentEpochResponse) Descriptor() ([]byte, []int)
Deprecated: Use CurrentEpochResponse.ProtoReflect.Descriptor instead.
func (*CurrentEpochResponse) GetEpochnum ¶
func (x *CurrentEpochResponse) GetEpochnum() *EpochNumber
func (*CurrentEpochResponse) ProtoMessage ¶
func (*CurrentEpochResponse) ProtoMessage()
func (*CurrentEpochResponse) ProtoReflect ¶
func (x *CurrentEpochResponse) ProtoReflect() protoreflect.Message
func (*CurrentEpochResponse) Reset ¶
func (x *CurrentEpochResponse) Reset()
func (*CurrentEpochResponse) String ¶
func (x *CurrentEpochResponse) String() string
type CurrentLayerRequest ¶
type CurrentLayerRequest struct {
// contains filtered or unexported fields
}
func (*CurrentLayerRequest) Descriptor
deprecated
func (*CurrentLayerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CurrentLayerRequest.ProtoReflect.Descriptor instead.
func (*CurrentLayerRequest) ProtoMessage ¶
func (*CurrentLayerRequest) ProtoMessage()
func (*CurrentLayerRequest) ProtoReflect ¶
func (x *CurrentLayerRequest) ProtoReflect() protoreflect.Message
func (*CurrentLayerRequest) Reset ¶
func (x *CurrentLayerRequest) Reset()
func (*CurrentLayerRequest) String ¶
func (x *CurrentLayerRequest) String() string
type CurrentLayerResponse ¶
type CurrentLayerResponse struct { Layernum *LayerNumber `protobuf:"bytes,1,opt,name=layernum,proto3" json:"layernum,omitempty"` // contains filtered or unexported fields }
func (*CurrentLayerResponse) Descriptor
deprecated
func (*CurrentLayerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CurrentLayerResponse.ProtoReflect.Descriptor instead.
func (*CurrentLayerResponse) GetLayernum ¶
func (x *CurrentLayerResponse) GetLayernum() *LayerNumber
func (*CurrentLayerResponse) ProtoMessage ¶
func (*CurrentLayerResponse) ProtoMessage()
func (*CurrentLayerResponse) ProtoReflect ¶
func (x *CurrentLayerResponse) ProtoReflect() protoreflect.Message
func (*CurrentLayerResponse) Reset ¶
func (x *CurrentLayerResponse) Reset()
func (*CurrentLayerResponse) String ¶
func (x *CurrentLayerResponse) String() string
type DebugServiceClient ¶
type DebugServiceClient interface { // NetworkInfo returns p2p network information. Mostly required for integration with deployment // and testing tooling. NetworkInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NetworkInfoResponse, error) // Accounts returns data for all the accounts currently in the node's current global state. // This includes each account's address, nonce and balance but excludes projection of account state. Accounts(ctx context.Context, in *AccountsRequest, opts ...grpc.CallOption) (*AccountsResponse, error) // ActiveSet returns the active set used by hare in a given epoch. ActiveSet(ctx context.Context, in *ActiveSetRequest, opts ...grpc.CallOption) (*ActiveSetResponse, error) // ProposalsStream streams all proposals that are confirmed by hare. ProposalsStream(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (DebugService_ProposalsStreamClient, error) }
DebugServiceClient is the client API for DebugService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDebugServiceClient ¶
func NewDebugServiceClient(cc grpc.ClientConnInterface) DebugServiceClient
type DebugServiceServer ¶
type DebugServiceServer interface { // NetworkInfo returns p2p network information. Mostly required for integration with deployment // and testing tooling. NetworkInfo(context.Context, *emptypb.Empty) (*NetworkInfoResponse, error) // Accounts returns data for all the accounts currently in the node's current global state. // This includes each account's address, nonce and balance but excludes projection of account state. Accounts(context.Context, *AccountsRequest) (*AccountsResponse, error) // ActiveSet returns the active set used by hare in a given epoch. ActiveSet(context.Context, *ActiveSetRequest) (*ActiveSetResponse, error) // ProposalsStream streams all proposals that are confirmed by hare. ProposalsStream(*emptypb.Empty, DebugService_ProposalsStreamServer) error }
DebugServiceServer is the server API for DebugService service. All implementations should embed UnimplementedDebugServiceServer for forward compatibility
type DebugService_ProposalsStreamClient ¶ added in v1.5.1
type DebugService_ProposalsStreamClient interface { Recv() (*Proposal, error) grpc.ClientStream }
type DebugService_ProposalsStreamServer ¶ added in v1.5.1
type DebugService_ProposalsStreamServer interface { Send(*Proposal) error grpc.ServerStream }
type EchoRequest ¶
type EchoRequest struct { Msg *SimpleString `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*EchoRequest) Descriptor
deprecated
func (*EchoRequest) Descriptor() ([]byte, []int)
Deprecated: Use EchoRequest.ProtoReflect.Descriptor instead.
func (*EchoRequest) GetMsg ¶
func (x *EchoRequest) GetMsg() *SimpleString
func (*EchoRequest) ProtoMessage ¶
func (*EchoRequest) ProtoMessage()
func (*EchoRequest) ProtoReflect ¶
func (x *EchoRequest) ProtoReflect() protoreflect.Message
func (*EchoRequest) Reset ¶
func (x *EchoRequest) Reset()
func (*EchoRequest) String ¶
func (x *EchoRequest) String() string
type EchoResponse ¶
type EchoResponse struct { Msg *SimpleString `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*EchoResponse) Descriptor
deprecated
func (*EchoResponse) Descriptor() ([]byte, []int)
Deprecated: Use EchoResponse.ProtoReflect.Descriptor instead.
func (*EchoResponse) GetMsg ¶
func (x *EchoResponse) GetMsg() *SimpleString
func (*EchoResponse) ProtoMessage ¶
func (*EchoResponse) ProtoMessage()
func (*EchoResponse) ProtoReflect ¶
func (x *EchoResponse) ProtoReflect() protoreflect.Message
func (*EchoResponse) Reset ¶
func (x *EchoResponse) Reset()
func (*EchoResponse) String ¶
func (x *EchoResponse) String() string
type Eligibility ¶ added in v1.5.1
type Eligibility struct { J uint32 `protobuf:"varint,1,opt,name=j,proto3" json:"j,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*Eligibility) Descriptor
deprecated
added in
v1.5.1
func (*Eligibility) Descriptor() ([]byte, []int)
Deprecated: Use Eligibility.ProtoReflect.Descriptor instead.
func (*Eligibility) GetJ ¶ added in v1.5.1
func (x *Eligibility) GetJ() uint32
func (*Eligibility) GetSignature ¶ added in v1.5.1
func (x *Eligibility) GetSignature() []byte
func (*Eligibility) ProtoMessage ¶ added in v1.5.1
func (*Eligibility) ProtoMessage()
func (*Eligibility) ProtoReflect ¶ added in v1.5.1
func (x *Eligibility) ProtoReflect() protoreflect.Message
func (*Eligibility) Reset ¶ added in v1.5.1
func (x *Eligibility) Reset()
func (*Eligibility) String ¶ added in v1.5.1
func (x *Eligibility) String() string
type EpochData ¶ added in v1.5.1
type EpochData struct { Beacon []byte `protobuf:"bytes,1,opt,name=beacon,proto3" json:"beacon,omitempty"` // contains filtered or unexported fields }
func (*EpochData) Descriptor
deprecated
added in
v1.5.1
func (*EpochData) ProtoMessage ¶ added in v1.5.1
func (*EpochData) ProtoMessage()
func (*EpochData) ProtoReflect ¶ added in v1.5.1
func (x *EpochData) ProtoReflect() protoreflect.Message
type EpochNumLayersRequest ¶
type EpochNumLayersRequest struct {
// contains filtered or unexported fields
}
func (*EpochNumLayersRequest) Descriptor
deprecated
func (*EpochNumLayersRequest) Descriptor() ([]byte, []int)
Deprecated: Use EpochNumLayersRequest.ProtoReflect.Descriptor instead.
func (*EpochNumLayersRequest) ProtoMessage ¶
func (*EpochNumLayersRequest) ProtoMessage()
func (*EpochNumLayersRequest) ProtoReflect ¶
func (x *EpochNumLayersRequest) ProtoReflect() protoreflect.Message
func (*EpochNumLayersRequest) Reset ¶
func (x *EpochNumLayersRequest) Reset()
func (*EpochNumLayersRequest) String ¶
func (x *EpochNumLayersRequest) String() string
type EpochNumLayersResponse ¶
type EpochNumLayersResponse struct { Numlayers *LayerNumber `protobuf:"bytes,1,opt,name=numlayers,proto3" json:"numlayers,omitempty"` // contains filtered or unexported fields }
func (*EpochNumLayersResponse) Descriptor
deprecated
func (*EpochNumLayersResponse) Descriptor() ([]byte, []int)
Deprecated: Use EpochNumLayersResponse.ProtoReflect.Descriptor instead.
func (*EpochNumLayersResponse) GetNumlayers ¶
func (x *EpochNumLayersResponse) GetNumlayers() *LayerNumber
func (*EpochNumLayersResponse) ProtoMessage ¶
func (*EpochNumLayersResponse) ProtoMessage()
func (*EpochNumLayersResponse) ProtoReflect ¶
func (x *EpochNumLayersResponse) ProtoReflect() protoreflect.Message
func (*EpochNumLayersResponse) Reset ¶
func (x *EpochNumLayersResponse) Reset()
func (*EpochNumLayersResponse) String ¶
func (x *EpochNumLayersResponse) String() string
type EpochNumber ¶ added in v1.9.0
type EpochNumber struct { Number uint32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*EpochNumber) Descriptor
deprecated
added in
v1.9.0
func (*EpochNumber) Descriptor() ([]byte, []int)
Deprecated: Use EpochNumber.ProtoReflect.Descriptor instead.
func (*EpochNumber) GetNumber ¶ added in v1.9.0
func (x *EpochNumber) GetNumber() uint32
func (*EpochNumber) ProtoMessage ¶ added in v1.9.0
func (*EpochNumber) ProtoMessage()
func (*EpochNumber) ProtoReflect ¶ added in v1.9.0
func (x *EpochNumber) ProtoReflect() protoreflect.Message
func (*EpochNumber) Reset ¶ added in v1.9.0
func (x *EpochNumber) Reset()
func (*EpochNumber) String ¶ added in v1.9.0
func (x *EpochNumber) String() string
type EpochStreamRequest ¶ added in v1.5.8
type EpochStreamRequest struct { Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` // contains filtered or unexported fields }
func (*EpochStreamRequest) Descriptor
deprecated
added in
v1.5.8
func (*EpochStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use EpochStreamRequest.ProtoReflect.Descriptor instead.
func (*EpochStreamRequest) GetEpoch ¶ added in v1.5.8
func (x *EpochStreamRequest) GetEpoch() uint32
func (*EpochStreamRequest) ProtoMessage ¶ added in v1.5.8
func (*EpochStreamRequest) ProtoMessage()
func (*EpochStreamRequest) ProtoReflect ¶ added in v1.5.8
func (x *EpochStreamRequest) ProtoReflect() protoreflect.Message
func (*EpochStreamRequest) Reset ¶ added in v1.5.8
func (x *EpochStreamRequest) Reset()
func (*EpochStreamRequest) String ¶ added in v1.5.8
func (x *EpochStreamRequest) String() string
type EpochStreamResponse ¶ added in v1.5.8
type EpochStreamResponse struct { Id *ActivationId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*EpochStreamResponse) Descriptor
deprecated
added in
v1.5.8
func (*EpochStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use EpochStreamResponse.ProtoReflect.Descriptor instead.
func (*EpochStreamResponse) GetId ¶ added in v1.5.9
func (x *EpochStreamResponse) GetId() *ActivationId
func (*EpochStreamResponse) ProtoMessage ¶ added in v1.5.8
func (*EpochStreamResponse) ProtoMessage()
func (*EpochStreamResponse) ProtoReflect ¶ added in v1.5.8
func (x *EpochStreamResponse) ProtoReflect() protoreflect.Message
func (*EpochStreamResponse) Reset ¶ added in v1.5.8
func (x *EpochStreamResponse) Reset()
func (*EpochStreamResponse) String ¶ added in v1.5.8
func (x *EpochStreamResponse) String() string
type ErrorStreamRequest ¶
type ErrorStreamRequest struct {
// contains filtered or unexported fields
}
func (*ErrorStreamRequest) Descriptor
deprecated
func (*ErrorStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use ErrorStreamRequest.ProtoReflect.Descriptor instead.
func (*ErrorStreamRequest) ProtoMessage ¶
func (*ErrorStreamRequest) ProtoMessage()
func (*ErrorStreamRequest) ProtoReflect ¶
func (x *ErrorStreamRequest) ProtoReflect() protoreflect.Message
func (*ErrorStreamRequest) Reset ¶
func (x *ErrorStreamRequest) Reset()
func (*ErrorStreamRequest) String ¶
func (x *ErrorStreamRequest) String() string
type ErrorStreamResponse ¶
type ErrorStreamResponse struct { Error *NodeError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ErrorStreamResponse) Descriptor
deprecated
func (*ErrorStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrorStreamResponse.ProtoReflect.Descriptor instead.
func (*ErrorStreamResponse) GetError ¶
func (x *ErrorStreamResponse) GetError() *NodeError
func (*ErrorStreamResponse) ProtoMessage ¶
func (*ErrorStreamResponse) ProtoMessage()
func (*ErrorStreamResponse) ProtoReflect ¶
func (x *ErrorStreamResponse) ProtoReflect() protoreflect.Message
func (*ErrorStreamResponse) Reset ¶
func (x *ErrorStreamResponse) Reset()
func (*ErrorStreamResponse) String ¶
func (x *ErrorStreamResponse) String() string
type EstimatedRewardsRequest ¶
type EstimatedRewardsRequest struct {
// contains filtered or unexported fields
}
func (*EstimatedRewardsRequest) Descriptor
deprecated
func (*EstimatedRewardsRequest) Descriptor() ([]byte, []int)
Deprecated: Use EstimatedRewardsRequest.ProtoReflect.Descriptor instead.
func (*EstimatedRewardsRequest) ProtoMessage ¶
func (*EstimatedRewardsRequest) ProtoMessage()
func (*EstimatedRewardsRequest) ProtoReflect ¶
func (x *EstimatedRewardsRequest) ProtoReflect() protoreflect.Message
func (*EstimatedRewardsRequest) Reset ¶
func (x *EstimatedRewardsRequest) Reset()
func (*EstimatedRewardsRequest) String ¶
func (x *EstimatedRewardsRequest) String() string
type EstimatedRewardsResponse ¶
type EstimatedRewardsResponse struct { // The amount of the total estimated reward in the next upcoming epoch Amount *Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // The number of Post data commitment units that this estimated reward corresponds to (part of global config) NumUnits uint32 `protobuf:"varint,2,opt,name=num_units,json=numUnits,proto3" json:"num_units,omitempty"` // contains filtered or unexported fields }
Estimated rewards for the next epoch. Note that this is a global value that will be the same for all smeshers, and is based on the default minimum commitment size and fixed epoch length, both of which are network params.
func (*EstimatedRewardsResponse) Descriptor
deprecated
func (*EstimatedRewardsResponse) Descriptor() ([]byte, []int)
Deprecated: Use EstimatedRewardsResponse.ProtoReflect.Descriptor instead.
func (*EstimatedRewardsResponse) GetAmount ¶
func (x *EstimatedRewardsResponse) GetAmount() *Amount
func (*EstimatedRewardsResponse) GetNumUnits ¶ added in v1.4.0
func (x *EstimatedRewardsResponse) GetNumUnits() uint32
func (*EstimatedRewardsResponse) ProtoMessage ¶
func (*EstimatedRewardsResponse) ProtoMessage()
func (*EstimatedRewardsResponse) ProtoReflect ¶
func (x *EstimatedRewardsResponse) ProtoReflect() protoreflect.Message
func (*EstimatedRewardsResponse) Reset ¶
func (x *EstimatedRewardsResponse) Reset()
func (*EstimatedRewardsResponse) String ¶
func (x *EstimatedRewardsResponse) String() string
type Event ¶ added in v1.14.0
type Event struct { // time when event occured. Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // the reason of the failure may be complex to pinpoint. // for the first version we want to highlight that failure occured and defer user to logs. Failure bool `protobuf:"varint,2,opt,name=failure,proto3" json:"failure,omitempty"` Help string `protobuf:"bytes,3,opt,name=help,proto3" json:"help,omitempty"` // Types that are assignable to Details: // // *Event_Beacon // *Event_InitStart // *Event_InitComplete // *Event_PostStart // *Event_PostComplete // *Event_PoetWaitRound // *Event_PoetWaitProof // *Event_AtxPublished // *Event_Eligibilities // *Event_Proposal // *Event_InitFailed // *Event_Malfeasance // *Event_PostServiceStarted // *Event_PostServiceStopped Details isEvent_Details `protobuf_oneof:"details"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
added in
v1.14.0
func (*Event) GetAtxPublished ¶ added in v1.14.0
func (x *Event) GetAtxPublished() *EventAtxPubished
func (*Event) GetBeacon ¶ added in v1.14.0
func (x *Event) GetBeacon() *EventBeacon
func (*Event) GetDetails ¶ added in v1.14.0
func (m *Event) GetDetails() isEvent_Details
func (*Event) GetEligibilities ¶ added in v1.14.0
func (x *Event) GetEligibilities() *EventEligibilities
func (*Event) GetFailure ¶ added in v1.14.0
func (*Event) GetInitComplete ¶ added in v1.14.0
func (x *Event) GetInitComplete() *EventInitComplete
func (*Event) GetInitFailed ¶ added in v1.17.0
func (x *Event) GetInitFailed() *EventInitFailed
func (*Event) GetInitStart ¶ added in v1.14.0
func (x *Event) GetInitStart() *EventInitStart
func (*Event) GetMalfeasance ¶ added in v1.19.0
func (x *Event) GetMalfeasance() *EventMalfeasance
func (*Event) GetPoetWaitProof ¶ added in v1.14.0
func (x *Event) GetPoetWaitProof() *EventPoetWaitProof
func (*Event) GetPoetWaitRound ¶ added in v1.14.0
func (x *Event) GetPoetWaitRound() *EventPoetWaitRound
func (*Event) GetPostComplete ¶ added in v1.14.0
func (x *Event) GetPostComplete() *EventPostComplete
func (*Event) GetPostServiceStarted ¶ added in v1.22.0
func (x *Event) GetPostServiceStarted() *EventPostServiceStarted
func (*Event) GetPostServiceStopped ¶ added in v1.22.0
func (x *Event) GetPostServiceStopped() *EventPostServiceStopped
func (*Event) GetPostStart ¶ added in v1.14.0
func (x *Event) GetPostStart() *EventPostStart
func (*Event) GetProposal ¶ added in v1.14.0
func (x *Event) GetProposal() *EventProposal
func (*Event) GetTimestamp ¶ added in v1.14.0
func (x *Event) GetTimestamp() *timestamppb.Timestamp
func (*Event) ProtoMessage ¶ added in v1.14.0
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶ added in v1.14.0
func (x *Event) ProtoReflect() protoreflect.Message
type EventAtxPubished ¶ added in v1.14.0
type EventAtxPubished struct { Current uint32 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"` Target uint32 `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"` Id []byte `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Wait *durationpb.Duration `protobuf:"bytes,4,opt,name=wait,proto3" json:"wait,omitempty"` // contains filtered or unexported fields }
func (*EventAtxPubished) Descriptor
deprecated
added in
v1.14.0
func (*EventAtxPubished) Descriptor() ([]byte, []int)
Deprecated: Use EventAtxPubished.ProtoReflect.Descriptor instead.
func (*EventAtxPubished) GetCurrent ¶ added in v1.14.0
func (x *EventAtxPubished) GetCurrent() uint32
func (*EventAtxPubished) GetId ¶ added in v1.14.0
func (x *EventAtxPubished) GetId() []byte
func (*EventAtxPubished) GetTarget ¶ added in v1.14.0
func (x *EventAtxPubished) GetTarget() uint32
func (*EventAtxPubished) GetWait ¶ added in v1.14.0
func (x *EventAtxPubished) GetWait() *durationpb.Duration
func (*EventAtxPubished) ProtoMessage ¶ added in v1.14.0
func (*EventAtxPubished) ProtoMessage()
func (*EventAtxPubished) ProtoReflect ¶ added in v1.14.0
func (x *EventAtxPubished) ProtoReflect() protoreflect.Message
func (*EventAtxPubished) Reset ¶ added in v1.14.0
func (x *EventAtxPubished) Reset()
func (*EventAtxPubished) String ¶ added in v1.14.0
func (x *EventAtxPubished) String() string
type EventBeacon ¶ added in v1.14.0
type EventBeacon struct { Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Beacon []byte `protobuf:"bytes,2,opt,name=beacon,proto3" json:"beacon,omitempty"` // contains filtered or unexported fields }
func (*EventBeacon) Descriptor
deprecated
added in
v1.14.0
func (*EventBeacon) Descriptor() ([]byte, []int)
Deprecated: Use EventBeacon.ProtoReflect.Descriptor instead.
func (*EventBeacon) GetBeacon ¶ added in v1.14.0
func (x *EventBeacon) GetBeacon() []byte
func (*EventBeacon) GetEpoch ¶ added in v1.14.0
func (x *EventBeacon) GetEpoch() uint32
func (*EventBeacon) ProtoMessage ¶ added in v1.14.0
func (*EventBeacon) ProtoMessage()
func (*EventBeacon) ProtoReflect ¶ added in v1.14.0
func (x *EventBeacon) ProtoReflect() protoreflect.Message
func (*EventBeacon) Reset ¶ added in v1.14.0
func (x *EventBeacon) Reset()
func (*EventBeacon) String ¶ added in v1.14.0
func (x *EventBeacon) String() string
type EventEligibilities ¶ added in v1.14.0
type EventEligibilities struct { Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Beacon []byte `protobuf:"bytes,2,opt,name=beacon,proto3" json:"beacon,omitempty"` Atx []byte `protobuf:"bytes,3,opt,name=atx,proto3" json:"atx,omitempty"` ActiveSetSize uint32 `protobuf:"varint,4,opt,name=active_set_size,json=activeSetSize,proto3" json:"active_set_size,omitempty"` Eligibilities []*ProposalEligibility `protobuf:"bytes,5,rep,name=eligibilities,proto3" json:"eligibilities,omitempty"` // contains filtered or unexported fields }
func (*EventEligibilities) Descriptor
deprecated
added in
v1.14.0
func (*EventEligibilities) Descriptor() ([]byte, []int)
Deprecated: Use EventEligibilities.ProtoReflect.Descriptor instead.
func (*EventEligibilities) GetActiveSetSize ¶ added in v1.14.0
func (x *EventEligibilities) GetActiveSetSize() uint32
func (*EventEligibilities) GetAtx ¶ added in v1.14.0
func (x *EventEligibilities) GetAtx() []byte
func (*EventEligibilities) GetBeacon ¶ added in v1.14.0
func (x *EventEligibilities) GetBeacon() []byte
func (*EventEligibilities) GetEligibilities ¶ added in v1.14.0
func (x *EventEligibilities) GetEligibilities() []*ProposalEligibility
func (*EventEligibilities) GetEpoch ¶ added in v1.14.0
func (x *EventEligibilities) GetEpoch() uint32
func (*EventEligibilities) ProtoMessage ¶ added in v1.14.0
func (*EventEligibilities) ProtoMessage()
func (*EventEligibilities) ProtoReflect ¶ added in v1.14.0
func (x *EventEligibilities) ProtoReflect() protoreflect.Message
func (*EventEligibilities) Reset ¶ added in v1.14.0
func (x *EventEligibilities) Reset()
func (*EventEligibilities) String ¶ added in v1.14.0
func (x *EventEligibilities) String() string
type EventInitComplete ¶ added in v1.14.0
type EventInitComplete struct {
// contains filtered or unexported fields
}
func (*EventInitComplete) Descriptor
deprecated
added in
v1.14.0
func (*EventInitComplete) Descriptor() ([]byte, []int)
Deprecated: Use EventInitComplete.ProtoReflect.Descriptor instead.
func (*EventInitComplete) ProtoMessage ¶ added in v1.14.0
func (*EventInitComplete) ProtoMessage()
func (*EventInitComplete) ProtoReflect ¶ added in v1.14.0
func (x *EventInitComplete) ProtoReflect() protoreflect.Message
func (*EventInitComplete) Reset ¶ added in v1.14.0
func (x *EventInitComplete) Reset()
func (*EventInitComplete) String ¶ added in v1.14.0
func (x *EventInitComplete) String() string
type EventInitFailed ¶ added in v1.17.0
type EventInitFailed struct { Smesher []byte `protobuf:"bytes,1,opt,name=smesher,proto3" json:"smesher,omitempty"` Commitment []byte `protobuf:"bytes,2,opt,name=commitment,proto3" json:"commitment,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*EventInitFailed) Descriptor
deprecated
added in
v1.17.0
func (*EventInitFailed) Descriptor() ([]byte, []int)
Deprecated: Use EventInitFailed.ProtoReflect.Descriptor instead.
func (*EventInitFailed) GetCommitment ¶ added in v1.17.0
func (x *EventInitFailed) GetCommitment() []byte
func (*EventInitFailed) GetError ¶ added in v1.17.0
func (x *EventInitFailed) GetError() string
func (*EventInitFailed) GetSmesher ¶ added in v1.17.0
func (x *EventInitFailed) GetSmesher() []byte
func (*EventInitFailed) ProtoMessage ¶ added in v1.17.0
func (*EventInitFailed) ProtoMessage()
func (*EventInitFailed) ProtoReflect ¶ added in v1.17.0
func (x *EventInitFailed) ProtoReflect() protoreflect.Message
func (*EventInitFailed) Reset ¶ added in v1.17.0
func (x *EventInitFailed) Reset()
func (*EventInitFailed) String ¶ added in v1.17.0
func (x *EventInitFailed) String() string
type EventInitStart ¶ added in v1.14.0
type EventInitStart struct { Smesher []byte `protobuf:"bytes,1,opt,name=smesher,proto3" json:"smesher,omitempty"` Commitment []byte `protobuf:"bytes,2,opt,name=commitment,proto3" json:"commitment,omitempty"` // contains filtered or unexported fields }
func (*EventInitStart) Descriptor
deprecated
added in
v1.14.0
func (*EventInitStart) Descriptor() ([]byte, []int)
Deprecated: Use EventInitStart.ProtoReflect.Descriptor instead.
func (*EventInitStart) GetCommitment ¶ added in v1.14.0
func (x *EventInitStart) GetCommitment() []byte
func (*EventInitStart) GetSmesher ¶ added in v1.14.0
func (x *EventInitStart) GetSmesher() []byte
func (*EventInitStart) ProtoMessage ¶ added in v1.14.0
func (*EventInitStart) ProtoMessage()
func (*EventInitStart) ProtoReflect ¶ added in v1.14.0
func (x *EventInitStart) ProtoReflect() protoreflect.Message
func (*EventInitStart) Reset ¶ added in v1.14.0
func (x *EventInitStart) Reset()
func (*EventInitStart) String ¶ added in v1.14.0
func (x *EventInitStart) String() string
type EventMalfeasance ¶ added in v1.19.0
type EventMalfeasance struct { Proof *MalfeasanceProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*EventMalfeasance) Descriptor
deprecated
added in
v1.19.0
func (*EventMalfeasance) Descriptor() ([]byte, []int)
Deprecated: Use EventMalfeasance.ProtoReflect.Descriptor instead.
func (*EventMalfeasance) GetProof ¶ added in v1.19.0
func (x *EventMalfeasance) GetProof() *MalfeasanceProof
func (*EventMalfeasance) ProtoMessage ¶ added in v1.19.0
func (*EventMalfeasance) ProtoMessage()
func (*EventMalfeasance) ProtoReflect ¶ added in v1.19.0
func (x *EventMalfeasance) ProtoReflect() protoreflect.Message
func (*EventMalfeasance) Reset ¶ added in v1.19.0
func (x *EventMalfeasance) Reset()
func (*EventMalfeasance) String ¶ added in v1.19.0
func (x *EventMalfeasance) String() string
type EventPoetWaitProof ¶ added in v1.14.0
type EventPoetWaitProof struct { Publish uint32 `protobuf:"varint,1,opt,name=publish,proto3" json:"publish,omitempty"` Target uint32 `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"` Wait *durationpb.Duration `protobuf:"bytes,3,opt,name=wait,proto3" json:"wait,omitempty"` // contains filtered or unexported fields }
func (*EventPoetWaitProof) Descriptor
deprecated
added in
v1.14.0
func (*EventPoetWaitProof) Descriptor() ([]byte, []int)
Deprecated: Use EventPoetWaitProof.ProtoReflect.Descriptor instead.
func (*EventPoetWaitProof) GetPublish ¶ added in v1.14.0
func (x *EventPoetWaitProof) GetPublish() uint32
func (*EventPoetWaitProof) GetTarget ¶ added in v1.14.0
func (x *EventPoetWaitProof) GetTarget() uint32
func (*EventPoetWaitProof) GetWait ¶ added in v1.14.0
func (x *EventPoetWaitProof) GetWait() *durationpb.Duration
func (*EventPoetWaitProof) ProtoMessage ¶ added in v1.14.0
func (*EventPoetWaitProof) ProtoMessage()
func (*EventPoetWaitProof) ProtoReflect ¶ added in v1.14.0
func (x *EventPoetWaitProof) ProtoReflect() protoreflect.Message
func (*EventPoetWaitProof) Reset ¶ added in v1.14.0
func (x *EventPoetWaitProof) Reset()
func (*EventPoetWaitProof) String ¶ added in v1.14.0
func (x *EventPoetWaitProof) String() string
type EventPoetWaitRound ¶ added in v1.14.0
type EventPoetWaitRound struct { Current uint32 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"` Publish uint32 `protobuf:"varint,2,opt,name=publish,proto3" json:"publish,omitempty"` Wait *durationpb.Duration `protobuf:"bytes,3,opt,name=wait,proto3" json:"wait,omitempty"` // contains filtered or unexported fields }
func (*EventPoetWaitRound) Descriptor
deprecated
added in
v1.14.0
func (*EventPoetWaitRound) Descriptor() ([]byte, []int)
Deprecated: Use EventPoetWaitRound.ProtoReflect.Descriptor instead.
func (*EventPoetWaitRound) GetCurrent ¶ added in v1.14.0
func (x *EventPoetWaitRound) GetCurrent() uint32
func (*EventPoetWaitRound) GetPublish ¶ added in v1.14.0
func (x *EventPoetWaitRound) GetPublish() uint32
func (*EventPoetWaitRound) GetWait ¶ added in v1.14.0
func (x *EventPoetWaitRound) GetWait() *durationpb.Duration
func (*EventPoetWaitRound) ProtoMessage ¶ added in v1.14.0
func (*EventPoetWaitRound) ProtoMessage()
func (*EventPoetWaitRound) ProtoReflect ¶ added in v1.14.0
func (x *EventPoetWaitRound) ProtoReflect() protoreflect.Message
func (*EventPoetWaitRound) Reset ¶ added in v1.14.0
func (x *EventPoetWaitRound) Reset()
func (*EventPoetWaitRound) String ¶ added in v1.14.0
func (x *EventPoetWaitRound) String() string
type EventPostComplete ¶ added in v1.14.0
type EventPostComplete struct { Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` // contains filtered or unexported fields }
func (*EventPostComplete) Descriptor
deprecated
added in
v1.14.0
func (*EventPostComplete) Descriptor() ([]byte, []int)
Deprecated: Use EventPostComplete.ProtoReflect.Descriptor instead.
func (*EventPostComplete) GetChallenge ¶ added in v1.14.0
func (x *EventPostComplete) GetChallenge() []byte
func (*EventPostComplete) ProtoMessage ¶ added in v1.14.0
func (*EventPostComplete) ProtoMessage()
func (*EventPostComplete) ProtoReflect ¶ added in v1.14.0
func (x *EventPostComplete) ProtoReflect() protoreflect.Message
func (*EventPostComplete) Reset ¶ added in v1.14.0
func (x *EventPostComplete) Reset()
func (*EventPostComplete) String ¶ added in v1.14.0
func (x *EventPostComplete) String() string
type EventPostServiceStarted ¶ added in v1.22.0
type EventPostServiceStarted struct {
// contains filtered or unexported fields
}
func (*EventPostServiceStarted) Descriptor
deprecated
added in
v1.22.0
func (*EventPostServiceStarted) Descriptor() ([]byte, []int)
Deprecated: Use EventPostServiceStarted.ProtoReflect.Descriptor instead.
func (*EventPostServiceStarted) ProtoMessage ¶ added in v1.22.0
func (*EventPostServiceStarted) ProtoMessage()
func (*EventPostServiceStarted) ProtoReflect ¶ added in v1.22.0
func (x *EventPostServiceStarted) ProtoReflect() protoreflect.Message
func (*EventPostServiceStarted) Reset ¶ added in v1.22.0
func (x *EventPostServiceStarted) Reset()
func (*EventPostServiceStarted) String ¶ added in v1.22.0
func (x *EventPostServiceStarted) String() string
type EventPostServiceStopped ¶ added in v1.22.0
type EventPostServiceStopped struct {
// contains filtered or unexported fields
}
func (*EventPostServiceStopped) Descriptor
deprecated
added in
v1.22.0
func (*EventPostServiceStopped) Descriptor() ([]byte, []int)
Deprecated: Use EventPostServiceStopped.ProtoReflect.Descriptor instead.
func (*EventPostServiceStopped) ProtoMessage ¶ added in v1.22.0
func (*EventPostServiceStopped) ProtoMessage()
func (*EventPostServiceStopped) ProtoReflect ¶ added in v1.22.0
func (x *EventPostServiceStopped) ProtoReflect() protoreflect.Message
func (*EventPostServiceStopped) Reset ¶ added in v1.22.0
func (x *EventPostServiceStopped) Reset()
func (*EventPostServiceStopped) String ¶ added in v1.22.0
func (x *EventPostServiceStopped) String() string
type EventPostStart ¶ added in v1.14.0
type EventPostStart struct { Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` // contains filtered or unexported fields }
func (*EventPostStart) Descriptor
deprecated
added in
v1.14.0
func (*EventPostStart) Descriptor() ([]byte, []int)
Deprecated: Use EventPostStart.ProtoReflect.Descriptor instead.
func (*EventPostStart) GetChallenge ¶ added in v1.14.0
func (x *EventPostStart) GetChallenge() []byte
func (*EventPostStart) ProtoMessage ¶ added in v1.14.0
func (*EventPostStart) ProtoMessage()
func (*EventPostStart) ProtoReflect ¶ added in v1.14.0
func (x *EventPostStart) ProtoReflect() protoreflect.Message
func (*EventPostStart) Reset ¶ added in v1.14.0
func (x *EventPostStart) Reset()
func (*EventPostStart) String ¶ added in v1.14.0
func (x *EventPostStart) String() string
type EventProposal ¶ added in v1.14.0
type EventProposal struct { Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` Proposal []byte `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"` // contains filtered or unexported fields }
Published proposal. Rewards will be received, once proposal is included into the block.
func (*EventProposal) Descriptor
deprecated
added in
v1.14.0
func (*EventProposal) Descriptor() ([]byte, []int)
Deprecated: Use EventProposal.ProtoReflect.Descriptor instead.
func (*EventProposal) GetLayer ¶ added in v1.14.0
func (x *EventProposal) GetLayer() uint32
func (*EventProposal) GetProposal ¶ added in v1.14.0
func (x *EventProposal) GetProposal() []byte
func (*EventProposal) ProtoMessage ¶ added in v1.14.0
func (*EventProposal) ProtoMessage()
func (*EventProposal) ProtoReflect ¶ added in v1.14.0
func (x *EventProposal) ProtoReflect() protoreflect.Message
func (*EventProposal) Reset ¶ added in v1.14.0
func (x *EventProposal) Reset()
func (*EventProposal) String ¶ added in v1.14.0
func (x *EventProposal) String() string
type EventStreamRequest ¶ added in v1.14.0
type EventStreamRequest struct {
// contains filtered or unexported fields
}
func (*EventStreamRequest) Descriptor
deprecated
added in
v1.14.0
func (*EventStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use EventStreamRequest.ProtoReflect.Descriptor instead.
func (*EventStreamRequest) ProtoMessage ¶ added in v1.14.0
func (*EventStreamRequest) ProtoMessage()
func (*EventStreamRequest) ProtoReflect ¶ added in v1.14.0
func (x *EventStreamRequest) ProtoReflect() protoreflect.Message
func (*EventStreamRequest) Reset ¶ added in v1.14.0
func (x *EventStreamRequest) Reset()
func (*EventStreamRequest) String ¶ added in v1.14.0
func (x *EventStreamRequest) String() string
type Event_AtxPublished ¶ added in v1.14.0
type Event_AtxPublished struct {
AtxPublished *EventAtxPubished `protobuf:"bytes,11,opt,name=atx_published,json=atxPublished,proto3,oneof"`
}
type Event_Beacon ¶ added in v1.14.0
type Event_Beacon struct {
Beacon *EventBeacon `protobuf:"bytes,4,opt,name=beacon,proto3,oneof"`
}
type Event_Eligibilities ¶ added in v1.14.0
type Event_Eligibilities struct {
Eligibilities *EventEligibilities `protobuf:"bytes,12,opt,name=eligibilities,proto3,oneof"`
}
type Event_InitComplete ¶ added in v1.14.0
type Event_InitComplete struct {
InitComplete *EventInitComplete `protobuf:"bytes,6,opt,name=init_complete,json=initComplete,proto3,oneof"`
}
type Event_InitFailed ¶ added in v1.17.0
type Event_InitFailed struct {
InitFailed *EventInitFailed `protobuf:"bytes,14,opt,name=init_failed,json=initFailed,proto3,oneof"`
}
type Event_InitStart ¶ added in v1.14.0
type Event_InitStart struct {
InitStart *EventInitStart `protobuf:"bytes,5,opt,name=init_start,json=initStart,proto3,oneof"`
}
type Event_Malfeasance ¶ added in v1.19.0
type Event_Malfeasance struct {
Malfeasance *EventMalfeasance `protobuf:"bytes,15,opt,name=malfeasance,proto3,oneof"`
}
type Event_PoetWaitProof ¶ added in v1.14.0
type Event_PoetWaitProof struct {
PoetWaitProof *EventPoetWaitProof `protobuf:"bytes,10,opt,name=poet_wait_proof,json=poetWaitProof,proto3,oneof"`
}
type Event_PoetWaitRound ¶ added in v1.14.0
type Event_PoetWaitRound struct {
PoetWaitRound *EventPoetWaitRound `protobuf:"bytes,9,opt,name=poet_wait_round,json=poetWaitRound,proto3,oneof"`
}
type Event_PostComplete ¶ added in v1.14.0
type Event_PostComplete struct {
PostComplete *EventPostComplete `protobuf:"bytes,8,opt,name=post_complete,json=postComplete,proto3,oneof"`
}
type Event_PostServiceStarted ¶ added in v1.22.0
type Event_PostServiceStarted struct {
PostServiceStarted *EventPostServiceStarted `protobuf:"bytes,16,opt,name=post_service_started,json=postServiceStarted,proto3,oneof"`
}
type Event_PostServiceStopped ¶ added in v1.22.0
type Event_PostServiceStopped struct {
PostServiceStopped *EventPostServiceStopped `protobuf:"bytes,17,opt,name=post_service_stopped,json=postServiceStopped,proto3,oneof"`
}
type Event_PostStart ¶ added in v1.14.0
type Event_PostStart struct {
PostStart *EventPostStart `protobuf:"bytes,7,opt,name=post_start,json=postStart,proto3,oneof"`
}
type Event_Proposal ¶ added in v1.14.0
type Event_Proposal struct {
Proposal *EventProposal `protobuf:"bytes,13,opt,name=proposal,proto3,oneof"`
}
type GenProofRequest ¶ added in v1.22.0
type GenProofRequest struct { Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` // contains filtered or unexported fields }
func (*GenProofRequest) Descriptor
deprecated
added in
v1.22.0
func (*GenProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenProofRequest.ProtoReflect.Descriptor instead.
func (*GenProofRequest) GetChallenge ¶ added in v1.22.0
func (x *GenProofRequest) GetChallenge() []byte
func (*GenProofRequest) ProtoMessage ¶ added in v1.22.0
func (*GenProofRequest) ProtoMessage()
func (*GenProofRequest) ProtoReflect ¶ added in v1.22.0
func (x *GenProofRequest) ProtoReflect() protoreflect.Message
func (*GenProofRequest) Reset ¶ added in v1.22.0
func (x *GenProofRequest) Reset()
func (*GenProofRequest) String ¶ added in v1.22.0
func (x *GenProofRequest) String() string
type GenProofResponse ¶ added in v1.22.0
type GenProofResponse struct { Status GenProofStatus `protobuf:"varint,1,opt,name=status,proto3,enum=spacemesh.v1.GenProofStatus" json:"status,omitempty"` Proof *Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` Metadata *ProofMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*GenProofResponse) Descriptor
deprecated
added in
v1.22.0
func (*GenProofResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenProofResponse.ProtoReflect.Descriptor instead.
func (*GenProofResponse) GetMetadata ¶ added in v1.22.0
func (x *GenProofResponse) GetMetadata() *ProofMetadata
func (*GenProofResponse) GetProof ¶ added in v1.22.0
func (x *GenProofResponse) GetProof() *Proof
func (*GenProofResponse) GetStatus ¶ added in v1.22.0
func (x *GenProofResponse) GetStatus() GenProofStatus
func (*GenProofResponse) ProtoMessage ¶ added in v1.22.0
func (*GenProofResponse) ProtoMessage()
func (*GenProofResponse) ProtoReflect ¶ added in v1.22.0
func (x *GenProofResponse) ProtoReflect() protoreflect.Message
func (*GenProofResponse) Reset ¶ added in v1.22.0
func (x *GenProofResponse) Reset()
func (*GenProofResponse) String ¶ added in v1.22.0
func (x *GenProofResponse) String() string
type GenProofStatus ¶ added in v1.22.0
type GenProofStatus int32
const ( GenProofStatus_GEN_PROOF_STATUS_UNSPECIFIED GenProofStatus = 0 GenProofStatus_GEN_PROOF_STATUS_OK GenProofStatus = 1 GenProofStatus_GEN_PROOF_STATUS_ERROR GenProofStatus = 2 )
func (GenProofStatus) Descriptor ¶ added in v1.22.0
func (GenProofStatus) Descriptor() protoreflect.EnumDescriptor
func (GenProofStatus) Enum ¶ added in v1.22.0
func (x GenProofStatus) Enum() *GenProofStatus
func (GenProofStatus) EnumDescriptor
deprecated
added in
v1.22.0
func (GenProofStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use GenProofStatus.Descriptor instead.
func (GenProofStatus) Number ¶ added in v1.22.0
func (x GenProofStatus) Number() protoreflect.EnumNumber
func (GenProofStatus) String ¶ added in v1.22.0
func (x GenProofStatus) String() string
func (GenProofStatus) Type ¶ added in v1.22.0
func (GenProofStatus) Type() protoreflect.EnumType
type GenesisIDRequest ¶ added in v1.5.1
type GenesisIDRequest struct {
// contains filtered or unexported fields
}
func (*GenesisIDRequest) Descriptor
deprecated
added in
v1.5.1
func (*GenesisIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenesisIDRequest.ProtoReflect.Descriptor instead.
func (*GenesisIDRequest) ProtoMessage ¶ added in v1.5.1
func (*GenesisIDRequest) ProtoMessage()
func (*GenesisIDRequest) ProtoReflect ¶ added in v1.5.1
func (x *GenesisIDRequest) ProtoReflect() protoreflect.Message
func (*GenesisIDRequest) Reset ¶ added in v1.5.1
func (x *GenesisIDRequest) Reset()
func (*GenesisIDRequest) String ¶ added in v1.5.1
func (x *GenesisIDRequest) String() string
type GenesisIDResponse ¶ added in v1.5.1
type GenesisIDResponse struct { GenesisId []byte `protobuf:"bytes,1,opt,name=genesis_id,json=genesisId,proto3" json:"genesis_id,omitempty"` // contains filtered or unexported fields }
func (*GenesisIDResponse) Descriptor
deprecated
added in
v1.5.1
func (*GenesisIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenesisIDResponse.ProtoReflect.Descriptor instead.
func (*GenesisIDResponse) GetGenesisId ¶ added in v1.5.1
func (x *GenesisIDResponse) GetGenesisId() []byte
func (*GenesisIDResponse) ProtoMessage ¶ added in v1.5.1
func (*GenesisIDResponse) ProtoMessage()
func (*GenesisIDResponse) ProtoReflect ¶ added in v1.5.1
func (x *GenesisIDResponse) ProtoReflect() protoreflect.Message
func (*GenesisIDResponse) Reset ¶ added in v1.5.1
func (x *GenesisIDResponse) Reset()
func (*GenesisIDResponse) String ¶ added in v1.5.1
func (x *GenesisIDResponse) String() string
type GenesisTimeRequest ¶
type GenesisTimeRequest struct {
// contains filtered or unexported fields
}
func (*GenesisTimeRequest) Descriptor
deprecated
func (*GenesisTimeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenesisTimeRequest.ProtoReflect.Descriptor instead.
func (*GenesisTimeRequest) ProtoMessage ¶
func (*GenesisTimeRequest) ProtoMessage()
func (*GenesisTimeRequest) ProtoReflect ¶
func (x *GenesisTimeRequest) ProtoReflect() protoreflect.Message
func (*GenesisTimeRequest) Reset ¶
func (x *GenesisTimeRequest) Reset()
func (*GenesisTimeRequest) String ¶
func (x *GenesisTimeRequest) String() string
type GenesisTimeResponse ¶
type GenesisTimeResponse struct { Unixtime *SimpleInt `protobuf:"bytes,1,opt,name=unixtime,proto3" json:"unixtime,omitempty"` // contains filtered or unexported fields }
func (*GenesisTimeResponse) Descriptor
deprecated
func (*GenesisTimeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenesisTimeResponse.ProtoReflect.Descriptor instead.
func (*GenesisTimeResponse) GetUnixtime ¶
func (x *GenesisTimeResponse) GetUnixtime() *SimpleInt
func (*GenesisTimeResponse) ProtoMessage ¶
func (*GenesisTimeResponse) ProtoMessage()
func (*GenesisTimeResponse) ProtoReflect ¶
func (x *GenesisTimeResponse) ProtoReflect() protoreflect.Message
func (*GenesisTimeResponse) Reset ¶
func (x *GenesisTimeResponse) Reset()
func (*GenesisTimeResponse) String ¶
func (x *GenesisTimeResponse) String() string
type GetRequest ¶ added in v1.5.1
type GetRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
added in
v1.5.1
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetId ¶ added in v1.5.1
func (x *GetRequest) GetId() []byte
func (*GetRequest) ProtoMessage ¶ added in v1.5.1
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶ added in v1.5.1
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶ added in v1.5.1
func (x *GetRequest) Reset()
func (*GetRequest) String ¶ added in v1.5.1
func (x *GetRequest) String() string
type GetResponse ¶ added in v1.5.1
type GetResponse struct { Atx *Activation `protobuf:"bytes,1,opt,name=atx,proto3" json:"atx,omitempty"` MalfeasanceProof *MalfeasanceProof `protobuf:"bytes,2,opt,name=malfeasance_proof,json=malfeasanceProof,proto3" json:"malfeasance_proof,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
added in
v1.5.1
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetAtx ¶ added in v1.5.1
func (x *GetResponse) GetAtx() *Activation
func (*GetResponse) GetMalfeasanceProof ¶ added in v1.19.0
func (x *GetResponse) GetMalfeasanceProof() *MalfeasanceProof
func (*GetResponse) ProtoMessage ¶ added in v1.5.1
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶ added in v1.5.1
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶ added in v1.5.1
func (x *GetResponse) Reset()
func (*GetResponse) String ¶ added in v1.5.1
func (x *GetResponse) String() string
type GlobalStateData ¶
type GlobalStateData struct { // Types that are assignable to Datum: // // *GlobalStateData_Reward // *GlobalStateData_Receipt // *GlobalStateData_AccountWrapper // *GlobalStateData_GlobalState Datum isGlobalStateData_Datum `protobuf_oneof:"datum"` // contains filtered or unexported fields }
func (*GlobalStateData) Descriptor
deprecated
func (*GlobalStateData) Descriptor() ([]byte, []int)
Deprecated: Use GlobalStateData.ProtoReflect.Descriptor instead.
func (*GlobalStateData) GetAccountWrapper ¶
func (x *GlobalStateData) GetAccountWrapper() *Account
func (*GlobalStateData) GetDatum ¶
func (m *GlobalStateData) GetDatum() isGlobalStateData_Datum
func (*GlobalStateData) GetGlobalState ¶
func (x *GlobalStateData) GetGlobalState() *GlobalStateHash
func (*GlobalStateData) GetReceipt ¶
func (x *GlobalStateData) GetReceipt() *TransactionReceipt
func (*GlobalStateData) GetReward ¶
func (x *GlobalStateData) GetReward() *Reward
func (*GlobalStateData) ProtoMessage ¶
func (*GlobalStateData) ProtoMessage()
func (*GlobalStateData) ProtoReflect ¶
func (x *GlobalStateData) ProtoReflect() protoreflect.Message
func (*GlobalStateData) Reset ¶
func (x *GlobalStateData) Reset()
func (*GlobalStateData) String ¶
func (x *GlobalStateData) String() string
type GlobalStateDataFlag ¶
type GlobalStateDataFlag int32
const ( GlobalStateDataFlag_GLOBAL_STATE_DATA_FLAG_UNSPECIFIED GlobalStateDataFlag = 0 GlobalStateDataFlag_GLOBAL_STATE_DATA_FLAG_TRANSACTION_RECEIPT GlobalStateDataFlag = 1 // tx receipt generated GlobalStateDataFlag_GLOBAL_STATE_DATA_FLAG_REWARD GlobalStateDataFlag = 2 // reward awarded to an account (includes fees paid) GlobalStateDataFlag_GLOBAL_STATE_DATA_FLAG_ACCOUNT GlobalStateDataFlag = 4 // account data changes (counter or balance) GlobalStateDataFlag_GLOBAL_STATE_DATA_FLAG_GLOBAL_STATE_HASH GlobalStateDataFlag = 8 // hash of global state (i.e., state root) )
func (GlobalStateDataFlag) Descriptor ¶
func (GlobalStateDataFlag) Descriptor() protoreflect.EnumDescriptor
func (GlobalStateDataFlag) Enum ¶
func (x GlobalStateDataFlag) Enum() *GlobalStateDataFlag
func (GlobalStateDataFlag) EnumDescriptor
deprecated
func (GlobalStateDataFlag) EnumDescriptor() ([]byte, []int)
Deprecated: Use GlobalStateDataFlag.Descriptor instead.
func (GlobalStateDataFlag) Number ¶
func (x GlobalStateDataFlag) Number() protoreflect.EnumNumber
func (GlobalStateDataFlag) String ¶
func (x GlobalStateDataFlag) String() string
func (GlobalStateDataFlag) Type ¶
func (GlobalStateDataFlag) Type() protoreflect.EnumType
type GlobalStateData_AccountWrapper ¶
type GlobalStateData_AccountWrapper struct {
AccountWrapper *Account `protobuf:"bytes,3,opt,name=account_wrapper,json=accountWrapper,proto3,oneof"`
}
type GlobalStateData_GlobalState ¶
type GlobalStateData_GlobalState struct {
GlobalState *GlobalStateHash `protobuf:"bytes,4,opt,name=global_state,json=globalState,proto3,oneof"`
}
type GlobalStateData_Receipt ¶
type GlobalStateData_Receipt struct {
Receipt *TransactionReceipt `protobuf:"bytes,2,opt,name=receipt,proto3,oneof"`
}
type GlobalStateData_Reward ¶
type GlobalStateData_Reward struct {
Reward *Reward `protobuf:"bytes,1,opt,name=reward,proto3,oneof"`
}
type GlobalStateHash ¶
type GlobalStateHash struct { RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` Layer *LayerNumber `protobuf:"bytes,2,opt,name=layer,proto3" json:"layer,omitempty"` // contains filtered or unexported fields }
func (*GlobalStateHash) Descriptor
deprecated
func (*GlobalStateHash) Descriptor() ([]byte, []int)
Deprecated: Use GlobalStateHash.ProtoReflect.Descriptor instead.
func (*GlobalStateHash) GetLayer ¶
func (x *GlobalStateHash) GetLayer() *LayerNumber
func (*GlobalStateHash) GetRootHash ¶
func (x *GlobalStateHash) GetRootHash() []byte
func (*GlobalStateHash) ProtoMessage ¶
func (*GlobalStateHash) ProtoMessage()
func (*GlobalStateHash) ProtoReflect ¶
func (x *GlobalStateHash) ProtoReflect() protoreflect.Message
func (*GlobalStateHash) Reset ¶
func (x *GlobalStateHash) Reset()
func (*GlobalStateHash) String ¶
func (x *GlobalStateHash) String() string
type GlobalStateHashRequest ¶
type GlobalStateHashRequest struct {
// contains filtered or unexported fields
}
For now this is empty but in future we might want to allow this to take a layer number.
func (*GlobalStateHashRequest) Descriptor
deprecated
func (*GlobalStateHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use GlobalStateHashRequest.ProtoReflect.Descriptor instead.
func (*GlobalStateHashRequest) ProtoMessage ¶
func (*GlobalStateHashRequest) ProtoMessage()
func (*GlobalStateHashRequest) ProtoReflect ¶
func (x *GlobalStateHashRequest) ProtoReflect() protoreflect.Message
func (*GlobalStateHashRequest) Reset ¶
func (x *GlobalStateHashRequest) Reset()
func (*GlobalStateHashRequest) String ¶
func (x *GlobalStateHashRequest) String() string
type GlobalStateHashResponse ¶
type GlobalStateHashResponse struct { Response *GlobalStateHash `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*GlobalStateHashResponse) Descriptor
deprecated
func (*GlobalStateHashResponse) Descriptor() ([]byte, []int)
Deprecated: Use GlobalStateHashResponse.ProtoReflect.Descriptor instead.
func (*GlobalStateHashResponse) GetResponse ¶
func (x *GlobalStateHashResponse) GetResponse() *GlobalStateHash
func (*GlobalStateHashResponse) ProtoMessage ¶
func (*GlobalStateHashResponse) ProtoMessage()
func (*GlobalStateHashResponse) ProtoReflect ¶
func (x *GlobalStateHashResponse) ProtoReflect() protoreflect.Message
func (*GlobalStateHashResponse) Reset ¶
func (x *GlobalStateHashResponse) Reset()
func (*GlobalStateHashResponse) String ¶
func (x *GlobalStateHashResponse) String() string
type GlobalStateServiceClient ¶
type GlobalStateServiceClient interface { // Latest computed global state - layer and its root hash GlobalStateHash(ctx context.Context, in *GlobalStateHashRequest, opts ...grpc.CallOption) (*GlobalStateHashResponse, error) // Account info in the current global state. Account(ctx context.Context, in *AccountRequest, opts ...grpc.CallOption) (*AccountResponse, error) // Query for account related data such as rewards, tx receipts and account info // // Note: it might be too expensive to add a param for layer to get these results from // as it may require indexing all global state changes per account by layer. // If it is possible to index by layer then we should add param start_layer to // AccountDataParams. Currently it will return data from genesis. AccountDataQuery(ctx context.Context, in *AccountDataQueryRequest, opts ...grpc.CallOption) (*AccountDataQueryResponse, error) // Query for smesher data. Currently returns smesher rewards. // Note: Not supporting start_layer yet as it may require to index all rewards by // smesher and by layer id or allow for queries from a layer and later.... SmesherDataQuery(ctx context.Context, in *SmesherDataQueryRequest, opts ...grpc.CallOption) (*SmesherDataQueryResponse, error) // Get a stream of account related changes such as account balance change, // tx receipts and rewards AccountDataStream(ctx context.Context, in *AccountDataStreamRequest, opts ...grpc.CallOption) (GlobalStateService_AccountDataStreamClient, error) // Rewards awarded to a smesher id SmesherRewardStream(ctx context.Context, in *SmesherRewardStreamRequest, opts ...grpc.CallOption) (GlobalStateService_SmesherRewardStreamClient, error) // App Events - emitted by app methods impl code trigged by an // app transaction AppEventStream(ctx context.Context, in *AppEventStreamRequest, opts ...grpc.CallOption) (GlobalStateService_AppEventStreamClient, error) // New global state computed for a layer by the STF GlobalStateStream(ctx context.Context, in *GlobalStateStreamRequest, opts ...grpc.CallOption) (GlobalStateService_GlobalStateStreamClient, error) }
GlobalStateServiceClient is the client API for GlobalStateService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGlobalStateServiceClient ¶
func NewGlobalStateServiceClient(cc grpc.ClientConnInterface) GlobalStateServiceClient
type GlobalStateServiceServer ¶
type GlobalStateServiceServer interface { // Latest computed global state - layer and its root hash GlobalStateHash(context.Context, *GlobalStateHashRequest) (*GlobalStateHashResponse, error) // Account info in the current global state. Account(context.Context, *AccountRequest) (*AccountResponse, error) // Query for account related data such as rewards, tx receipts and account info // // Note: it might be too expensive to add a param for layer to get these results from // as it may require indexing all global state changes per account by layer. // If it is possible to index by layer then we should add param start_layer to // AccountDataParams. Currently it will return data from genesis. AccountDataQuery(context.Context, *AccountDataQueryRequest) (*AccountDataQueryResponse, error) // Query for smesher data. Currently returns smesher rewards. // Note: Not supporting start_layer yet as it may require to index all rewards by // smesher and by layer id or allow for queries from a layer and later.... SmesherDataQuery(context.Context, *SmesherDataQueryRequest) (*SmesherDataQueryResponse, error) // Get a stream of account related changes such as account balance change, // tx receipts and rewards AccountDataStream(*AccountDataStreamRequest, GlobalStateService_AccountDataStreamServer) error // Rewards awarded to a smesher id SmesherRewardStream(*SmesherRewardStreamRequest, GlobalStateService_SmesherRewardStreamServer) error // App Events - emitted by app methods impl code trigged by an // app transaction AppEventStream(*AppEventStreamRequest, GlobalStateService_AppEventStreamServer) error // New global state computed for a layer by the STF GlobalStateStream(*GlobalStateStreamRequest, GlobalStateService_GlobalStateStreamServer) error }
GlobalStateServiceServer is the server API for GlobalStateService service. All implementations should embed UnimplementedGlobalStateServiceServer for forward compatibility
type GlobalStateService_AccountDataStreamClient ¶
type GlobalStateService_AccountDataStreamClient interface { Recv() (*AccountDataStreamResponse, error) grpc.ClientStream }
type GlobalStateService_AccountDataStreamServer ¶
type GlobalStateService_AccountDataStreamServer interface { Send(*AccountDataStreamResponse) error grpc.ServerStream }
type GlobalStateService_AppEventStreamClient ¶
type GlobalStateService_AppEventStreamClient interface { Recv() (*AppEventStreamResponse, error) grpc.ClientStream }
type GlobalStateService_AppEventStreamServer ¶
type GlobalStateService_AppEventStreamServer interface { Send(*AppEventStreamResponse) error grpc.ServerStream }
type GlobalStateService_GlobalStateStreamClient ¶
type GlobalStateService_GlobalStateStreamClient interface { Recv() (*GlobalStateStreamResponse, error) grpc.ClientStream }
type GlobalStateService_GlobalStateStreamServer ¶
type GlobalStateService_GlobalStateStreamServer interface { Send(*GlobalStateStreamResponse) error grpc.ServerStream }
type GlobalStateService_SmesherRewardStreamClient ¶
type GlobalStateService_SmesherRewardStreamClient interface { Recv() (*SmesherRewardStreamResponse, error) grpc.ClientStream }
type GlobalStateService_SmesherRewardStreamServer ¶
type GlobalStateService_SmesherRewardStreamServer interface { Send(*SmesherRewardStreamResponse) error grpc.ServerStream }
type GlobalStateStreamRequest ¶
type GlobalStateStreamRequest struct { GlobalStateDataFlags uint32 `` // bit field of GlobalStateDataFlag /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GlobalStateStreamRequest) Descriptor
deprecated
func (*GlobalStateStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use GlobalStateStreamRequest.ProtoReflect.Descriptor instead.
func (*GlobalStateStreamRequest) GetGlobalStateDataFlags ¶
func (x *GlobalStateStreamRequest) GetGlobalStateDataFlags() uint32
func (*GlobalStateStreamRequest) ProtoMessage ¶
func (*GlobalStateStreamRequest) ProtoMessage()
func (*GlobalStateStreamRequest) ProtoReflect ¶
func (x *GlobalStateStreamRequest) ProtoReflect() protoreflect.Message
func (*GlobalStateStreamRequest) Reset ¶
func (x *GlobalStateStreamRequest) Reset()
func (*GlobalStateStreamRequest) String ¶
func (x *GlobalStateStreamRequest) String() string
type GlobalStateStreamResponse ¶
type GlobalStateStreamResponse struct { Datum *GlobalStateData `protobuf:"bytes,1,opt,name=datum,proto3" json:"datum,omitempty"` // contains filtered or unexported fields }
func (*GlobalStateStreamResponse) Descriptor
deprecated
func (*GlobalStateStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use GlobalStateStreamResponse.ProtoReflect.Descriptor instead.
func (*GlobalStateStreamResponse) GetDatum ¶
func (x *GlobalStateStreamResponse) GetDatum() *GlobalStateData
func (*GlobalStateStreamResponse) ProtoMessage ¶
func (*GlobalStateStreamResponse) ProtoMessage()
func (*GlobalStateStreamResponse) ProtoReflect ¶
func (x *GlobalStateStreamResponse) ProtoReflect() protoreflect.Message
func (*GlobalStateStreamResponse) Reset ¶
func (x *GlobalStateStreamResponse) Reset()
func (*GlobalStateStreamResponse) String ¶
func (x *GlobalStateStreamResponse) String() string
type HighestResponse ¶ added in v1.15.0
type HighestResponse struct { Atx *Activation `protobuf:"bytes,1,opt,name=atx,proto3" json:"atx,omitempty"` // contains filtered or unexported fields }
func (*HighestResponse) Descriptor
deprecated
added in
v1.15.0
func (*HighestResponse) Descriptor() ([]byte, []int)
Deprecated: Use HighestResponse.ProtoReflect.Descriptor instead.
func (*HighestResponse) GetAtx ¶ added in v1.15.0
func (x *HighestResponse) GetAtx() *Activation
func (*HighestResponse) ProtoMessage ¶ added in v1.15.0
func (*HighestResponse) ProtoMessage()
func (*HighestResponse) ProtoReflect ¶ added in v1.15.0
func (x *HighestResponse) ProtoReflect() protoreflect.Message
func (*HighestResponse) Reset ¶ added in v1.15.0
func (x *HighestResponse) Reset()
func (*HighestResponse) String ¶ added in v1.15.0
func (x *HighestResponse) String() string
type IsEventDetails ¶ added in v1.14.0
type IsEventDetails = isEvent_Details
without this export oneof is extremely ugly to use
type IsSmeshingResponse ¶
type IsSmeshingResponse struct { IsSmeshing bool `protobuf:"varint,1,opt,name=is_smeshing,json=isSmeshing,proto3" json:"is_smeshing,omitempty"` // contains filtered or unexported fields }
func (*IsSmeshingResponse) Descriptor
deprecated
func (*IsSmeshingResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsSmeshingResponse.ProtoReflect.Descriptor instead.
func (*IsSmeshingResponse) GetIsSmeshing ¶
func (x *IsSmeshingResponse) GetIsSmeshing() bool
func (*IsSmeshingResponse) ProtoMessage ¶
func (*IsSmeshingResponse) ProtoMessage()
func (*IsSmeshingResponse) ProtoReflect ¶
func (x *IsSmeshingResponse) ProtoReflect() protoreflect.Message
func (*IsSmeshingResponse) Reset ¶
func (x *IsSmeshingResponse) Reset()
func (*IsSmeshingResponse) String ¶
func (x *IsSmeshingResponse) String() string
type Layer ¶
type Layer struct { Number *LayerNumber `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` // layer number - not hash - layer content may change Status Layer_LayerStatus `protobuf:"varint,2,opt,name=status,proto3,enum=spacemesh.v1.Layer_LayerStatus" json:"status,omitempty"` Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // computer layer hash - do we need this? Blocks []*Block `protobuf:"bytes,4,rep,name=blocks,proto3" json:"blocks,omitempty"` // layer's blocks Activations []*Activation `protobuf:"bytes,5,rep,name=activations,proto3" json:"activations,omitempty"` // list of layer's activations RootStateHash []byte `protobuf:"bytes,6,opt,name=root_state_hash,json=rootStateHash,proto3" json:"root_state_hash,omitempty"` // when available - the root state hash of global state in this layer // contains filtered or unexported fields }
func (*Layer) Descriptor
deprecated
func (*Layer) GetActivations ¶
func (x *Layer) GetActivations() []*Activation
func (*Layer) GetNumber ¶
func (x *Layer) GetNumber() *LayerNumber
func (*Layer) GetRootStateHash ¶
func (*Layer) GetStatus ¶
func (x *Layer) GetStatus() Layer_LayerStatus
func (*Layer) ProtoMessage ¶
func (*Layer) ProtoMessage()
func (*Layer) ProtoReflect ¶
func (x *Layer) ProtoReflect() protoreflect.Message
type LayerDurationRequest ¶
type LayerDurationRequest struct {
// contains filtered or unexported fields
}
func (*LayerDurationRequest) Descriptor
deprecated
func (*LayerDurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use LayerDurationRequest.ProtoReflect.Descriptor instead.
func (*LayerDurationRequest) ProtoMessage ¶
func (*LayerDurationRequest) ProtoMessage()
func (*LayerDurationRequest) ProtoReflect ¶
func (x *LayerDurationRequest) ProtoReflect() protoreflect.Message
func (*LayerDurationRequest) Reset ¶
func (x *LayerDurationRequest) Reset()
func (*LayerDurationRequest) String ¶
func (x *LayerDurationRequest) String() string
type LayerDurationResponse ¶
type LayerDurationResponse struct { // layer duration, in seconds Duration *SimpleInt `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*LayerDurationResponse) Descriptor
deprecated
func (*LayerDurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use LayerDurationResponse.ProtoReflect.Descriptor instead.
func (*LayerDurationResponse) GetDuration ¶
func (x *LayerDurationResponse) GetDuration() *SimpleInt
func (*LayerDurationResponse) ProtoMessage ¶
func (*LayerDurationResponse) ProtoMessage()
func (*LayerDurationResponse) ProtoReflect ¶
func (x *LayerDurationResponse) ProtoReflect() protoreflect.Message
func (*LayerDurationResponse) Reset ¶
func (x *LayerDurationResponse) Reset()
func (*LayerDurationResponse) String ¶
func (x *LayerDurationResponse) String() string
type LayerLimits ¶ added in v1.5.1
type LayerLimits struct { Min uint32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"` Max uint32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*LayerLimits) Descriptor
deprecated
added in
v1.5.1
func (*LayerLimits) Descriptor() ([]byte, []int)
Deprecated: Use LayerLimits.ProtoReflect.Descriptor instead.
func (*LayerLimits) GetMax ¶ added in v1.5.1
func (x *LayerLimits) GetMax() uint32
func (*LayerLimits) GetMin ¶ added in v1.5.1
func (x *LayerLimits) GetMin() uint32
func (*LayerLimits) ProtoMessage ¶ added in v1.5.1
func (*LayerLimits) ProtoMessage()
func (*LayerLimits) ProtoReflect ¶ added in v1.5.1
func (x *LayerLimits) ProtoReflect() protoreflect.Message
func (*LayerLimits) Reset ¶ added in v1.5.1
func (x *LayerLimits) Reset()
func (*LayerLimits) String ¶ added in v1.5.1
func (x *LayerLimits) String() string
type LayerNumber ¶
type LayerNumber struct { Number uint32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*LayerNumber) Descriptor
deprecated
func (*LayerNumber) Descriptor() ([]byte, []int)
Deprecated: Use LayerNumber.ProtoReflect.Descriptor instead.
func (*LayerNumber) GetNumber ¶
func (x *LayerNumber) GetNumber() uint32
func (*LayerNumber) ProtoMessage ¶
func (*LayerNumber) ProtoMessage()
func (*LayerNumber) ProtoReflect ¶
func (x *LayerNumber) ProtoReflect() protoreflect.Message
func (*LayerNumber) Reset ¶
func (x *LayerNumber) Reset()
func (*LayerNumber) String ¶
func (x *LayerNumber) String() string
type LayerStreamRequest ¶
type LayerStreamRequest struct {
// contains filtered or unexported fields
}
func (*LayerStreamRequest) Descriptor
deprecated
func (*LayerStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use LayerStreamRequest.ProtoReflect.Descriptor instead.
func (*LayerStreamRequest) ProtoMessage ¶
func (*LayerStreamRequest) ProtoMessage()
func (*LayerStreamRequest) ProtoReflect ¶
func (x *LayerStreamRequest) ProtoReflect() protoreflect.Message
func (*LayerStreamRequest) Reset ¶
func (x *LayerStreamRequest) Reset()
func (*LayerStreamRequest) String ¶
func (x *LayerStreamRequest) String() string
type LayerStreamResponse ¶
type LayerStreamResponse struct { Layer *Layer `protobuf:"bytes,1,opt,name=layer,proto3" json:"layer,omitempty"` // contains filtered or unexported fields }
func (*LayerStreamResponse) Descriptor
deprecated
func (*LayerStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use LayerStreamResponse.ProtoReflect.Descriptor instead.
func (*LayerStreamResponse) GetLayer ¶
func (x *LayerStreamResponse) GetLayer() *Layer
func (*LayerStreamResponse) ProtoMessage ¶
func (*LayerStreamResponse) ProtoMessage()
func (*LayerStreamResponse) ProtoReflect ¶
func (x *LayerStreamResponse) ProtoReflect() protoreflect.Message
func (*LayerStreamResponse) Reset ¶
func (x *LayerStreamResponse) Reset()
func (*LayerStreamResponse) String ¶
func (x *LayerStreamResponse) String() string
type Layer_LayerStatus ¶
type Layer_LayerStatus int32
const ( Layer_LAYER_STATUS_UNSPECIFIED Layer_LayerStatus = 0 // not yet approved or confirmed Layer_LAYER_STATUS_APPROVED Layer_LayerStatus = 1 // approved by hare Layer_LAYER_STATUS_CONFIRMED Layer_LayerStatus = 2 // confirmed by tortoise Layer_LAYER_STATUS_APPLIED Layer_LayerStatus = 3 // applied in state )
func (Layer_LayerStatus) Descriptor ¶
func (Layer_LayerStatus) Descriptor() protoreflect.EnumDescriptor
func (Layer_LayerStatus) Enum ¶
func (x Layer_LayerStatus) Enum() *Layer_LayerStatus
func (Layer_LayerStatus) EnumDescriptor
deprecated
func (Layer_LayerStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use Layer_LayerStatus.Descriptor instead.
func (Layer_LayerStatus) Number ¶
func (x Layer_LayerStatus) Number() protoreflect.EnumNumber
func (Layer_LayerStatus) String ¶
func (x Layer_LayerStatus) String() string
func (Layer_LayerStatus) Type ¶
func (Layer_LayerStatus) Type() protoreflect.EnumType
type LayersQueryRequest ¶
type LayersQueryRequest struct { StartLayer *LayerNumber `protobuf:"bytes,1,opt,name=start_layer,json=startLayer,proto3" json:"start_layer,omitempty"` EndLayer *LayerNumber `protobuf:"bytes,2,opt,name=end_layer,json=endLayer,proto3" json:"end_layer,omitempty"` // contains filtered or unexported fields }
func (*LayersQueryRequest) Descriptor
deprecated
func (*LayersQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use LayersQueryRequest.ProtoReflect.Descriptor instead.
func (*LayersQueryRequest) GetEndLayer ¶
func (x *LayersQueryRequest) GetEndLayer() *LayerNumber
func (*LayersQueryRequest) GetStartLayer ¶
func (x *LayersQueryRequest) GetStartLayer() *LayerNumber
func (*LayersQueryRequest) ProtoMessage ¶
func (*LayersQueryRequest) ProtoMessage()
func (*LayersQueryRequest) ProtoReflect ¶
func (x *LayersQueryRequest) ProtoReflect() protoreflect.Message
func (*LayersQueryRequest) Reset ¶
func (x *LayersQueryRequest) Reset()
func (*LayersQueryRequest) String ¶
func (x *LayersQueryRequest) String() string
type LayersQueryResponse ¶
type LayersQueryResponse struct { Layer []*Layer `protobuf:"bytes,1,rep,name=layer,proto3" json:"layer,omitempty"` // contains filtered or unexported fields }
func (*LayersQueryResponse) Descriptor
deprecated
func (*LayersQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use LayersQueryResponse.ProtoReflect.Descriptor instead.
func (*LayersQueryResponse) GetLayer ¶
func (x *LayersQueryResponse) GetLayer() []*Layer
func (*LayersQueryResponse) ProtoMessage ¶
func (*LayersQueryResponse) ProtoMessage()
func (*LayersQueryResponse) ProtoReflect ¶
func (x *LayersQueryResponse) ProtoReflect() protoreflect.Message
func (*LayersQueryResponse) Reset ¶
func (x *LayersQueryResponse) Reset()
func (*LayersQueryResponse) String ¶
func (x *LayersQueryResponse) String() string
type LogLevel ¶
type LogLevel int32
const ( LogLevel_LOG_LEVEL_UNSPECIFIED LogLevel = 0 LogLevel_LOG_LEVEL_DEBUG LogLevel = 1 LogLevel_LOG_LEVEL_INFO LogLevel = 2 LogLevel_LOG_LEVEL_WARN LogLevel = 3 LogLevel_LOG_LEVEL_ERROR LogLevel = 4 LogLevel_LOG_LEVEL_DPANIC LogLevel = 5 LogLevel_LOG_LEVEL_PANIC LogLevel = 6 LogLevel_LOG_LEVEL_FATAL LogLevel = 7 )
func (LogLevel) Descriptor ¶
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
func (LogLevel) Number ¶
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶
func (LogLevel) Type() protoreflect.EnumType
type MalfeasanceProof ¶ added in v1.19.0
type MalfeasanceProof struct { SmesherId *SmesherId `protobuf:"bytes,1,opt,name=smesher_id,json=smesherId,proto3" json:"smesher_id,omitempty"` Layer *LayerNumber `protobuf:"bytes,2,opt,name=layer,proto3" json:"layer,omitempty"` Kind MalfeasanceProof_MalfeasanceType `protobuf:"varint,3,opt,name=kind,proto3,enum=spacemesh.v1.MalfeasanceProof_MalfeasanceType" json:"kind,omitempty"` DebugInfo string `protobuf:"bytes,4,opt,name=debug_info,json=debugInfo,proto3" json:"debug_info,omitempty"` Proof []byte `protobuf:"bytes,5,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*MalfeasanceProof) Descriptor
deprecated
added in
v1.19.0
func (*MalfeasanceProof) Descriptor() ([]byte, []int)
Deprecated: Use MalfeasanceProof.ProtoReflect.Descriptor instead.
func (*MalfeasanceProof) GetDebugInfo ¶ added in v1.19.0
func (x *MalfeasanceProof) GetDebugInfo() string
func (*MalfeasanceProof) GetKind ¶ added in v1.19.0
func (x *MalfeasanceProof) GetKind() MalfeasanceProof_MalfeasanceType
func (*MalfeasanceProof) GetLayer ¶ added in v1.19.0
func (x *MalfeasanceProof) GetLayer() *LayerNumber
func (*MalfeasanceProof) GetProof ¶ added in v1.19.0
func (x *MalfeasanceProof) GetProof() []byte
func (*MalfeasanceProof) GetSmesherId ¶ added in v1.19.0
func (x *MalfeasanceProof) GetSmesherId() *SmesherId
func (*MalfeasanceProof) ProtoMessage ¶ added in v1.19.0
func (*MalfeasanceProof) ProtoMessage()
func (*MalfeasanceProof) ProtoReflect ¶ added in v1.19.0
func (x *MalfeasanceProof) ProtoReflect() protoreflect.Message
func (*MalfeasanceProof) Reset ¶ added in v1.19.0
func (x *MalfeasanceProof) Reset()
func (*MalfeasanceProof) String ¶ added in v1.19.0
func (x *MalfeasanceProof) String() string
type MalfeasanceProof_MalfeasanceType ¶ added in v1.19.0
type MalfeasanceProof_MalfeasanceType int32
const ( MalfeasanceProof_MALFEASANCE_UNSPECIFIED MalfeasanceProof_MalfeasanceType = 0 MalfeasanceProof_MALFEASANCE_ATX MalfeasanceProof_MalfeasanceType = 1 MalfeasanceProof_MALFEASANCE_BALLOT MalfeasanceProof_MalfeasanceType = 2 MalfeasanceProof_MALFEASANCE_HARE MalfeasanceProof_MalfeasanceType = 3 )
func (MalfeasanceProof_MalfeasanceType) Descriptor ¶ added in v1.19.0
func (MalfeasanceProof_MalfeasanceType) Descriptor() protoreflect.EnumDescriptor
func (MalfeasanceProof_MalfeasanceType) Enum ¶ added in v1.19.0
func (x MalfeasanceProof_MalfeasanceType) Enum() *MalfeasanceProof_MalfeasanceType
func (MalfeasanceProof_MalfeasanceType) EnumDescriptor
deprecated
added in
v1.19.0
func (MalfeasanceProof_MalfeasanceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MalfeasanceProof_MalfeasanceType.Descriptor instead.
func (MalfeasanceProof_MalfeasanceType) Number ¶ added in v1.19.0
func (x MalfeasanceProof_MalfeasanceType) Number() protoreflect.EnumNumber
func (MalfeasanceProof_MalfeasanceType) String ¶ added in v1.19.0
func (x MalfeasanceProof_MalfeasanceType) String() string
func (MalfeasanceProof_MalfeasanceType) Type ¶ added in v1.19.0
func (MalfeasanceProof_MalfeasanceType) Type() protoreflect.EnumType
type MalfeasanceRequest ¶ added in v1.19.0
type MalfeasanceRequest struct { SmesherHex string `protobuf:"bytes,1,opt,name=smesher_hex,json=smesherHex,proto3" json:"smesher_hex,omitempty"` IncludeProof bool `protobuf:"varint,2,opt,name=include_proof,json=includeProof,proto3" json:"include_proof,omitempty"` // contains filtered or unexported fields }
func (*MalfeasanceRequest) Descriptor
deprecated
added in
v1.19.0
func (*MalfeasanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use MalfeasanceRequest.ProtoReflect.Descriptor instead.
func (*MalfeasanceRequest) GetIncludeProof ¶ added in v1.19.0
func (x *MalfeasanceRequest) GetIncludeProof() bool
func (*MalfeasanceRequest) GetSmesherHex ¶ added in v1.19.0
func (x *MalfeasanceRequest) GetSmesherHex() string
func (*MalfeasanceRequest) ProtoMessage ¶ added in v1.19.0
func (*MalfeasanceRequest) ProtoMessage()
func (*MalfeasanceRequest) ProtoReflect ¶ added in v1.19.0
func (x *MalfeasanceRequest) ProtoReflect() protoreflect.Message
func (*MalfeasanceRequest) Reset ¶ added in v1.19.0
func (x *MalfeasanceRequest) Reset()
func (*MalfeasanceRequest) String ¶ added in v1.19.0
func (x *MalfeasanceRequest) String() string
type MalfeasanceResponse ¶ added in v1.19.0
type MalfeasanceResponse struct { Proof *MalfeasanceProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*MalfeasanceResponse) Descriptor
deprecated
added in
v1.19.0
func (*MalfeasanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MalfeasanceResponse.ProtoReflect.Descriptor instead.
func (*MalfeasanceResponse) GetProof ¶ added in v1.19.0
func (x *MalfeasanceResponse) GetProof() *MalfeasanceProof
func (*MalfeasanceResponse) ProtoMessage ¶ added in v1.19.0
func (*MalfeasanceResponse) ProtoMessage()
func (*MalfeasanceResponse) ProtoReflect ¶ added in v1.19.0
func (x *MalfeasanceResponse) ProtoReflect() protoreflect.Message
func (*MalfeasanceResponse) Reset ¶ added in v1.19.0
func (x *MalfeasanceResponse) Reset()
func (*MalfeasanceResponse) String ¶ added in v1.19.0
func (x *MalfeasanceResponse) String() string
type MalfeasanceStreamRequest ¶ added in v1.19.0
type MalfeasanceStreamRequest struct { IncludeProof bool `protobuf:"varint,1,opt,name=include_proof,json=includeProof,proto3" json:"include_proof,omitempty"` // contains filtered or unexported fields }
func (*MalfeasanceStreamRequest) Descriptor
deprecated
added in
v1.19.0
func (*MalfeasanceStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use MalfeasanceStreamRequest.ProtoReflect.Descriptor instead.
func (*MalfeasanceStreamRequest) GetIncludeProof ¶ added in v1.19.0
func (x *MalfeasanceStreamRequest) GetIncludeProof() bool
func (*MalfeasanceStreamRequest) ProtoMessage ¶ added in v1.19.0
func (*MalfeasanceStreamRequest) ProtoMessage()
func (*MalfeasanceStreamRequest) ProtoReflect ¶ added in v1.19.0
func (x *MalfeasanceStreamRequest) ProtoReflect() protoreflect.Message
func (*MalfeasanceStreamRequest) Reset ¶ added in v1.19.0
func (x *MalfeasanceStreamRequest) Reset()
func (*MalfeasanceStreamRequest) String ¶ added in v1.19.0
func (x *MalfeasanceStreamRequest) String() string
type MalfeasanceStreamResponse ¶ added in v1.19.0
type MalfeasanceStreamResponse struct { Proof *MalfeasanceProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*MalfeasanceStreamResponse) Descriptor
deprecated
added in
v1.19.0
func (*MalfeasanceStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use MalfeasanceStreamResponse.ProtoReflect.Descriptor instead.
func (*MalfeasanceStreamResponse) GetProof ¶ added in v1.19.0
func (x *MalfeasanceStreamResponse) GetProof() *MalfeasanceProof
func (*MalfeasanceStreamResponse) ProtoMessage ¶ added in v1.19.0
func (*MalfeasanceStreamResponse) ProtoMessage()
func (*MalfeasanceStreamResponse) ProtoReflect ¶ added in v1.19.0
func (x *MalfeasanceStreamResponse) ProtoReflect() protoreflect.Message
func (*MalfeasanceStreamResponse) Reset ¶ added in v1.19.0
func (x *MalfeasanceStreamResponse) Reset()
func (*MalfeasanceStreamResponse) String ¶ added in v1.19.0
func (x *MalfeasanceStreamResponse) String() string
type MaxTransactionsPerSecondRequest ¶
type MaxTransactionsPerSecondRequest struct {
// contains filtered or unexported fields
}
func (*MaxTransactionsPerSecondRequest) Descriptor
deprecated
func (*MaxTransactionsPerSecondRequest) Descriptor() ([]byte, []int)
Deprecated: Use MaxTransactionsPerSecondRequest.ProtoReflect.Descriptor instead.
func (*MaxTransactionsPerSecondRequest) ProtoMessage ¶
func (*MaxTransactionsPerSecondRequest) ProtoMessage()
func (*MaxTransactionsPerSecondRequest) ProtoReflect ¶
func (x *MaxTransactionsPerSecondRequest) ProtoReflect() protoreflect.Message
func (*MaxTransactionsPerSecondRequest) Reset ¶
func (x *MaxTransactionsPerSecondRequest) Reset()
func (*MaxTransactionsPerSecondRequest) String ¶
func (x *MaxTransactionsPerSecondRequest) String() string
type MaxTransactionsPerSecondResponse ¶
type MaxTransactionsPerSecondResponse struct { MaxTxsPerSecond *SimpleInt `protobuf:"bytes,1,opt,name=max_txs_per_second,json=maxTxsPerSecond,proto3" json:"max_txs_per_second,omitempty"` // contains filtered or unexported fields }
func (*MaxTransactionsPerSecondResponse) Descriptor
deprecated
func (*MaxTransactionsPerSecondResponse) Descriptor() ([]byte, []int)
Deprecated: Use MaxTransactionsPerSecondResponse.ProtoReflect.Descriptor instead.
func (*MaxTransactionsPerSecondResponse) GetMaxTxsPerSecond ¶
func (x *MaxTransactionsPerSecondResponse) GetMaxTxsPerSecond() *SimpleInt
func (*MaxTransactionsPerSecondResponse) ProtoMessage ¶
func (*MaxTransactionsPerSecondResponse) ProtoMessage()
func (*MaxTransactionsPerSecondResponse) ProtoReflect ¶
func (x *MaxTransactionsPerSecondResponse) ProtoReflect() protoreflect.Message
func (*MaxTransactionsPerSecondResponse) Reset ¶
func (x *MaxTransactionsPerSecondResponse) Reset()
func (*MaxTransactionsPerSecondResponse) String ¶
func (x *MaxTransactionsPerSecondResponse) String() string
type MeshServiceClient ¶
type MeshServiceClient interface { // Network genesis time as unix epoch time GenesisTime(ctx context.Context, in *GenesisTimeRequest, opts ...grpc.CallOption) (*GenesisTimeResponse, error) // Current layer number CurrentLayer(ctx context.Context, in *CurrentLayerRequest, opts ...grpc.CallOption) (*CurrentLayerResponse, error) // Current epoch number CurrentEpoch(ctx context.Context, in *CurrentEpochRequest, opts ...grpc.CallOption) (*CurrentEpochResponse, error) // Genesis ID GenesisID(ctx context.Context, in *GenesisIDRequest, opts ...grpc.CallOption) (*GenesisIDResponse, error) // Number of layers per epoch (a network parameter) EpochNumLayers(ctx context.Context, in *EpochNumLayersRequest, opts ...grpc.CallOption) (*EpochNumLayersResponse, error) // Layer duration (a network parameter) LayerDuration(ctx context.Context, in *LayerDurationRequest, opts ...grpc.CallOption) (*LayerDurationResponse, error) // Number of transactions per second (a network parameter) MaxTransactionsPerSecond(ctx context.Context, in *MaxTransactionsPerSecondRequest, opts ...grpc.CallOption) (*MaxTransactionsPerSecondResponse, error) // Get account data query AccountMeshDataQuery(ctx context.Context, in *AccountMeshDataQueryRequest, opts ...grpc.CallOption) (*AccountMeshDataQueryResponse, error) // Layers data query LayersQuery(ctx context.Context, in *LayersQueryRequest, opts ...grpc.CallOption) (*LayersQueryResponse, error) // A stream of transactions and activations from an account. // Includes simple coin transactions with the account as the destination. AccountMeshDataStream(ctx context.Context, in *AccountMeshDataStreamRequest, opts ...grpc.CallOption) (MeshService_AccountMeshDataStreamClient, error) // Layer with blocks, transactions and activations // Sent each time layer data changes. Designed for heavy-duty clients. LayerStream(ctx context.Context, in *LayerStreamRequest, opts ...grpc.CallOption) (MeshService_LayerStreamClient, error) // Epoch activation transactions. EpochStream(ctx context.Context, in *EpochStreamRequest, opts ...grpc.CallOption) (MeshService_EpochStreamClient, error) MalfeasanceQuery(ctx context.Context, in *MalfeasanceRequest, opts ...grpc.CallOption) (*MalfeasanceResponse, error) MalfeasanceStream(ctx context.Context, in *MalfeasanceStreamRequest, opts ...grpc.CallOption) (MeshService_MalfeasanceStreamClient, error) }
MeshServiceClient is the client API for MeshService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMeshServiceClient ¶
func NewMeshServiceClient(cc grpc.ClientConnInterface) MeshServiceClient
type MeshServiceServer ¶
type MeshServiceServer interface { // Network genesis time as unix epoch time GenesisTime(context.Context, *GenesisTimeRequest) (*GenesisTimeResponse, error) // Current layer number CurrentLayer(context.Context, *CurrentLayerRequest) (*CurrentLayerResponse, error) // Current epoch number CurrentEpoch(context.Context, *CurrentEpochRequest) (*CurrentEpochResponse, error) // Genesis ID GenesisID(context.Context, *GenesisIDRequest) (*GenesisIDResponse, error) // Number of layers per epoch (a network parameter) EpochNumLayers(context.Context, *EpochNumLayersRequest) (*EpochNumLayersResponse, error) // Layer duration (a network parameter) LayerDuration(context.Context, *LayerDurationRequest) (*LayerDurationResponse, error) // Number of transactions per second (a network parameter) MaxTransactionsPerSecond(context.Context, *MaxTransactionsPerSecondRequest) (*MaxTransactionsPerSecondResponse, error) // Get account data query AccountMeshDataQuery(context.Context, *AccountMeshDataQueryRequest) (*AccountMeshDataQueryResponse, error) // Layers data query LayersQuery(context.Context, *LayersQueryRequest) (*LayersQueryResponse, error) // A stream of transactions and activations from an account. // Includes simple coin transactions with the account as the destination. AccountMeshDataStream(*AccountMeshDataStreamRequest, MeshService_AccountMeshDataStreamServer) error // Layer with blocks, transactions and activations // Sent each time layer data changes. Designed for heavy-duty clients. LayerStream(*LayerStreamRequest, MeshService_LayerStreamServer) error // Epoch activation transactions. EpochStream(*EpochStreamRequest, MeshService_EpochStreamServer) error MalfeasanceQuery(context.Context, *MalfeasanceRequest) (*MalfeasanceResponse, error) MalfeasanceStream(*MalfeasanceStreamRequest, MeshService_MalfeasanceStreamServer) error }
MeshServiceServer is the server API for MeshService service. All implementations should embed UnimplementedMeshServiceServer for forward compatibility
type MeshService_AccountMeshDataStreamClient ¶
type MeshService_AccountMeshDataStreamClient interface { Recv() (*AccountMeshDataStreamResponse, error) grpc.ClientStream }
type MeshService_AccountMeshDataStreamServer ¶
type MeshService_AccountMeshDataStreamServer interface { Send(*AccountMeshDataStreamResponse) error grpc.ServerStream }
type MeshService_EpochStreamClient ¶ added in v1.5.8
type MeshService_EpochStreamClient interface { Recv() (*EpochStreamResponse, error) grpc.ClientStream }
type MeshService_EpochStreamServer ¶ added in v1.5.8
type MeshService_EpochStreamServer interface { Send(*EpochStreamResponse) error grpc.ServerStream }
type MeshService_LayerStreamClient ¶
type MeshService_LayerStreamClient interface { Recv() (*LayerStreamResponse, error) grpc.ClientStream }
type MeshService_LayerStreamServer ¶
type MeshService_LayerStreamServer interface { Send(*LayerStreamResponse) error grpc.ServerStream }
type MeshService_MalfeasanceStreamClient ¶ added in v1.19.0
type MeshService_MalfeasanceStreamClient interface { Recv() (*MalfeasanceStreamResponse, error) grpc.ClientStream }
type MeshService_MalfeasanceStreamServer ¶ added in v1.19.0
type MeshService_MalfeasanceStreamServer interface { Send(*MalfeasanceStreamResponse) error grpc.ServerStream }
type MeshTransaction ¶
type MeshTransaction struct { Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` LayerId *LayerNumber `protobuf:"bytes,2,opt,name=layer_id,json=layerId,proto3" json:"layer_id,omitempty"` // contains filtered or unexported fields }
Transaction that was added to the mesh.
func (*MeshTransaction) Descriptor
deprecated
func (*MeshTransaction) Descriptor() ([]byte, []int)
Deprecated: Use MeshTransaction.ProtoReflect.Descriptor instead.
func (*MeshTransaction) GetLayerId ¶
func (x *MeshTransaction) GetLayerId() *LayerNumber
func (*MeshTransaction) GetTransaction ¶
func (x *MeshTransaction) GetTransaction() *Transaction
func (*MeshTransaction) ProtoMessage ¶
func (*MeshTransaction) ProtoMessage()
func (*MeshTransaction) ProtoReflect ¶
func (x *MeshTransaction) ProtoReflect() protoreflect.Message
func (*MeshTransaction) Reset ¶
func (x *MeshTransaction) Reset()
func (*MeshTransaction) String ¶
func (x *MeshTransaction) String() string
type Metadata ¶ added in v1.22.0
type Metadata struct { NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` CommitmentAtxId []byte `protobuf:"bytes,2,opt,name=commitment_atx_id,json=commitmentAtxId,proto3" json:"commitment_atx_id,omitempty"` Nonce *uint64 `protobuf:"varint,3,opt,name=nonce,proto3,oneof" json:"nonce,omitempty"` NumUnits uint32 `protobuf:"varint,4,opt,name=num_units,json=numUnits,proto3" json:"num_units,omitempty"` LabelsPerUnit uint64 `protobuf:"varint,5,opt,name=labels_per_unit,json=labelsPerUnit,proto3" json:"labels_per_unit,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
added in
v1.22.0
func (*Metadata) GetCommitmentAtxId ¶ added in v1.22.0
func (*Metadata) GetLabelsPerUnit ¶ added in v1.22.0
func (*Metadata) GetNumUnits ¶ added in v1.22.0
func (*Metadata) ProtoMessage ¶ added in v1.22.0
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶ added in v1.22.0
func (x *Metadata) ProtoReflect() protoreflect.Message
type MetadataRequest ¶ added in v1.22.0
type MetadataRequest struct {
// contains filtered or unexported fields
}
func (*MetadataRequest) Descriptor
deprecated
added in
v1.22.0
func (*MetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use MetadataRequest.ProtoReflect.Descriptor instead.
func (*MetadataRequest) ProtoMessage ¶ added in v1.22.0
func (*MetadataRequest) ProtoMessage()
func (*MetadataRequest) ProtoReflect ¶ added in v1.22.0
func (x *MetadataRequest) ProtoReflect() protoreflect.Message
func (*MetadataRequest) Reset ¶ added in v1.22.0
func (x *MetadataRequest) Reset()
func (*MetadataRequest) String ¶ added in v1.22.0
func (x *MetadataRequest) String() string
type MetadataResponse ¶ added in v1.22.0
type MetadataResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*MetadataResponse) Descriptor
deprecated
added in
v1.22.0
func (*MetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use MetadataResponse.ProtoReflect.Descriptor instead.
func (*MetadataResponse) GetMeta ¶ added in v1.22.0
func (x *MetadataResponse) GetMeta() *Metadata
func (*MetadataResponse) ProtoMessage ¶ added in v1.22.0
func (*MetadataResponse) ProtoMessage()
func (*MetadataResponse) ProtoReflect ¶ added in v1.22.0
func (x *MetadataResponse) ProtoReflect() protoreflect.Message
func (*MetadataResponse) Reset ¶ added in v1.22.0
func (x *MetadataResponse) Reset()
func (*MetadataResponse) String ¶ added in v1.22.0
func (x *MetadataResponse) String() string
type MinGasResponse ¶
type MinGasResponse struct { Mingas *SimpleInt `protobuf:"bytes,1,opt,name=mingas,proto3" json:"mingas,omitempty"` // contains filtered or unexported fields }
func (*MinGasResponse) Descriptor
deprecated
func (*MinGasResponse) Descriptor() ([]byte, []int)
Deprecated: Use MinGasResponse.ProtoReflect.Descriptor instead.
func (*MinGasResponse) GetMingas ¶
func (x *MinGasResponse) GetMingas() *SimpleInt
func (*MinGasResponse) ProtoMessage ¶
func (*MinGasResponse) ProtoMessage()
func (*MinGasResponse) ProtoReflect ¶
func (x *MinGasResponse) ProtoReflect() protoreflect.Message
func (*MinGasResponse) Reset ¶
func (x *MinGasResponse) Reset()
func (*MinGasResponse) String ¶
func (x *MinGasResponse) String() string
type NetworkInfoResponse ¶ added in v1.5.1
type NetworkInfoResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*NetworkInfoResponse) Descriptor
deprecated
added in
v1.5.1
func (*NetworkInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInfoResponse.ProtoReflect.Descriptor instead.
func (*NetworkInfoResponse) GetId ¶ added in v1.5.1
func (x *NetworkInfoResponse) GetId() string
func (*NetworkInfoResponse) ProtoMessage ¶ added in v1.5.1
func (*NetworkInfoResponse) ProtoMessage()
func (*NetworkInfoResponse) ProtoReflect ¶ added in v1.5.1
func (x *NetworkInfoResponse) ProtoReflect() protoreflect.Message
func (*NetworkInfoResponse) Reset ¶ added in v1.5.1
func (x *NetworkInfoResponse) Reset()
func (*NetworkInfoResponse) String ¶ added in v1.5.1
func (x *NetworkInfoResponse) String() string
type NodeError ¶
type NodeError struct { Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=spacemesh.v1.LogLevel" json:"level,omitempty"` Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` StackTrace string `protobuf:"bytes,4,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"` // contains filtered or unexported fields }
func (*NodeError) Descriptor
deprecated
func (*NodeError) GetStackTrace ¶
func (*NodeError) ProtoMessage ¶
func (*NodeError) ProtoMessage()
func (*NodeError) ProtoReflect ¶
func (x *NodeError) ProtoReflect() protoreflect.Message
type NodeInfoResponse ¶ added in v1.16.0
type NodeInfoResponse struct { Hrp string `protobuf:"bytes,1,opt,name=hrp,proto3" json:"hrp,omitempty"` FirstGenesis uint32 `protobuf:"varint,2,opt,name=first_genesis,json=firstGenesis,proto3" json:"first_genesis,omitempty"` EffectiveGenesis uint32 `protobuf:"varint,3,opt,name=effective_genesis,json=effectiveGenesis,proto3" json:"effective_genesis,omitempty"` EpochSize uint32 `protobuf:"varint,4,opt,name=epoch_size,json=epochSize,proto3" json:"epoch_size,omitempty"` // contains filtered or unexported fields }
func (*NodeInfoResponse) Descriptor
deprecated
added in
v1.16.0
func (*NodeInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfoResponse.ProtoReflect.Descriptor instead.
func (*NodeInfoResponse) GetEffectiveGenesis ¶ added in v1.16.0
func (x *NodeInfoResponse) GetEffectiveGenesis() uint32
func (*NodeInfoResponse) GetEpochSize ¶ added in v1.16.0
func (x *NodeInfoResponse) GetEpochSize() uint32
func (*NodeInfoResponse) GetFirstGenesis ¶ added in v1.16.0
func (x *NodeInfoResponse) GetFirstGenesis() uint32
func (*NodeInfoResponse) GetHrp ¶ added in v1.16.0
func (x *NodeInfoResponse) GetHrp() string
func (*NodeInfoResponse) ProtoMessage ¶ added in v1.16.0
func (*NodeInfoResponse) ProtoMessage()
func (*NodeInfoResponse) ProtoReflect ¶ added in v1.16.0
func (x *NodeInfoResponse) ProtoReflect() protoreflect.Message
func (*NodeInfoResponse) Reset ¶ added in v1.16.0
func (x *NodeInfoResponse) Reset()
func (*NodeInfoResponse) String ¶ added in v1.16.0
func (x *NodeInfoResponse) String() string
type NodeRequest ¶ added in v1.22.0
type NodeRequest struct { // Types that are assignable to Kind: // // *NodeRequest_Metadata // *NodeRequest_GenProof Kind isNodeRequest_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
NodeRequest is a request sent from the node to the post service.
func (*NodeRequest) Descriptor
deprecated
added in
v1.22.0
func (*NodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeRequest.ProtoReflect.Descriptor instead.
func (*NodeRequest) GetGenProof ¶ added in v1.22.0
func (x *NodeRequest) GetGenProof() *GenProofRequest
func (*NodeRequest) GetKind ¶ added in v1.22.0
func (m *NodeRequest) GetKind() isNodeRequest_Kind
func (*NodeRequest) GetMetadata ¶ added in v1.22.0
func (x *NodeRequest) GetMetadata() *MetadataRequest
func (*NodeRequest) ProtoMessage ¶ added in v1.22.0
func (*NodeRequest) ProtoMessage()
func (*NodeRequest) ProtoReflect ¶ added in v1.22.0
func (x *NodeRequest) ProtoReflect() protoreflect.Message
func (*NodeRequest) Reset ¶ added in v1.22.0
func (x *NodeRequest) Reset()
func (*NodeRequest) String ¶ added in v1.22.0
func (x *NodeRequest) String() string
type NodeRequest_GenProof ¶ added in v1.22.0
type NodeRequest_GenProof struct {
GenProof *GenProofRequest `protobuf:"bytes,2,opt,name=gen_proof,json=genProof,proto3,oneof"`
}
type NodeRequest_Metadata ¶ added in v1.22.0
type NodeRequest_Metadata struct {
Metadata *MetadataRequest `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
}
type NodeServiceClient ¶
type NodeServiceClient interface { // A simple test endpoint Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error) // Returns the version of the node software as a semver string Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error) // Returns the github commit hash used to build the node Build(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BuildResponse, error) // Current node status (net and sync) Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) // NodeInfo is a node configuration info. NodeInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NodeInfoResponse, error) // Node status events (sync and net) StatusStream(ctx context.Context, in *StatusStreamRequest, opts ...grpc.CallOption) (NodeService_StatusStreamClient, error) // Node error events ErrorStream(ctx context.Context, in *ErrorStreamRequest, opts ...grpc.CallOption) (NodeService_ErrorStreamClient, error) }
NodeServiceClient is the client API for NodeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNodeServiceClient ¶
func NewNodeServiceClient(cc grpc.ClientConnInterface) NodeServiceClient
type NodeServiceServer ¶
type NodeServiceServer interface { // A simple test endpoint Echo(context.Context, *EchoRequest) (*EchoResponse, error) // Returns the version of the node software as a semver string Version(context.Context, *emptypb.Empty) (*VersionResponse, error) // Returns the github commit hash used to build the node Build(context.Context, *emptypb.Empty) (*BuildResponse, error) // Current node status (net and sync) Status(context.Context, *StatusRequest) (*StatusResponse, error) // NodeInfo is a node configuration info. NodeInfo(context.Context, *emptypb.Empty) (*NodeInfoResponse, error) // Node status events (sync and net) StatusStream(*StatusStreamRequest, NodeService_StatusStreamServer) error // Node error events ErrorStream(*ErrorStreamRequest, NodeService_ErrorStreamServer) error }
NodeServiceServer is the server API for NodeService service. All implementations should embed UnimplementedNodeServiceServer for forward compatibility
type NodeService_ErrorStreamClient ¶
type NodeService_ErrorStreamClient interface { Recv() (*ErrorStreamResponse, error) grpc.ClientStream }
type NodeService_ErrorStreamServer ¶
type NodeService_ErrorStreamServer interface { Send(*ErrorStreamResponse) error grpc.ServerStream }
type NodeService_StatusStreamClient ¶
type NodeService_StatusStreamClient interface { Recv() (*StatusStreamResponse, error) grpc.ClientStream }
type NodeService_StatusStreamServer ¶
type NodeService_StatusStreamServer interface { Send(*StatusStreamResponse) error grpc.ServerStream }
type NodeStatus ¶
type NodeStatus struct { ConnectedPeers uint64 `protobuf:"varint,1,opt,name=connected_peers,json=connectedPeers,proto3" json:"connected_peers,omitempty"` // number of connected neighbors IsSynced bool `protobuf:"varint,2,opt,name=is_synced,json=isSynced,proto3" json:"is_synced,omitempty"` // true when meshed is synced SyncedLayer *LayerNumber `protobuf:"bytes,3,opt,name=synced_layer,json=syncedLayer,proto3" json:"synced_layer,omitempty"` // the last layer node has synced TopLayer *LayerNumber `protobuf:"bytes,4,opt,name=top_layer,json=topLayer,proto3" json:"top_layer,omitempty"` // top layer is the tip VerifiedLayer *LayerNumber `protobuf:"bytes,5,opt,name=verified_layer,json=verifiedLayer,proto3" json:"verified_layer,omitempty"` // the last layer node has verified // contains filtered or unexported fields }
current node status
func (*NodeStatus) Descriptor
deprecated
func (*NodeStatus) Descriptor() ([]byte, []int)
Deprecated: Use NodeStatus.ProtoReflect.Descriptor instead.
func (*NodeStatus) GetConnectedPeers ¶
func (x *NodeStatus) GetConnectedPeers() uint64
func (*NodeStatus) GetIsSynced ¶
func (x *NodeStatus) GetIsSynced() bool
func (*NodeStatus) GetSyncedLayer ¶
func (x *NodeStatus) GetSyncedLayer() *LayerNumber
func (*NodeStatus) GetTopLayer ¶
func (x *NodeStatus) GetTopLayer() *LayerNumber
func (*NodeStatus) GetVerifiedLayer ¶
func (x *NodeStatus) GetVerifiedLayer() *LayerNumber
func (*NodeStatus) ProtoMessage ¶
func (*NodeStatus) ProtoMessage()
func (*NodeStatus) ProtoReflect ¶
func (x *NodeStatus) ProtoReflect() protoreflect.Message
func (*NodeStatus) Reset ¶
func (x *NodeStatus) Reset()
func (*NodeStatus) String ¶
func (x *NodeStatus) String() string
type Nonce ¶ added in v1.5.1
type Nonce struct { Counter uint64 `protobuf:"varint,1,opt,name=counter,proto3" json:"counter,omitempty"` Bitfield uint32 `protobuf:"varint,2,opt,name=bitfield,proto3" json:"bitfield,omitempty"` // this is actually limited by uint8, but no type for that. // contains filtered or unexported fields }
func (*Nonce) Descriptor
deprecated
added in
v1.5.1
func (*Nonce) GetBitfield ¶ added in v1.5.1
func (*Nonce) GetCounter ¶ added in v1.5.1
func (*Nonce) ProtoMessage ¶ added in v1.5.1
func (*Nonce) ProtoMessage()
func (*Nonce) ProtoReflect ¶ added in v1.5.1
func (x *Nonce) ProtoReflect() protoreflect.Message
type ParseTransactionRequest ¶ added in v1.9.0
type ParseTransactionRequest struct { Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // signed binary transaction Verify bool `protobuf:"varint,2,opt,name=verify,proto3" json:"verify,omitempty"` // if true signature verification will be executed // contains filtered or unexported fields }
func (*ParseTransactionRequest) Descriptor
deprecated
added in
v1.9.0
func (*ParseTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseTransactionRequest.ProtoReflect.Descriptor instead.
func (*ParseTransactionRequest) GetTransaction ¶ added in v1.9.0
func (x *ParseTransactionRequest) GetTransaction() []byte
func (*ParseTransactionRequest) GetVerify ¶ added in v1.9.0
func (x *ParseTransactionRequest) GetVerify() bool
func (*ParseTransactionRequest) ProtoMessage ¶ added in v1.9.0
func (*ParseTransactionRequest) ProtoMessage()
func (*ParseTransactionRequest) ProtoReflect ¶ added in v1.9.0
func (x *ParseTransactionRequest) ProtoReflect() protoreflect.Message
func (*ParseTransactionRequest) Reset ¶ added in v1.9.0
func (x *ParseTransactionRequest) Reset()
func (*ParseTransactionRequest) String ¶ added in v1.9.0
func (x *ParseTransactionRequest) String() string
type ParseTransactionResponse ¶ added in v1.9.0
type ParseTransactionResponse struct { Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*ParseTransactionResponse) Descriptor
deprecated
added in
v1.9.0
func (*ParseTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParseTransactionResponse.ProtoReflect.Descriptor instead.
func (*ParseTransactionResponse) GetTx ¶ added in v1.9.0
func (x *ParseTransactionResponse) GetTx() *Transaction
func (*ParseTransactionResponse) ProtoMessage ¶ added in v1.9.0
func (*ParseTransactionResponse) ProtoMessage()
func (*ParseTransactionResponse) ProtoReflect ¶ added in v1.9.0
func (x *ParseTransactionResponse) ProtoReflect() protoreflect.Message
func (*ParseTransactionResponse) Reset ¶ added in v1.9.0
func (x *ParseTransactionResponse) Reset()
func (*ParseTransactionResponse) String ¶ added in v1.9.0
func (x *ParseTransactionResponse) String() string
type PeerInfo ¶ added in v1.20.0
type PeerInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Connections []*ConnectionInfo `protobuf:"bytes,2,rep,name=connections,proto3" json:"connections,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*PeerInfo) Descriptor
deprecated
added in
v1.20.0
func (*PeerInfo) GetConnections ¶ added in v1.20.0
func (x *PeerInfo) GetConnections() []*ConnectionInfo
func (*PeerInfo) ProtoMessage ¶ added in v1.20.0
func (*PeerInfo) ProtoMessage()
func (*PeerInfo) ProtoReflect ¶ added in v1.20.0
func (x *PeerInfo) ProtoReflect() protoreflect.Message
type PostConfigResponse ¶ added in v1.4.0
type PostConfigResponse struct { BitsPerLabel uint32 `protobuf:"varint,1,opt,name=bits_per_label,json=bitsPerLabel,proto3" json:"bits_per_label,omitempty"` LabelsPerUnit uint64 `protobuf:"varint,2,opt,name=labels_per_unit,json=labelsPerUnit,proto3" json:"labels_per_unit,omitempty"` MinNumUnits uint32 `protobuf:"varint,3,opt,name=min_num_units,json=minNumUnits,proto3" json:"min_num_units,omitempty"` MaxNumUnits uint32 `protobuf:"varint,4,opt,name=max_num_units,json=maxNumUnits,proto3" json:"max_num_units,omitempty"` K1 uint32 `protobuf:"varint,5,opt,name=k1,proto3" json:"k1,omitempty"` K2 uint32 `protobuf:"varint,6,opt,name=k2,proto3" json:"k2,omitempty"` // contains filtered or unexported fields }
func (*PostConfigResponse) Descriptor
deprecated
added in
v1.4.0
func (*PostConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostConfigResponse.ProtoReflect.Descriptor instead.
func (*PostConfigResponse) GetBitsPerLabel ¶ added in v1.4.0
func (x *PostConfigResponse) GetBitsPerLabel() uint32
func (*PostConfigResponse) GetK1 ¶ added in v1.5.1
func (x *PostConfigResponse) GetK1() uint32
func (*PostConfigResponse) GetK2 ¶ added in v1.5.1
func (x *PostConfigResponse) GetK2() uint32
func (*PostConfigResponse) GetLabelsPerUnit ¶ added in v1.4.0
func (x *PostConfigResponse) GetLabelsPerUnit() uint64
func (*PostConfigResponse) GetMaxNumUnits ¶ added in v1.4.0
func (x *PostConfigResponse) GetMaxNumUnits() uint32
func (*PostConfigResponse) GetMinNumUnits ¶ added in v1.4.0
func (x *PostConfigResponse) GetMinNumUnits() uint32
func (*PostConfigResponse) ProtoMessage ¶ added in v1.4.0
func (*PostConfigResponse) ProtoMessage()
func (*PostConfigResponse) ProtoReflect ¶ added in v1.4.0
func (x *PostConfigResponse) ProtoReflect() protoreflect.Message
func (*PostConfigResponse) Reset ¶ added in v1.4.0
func (x *PostConfigResponse) Reset()
func (*PostConfigResponse) String ¶ added in v1.4.0
func (x *PostConfigResponse) String() string
type PostServiceClient ¶ added in v1.22.0
type PostServiceClient interface { // Register is a bi-directional stream that allows a dedicated PoST node to connect to the spacemesh node. // The node will send NodeRequets to PoST and the service will respond with ServiceResponses. Register(ctx context.Context, opts ...grpc.CallOption) (PostService_RegisterClient, error) }
PostServiceClient is the client API for PostService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPostServiceClient ¶ added in v1.22.0
func NewPostServiceClient(cc grpc.ClientConnInterface) PostServiceClient
type PostServiceServer ¶ added in v1.22.0
type PostServiceServer interface { // Register is a bi-directional stream that allows a dedicated PoST node to connect to the spacemesh node. // The node will send NodeRequets to PoST and the service will respond with ServiceResponses. Register(PostService_RegisterServer) error }
PostServiceServer is the server API for PostService service. All implementations should embed UnimplementedPostServiceServer for forward compatibility
type PostService_RegisterClient ¶ added in v1.22.0
type PostService_RegisterClient interface { Send(*ServiceResponse) error Recv() (*NodeRequest, error) grpc.ClientStream }
type PostService_RegisterServer ¶ added in v1.22.0
type PostService_RegisterServer interface { Send(*NodeRequest) error Recv() (*ServiceResponse, error) grpc.ServerStream }
type PostSetupOpts ¶ added in v1.4.0
type PostSetupOpts struct { DataDir string `protobuf:"bytes,1,opt,name=data_dir,json=dataDir,proto3" json:"data_dir,omitempty"` // User provided path to create the setup data files at NumUnits uint32 `protobuf:"varint,2,opt,name=num_units,json=numUnits,proto3" json:"num_units,omitempty"` // Number of Post data units to generate MaxFileSize uint64 `protobuf:"varint,3,opt,name=max_file_size,json=maxFileSize,proto3" json:"max_file_size,omitempty"` // Max size in bytes of a single file within the data files ProviderId *uint32 `protobuf:"varint,4,opt,name=provider_id,json=providerId,proto3,oneof" json:"provider_id,omitempty"` // A `PostSetupProvider` id Throttle bool `protobuf:"varint,5,opt,name=throttle,proto3" json:"throttle,omitempty"` // Throttle down setup phase computations while user is interactive on system // contains filtered or unexported fields }
Post setup options, used to define the setup requirements.
func (*PostSetupOpts) Descriptor
deprecated
added in
v1.4.0
func (*PostSetupOpts) Descriptor() ([]byte, []int)
Deprecated: Use PostSetupOpts.ProtoReflect.Descriptor instead.
func (*PostSetupOpts) GetDataDir ¶ added in v1.4.0
func (x *PostSetupOpts) GetDataDir() string
func (*PostSetupOpts) GetMaxFileSize ¶ added in v1.5.4
func (x *PostSetupOpts) GetMaxFileSize() uint64
func (*PostSetupOpts) GetNumUnits ¶ added in v1.4.0
func (x *PostSetupOpts) GetNumUnits() uint32
func (*PostSetupOpts) GetProviderId ¶ added in v1.10.0
func (x *PostSetupOpts) GetProviderId() uint32
func (*PostSetupOpts) GetThrottle ¶ added in v1.4.0
func (x *PostSetupOpts) GetThrottle() bool
func (*PostSetupOpts) ProtoMessage ¶ added in v1.4.0
func (*PostSetupOpts) ProtoMessage()
func (*PostSetupOpts) ProtoReflect ¶ added in v1.4.0
func (x *PostSetupOpts) ProtoReflect() protoreflect.Message
func (*PostSetupOpts) Reset ¶ added in v1.4.0
func (x *PostSetupOpts) Reset()
func (*PostSetupOpts) String ¶ added in v1.4.0
func (x *PostSetupOpts) String() string
type PostSetupProvider ¶ added in v1.10.0
type PostSetupProvider struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // unique id for the provider Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // e.g. Nvidia GTX 2700 DeviceType PostSetupProvider_DeviceType `` // device type of the provider /* 139-byte string literal not displayed */ Performance uint64 `protobuf:"varint,4,opt,name=performance,proto3" json:"performance,omitempty"` // Estimated performance in hashes per second // contains filtered or unexported fields }
func (*PostSetupProvider) Descriptor
deprecated
added in
v1.10.0
func (*PostSetupProvider) Descriptor() ([]byte, []int)
Deprecated: Use PostSetupProvider.ProtoReflect.Descriptor instead.
func (*PostSetupProvider) GetDeviceType ¶ added in v1.10.0
func (x *PostSetupProvider) GetDeviceType() PostSetupProvider_DeviceType
func (*PostSetupProvider) GetId ¶ added in v1.10.0
func (x *PostSetupProvider) GetId() uint32
func (*PostSetupProvider) GetModel ¶ added in v1.10.0
func (x *PostSetupProvider) GetModel() string
func (*PostSetupProvider) GetPerformance ¶ added in v1.10.0
func (x *PostSetupProvider) GetPerformance() uint64
func (*PostSetupProvider) ProtoMessage ¶ added in v1.10.0
func (*PostSetupProvider) ProtoMessage()
func (*PostSetupProvider) ProtoReflect ¶ added in v1.10.0
func (x *PostSetupProvider) ProtoReflect() protoreflect.Message
func (*PostSetupProvider) Reset ¶ added in v1.10.0
func (x *PostSetupProvider) Reset()
func (*PostSetupProvider) String ¶ added in v1.10.0
func (x *PostSetupProvider) String() string
type PostSetupProvider_DeviceType ¶ added in v1.10.0
type PostSetupProvider_DeviceType int32
const ( PostSetupProvider_DEVICE_CLASS_CPU PostSetupProvider_DeviceType = 0 // useful for testing on systems without a cuda or vulkan GPU PostSetupProvider_DEVICE_CLASS_GPU PostSetupProvider_DeviceType = 1 )
func (PostSetupProvider_DeviceType) Descriptor ¶ added in v1.10.0
func (PostSetupProvider_DeviceType) Descriptor() protoreflect.EnumDescriptor
func (PostSetupProvider_DeviceType) Enum ¶ added in v1.10.0
func (x PostSetupProvider_DeviceType) Enum() *PostSetupProvider_DeviceType
func (PostSetupProvider_DeviceType) EnumDescriptor
deprecated
added in
v1.10.0
func (PostSetupProvider_DeviceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PostSetupProvider_DeviceType.Descriptor instead.
func (PostSetupProvider_DeviceType) Number ¶ added in v1.10.0
func (x PostSetupProvider_DeviceType) Number() protoreflect.EnumNumber
func (PostSetupProvider_DeviceType) String ¶ added in v1.10.0
func (x PostSetupProvider_DeviceType) String() string
func (PostSetupProvider_DeviceType) Type ¶ added in v1.10.0
func (PostSetupProvider_DeviceType) Type() protoreflect.EnumType
type PostSetupProvidersRequest ¶ added in v1.10.0
type PostSetupProvidersRequest struct { // Whether to run a short benchmarking session for each provider to evaluate its performance Benchmark bool `protobuf:"varint,1,opt,name=benchmark,proto3" json:"benchmark,omitempty"` // contains filtered or unexported fields }
func (*PostSetupProvidersRequest) Descriptor
deprecated
added in
v1.10.0
func (*PostSetupProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use PostSetupProvidersRequest.ProtoReflect.Descriptor instead.
func (*PostSetupProvidersRequest) GetBenchmark ¶ added in v1.10.0
func (x *PostSetupProvidersRequest) GetBenchmark() bool
func (*PostSetupProvidersRequest) ProtoMessage ¶ added in v1.10.0
func (*PostSetupProvidersRequest) ProtoMessage()
func (*PostSetupProvidersRequest) ProtoReflect ¶ added in v1.10.0
func (x *PostSetupProvidersRequest) ProtoReflect() protoreflect.Message
func (*PostSetupProvidersRequest) Reset ¶ added in v1.10.0
func (x *PostSetupProvidersRequest) Reset()
func (*PostSetupProvidersRequest) String ¶ added in v1.10.0
func (x *PostSetupProvidersRequest) String() string
type PostSetupProvidersResponse ¶ added in v1.10.0
type PostSetupProvidersResponse struct { Providers []*PostSetupProvider `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"` // contains filtered or unexported fields }
func (*PostSetupProvidersResponse) Descriptor
deprecated
added in
v1.10.0
func (*PostSetupProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostSetupProvidersResponse.ProtoReflect.Descriptor instead.
func (*PostSetupProvidersResponse) GetProviders ¶ added in v1.10.0
func (x *PostSetupProvidersResponse) GetProviders() []*PostSetupProvider
func (*PostSetupProvidersResponse) ProtoMessage ¶ added in v1.10.0
func (*PostSetupProvidersResponse) ProtoMessage()
func (*PostSetupProvidersResponse) ProtoReflect ¶ added in v1.10.0
func (x *PostSetupProvidersResponse) ProtoReflect() protoreflect.Message
func (*PostSetupProvidersResponse) Reset ¶ added in v1.10.0
func (x *PostSetupProvidersResponse) Reset()
func (*PostSetupProvidersResponse) String ¶ added in v1.10.0
func (x *PostSetupProvidersResponse) String() string
type PostSetupStatus ¶ added in v1.4.0
type PostSetupStatus struct { State PostSetupStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.v1.PostSetupStatus_State" json:"state,omitempty"` NumLabelsWritten uint64 `protobuf:"varint,2,opt,name=num_labels_written,json=numLabelsWritten,proto3" json:"num_labels_written,omitempty"` // Number of labels (hashes) written to the data files Opts *PostSetupOpts `protobuf:"bytes,3,opt,name=opts,proto3" json:"opts,omitempty"` // setup options previously set by the user // contains filtered or unexported fields }
func (*PostSetupStatus) Descriptor
deprecated
added in
v1.4.0
func (*PostSetupStatus) Descriptor() ([]byte, []int)
Deprecated: Use PostSetupStatus.ProtoReflect.Descriptor instead.
func (*PostSetupStatus) GetNumLabelsWritten ¶ added in v1.4.0
func (x *PostSetupStatus) GetNumLabelsWritten() uint64
func (*PostSetupStatus) GetOpts ¶ added in v1.4.0
func (x *PostSetupStatus) GetOpts() *PostSetupOpts
func (*PostSetupStatus) GetState ¶ added in v1.4.0
func (x *PostSetupStatus) GetState() PostSetupStatus_State
func (*PostSetupStatus) ProtoMessage ¶ added in v1.4.0
func (*PostSetupStatus) ProtoMessage()
func (*PostSetupStatus) ProtoReflect ¶ added in v1.4.0
func (x *PostSetupStatus) ProtoReflect() protoreflect.Message
func (*PostSetupStatus) Reset ¶ added in v1.4.0
func (x *PostSetupStatus) Reset()
func (*PostSetupStatus) String ¶ added in v1.4.0
func (x *PostSetupStatus) String() string
type PostSetupStatusResponse ¶ added in v1.4.0
type PostSetupStatusResponse struct { Status *PostSetupStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*PostSetupStatusResponse) Descriptor
deprecated
added in
v1.4.0
func (*PostSetupStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostSetupStatusResponse.ProtoReflect.Descriptor instead.
func (*PostSetupStatusResponse) GetStatus ¶ added in v1.4.0
func (x *PostSetupStatusResponse) GetStatus() *PostSetupStatus
func (*PostSetupStatusResponse) ProtoMessage ¶ added in v1.4.0
func (*PostSetupStatusResponse) ProtoMessage()
func (*PostSetupStatusResponse) ProtoReflect ¶ added in v1.4.0
func (x *PostSetupStatusResponse) ProtoReflect() protoreflect.Message
func (*PostSetupStatusResponse) Reset ¶ added in v1.4.0
func (x *PostSetupStatusResponse) Reset()
func (*PostSetupStatusResponse) String ¶ added in v1.4.0
func (x *PostSetupStatusResponse) String() string
type PostSetupStatusStreamResponse ¶ added in v1.4.0
type PostSetupStatusStreamResponse struct { Status *PostSetupStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*PostSetupStatusStreamResponse) Descriptor
deprecated
added in
v1.4.0
func (*PostSetupStatusStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostSetupStatusStreamResponse.ProtoReflect.Descriptor instead.
func (*PostSetupStatusStreamResponse) GetStatus ¶ added in v1.4.0
func (x *PostSetupStatusStreamResponse) GetStatus() *PostSetupStatus
func (*PostSetupStatusStreamResponse) ProtoMessage ¶ added in v1.4.0
func (*PostSetupStatusStreamResponse) ProtoMessage()
func (*PostSetupStatusStreamResponse) ProtoReflect ¶ added in v1.4.0
func (x *PostSetupStatusStreamResponse) ProtoReflect() protoreflect.Message
func (*PostSetupStatusStreamResponse) Reset ¶ added in v1.4.0
func (x *PostSetupStatusStreamResponse) Reset()
func (*PostSetupStatusStreamResponse) String ¶ added in v1.4.0
func (x *PostSetupStatusStreamResponse) String() string
type PostSetupStatus_State ¶ added in v1.4.0
type PostSetupStatus_State int32
const ( PostSetupStatus_STATE_UNSPECIFIED PostSetupStatus_State = 0 // Lane's favorite impossible value PostSetupStatus_STATE_NOT_STARTED PostSetupStatus_State = 1 // Setup not started PostSetupStatus_STATE_PREPARED PostSetupStatus_State = 2 // Setup prepared PostSetupStatus_STATE_IN_PROGRESS PostSetupStatus_State = 3 // Setup in progress PostSetupStatus_STATE_PAUSED PostSetupStatus_State = 4 // Setup paused PostSetupStatus_STATE_COMPLETE PostSetupStatus_State = 5 // Setup is complete PostSetupStatus_STATE_ERROR PostSetupStatus_State = 6 // Setup last session ended with an error )
func (PostSetupStatus_State) Descriptor ¶ added in v1.4.0
func (PostSetupStatus_State) Descriptor() protoreflect.EnumDescriptor
func (PostSetupStatus_State) Enum ¶ added in v1.4.0
func (x PostSetupStatus_State) Enum() *PostSetupStatus_State
func (PostSetupStatus_State) EnumDescriptor
deprecated
added in
v1.4.0
func (PostSetupStatus_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use PostSetupStatus_State.Descriptor instead.
func (PostSetupStatus_State) Number ¶ added in v1.4.0
func (x PostSetupStatus_State) Number() protoreflect.EnumNumber
func (PostSetupStatus_State) String ¶ added in v1.4.0
func (x PostSetupStatus_State) String() string
func (PostSetupStatus_State) Type ¶ added in v1.4.0
func (PostSetupStatus_State) Type() protoreflect.EnumType
type Proof ¶ added in v1.22.0
type Proof struct { Nonce uint32 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` Indices []byte `protobuf:"bytes,2,opt,name=indices,proto3" json:"indices,omitempty"` Pow uint64 `protobuf:"varint,3,opt,name=pow,proto3" json:"pow,omitempty"` // contains filtered or unexported fields }
func (*Proof) Descriptor
deprecated
added in
v1.22.0
func (*Proof) GetIndices ¶ added in v1.22.0
func (*Proof) ProtoMessage ¶ added in v1.22.0
func (*Proof) ProtoMessage()
func (*Proof) ProtoReflect ¶ added in v1.22.0
func (x *Proof) ProtoReflect() protoreflect.Message
type ProofMetadata ¶ added in v1.22.0
type ProofMetadata struct { Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` Meta *Metadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*ProofMetadata) Descriptor
deprecated
added in
v1.22.0
func (*ProofMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ProofMetadata.ProtoReflect.Descriptor instead.
func (*ProofMetadata) GetChallenge ¶ added in v1.22.0
func (x *ProofMetadata) GetChallenge() []byte
func (*ProofMetadata) GetMeta ¶ added in v1.22.0
func (x *ProofMetadata) GetMeta() *Metadata
func (*ProofMetadata) ProtoMessage ¶ added in v1.22.0
func (*ProofMetadata) ProtoMessage()
func (*ProofMetadata) ProtoReflect ¶ added in v1.22.0
func (x *ProofMetadata) ProtoReflect() protoreflect.Message
func (*ProofMetadata) Reset ¶ added in v1.22.0
func (x *ProofMetadata) Reset()
func (*ProofMetadata) String ¶ added in v1.22.0
func (x *ProofMetadata) String() string
type Proposal ¶ added in v1.5.1
type Proposal struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Epoch *EpochNumber `protobuf:"bytes,2,opt,name=epoch,proto3" json:"epoch,omitempty"` Layer *LayerNumber `protobuf:"bytes,3,opt,name=layer,proto3" json:"layer,omitempty"` Smesher *SmesherId `protobuf:"bytes,4,opt,name=smesher,proto3" json:"smesher,omitempty"` // Types that are assignable to EpochData: // // *Proposal_Reference // *Proposal_Data EpochData isProposal_EpochData `protobuf_oneof:"epoch_data"` Ballot []byte `protobuf:"bytes,7,opt,name=ballot,proto3" json:"ballot,omitempty"` Eligibilities []*Eligibility `protobuf:"bytes,8,rep,name=eligibilities,proto3" json:"eligibilities,omitempty"` Status Proposal_Status `protobuf:"varint,9,opt,name=status,proto3,enum=spacemesh.v1.Proposal_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Proposal) Descriptor
deprecated
added in
v1.5.1
func (*Proposal) GetEligibilities ¶ added in v1.5.1
func (x *Proposal) GetEligibilities() []*Eligibility
func (*Proposal) GetEpoch ¶ added in v1.5.1
func (x *Proposal) GetEpoch() *EpochNumber
func (*Proposal) GetEpochData ¶ added in v1.5.1
func (m *Proposal) GetEpochData() isProposal_EpochData
func (*Proposal) GetLayer ¶ added in v1.5.1
func (x *Proposal) GetLayer() *LayerNumber
func (*Proposal) GetReference ¶ added in v1.5.1
func (*Proposal) GetSmesher ¶ added in v1.5.1
func (*Proposal) GetStatus ¶ added in v1.5.1
func (x *Proposal) GetStatus() Proposal_Status
func (*Proposal) ProtoMessage ¶ added in v1.5.1
func (*Proposal) ProtoMessage()
func (*Proposal) ProtoReflect ¶ added in v1.5.1
func (x *Proposal) ProtoReflect() protoreflect.Message
type ProposalEligibility ¶ added in v1.14.0
type ProposalEligibility struct { Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ProposalEligibility) Descriptor
deprecated
added in
v1.14.0
func (*ProposalEligibility) Descriptor() ([]byte, []int)
Deprecated: Use ProposalEligibility.ProtoReflect.Descriptor instead.
func (*ProposalEligibility) GetCount ¶ added in v1.14.0
func (x *ProposalEligibility) GetCount() uint32
func (*ProposalEligibility) GetLayer ¶ added in v1.14.0
func (x *ProposalEligibility) GetLayer() uint32
func (*ProposalEligibility) ProtoMessage ¶ added in v1.14.0
func (*ProposalEligibility) ProtoMessage()
func (*ProposalEligibility) ProtoReflect ¶ added in v1.14.0
func (x *ProposalEligibility) ProtoReflect() protoreflect.Message
func (*ProposalEligibility) Reset ¶ added in v1.14.0
func (x *ProposalEligibility) Reset()
func (*ProposalEligibility) String ¶ added in v1.14.0
func (x *ProposalEligibility) String() string
type Proposal_Data ¶ added in v1.5.1
type Proposal_Data struct {
Data *EpochData `protobuf:"bytes,6,opt,name=data,proto3,oneof"`
}
type Proposal_Reference ¶ added in v1.5.1
type Proposal_Reference struct {
Reference []byte `protobuf:"bytes,5,opt,name=reference,proto3,oneof"`
}
type Proposal_Status ¶ added in v1.5.1
type Proposal_Status int32
const ( Proposal_Created Proposal_Status = 0 Proposal_Included Proposal_Status = 1 )
func (Proposal_Status) Descriptor ¶ added in v1.5.1
func (Proposal_Status) Descriptor() protoreflect.EnumDescriptor
func (Proposal_Status) Enum ¶ added in v1.5.1
func (x Proposal_Status) Enum() *Proposal_Status
func (Proposal_Status) EnumDescriptor
deprecated
added in
v1.5.1
func (Proposal_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Proposal_Status.Descriptor instead.
func (Proposal_Status) Number ¶ added in v1.5.1
func (x Proposal_Status) Number() protoreflect.EnumNumber
func (Proposal_Status) String ¶ added in v1.5.1
func (x Proposal_Status) String() string
func (Proposal_Status) Type ¶ added in v1.5.1
func (Proposal_Status) Type() protoreflect.EnumType
type RecoverRequest ¶ added in v1.11.0
type RecoverRequest struct { Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` RestoreLayer uint32 `protobuf:"varint,2,opt,name=restore_layer,json=restoreLayer,proto3" json:"restore_layer,omitempty"` // contains filtered or unexported fields }
func (*RecoverRequest) Descriptor
deprecated
added in
v1.11.0
func (*RecoverRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecoverRequest.ProtoReflect.Descriptor instead.
func (*RecoverRequest) GetRestoreLayer ¶ added in v1.12.0
func (x *RecoverRequest) GetRestoreLayer() uint32
func (*RecoverRequest) GetUri ¶ added in v1.11.0
func (x *RecoverRequest) GetUri() string
func (*RecoverRequest) ProtoMessage ¶ added in v1.11.0
func (*RecoverRequest) ProtoMessage()
func (*RecoverRequest) ProtoReflect ¶ added in v1.11.0
func (x *RecoverRequest) ProtoReflect() protoreflect.Message
func (*RecoverRequest) Reset ¶ added in v1.11.0
func (x *RecoverRequest) Reset()
func (*RecoverRequest) String ¶ added in v1.11.0
func (x *RecoverRequest) String() string
type Reward ¶
type Reward struct { Layer *LayerNumber `protobuf:"bytes,1,opt,name=layer,proto3" json:"layer,omitempty"` // layer award was paid in Total *Amount `protobuf:"bytes,2,opt,name=total,proto3" json:"total,omitempty"` // total reward paid (sum of tx fee and layer reward) LayerReward *Amount `protobuf:"bytes,3,opt,name=layer_reward,json=layerReward,proto3" json:"layer_reward,omitempty"` // tx_fee = total - layer_reward LayerComputed *LayerNumber `protobuf:"bytes,4,opt,name=layer_computed,json=layerComputed,proto3" json:"layer_computed,omitempty"` // layer number of the layer when reward was computed Coinbase *AccountId `protobuf:"bytes,5,opt,name=coinbase,proto3" json:"coinbase,omitempty"` // account awarded this reward Smesher *SmesherId `protobuf:"bytes,6,opt,name=smesher,proto3" json:"smesher,omitempty"` // id of smesher who earned this reward // contains filtered or unexported fields }
func (*Reward) Descriptor
deprecated
func (*Reward) GetCoinbase ¶
func (*Reward) GetLayer ¶
func (x *Reward) GetLayer() *LayerNumber
func (*Reward) GetLayerComputed ¶
func (x *Reward) GetLayerComputed() *LayerNumber
func (*Reward) GetLayerReward ¶
func (*Reward) GetSmesher ¶
func (*Reward) ProtoMessage ¶
func (*Reward) ProtoMessage()
func (*Reward) ProtoReflect ¶
func (x *Reward) ProtoReflect() protoreflect.Message
type ServiceResponse ¶ added in v1.22.0
type ServiceResponse struct { // Types that are assignable to Kind: // // *ServiceResponse_Metadata // *ServiceResponse_GenProof Kind isServiceResponse_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
ServiceResponse is a response sent from the post service to the node.
func (*ServiceResponse) Descriptor
deprecated
added in
v1.22.0
func (*ServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServiceResponse.ProtoReflect.Descriptor instead.
func (*ServiceResponse) GetGenProof ¶ added in v1.22.0
func (x *ServiceResponse) GetGenProof() *GenProofResponse
func (*ServiceResponse) GetKind ¶ added in v1.22.0
func (m *ServiceResponse) GetKind() isServiceResponse_Kind
func (*ServiceResponse) GetMetadata ¶ added in v1.22.0
func (x *ServiceResponse) GetMetadata() *MetadataResponse
func (*ServiceResponse) ProtoMessage ¶ added in v1.22.0
func (*ServiceResponse) ProtoMessage()
func (*ServiceResponse) ProtoReflect ¶ added in v1.22.0
func (x *ServiceResponse) ProtoReflect() protoreflect.Message
func (*ServiceResponse) Reset ¶ added in v1.22.0
func (x *ServiceResponse) Reset()
func (*ServiceResponse) String ¶ added in v1.22.0
func (x *ServiceResponse) String() string
type ServiceResponse_GenProof ¶ added in v1.22.0
type ServiceResponse_GenProof struct {
GenProof *GenProofResponse `protobuf:"bytes,2,opt,name=gen_proof,json=genProof,proto3,oneof"`
}
type ServiceResponse_Metadata ¶ added in v1.22.0
type ServiceResponse_Metadata struct {
Metadata *MetadataResponse `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
}
type SetCoinbaseRequest ¶
type SetCoinbaseRequest struct { Id *AccountId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SetCoinbaseRequest) Descriptor
deprecated
func (*SetCoinbaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetCoinbaseRequest.ProtoReflect.Descriptor instead.
func (*SetCoinbaseRequest) GetId ¶
func (x *SetCoinbaseRequest) GetId() *AccountId
func (*SetCoinbaseRequest) ProtoMessage ¶
func (*SetCoinbaseRequest) ProtoMessage()
func (*SetCoinbaseRequest) ProtoReflect ¶
func (x *SetCoinbaseRequest) ProtoReflect() protoreflect.Message
func (*SetCoinbaseRequest) Reset ¶
func (x *SetCoinbaseRequest) Reset()
func (*SetCoinbaseRequest) String ¶
func (x *SetCoinbaseRequest) String() string
type SetCoinbaseResponse ¶
type SetCoinbaseResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SetCoinbaseResponse) Descriptor
deprecated
func (*SetCoinbaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetCoinbaseResponse.ProtoReflect.Descriptor instead.
func (*SetCoinbaseResponse) GetStatus ¶
func (x *SetCoinbaseResponse) GetStatus() *status.Status
func (*SetCoinbaseResponse) ProtoMessage ¶
func (*SetCoinbaseResponse) ProtoMessage()
func (*SetCoinbaseResponse) ProtoReflect ¶
func (x *SetCoinbaseResponse) ProtoReflect() protoreflect.Message
func (*SetCoinbaseResponse) Reset ¶
func (x *SetCoinbaseResponse) Reset()
func (*SetCoinbaseResponse) String ¶
func (x *SetCoinbaseResponse) String() string
type SetMinGasRequest ¶
type SetMinGasRequest struct { Mingas *SimpleInt `protobuf:"bytes,1,opt,name=mingas,proto3" json:"mingas,omitempty"` // contains filtered or unexported fields }
func (*SetMinGasRequest) Descriptor
deprecated
func (*SetMinGasRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMinGasRequest.ProtoReflect.Descriptor instead.
func (*SetMinGasRequest) GetMingas ¶
func (x *SetMinGasRequest) GetMingas() *SimpleInt
func (*SetMinGasRequest) ProtoMessage ¶
func (*SetMinGasRequest) ProtoMessage()
func (*SetMinGasRequest) ProtoReflect ¶
func (x *SetMinGasRequest) ProtoReflect() protoreflect.Message
func (*SetMinGasRequest) Reset ¶
func (x *SetMinGasRequest) Reset()
func (*SetMinGasRequest) String ¶
func (x *SetMinGasRequest) String() string
type SetMinGasResponse ¶
type SetMinGasResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SetMinGasResponse) Descriptor
deprecated
func (*SetMinGasResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetMinGasResponse.ProtoReflect.Descriptor instead.
func (*SetMinGasResponse) GetStatus ¶
func (x *SetMinGasResponse) GetStatus() *status.Status
func (*SetMinGasResponse) ProtoMessage ¶
func (*SetMinGasResponse) ProtoMessage()
func (*SetMinGasResponse) ProtoReflect ¶
func (x *SetMinGasResponse) ProtoReflect() protoreflect.Message
func (*SetMinGasResponse) Reset ¶
func (x *SetMinGasResponse) Reset()
func (*SetMinGasResponse) String ¶
func (x *SetMinGasResponse) String() string
type SimpleInt ¶
type SimpleInt struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SimpleInt) Descriptor
deprecated
func (*SimpleInt) ProtoMessage ¶
func (*SimpleInt) ProtoMessage()
func (*SimpleInt) ProtoReflect ¶
func (x *SimpleInt) ProtoReflect() protoreflect.Message
type SimpleString ¶
type SimpleString struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SimpleString) Descriptor
deprecated
func (*SimpleString) Descriptor() ([]byte, []int)
Deprecated: Use SimpleString.ProtoReflect.Descriptor instead.
func (*SimpleString) GetValue ¶
func (x *SimpleString) GetValue() string
func (*SimpleString) ProtoMessage ¶
func (*SimpleString) ProtoMessage()
func (*SimpleString) ProtoReflect ¶
func (x *SimpleString) ProtoReflect() protoreflect.Message
func (*SimpleString) Reset ¶
func (x *SimpleString) Reset()
func (*SimpleString) String ¶
func (x *SimpleString) String() string
type SmesherDataQueryRequest ¶
type SmesherDataQueryRequest struct { SmesherId *SmesherId `protobuf:"bytes,1,opt,name=smesher_id,json=smesherId,proto3" json:"smesher_id,omitempty"` MaxResults uint32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` // max numbers of results client would like to get Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // return results from offset // contains filtered or unexported fields }
func (*SmesherDataQueryRequest) Descriptor
deprecated
func (*SmesherDataQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use SmesherDataQueryRequest.ProtoReflect.Descriptor instead.
func (*SmesherDataQueryRequest) GetMaxResults ¶
func (x *SmesherDataQueryRequest) GetMaxResults() uint32
func (*SmesherDataQueryRequest) GetOffset ¶
func (x *SmesherDataQueryRequest) GetOffset() uint32
func (*SmesherDataQueryRequest) GetSmesherId ¶
func (x *SmesherDataQueryRequest) GetSmesherId() *SmesherId
func (*SmesherDataQueryRequest) ProtoMessage ¶
func (*SmesherDataQueryRequest) ProtoMessage()
func (*SmesherDataQueryRequest) ProtoReflect ¶
func (x *SmesherDataQueryRequest) ProtoReflect() protoreflect.Message
func (*SmesherDataQueryRequest) Reset ¶
func (x *SmesherDataQueryRequest) Reset()
func (*SmesherDataQueryRequest) String ¶
func (x *SmesherDataQueryRequest) String() string
type SmesherDataQueryResponse ¶
type SmesherDataQueryResponse struct { TotalResults uint32 `protobuf:"varint,1,opt,name=total_results,json=totalResults,proto3" json:"total_results,omitempty"` Rewards []*Reward `protobuf:"bytes,2,rep,name=rewards,proto3" json:"rewards,omitempty"` // contains filtered or unexported fields }
func (*SmesherDataQueryResponse) Descriptor
deprecated
func (*SmesherDataQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use SmesherDataQueryResponse.ProtoReflect.Descriptor instead.
func (*SmesherDataQueryResponse) GetRewards ¶
func (x *SmesherDataQueryResponse) GetRewards() []*Reward
func (*SmesherDataQueryResponse) GetTotalResults ¶
func (x *SmesherDataQueryResponse) GetTotalResults() uint32
func (*SmesherDataQueryResponse) ProtoMessage ¶
func (*SmesherDataQueryResponse) ProtoMessage()
func (*SmesherDataQueryResponse) ProtoReflect ¶
func (x *SmesherDataQueryResponse) ProtoReflect() protoreflect.Message
func (*SmesherDataQueryResponse) Reset ¶
func (x *SmesherDataQueryResponse) Reset()
func (*SmesherDataQueryResponse) String ¶
func (x *SmesherDataQueryResponse) String() string
type SmesherIDResponse ¶
type SmesherIDResponse struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*SmesherIDResponse) Descriptor
deprecated
func (*SmesherIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use SmesherIDResponse.ProtoReflect.Descriptor instead.
func (*SmesherIDResponse) GetPublicKey ¶ added in v1.15.0
func (x *SmesherIDResponse) GetPublicKey() []byte
func (*SmesherIDResponse) ProtoMessage ¶
func (*SmesherIDResponse) ProtoMessage()
func (*SmesherIDResponse) ProtoReflect ¶
func (x *SmesherIDResponse) ProtoReflect() protoreflect.Message
func (*SmesherIDResponse) Reset ¶
func (x *SmesherIDResponse) Reset()
func (*SmesherIDResponse) String ¶
func (x *SmesherIDResponse) String() string
type SmesherId ¶
type SmesherId struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SmesherId) Descriptor
deprecated
func (*SmesherId) ProtoMessage ¶
func (*SmesherId) ProtoMessage()
func (*SmesherId) ProtoReflect ¶
func (x *SmesherId) ProtoReflect() protoreflect.Message
type SmesherRewardStreamRequest ¶
type SmesherRewardStreamRequest struct { Id *SmesherId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SmesherRewardStreamRequest) Descriptor
deprecated
func (*SmesherRewardStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use SmesherRewardStreamRequest.ProtoReflect.Descriptor instead.
func (*SmesherRewardStreamRequest) GetId ¶
func (x *SmesherRewardStreamRequest) GetId() *SmesherId
func (*SmesherRewardStreamRequest) ProtoMessage ¶
func (*SmesherRewardStreamRequest) ProtoMessage()
func (*SmesherRewardStreamRequest) ProtoReflect ¶
func (x *SmesherRewardStreamRequest) ProtoReflect() protoreflect.Message
func (*SmesherRewardStreamRequest) Reset ¶
func (x *SmesherRewardStreamRequest) Reset()
func (*SmesherRewardStreamRequest) String ¶
func (x *SmesherRewardStreamRequest) String() string
type SmesherRewardStreamResponse ¶
type SmesherRewardStreamResponse struct { Reward *Reward `protobuf:"bytes,1,opt,name=reward,proto3" json:"reward,omitempty"` // contains filtered or unexported fields }
func (*SmesherRewardStreamResponse) Descriptor
deprecated
func (*SmesherRewardStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use SmesherRewardStreamResponse.ProtoReflect.Descriptor instead.
func (*SmesherRewardStreamResponse) GetReward ¶
func (x *SmesherRewardStreamResponse) GetReward() *Reward
func (*SmesherRewardStreamResponse) ProtoMessage ¶
func (*SmesherRewardStreamResponse) ProtoMessage()
func (*SmesherRewardStreamResponse) ProtoReflect ¶
func (x *SmesherRewardStreamResponse) ProtoReflect() protoreflect.Message
func (*SmesherRewardStreamResponse) Reset ¶
func (x *SmesherRewardStreamResponse) Reset()
func (*SmesherRewardStreamResponse) String ¶
func (x *SmesherRewardStreamResponse) String() string
type SmesherServiceClient ¶
type SmesherServiceClient interface { // Returns true iff node is currently smeshing IsSmeshing(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IsSmeshingResponse, error) // Starts smeshing, after completing the post setup. // Changing of the post setup options (e.g., number of units), after initial setup, is supported. // Returns success if request is accepted by node , failure if it fails StartSmeshing(ctx context.Context, in *StartSmeshingRequest, opts ...grpc.CallOption) (*StartSmeshingResponse, error) // Stops smeshing, or the preceding post setup session, and optionally attempt to // delete the post setup data files(s). // Returns success if request is accepted by node, failure if it fails StopSmeshing(ctx context.Context, in *StopSmeshingRequest, opts ...grpc.CallOption) (*StopSmeshingResponse, error) // Get the current smesher id generated by the node SmesherID(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SmesherIDResponse, error) // Get the current coinbase Coinbase(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CoinbaseResponse, error) // Set the coinbase // Returns success if request succeeds, failure if it fails SetCoinbase(ctx context.Context, in *SetCoinbaseRequest, opts ...grpc.CallOption) (*SetCoinbaseResponse, error) // Get the current min gas for including txs in blocks by this smesher MinGas(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MinGasResponse, error) // Set a min gas units for including txs in blocks by this smesher // Returns success if request succeeds, failure if it fails SetMinGas(ctx context.Context, in *SetMinGasRequest, opts ...grpc.CallOption) (*SetMinGasResponse, error) // Estimate smeshing rewards over the next upcoming epoch EstimatedRewards(ctx context.Context, in *EstimatedRewardsRequest, opts ...grpc.CallOption) (*EstimatedRewardsResponse, error) // Returns the Post setup status PostSetupStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PostSetupStatusResponse, error) // Returns a stream of updates for the Post setup status PostSetupStatusStream(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (SmesherService_PostSetupStatusStreamClient, error) // Returns a list of available Post setup providers PostSetupProviders(ctx context.Context, in *PostSetupProvidersRequest, opts ...grpc.CallOption) (*PostSetupProvidersResponse, error) // Returns the Post protocol config PostConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PostConfigResponse, error) }
SmesherServiceClient is the client API for SmesherService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSmesherServiceClient ¶
func NewSmesherServiceClient(cc grpc.ClientConnInterface) SmesherServiceClient
type SmesherServiceServer ¶
type SmesherServiceServer interface { // Returns true iff node is currently smeshing IsSmeshing(context.Context, *emptypb.Empty) (*IsSmeshingResponse, error) // Starts smeshing, after completing the post setup. // Changing of the post setup options (e.g., number of units), after initial setup, is supported. // Returns success if request is accepted by node , failure if it fails StartSmeshing(context.Context, *StartSmeshingRequest) (*StartSmeshingResponse, error) // Stops smeshing, or the preceding post setup session, and optionally attempt to // delete the post setup data files(s). // Returns success if request is accepted by node, failure if it fails StopSmeshing(context.Context, *StopSmeshingRequest) (*StopSmeshingResponse, error) // Get the current smesher id generated by the node SmesherID(context.Context, *emptypb.Empty) (*SmesherIDResponse, error) // Get the current coinbase Coinbase(context.Context, *emptypb.Empty) (*CoinbaseResponse, error) // Set the coinbase // Returns success if request succeeds, failure if it fails SetCoinbase(context.Context, *SetCoinbaseRequest) (*SetCoinbaseResponse, error) // Get the current min gas for including txs in blocks by this smesher MinGas(context.Context, *emptypb.Empty) (*MinGasResponse, error) // Set a min gas units for including txs in blocks by this smesher // Returns success if request succeeds, failure if it fails SetMinGas(context.Context, *SetMinGasRequest) (*SetMinGasResponse, error) // Estimate smeshing rewards over the next upcoming epoch EstimatedRewards(context.Context, *EstimatedRewardsRequest) (*EstimatedRewardsResponse, error) // Returns the Post setup status PostSetupStatus(context.Context, *emptypb.Empty) (*PostSetupStatusResponse, error) // Returns a stream of updates for the Post setup status PostSetupStatusStream(*emptypb.Empty, SmesherService_PostSetupStatusStreamServer) error // Returns a list of available Post setup providers PostSetupProviders(context.Context, *PostSetupProvidersRequest) (*PostSetupProvidersResponse, error) // Returns the Post protocol config PostConfig(context.Context, *emptypb.Empty) (*PostConfigResponse, error) }
SmesherServiceServer is the server API for SmesherService service. All implementations should embed UnimplementedSmesherServiceServer for forward compatibility
type SmesherService_PostSetupStatusStreamClient ¶ added in v1.4.0
type SmesherService_PostSetupStatusStreamClient interface { Recv() (*PostSetupStatusStreamResponse, error) grpc.ClientStream }
type SmesherService_PostSetupStatusStreamServer ¶ added in v1.4.0
type SmesherService_PostSetupStatusStreamServer interface { Send(*PostSetupStatusStreamResponse) error grpc.ServerStream }
type StartSmeshingRequest ¶
type StartSmeshingRequest struct { // Coinbase account for rewards accumulation. Coinbase *AccountId `protobuf:"bytes,1,opt,name=coinbase,proto3" json:"coinbase,omitempty"` // The Post setup options. Opts *PostSetupOpts `protobuf:"bytes,2,opt,name=opts,proto3" json:"opts,omitempty"` // contains filtered or unexported fields }
func (*StartSmeshingRequest) Descriptor
deprecated
func (*StartSmeshingRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartSmeshingRequest.ProtoReflect.Descriptor instead.
func (*StartSmeshingRequest) GetCoinbase ¶
func (x *StartSmeshingRequest) GetCoinbase() *AccountId
func (*StartSmeshingRequest) GetOpts ¶ added in v1.4.0
func (x *StartSmeshingRequest) GetOpts() *PostSetupOpts
func (*StartSmeshingRequest) ProtoMessage ¶
func (*StartSmeshingRequest) ProtoMessage()
func (*StartSmeshingRequest) ProtoReflect ¶
func (x *StartSmeshingRequest) ProtoReflect() protoreflect.Message
func (*StartSmeshingRequest) Reset ¶
func (x *StartSmeshingRequest) Reset()
func (*StartSmeshingRequest) String ¶
func (x *StartSmeshingRequest) String() string
type StartSmeshingResponse ¶
type StartSmeshingResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*StartSmeshingResponse) Descriptor
deprecated
func (*StartSmeshingResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartSmeshingResponse.ProtoReflect.Descriptor instead.
func (*StartSmeshingResponse) GetStatus ¶
func (x *StartSmeshingResponse) GetStatus() *status.Status
func (*StartSmeshingResponse) ProtoMessage ¶
func (*StartSmeshingResponse) ProtoMessage()
func (*StartSmeshingResponse) ProtoReflect ¶
func (x *StartSmeshingResponse) ProtoReflect() protoreflect.Message
func (*StartSmeshingResponse) Reset ¶
func (x *StartSmeshingResponse) Reset()
func (*StartSmeshingResponse) String ¶
func (x *StartSmeshingResponse) String() string
type StatusRequest ¶
type StatusRequest struct {
// contains filtered or unexported fields
}
func (*StatusRequest) Descriptor
deprecated
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (x *StatusRequest) String() string
type StatusResponse ¶
type StatusResponse struct { Status *NodeStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetStatus ¶
func (x *StatusResponse) GetStatus() *NodeStatus
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type StatusStreamRequest ¶
type StatusStreamRequest struct {
// contains filtered or unexported fields
}
func (*StatusStreamRequest) Descriptor
deprecated
func (*StatusStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusStreamRequest.ProtoReflect.Descriptor instead.
func (*StatusStreamRequest) ProtoMessage ¶
func (*StatusStreamRequest) ProtoMessage()
func (*StatusStreamRequest) ProtoReflect ¶
func (x *StatusStreamRequest) ProtoReflect() protoreflect.Message
func (*StatusStreamRequest) Reset ¶
func (x *StatusStreamRequest) Reset()
func (*StatusStreamRequest) String ¶
func (x *StatusStreamRequest) String() string
type StatusStreamResponse ¶
type StatusStreamResponse struct { Status *NodeStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*StatusStreamResponse) Descriptor
deprecated
func (*StatusStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusStreamResponse.ProtoReflect.Descriptor instead.
func (*StatusStreamResponse) GetStatus ¶
func (x *StatusStreamResponse) GetStatus() *NodeStatus
func (*StatusStreamResponse) ProtoMessage ¶
func (*StatusStreamResponse) ProtoMessage()
func (*StatusStreamResponse) ProtoReflect ¶
func (x *StatusStreamResponse) ProtoReflect() protoreflect.Message
func (*StatusStreamResponse) Reset ¶
func (x *StatusStreamResponse) Reset()
func (*StatusStreamResponse) String ¶
func (x *StatusStreamResponse) String() string
type StopSmeshingRequest ¶
type StopSmeshingRequest struct { DeleteFiles bool `protobuf:"varint,1,opt,name=delete_files,json=deleteFiles,proto3" json:"delete_files,omitempty"` // contains filtered or unexported fields }
Param passed to methods to indicate a request to delete data files
func (*StopSmeshingRequest) Descriptor
deprecated
func (*StopSmeshingRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopSmeshingRequest.ProtoReflect.Descriptor instead.
func (*StopSmeshingRequest) GetDeleteFiles ¶
func (x *StopSmeshingRequest) GetDeleteFiles() bool
func (*StopSmeshingRequest) ProtoMessage ¶
func (*StopSmeshingRequest) ProtoMessage()
func (*StopSmeshingRequest) ProtoReflect ¶
func (x *StopSmeshingRequest) ProtoReflect() protoreflect.Message
func (*StopSmeshingRequest) Reset ¶
func (x *StopSmeshingRequest) Reset()
func (*StopSmeshingRequest) String ¶
func (x *StopSmeshingRequest) String() string
type StopSmeshingResponse ¶
type StopSmeshingResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*StopSmeshingResponse) Descriptor
deprecated
func (*StopSmeshingResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopSmeshingResponse.ProtoReflect.Descriptor instead.
func (*StopSmeshingResponse) GetStatus ¶
func (x *StopSmeshingResponse) GetStatus() *status.Status
func (*StopSmeshingResponse) ProtoMessage ¶
func (*StopSmeshingResponse) ProtoMessage()
func (*StopSmeshingResponse) ProtoReflect ¶
func (x *StopSmeshingResponse) ProtoReflect() protoreflect.Message
func (*StopSmeshingResponse) Reset ¶
func (x *StopSmeshingResponse) Reset()
func (*StopSmeshingResponse) String ¶
func (x *StopSmeshingResponse) String() string
type SubmitTransactionRequest ¶
type SubmitTransactionRequest struct { Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // signed binary transaction // contains filtered or unexported fields }
func (*SubmitTransactionRequest) Descriptor
deprecated
func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitTransactionRequest.ProtoReflect.Descriptor instead.
func (*SubmitTransactionRequest) GetTransaction ¶
func (x *SubmitTransactionRequest) GetTransaction() []byte
func (*SubmitTransactionRequest) ProtoMessage ¶
func (*SubmitTransactionRequest) ProtoMessage()
func (*SubmitTransactionRequest) ProtoReflect ¶
func (x *SubmitTransactionRequest) ProtoReflect() protoreflect.Message
func (*SubmitTransactionRequest) Reset ¶
func (x *SubmitTransactionRequest) Reset()
func (*SubmitTransactionRequest) String ¶
func (x *SubmitTransactionRequest) String() string
type SubmitTransactionResponse ¶
type SubmitTransactionResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Txstate *TransactionState `protobuf:"bytes,2,opt,name=txstate,proto3" json:"txstate,omitempty"` // contains filtered or unexported fields }
func (*SubmitTransactionResponse) Descriptor
deprecated
func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitTransactionResponse.ProtoReflect.Descriptor instead.
func (*SubmitTransactionResponse) GetStatus ¶
func (x *SubmitTransactionResponse) GetStatus() *status.Status
func (*SubmitTransactionResponse) GetTxstate ¶
func (x *SubmitTransactionResponse) GetTxstate() *TransactionState
func (*SubmitTransactionResponse) ProtoMessage ¶
func (*SubmitTransactionResponse) ProtoMessage()
func (*SubmitTransactionResponse) ProtoReflect ¶
func (x *SubmitTransactionResponse) ProtoReflect() protoreflect.Message
func (*SubmitTransactionResponse) Reset ¶
func (x *SubmitTransactionResponse) Reset()
func (*SubmitTransactionResponse) String ¶
func (x *SubmitTransactionResponse) String() string
type Transaction ¶
type Transaction struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Principal *AccountId `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"` Template *AccountId `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"` Method uint32 `protobuf:"varint,4,opt,name=method,proto3" json:"method,omitempty"` // this is actually limited by uint8, but no type for that. Nonce *Nonce `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"` Limits *LayerLimits `protobuf:"bytes,6,opt,name=limits,proto3" json:"limits,omitempty"` MaxGas uint64 `protobuf:"varint,7,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"` GasPrice uint64 `protobuf:"varint,8,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` MaxSpend uint64 `protobuf:"varint,9,opt,name=max_spend,json=maxSpend,proto3" json:"max_spend,omitempty"` Raw []byte `protobuf:"bytes,10,opt,name=raw,proto3" json:"raw,omitempty"` // contains filtered or unexported fields }
An immutable Spacemesh transaction. do not include mutable data such as tx state or result.
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetGasPrice ¶ added in v1.5.1
func (x *Transaction) GetGasPrice() uint64
func (*Transaction) GetId ¶
func (x *Transaction) GetId() []byte
func (*Transaction) GetLimits ¶ added in v1.5.1
func (x *Transaction) GetLimits() *LayerLimits
func (*Transaction) GetMaxGas ¶ added in v1.5.1
func (x *Transaction) GetMaxGas() uint64
func (*Transaction) GetMaxSpend ¶ added in v1.5.1
func (x *Transaction) GetMaxSpend() uint64
func (*Transaction) GetMethod ¶ added in v1.5.1
func (x *Transaction) GetMethod() uint32
func (*Transaction) GetNonce ¶ added in v1.5.1
func (x *Transaction) GetNonce() *Nonce
func (*Transaction) GetPrincipal ¶ added in v1.5.1
func (x *Transaction) GetPrincipal() *AccountId
func (*Transaction) GetRaw ¶ added in v1.5.1
func (x *Transaction) GetRaw() []byte
func (*Transaction) GetTemplate ¶ added in v1.5.1
func (x *Transaction) GetTemplate() *AccountId
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionId ¶
type TransactionId struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*TransactionId) Descriptor
deprecated
func (*TransactionId) Descriptor() ([]byte, []int)
Deprecated: Use TransactionId.ProtoReflect.Descriptor instead.
func (*TransactionId) GetId ¶
func (x *TransactionId) GetId() []byte
func (*TransactionId) ProtoMessage ¶
func (*TransactionId) ProtoMessage()
func (*TransactionId) ProtoReflect ¶
func (x *TransactionId) ProtoReflect() protoreflect.Message
func (*TransactionId) Reset ¶
func (x *TransactionId) Reset()
func (*TransactionId) String ¶
func (x *TransactionId) String() string
type TransactionReceipt ¶
type TransactionReceipt struct { Id *TransactionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the source transaction Result TransactionReceipt_TransactionResult `protobuf:"varint,2,opt,name=result,proto3,enum=spacemesh.v1.TransactionReceipt_TransactionResult" json:"result,omitempty"` // tx processing result GasUsed uint64 `protobuf:"varint,3,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // gas units used by the transaction Fee *Amount `protobuf:"bytes,4,opt,name=fee,proto3" json:"fee,omitempty"` // transaction fee charged for the transaction (in smidge, gas_price * gas_used) Layer *LayerNumber `protobuf:"bytes,5,opt,name=layer,proto3" json:"layer,omitempty"` // the layer in which the STF processed this transaction Index uint32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` // the index of the tx in the ordered list of txs to be executed by stf in the layer. SvmData []byte `protobuf:"bytes,7,opt,name=svm_data,json=svmData,proto3" json:"svm_data,omitempty"` // svm binary data. Decode with svm-codec // contains filtered or unexported fields }
func (*TransactionReceipt) Descriptor
deprecated
func (*TransactionReceipt) Descriptor() ([]byte, []int)
Deprecated: Use TransactionReceipt.ProtoReflect.Descriptor instead.
func (*TransactionReceipt) GetFee ¶
func (x *TransactionReceipt) GetFee() *Amount
func (*TransactionReceipt) GetGasUsed ¶
func (x *TransactionReceipt) GetGasUsed() uint64
func (*TransactionReceipt) GetId ¶
func (x *TransactionReceipt) GetId() *TransactionId
func (*TransactionReceipt) GetIndex ¶
func (x *TransactionReceipt) GetIndex() uint32
func (*TransactionReceipt) GetLayer ¶
func (x *TransactionReceipt) GetLayer() *LayerNumber
func (*TransactionReceipt) GetResult ¶
func (x *TransactionReceipt) GetResult() TransactionReceipt_TransactionResult
func (*TransactionReceipt) GetSvmData ¶
func (x *TransactionReceipt) GetSvmData() []byte
func (*TransactionReceipt) ProtoMessage ¶
func (*TransactionReceipt) ProtoMessage()
func (*TransactionReceipt) ProtoReflect ¶
func (x *TransactionReceipt) ProtoReflect() protoreflect.Message
func (*TransactionReceipt) Reset ¶
func (x *TransactionReceipt) Reset()
func (*TransactionReceipt) String ¶
func (x *TransactionReceipt) String() string
type TransactionReceipt_TransactionResult ¶
type TransactionReceipt_TransactionResult int32
const ( TransactionReceipt_TRANSACTION_RESULT_UNSPECIFIED TransactionReceipt_TransactionResult = 0 TransactionReceipt_TRANSACTION_RESULT_EXECUTED TransactionReceipt_TransactionResult = 1 // executed w/o error by the STF TransactionReceipt_TRANSACTION_RESULT_BAD_COUNTER TransactionReceipt_TransactionResult = 2 // unexpected transaction counter TransactionReceipt_TRANSACTION_RESULT_RUNTIME_EXCEPTION TransactionReceipt_TransactionResult = 3 // app code exception TransactionReceipt_TRANSACTION_RESULT_INSUFFICIENT_GAS TransactionReceipt_TransactionResult = 4 // out of gas TransactionReceipt_TRANSACTION_RESULT_INSUFFICIENT_FUNDS TransactionReceipt_TransactionResult = 5 // failed due to sender's insufficient funds )
func (TransactionReceipt_TransactionResult) Descriptor ¶
func (TransactionReceipt_TransactionResult) Descriptor() protoreflect.EnumDescriptor
func (TransactionReceipt_TransactionResult) Enum ¶
func (x TransactionReceipt_TransactionResult) Enum() *TransactionReceipt_TransactionResult
func (TransactionReceipt_TransactionResult) EnumDescriptor
deprecated
func (TransactionReceipt_TransactionResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionReceipt_TransactionResult.Descriptor instead.
func (TransactionReceipt_TransactionResult) Number ¶
func (x TransactionReceipt_TransactionResult) Number() protoreflect.EnumNumber
func (TransactionReceipt_TransactionResult) String ¶
func (x TransactionReceipt_TransactionResult) String() string
func (TransactionReceipt_TransactionResult) Type ¶
func (TransactionReceipt_TransactionResult) Type() protoreflect.EnumType
type TransactionResult ¶ added in v1.5.1
type TransactionResult struct { Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` Status TransactionResult_Status `protobuf:"varint,2,opt,name=status,proto3,enum=spacemesh.v1.TransactionResult_Status" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` GasConsumed uint64 `protobuf:"varint,4,opt,name=gas_consumed,json=gasConsumed,proto3" json:"gas_consumed,omitempty"` Fee uint64 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"` Block []byte `protobuf:"bytes,6,opt,name=block,proto3" json:"block,omitempty"` Layer uint32 `protobuf:"varint,7,opt,name=layer,proto3" json:"layer,omitempty"` TouchedAddresses []string `protobuf:"bytes,8,rep,name=touched_addresses,json=touchedAddresses,proto3" json:"touched_addresses,omitempty"` // contains filtered or unexported fields }
func (*TransactionResult) Descriptor
deprecated
added in
v1.5.1
func (*TransactionResult) Descriptor() ([]byte, []int)
Deprecated: Use TransactionResult.ProtoReflect.Descriptor instead.
func (*TransactionResult) GetBlock ¶ added in v1.5.1
func (x *TransactionResult) GetBlock() []byte
func (*TransactionResult) GetFee ¶ added in v1.5.1
func (x *TransactionResult) GetFee() uint64
func (*TransactionResult) GetGasConsumed ¶ added in v1.5.1
func (x *TransactionResult) GetGasConsumed() uint64
func (*TransactionResult) GetLayer ¶ added in v1.5.1
func (x *TransactionResult) GetLayer() uint32
func (*TransactionResult) GetMessage ¶ added in v1.5.1
func (x *TransactionResult) GetMessage() string
func (*TransactionResult) GetStatus ¶ added in v1.5.1
func (x *TransactionResult) GetStatus() TransactionResult_Status
func (*TransactionResult) GetTouchedAddresses ¶ added in v1.5.1
func (x *TransactionResult) GetTouchedAddresses() []string
func (*TransactionResult) GetTx ¶ added in v1.5.1
func (x *TransactionResult) GetTx() *Transaction
func (*TransactionResult) ProtoMessage ¶ added in v1.5.1
func (*TransactionResult) ProtoMessage()
func (*TransactionResult) ProtoReflect ¶ added in v1.5.1
func (x *TransactionResult) ProtoReflect() protoreflect.Message
func (*TransactionResult) Reset ¶ added in v1.5.1
func (x *TransactionResult) Reset()
func (*TransactionResult) String ¶ added in v1.5.1
func (x *TransactionResult) String() string
type TransactionResult_Status ¶ added in v1.5.1
type TransactionResult_Status int32
const ( TransactionResult_SUCCESS TransactionResult_Status = 0 TransactionResult_FAILURE TransactionResult_Status = 1 TransactionResult_INVALID TransactionResult_Status = 2 )
func (TransactionResult_Status) Descriptor ¶ added in v1.5.1
func (TransactionResult_Status) Descriptor() protoreflect.EnumDescriptor
func (TransactionResult_Status) Enum ¶ added in v1.5.1
func (x TransactionResult_Status) Enum() *TransactionResult_Status
func (TransactionResult_Status) EnumDescriptor
deprecated
added in
v1.5.1
func (TransactionResult_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionResult_Status.Descriptor instead.
func (TransactionResult_Status) Number ¶ added in v1.5.1
func (x TransactionResult_Status) Number() protoreflect.EnumNumber
func (TransactionResult_Status) String ¶ added in v1.5.1
func (x TransactionResult_Status) String() string
func (TransactionResult_Status) Type ¶ added in v1.5.1
func (TransactionResult_Status) Type() protoreflect.EnumType
type TransactionResultsRequest ¶ added in v1.5.1
type TransactionResultsRequest struct { // id is filter by transaction id. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // address is a filter by account address, it could be principal or any affected address. Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // start streaming from this layer. if 0 - stream will start from genesis. Start uint32 `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"` // end streaming at this layer. if 0 - stream till the latest available layer. End uint32 `protobuf:"varint,4,opt,name=end,proto3" json:"end,omitempty"` // watch live data. Watch bool `protobuf:"varint,5,opt,name=watch,proto3" json:"watch,omitempty"` // contains filtered or unexported fields }
TransactionResultsRequest request object for results stream.
func (*TransactionResultsRequest) Descriptor
deprecated
added in
v1.5.1
func (*TransactionResultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransactionResultsRequest.ProtoReflect.Descriptor instead.
func (*TransactionResultsRequest) GetAddress ¶ added in v1.5.1
func (x *TransactionResultsRequest) GetAddress() string
func (*TransactionResultsRequest) GetEnd ¶ added in v1.5.1
func (x *TransactionResultsRequest) GetEnd() uint32
func (*TransactionResultsRequest) GetId ¶ added in v1.5.1
func (x *TransactionResultsRequest) GetId() []byte
func (*TransactionResultsRequest) GetStart ¶ added in v1.5.1
func (x *TransactionResultsRequest) GetStart() uint32
func (*TransactionResultsRequest) GetWatch ¶ added in v1.5.1
func (x *TransactionResultsRequest) GetWatch() bool
func (*TransactionResultsRequest) ProtoMessage ¶ added in v1.5.1
func (*TransactionResultsRequest) ProtoMessage()
func (*TransactionResultsRequest) ProtoReflect ¶ added in v1.5.1
func (x *TransactionResultsRequest) ProtoReflect() protoreflect.Message
func (*TransactionResultsRequest) Reset ¶ added in v1.5.1
func (x *TransactionResultsRequest) Reset()
func (*TransactionResultsRequest) String ¶ added in v1.5.1
func (x *TransactionResultsRequest) String() string
type TransactionServiceClient ¶
type TransactionServiceClient interface { // Submit a new tx to the node for processing. The response // TransactionState message contains both the txid of the new tx, as well // as whether or not it was admitted into the mempool. SubmitTransaction(ctx context.Context, in *SubmitTransactionRequest, opts ...grpc.CallOption) (*SubmitTransactionResponse, error) // ParseTransaction without submitting it to the mempool. // It has a limitation that it will work only for an already spawned accounts, // and for initial spawn transactions. Client is expected to wait until spawn transaction // executes before it will submit other transactions. ParseTransaction(ctx context.Context, in *ParseTransactionRequest, opts ...grpc.CallOption) (*ParseTransactionResponse, error) // Returns current tx state for one or more txs which indicates if a tx is // on the mesh, on its way to the mesh or was rejected and will never get // to the mesh TransactionsState(ctx context.Context, in *TransactionsStateRequest, opts ...grpc.CallOption) (*TransactionsStateResponse, error) // Returns tx state for one or more txs every time the tx state changes for // one of these txs TransactionsStateStream(ctx context.Context, in *TransactionsStateStreamRequest, opts ...grpc.CallOption) (TransactionService_TransactionsStateStreamClient, error) // StreamResults streams historical data and watch live events with transaction results. StreamResults(ctx context.Context, in *TransactionResultsRequest, opts ...grpc.CallOption) (TransactionService_StreamResultsClient, error) }
TransactionServiceClient is the client API for TransactionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTransactionServiceClient ¶
func NewTransactionServiceClient(cc grpc.ClientConnInterface) TransactionServiceClient
type TransactionServiceServer ¶
type TransactionServiceServer interface { // Submit a new tx to the node for processing. The response // TransactionState message contains both the txid of the new tx, as well // as whether or not it was admitted into the mempool. SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error) // ParseTransaction without submitting it to the mempool. // It has a limitation that it will work only for an already spawned accounts, // and for initial spawn transactions. Client is expected to wait until spawn transaction // executes before it will submit other transactions. ParseTransaction(context.Context, *ParseTransactionRequest) (*ParseTransactionResponse, error) // Returns current tx state for one or more txs which indicates if a tx is // on the mesh, on its way to the mesh or was rejected and will never get // to the mesh TransactionsState(context.Context, *TransactionsStateRequest) (*TransactionsStateResponse, error) // Returns tx state for one or more txs every time the tx state changes for // one of these txs TransactionsStateStream(*TransactionsStateStreamRequest, TransactionService_TransactionsStateStreamServer) error // StreamResults streams historical data and watch live events with transaction results. StreamResults(*TransactionResultsRequest, TransactionService_StreamResultsServer) error }
TransactionServiceServer is the server API for TransactionService service. All implementations should embed UnimplementedTransactionServiceServer for forward compatibility
type TransactionService_StreamResultsClient ¶ added in v1.5.1
type TransactionService_StreamResultsClient interface { Recv() (*TransactionResult, error) grpc.ClientStream }
type TransactionService_StreamResultsServer ¶ added in v1.5.1
type TransactionService_StreamResultsServer interface { Send(*TransactionResult) error grpc.ServerStream }
type TransactionService_TransactionsStateStreamClient ¶
type TransactionService_TransactionsStateStreamClient interface { Recv() (*TransactionsStateStreamResponse, error) grpc.ClientStream }
type TransactionService_TransactionsStateStreamServer ¶
type TransactionService_TransactionsStateStreamServer interface { Send(*TransactionsStateStreamResponse) error grpc.ServerStream }
type TransactionState ¶
type TransactionState struct { Id *TransactionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` State TransactionState_TransactionState `protobuf:"varint,2,opt,name=state,proto3,enum=spacemesh.v1.TransactionState_TransactionState" json:"state,omitempty"` // contains filtered or unexported fields }
TransactionState is the "journey" of a tx from mempool to block inclusion to mesh to STF processing. To know whether or not the tx actually succeeded, and its side effects, check the Receipt in the GlobalStateService.
func (*TransactionState) Descriptor
deprecated
func (*TransactionState) Descriptor() ([]byte, []int)
Deprecated: Use TransactionState.ProtoReflect.Descriptor instead.
func (*TransactionState) GetId ¶
func (x *TransactionState) GetId() *TransactionId
func (*TransactionState) GetState ¶
func (x *TransactionState) GetState() TransactionState_TransactionState
func (*TransactionState) ProtoMessage ¶
func (*TransactionState) ProtoMessage()
func (*TransactionState) ProtoReflect ¶
func (x *TransactionState) ProtoReflect() protoreflect.Message
func (*TransactionState) Reset ¶
func (x *TransactionState) Reset()
func (*TransactionState) String ¶
func (x *TransactionState) String() string
type TransactionState_TransactionState ¶
type TransactionState_TransactionState int32
const ( TransactionState_TRANSACTION_STATE_UNSPECIFIED TransactionState_TransactionState = 0 // default state TransactionState_TRANSACTION_STATE_REJECTED TransactionState_TransactionState = 1 // rejected from mempool due to, e.g., invalid syntax TransactionState_TRANSACTION_STATE_INSUFFICIENT_FUNDS TransactionState_TransactionState = 2 // rejected from mempool by funds check TransactionState_TRANSACTION_STATE_CONFLICTING TransactionState_TransactionState = 3 // rejected from mempool due to conflicting counter TransactionState_TRANSACTION_STATE_MEMPOOL TransactionState_TransactionState = 4 // in mempool but not on the mesh yet TransactionState_TRANSACTION_STATE_MESH TransactionState_TransactionState = 5 // submitted to the mesh TransactionState_TRANSACTION_STATE_PROCESSED TransactionState_TransactionState = 6 // processed by STF; check Receipt for success or failure )
func (TransactionState_TransactionState) Descriptor ¶
func (TransactionState_TransactionState) Descriptor() protoreflect.EnumDescriptor
func (TransactionState_TransactionState) Enum ¶
func (x TransactionState_TransactionState) Enum() *TransactionState_TransactionState
func (TransactionState_TransactionState) EnumDescriptor
deprecated
func (TransactionState_TransactionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionState_TransactionState.Descriptor instead.
func (TransactionState_TransactionState) Number ¶
func (x TransactionState_TransactionState) Number() protoreflect.EnumNumber
func (TransactionState_TransactionState) String ¶
func (x TransactionState_TransactionState) String() string
func (TransactionState_TransactionState) Type ¶
func (TransactionState_TransactionState) Type() protoreflect.EnumType
type TransactionsIds ¶
type TransactionsIds struct { TransactionId []*TransactionId `protobuf:"bytes,1,rep,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // contains filtered or unexported fields }
func (*TransactionsIds) Descriptor
deprecated
func (*TransactionsIds) Descriptor() ([]byte, []int)
Deprecated: Use TransactionsIds.ProtoReflect.Descriptor instead.
func (*TransactionsIds) GetTransactionId ¶
func (x *TransactionsIds) GetTransactionId() []*TransactionId
func (*TransactionsIds) ProtoMessage ¶
func (*TransactionsIds) ProtoMessage()
func (*TransactionsIds) ProtoReflect ¶
func (x *TransactionsIds) ProtoReflect() protoreflect.Message
func (*TransactionsIds) Reset ¶
func (x *TransactionsIds) Reset()
func (*TransactionsIds) String ¶
func (x *TransactionsIds) String() string
type TransactionsStateRequest ¶
type TransactionsStateRequest struct { TransactionId []*TransactionId `protobuf:"bytes,1,rep,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` IncludeTransactions bool `protobuf:"varint,2,opt,name=include_transactions,json=includeTransactions,proto3" json:"include_transactions,omitempty"` // when true response will include matching transactions in addition to state // contains filtered or unexported fields }
func (*TransactionsStateRequest) Descriptor
deprecated
func (*TransactionsStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransactionsStateRequest.ProtoReflect.Descriptor instead.
func (*TransactionsStateRequest) GetIncludeTransactions ¶
func (x *TransactionsStateRequest) GetIncludeTransactions() bool
func (*TransactionsStateRequest) GetTransactionId ¶
func (x *TransactionsStateRequest) GetTransactionId() []*TransactionId
func (*TransactionsStateRequest) ProtoMessage ¶
func (*TransactionsStateRequest) ProtoMessage()
func (*TransactionsStateRequest) ProtoReflect ¶
func (x *TransactionsStateRequest) ProtoReflect() protoreflect.Message
func (*TransactionsStateRequest) Reset ¶
func (x *TransactionsStateRequest) Reset()
func (*TransactionsStateRequest) String ¶
func (x *TransactionsStateRequest) String() string
type TransactionsStateResponse ¶
type TransactionsStateResponse struct { TransactionsState []*TransactionState `protobuf:"bytes,1,rep,name=transactions_state,json=transactionsState,proto3" json:"transactions_state,omitempty"` Transactions []*Transaction `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*TransactionsStateResponse) Descriptor
deprecated
func (*TransactionsStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransactionsStateResponse.ProtoReflect.Descriptor instead.
func (*TransactionsStateResponse) GetTransactions ¶
func (x *TransactionsStateResponse) GetTransactions() []*Transaction
func (*TransactionsStateResponse) GetTransactionsState ¶
func (x *TransactionsStateResponse) GetTransactionsState() []*TransactionState
func (*TransactionsStateResponse) ProtoMessage ¶
func (*TransactionsStateResponse) ProtoMessage()
func (*TransactionsStateResponse) ProtoReflect ¶
func (x *TransactionsStateResponse) ProtoReflect() protoreflect.Message
func (*TransactionsStateResponse) Reset ¶
func (x *TransactionsStateResponse) Reset()
func (*TransactionsStateResponse) String ¶
func (x *TransactionsStateResponse) String() string
type TransactionsStateStreamRequest ¶
type TransactionsStateStreamRequest struct { TransactionId []*TransactionId `protobuf:"bytes,1,rep,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` IncludeTransactions bool `protobuf:"varint,2,opt,name=include_transactions,json=includeTransactions,proto3" json:"include_transactions,omitempty"` // when true response will include matching transactions in addition to state // contains filtered or unexported fields }
func (*TransactionsStateStreamRequest) Descriptor
deprecated
func (*TransactionsStateStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransactionsStateStreamRequest.ProtoReflect.Descriptor instead.
func (*TransactionsStateStreamRequest) GetIncludeTransactions ¶
func (x *TransactionsStateStreamRequest) GetIncludeTransactions() bool
func (*TransactionsStateStreamRequest) GetTransactionId ¶
func (x *TransactionsStateStreamRequest) GetTransactionId() []*TransactionId
func (*TransactionsStateStreamRequest) ProtoMessage ¶
func (*TransactionsStateStreamRequest) ProtoMessage()
func (*TransactionsStateStreamRequest) ProtoReflect ¶
func (x *TransactionsStateStreamRequest) ProtoReflect() protoreflect.Message
func (*TransactionsStateStreamRequest) Reset ¶
func (x *TransactionsStateStreamRequest) Reset()
func (*TransactionsStateStreamRequest) String ¶
func (x *TransactionsStateStreamRequest) String() string
type TransactionsStateStreamResponse ¶
type TransactionsStateStreamResponse struct { TransactionState *TransactionState `protobuf:"bytes,1,opt,name=transaction_state,json=transactionState,proto3" json:"transaction_state,omitempty"` Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
func (*TransactionsStateStreamResponse) Descriptor
deprecated
func (*TransactionsStateStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransactionsStateStreamResponse.ProtoReflect.Descriptor instead.
func (*TransactionsStateStreamResponse) GetTransaction ¶
func (x *TransactionsStateStreamResponse) GetTransaction() *Transaction
func (*TransactionsStateStreamResponse) GetTransactionState ¶
func (x *TransactionsStateStreamResponse) GetTransactionState() *TransactionState
func (*TransactionsStateStreamResponse) ProtoMessage ¶
func (*TransactionsStateStreamResponse) ProtoMessage()
func (*TransactionsStateStreamResponse) ProtoReflect ¶
func (x *TransactionsStateStreamResponse) ProtoReflect() protoreflect.Message
func (*TransactionsStateStreamResponse) Reset ¶
func (x *TransactionsStateStreamResponse) Reset()
func (*TransactionsStateStreamResponse) String ¶
func (x *TransactionsStateStreamResponse) String() string
type UnimplementedActivationServiceServer ¶ added in v1.5.1
type UnimplementedActivationServiceServer struct { }
UnimplementedActivationServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedActivationServiceServer) Get ¶ added in v1.5.1
func (UnimplementedActivationServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedActivationServiceServer) Highest ¶ added in v1.15.0
func (UnimplementedActivationServiceServer) Highest(context.Context, *emptypb.Empty) (*HighestResponse, error)
type UnimplementedAdminServiceServer ¶ added in v1.11.0
type UnimplementedAdminServiceServer struct { }
UnimplementedAdminServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAdminServiceServer) CheckpointStream ¶ added in v1.11.0
func (UnimplementedAdminServiceServer) CheckpointStream(*CheckpointStreamRequest, AdminService_CheckpointStreamServer) error
func (UnimplementedAdminServiceServer) EventsStream ¶ added in v1.14.0
func (UnimplementedAdminServiceServer) EventsStream(*EventStreamRequest, AdminService_EventsStreamServer) error
func (UnimplementedAdminServiceServer) PeerInfoStream ¶ added in v1.20.0
func (UnimplementedAdminServiceServer) PeerInfoStream(*emptypb.Empty, AdminService_PeerInfoStreamServer) error
func (UnimplementedAdminServiceServer) Recover ¶ added in v1.11.0
func (UnimplementedAdminServiceServer) Recover(context.Context, *RecoverRequest) (*emptypb.Empty, error)
type UnimplementedDebugServiceServer ¶
type UnimplementedDebugServiceServer struct { }
UnimplementedDebugServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedDebugServiceServer) Accounts ¶
func (UnimplementedDebugServiceServer) Accounts(context.Context, *AccountsRequest) (*AccountsResponse, error)
func (UnimplementedDebugServiceServer) ActiveSet ¶ added in v1.8.0
func (UnimplementedDebugServiceServer) ActiveSet(context.Context, *ActiveSetRequest) (*ActiveSetResponse, error)
func (UnimplementedDebugServiceServer) NetworkInfo ¶ added in v1.5.1
func (UnimplementedDebugServiceServer) NetworkInfo(context.Context, *emptypb.Empty) (*NetworkInfoResponse, error)
func (UnimplementedDebugServiceServer) ProposalsStream ¶ added in v1.5.1
func (UnimplementedDebugServiceServer) ProposalsStream(*emptypb.Empty, DebugService_ProposalsStreamServer) error
type UnimplementedGlobalStateServiceServer ¶
type UnimplementedGlobalStateServiceServer struct { }
UnimplementedGlobalStateServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedGlobalStateServiceServer) Account ¶
func (UnimplementedGlobalStateServiceServer) Account(context.Context, *AccountRequest) (*AccountResponse, error)
func (UnimplementedGlobalStateServiceServer) AccountDataQuery ¶
func (UnimplementedGlobalStateServiceServer) AccountDataQuery(context.Context, *AccountDataQueryRequest) (*AccountDataQueryResponse, error)
func (UnimplementedGlobalStateServiceServer) AccountDataStream ¶
func (UnimplementedGlobalStateServiceServer) AccountDataStream(*AccountDataStreamRequest, GlobalStateService_AccountDataStreamServer) error
func (UnimplementedGlobalStateServiceServer) AppEventStream ¶
func (UnimplementedGlobalStateServiceServer) AppEventStream(*AppEventStreamRequest, GlobalStateService_AppEventStreamServer) error
func (UnimplementedGlobalStateServiceServer) GlobalStateHash ¶
func (UnimplementedGlobalStateServiceServer) GlobalStateHash(context.Context, *GlobalStateHashRequest) (*GlobalStateHashResponse, error)
func (UnimplementedGlobalStateServiceServer) GlobalStateStream ¶
func (UnimplementedGlobalStateServiceServer) GlobalStateStream(*GlobalStateStreamRequest, GlobalStateService_GlobalStateStreamServer) error
func (UnimplementedGlobalStateServiceServer) SmesherDataQuery ¶
func (UnimplementedGlobalStateServiceServer) SmesherDataQuery(context.Context, *SmesherDataQueryRequest) (*SmesherDataQueryResponse, error)
func (UnimplementedGlobalStateServiceServer) SmesherRewardStream ¶
func (UnimplementedGlobalStateServiceServer) SmesherRewardStream(*SmesherRewardStreamRequest, GlobalStateService_SmesherRewardStreamServer) error
type UnimplementedMeshServiceServer ¶
type UnimplementedMeshServiceServer struct { }
UnimplementedMeshServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedMeshServiceServer) AccountMeshDataQuery ¶
func (UnimplementedMeshServiceServer) AccountMeshDataQuery(context.Context, *AccountMeshDataQueryRequest) (*AccountMeshDataQueryResponse, error)
func (UnimplementedMeshServiceServer) AccountMeshDataStream ¶
func (UnimplementedMeshServiceServer) AccountMeshDataStream(*AccountMeshDataStreamRequest, MeshService_AccountMeshDataStreamServer) error
func (UnimplementedMeshServiceServer) CurrentEpoch ¶
func (UnimplementedMeshServiceServer) CurrentEpoch(context.Context, *CurrentEpochRequest) (*CurrentEpochResponse, error)
func (UnimplementedMeshServiceServer) CurrentLayer ¶
func (UnimplementedMeshServiceServer) CurrentLayer(context.Context, *CurrentLayerRequest) (*CurrentLayerResponse, error)
func (UnimplementedMeshServiceServer) EpochNumLayers ¶
func (UnimplementedMeshServiceServer) EpochNumLayers(context.Context, *EpochNumLayersRequest) (*EpochNumLayersResponse, error)
func (UnimplementedMeshServiceServer) EpochStream ¶ added in v1.5.8
func (UnimplementedMeshServiceServer) EpochStream(*EpochStreamRequest, MeshService_EpochStreamServer) error
func (UnimplementedMeshServiceServer) GenesisID ¶ added in v1.5.1
func (UnimplementedMeshServiceServer) GenesisID(context.Context, *GenesisIDRequest) (*GenesisIDResponse, error)
func (UnimplementedMeshServiceServer) GenesisTime ¶
func (UnimplementedMeshServiceServer) GenesisTime(context.Context, *GenesisTimeRequest) (*GenesisTimeResponse, error)
func (UnimplementedMeshServiceServer) LayerDuration ¶
func (UnimplementedMeshServiceServer) LayerDuration(context.Context, *LayerDurationRequest) (*LayerDurationResponse, error)
func (UnimplementedMeshServiceServer) LayerStream ¶
func (UnimplementedMeshServiceServer) LayerStream(*LayerStreamRequest, MeshService_LayerStreamServer) error
func (UnimplementedMeshServiceServer) LayersQuery ¶
func (UnimplementedMeshServiceServer) LayersQuery(context.Context, *LayersQueryRequest) (*LayersQueryResponse, error)
func (UnimplementedMeshServiceServer) MalfeasanceQuery ¶ added in v1.19.0
func (UnimplementedMeshServiceServer) MalfeasanceQuery(context.Context, *MalfeasanceRequest) (*MalfeasanceResponse, error)
func (UnimplementedMeshServiceServer) MalfeasanceStream ¶ added in v1.19.0
func (UnimplementedMeshServiceServer) MalfeasanceStream(*MalfeasanceStreamRequest, MeshService_MalfeasanceStreamServer) error
func (UnimplementedMeshServiceServer) MaxTransactionsPerSecond ¶
func (UnimplementedMeshServiceServer) MaxTransactionsPerSecond(context.Context, *MaxTransactionsPerSecondRequest) (*MaxTransactionsPerSecondResponse, error)
type UnimplementedNodeServiceServer ¶
type UnimplementedNodeServiceServer struct { }
UnimplementedNodeServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedNodeServiceServer) Build ¶
func (UnimplementedNodeServiceServer) Build(context.Context, *emptypb.Empty) (*BuildResponse, error)
func (UnimplementedNodeServiceServer) Echo ¶
func (UnimplementedNodeServiceServer) Echo(context.Context, *EchoRequest) (*EchoResponse, error)
func (UnimplementedNodeServiceServer) ErrorStream ¶
func (UnimplementedNodeServiceServer) ErrorStream(*ErrorStreamRequest, NodeService_ErrorStreamServer) error
func (UnimplementedNodeServiceServer) NodeInfo ¶ added in v1.16.0
func (UnimplementedNodeServiceServer) NodeInfo(context.Context, *emptypb.Empty) (*NodeInfoResponse, error)
func (UnimplementedNodeServiceServer) Status ¶
func (UnimplementedNodeServiceServer) Status(context.Context, *StatusRequest) (*StatusResponse, error)
func (UnimplementedNodeServiceServer) StatusStream ¶
func (UnimplementedNodeServiceServer) StatusStream(*StatusStreamRequest, NodeService_StatusStreamServer) error
func (UnimplementedNodeServiceServer) Version ¶
func (UnimplementedNodeServiceServer) Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
type UnimplementedPostServiceServer ¶ added in v1.22.0
type UnimplementedPostServiceServer struct { }
UnimplementedPostServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedPostServiceServer) Register ¶ added in v1.22.0
func (UnimplementedPostServiceServer) Register(PostService_RegisterServer) error
type UnimplementedSmesherServiceServer ¶
type UnimplementedSmesherServiceServer struct { }
UnimplementedSmesherServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedSmesherServiceServer) Coinbase ¶
func (UnimplementedSmesherServiceServer) Coinbase(context.Context, *emptypb.Empty) (*CoinbaseResponse, error)
func (UnimplementedSmesherServiceServer) EstimatedRewards ¶
func (UnimplementedSmesherServiceServer) EstimatedRewards(context.Context, *EstimatedRewardsRequest) (*EstimatedRewardsResponse, error)
func (UnimplementedSmesherServiceServer) IsSmeshing ¶
func (UnimplementedSmesherServiceServer) IsSmeshing(context.Context, *emptypb.Empty) (*IsSmeshingResponse, error)
func (UnimplementedSmesherServiceServer) MinGas ¶
func (UnimplementedSmesherServiceServer) MinGas(context.Context, *emptypb.Empty) (*MinGasResponse, error)
func (UnimplementedSmesherServiceServer) PostConfig ¶ added in v1.4.0
func (UnimplementedSmesherServiceServer) PostConfig(context.Context, *emptypb.Empty) (*PostConfigResponse, error)
func (UnimplementedSmesherServiceServer) PostSetupProviders ¶ added in v1.10.0
func (UnimplementedSmesherServiceServer) PostSetupProviders(context.Context, *PostSetupProvidersRequest) (*PostSetupProvidersResponse, error)
func (UnimplementedSmesherServiceServer) PostSetupStatus ¶ added in v1.4.0
func (UnimplementedSmesherServiceServer) PostSetupStatus(context.Context, *emptypb.Empty) (*PostSetupStatusResponse, error)
func (UnimplementedSmesherServiceServer) PostSetupStatusStream ¶ added in v1.4.0
func (UnimplementedSmesherServiceServer) PostSetupStatusStream(*emptypb.Empty, SmesherService_PostSetupStatusStreamServer) error
func (UnimplementedSmesherServiceServer) SetCoinbase ¶
func (UnimplementedSmesherServiceServer) SetCoinbase(context.Context, *SetCoinbaseRequest) (*SetCoinbaseResponse, error)
func (UnimplementedSmesherServiceServer) SetMinGas ¶
func (UnimplementedSmesherServiceServer) SetMinGas(context.Context, *SetMinGasRequest) (*SetMinGasResponse, error)
func (UnimplementedSmesherServiceServer) SmesherID ¶
func (UnimplementedSmesherServiceServer) SmesherID(context.Context, *emptypb.Empty) (*SmesherIDResponse, error)
func (UnimplementedSmesherServiceServer) StartSmeshing ¶
func (UnimplementedSmesherServiceServer) StartSmeshing(context.Context, *StartSmeshingRequest) (*StartSmeshingResponse, error)
func (UnimplementedSmesherServiceServer) StopSmeshing ¶
func (UnimplementedSmesherServiceServer) StopSmeshing(context.Context, *StopSmeshingRequest) (*StopSmeshingResponse, error)
type UnimplementedTransactionServiceServer ¶
type UnimplementedTransactionServiceServer struct { }
UnimplementedTransactionServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTransactionServiceServer) ParseTransaction ¶ added in v1.9.0
func (UnimplementedTransactionServiceServer) ParseTransaction(context.Context, *ParseTransactionRequest) (*ParseTransactionResponse, error)
func (UnimplementedTransactionServiceServer) StreamResults ¶ added in v1.5.1
func (UnimplementedTransactionServiceServer) StreamResults(*TransactionResultsRequest, TransactionService_StreamResultsServer) error
func (UnimplementedTransactionServiceServer) SubmitTransaction ¶
func (UnimplementedTransactionServiceServer) SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error)
func (UnimplementedTransactionServiceServer) TransactionsState ¶
func (UnimplementedTransactionServiceServer) TransactionsState(context.Context, *TransactionsStateRequest) (*TransactionsStateResponse, error)
func (UnimplementedTransactionServiceServer) TransactionsStateStream ¶
func (UnimplementedTransactionServiceServer) TransactionsStateStream(*TransactionsStateStreamRequest, TransactionService_TransactionsStateStreamServer) error
type UnsafeActivationServiceServer ¶ added in v1.21.0
type UnsafeActivationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeActivationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActivationServiceServer will result in compilation errors.
type UnsafeAdminServiceServer ¶ added in v1.21.0
type UnsafeAdminServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServiceServer will result in compilation errors.
type UnsafeDebugServiceServer ¶ added in v1.21.0
type UnsafeDebugServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDebugServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DebugServiceServer will result in compilation errors.
type UnsafeGlobalStateServiceServer ¶ added in v1.21.0
type UnsafeGlobalStateServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGlobalStateServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GlobalStateServiceServer will result in compilation errors.
type UnsafeMeshServiceServer ¶ added in v1.21.0
type UnsafeMeshServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMeshServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MeshServiceServer will result in compilation errors.
type UnsafeNodeServiceServer ¶ added in v1.21.0
type UnsafeNodeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNodeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeServiceServer will result in compilation errors.
type UnsafePostServiceServer ¶ added in v1.22.0
type UnsafePostServiceServer interface {
// contains filtered or unexported methods
}
UnsafePostServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PostServiceServer will result in compilation errors.
type UnsafeSmesherServiceServer ¶ added in v1.21.0
type UnsafeSmesherServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSmesherServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SmesherServiceServer will result in compilation errors.
type UnsafeTransactionServiceServer ¶ added in v1.21.0
type UnsafeTransactionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTransactionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TransactionServiceServer will result in compilation errors.
type VersionResponse ¶
type VersionResponse struct { VersionString *SimpleString `protobuf:"bytes,1,opt,name=version_string,json=versionString,proto3" json:"version_string,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetVersionString ¶
func (x *VersionResponse) GetVersionString() *SimpleString
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
Source Files ¶
- activation.pb.go
- activation.pb.gw.go
- activation_grpc.pb.go
- activation_types.pb.go
- admin.pb.go
- admin.pb.gw.go
- admin_grpc.pb.go
- admin_types.pb.go
- admin_types_helper.go
- debug.pb.go
- debug.pb.gw.go
- debug_grpc.pb.go
- debug_types.pb.go
- global_state.pb.go
- global_state.pb.gw.go
- global_state_grpc.pb.go
- global_state_types.pb.go
- mesh.pb.go
- mesh.pb.gw.go
- mesh_grpc.pb.go
- mesh_types.pb.go
- node.pb.go
- node.pb.gw.go
- node_grpc.pb.go
- node_types.pb.go
- post.pb.go
- post.pb.gw.go
- post_grpc.pb.go
- post_types.pb.go
- smesher.pb.go
- smesher.pb.gw.go
- smesher_grpc.pb.go
- smesher_types.pb.go
- tx.pb.go
- tx.pb.gw.go
- tx_grpc.pb.go
- tx_types.pb.go
- types.pb.go