v1

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: MIT Imports: 17 Imported by: 29

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	PostSetupComputeProvider_ComputeApiClass_name = map[int32]string{
		0: "COMPUTE_API_CLASS_UNSPECIFIED",
		1: "COMPUTE_API_CLASS_CPU",
		2: "COMPUTE_API_CLASS_CUDA",
		3: "COMPUTE_API_CLASS_VULKAN",
	}
	PostSetupComputeProvider_ComputeApiClass_value = map[string]int32{
		"COMPUTE_API_CLASS_UNSPECIFIED": 0,
		"COMPUTE_API_CLASS_CPU":         1,
		"COMPUTE_API_CLASS_CUDA":        2,
		"COMPUTE_API_CLASS_VULKAN":      3,
	}
)

Enum value maps for PostSetupComputeProvider_ComputeApiClass.

View Source
var (
	PostSetupStatus_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_NOT_STARTED",
		2: "STATE_IN_PROGRESS",
		3: "STATE_PAUSED",
		4: "STATE_COMPLETE",
		5: "STATE_ERROR",
	}
	PostSetupStatus_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STATE_NOT_STARTED": 1,
		"STATE_IN_PROGRESS": 2,
		"STATE_PAUSED":      3,
		"STATE_COMPLETE":    4,
		"STATE_ERROR":       5,
	}
)

Enum value maps for PostSetupStatus_State.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_spacemesh_v1_activation_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_activation_types_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_debug_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_debug_types_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_gateway_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_gateway_types_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_global_state_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_global_state_types_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_mesh_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_mesh_types_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_node_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_node_types_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_smesher_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_smesher_types_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_tx_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_tx_types_proto protoreflect.FileDescriptor
View Source
var File_spacemesh_v1_types_proto protoreflect.FileDescriptor

Functions

func RegisterActivationServiceServer added in v1.5.1

func RegisterActivationServiceServer(s *grpc.Server, srv ActivationServiceServer)

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.Server, srv DebugServiceServer)

func RegisterGatewayServiceHandler

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

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

func RegisterGatewayServiceHandlerClient

func RegisterGatewayServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GatewayServiceClient) error

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

func RegisterGatewayServiceHandlerFromEndpoint

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

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

func RegisterGatewayServiceHandlerServer

func RegisterGatewayServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GatewayServiceServer) error

RegisterGatewayServiceHandlerServer registers the http handlers for service GatewayService to "mux". UnaryRPC :call GatewayServiceServer 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 RegisterGatewayServiceHandlerFromEndpoint instead.

func RegisterGatewayServiceServer

func RegisterGatewayServiceServer(s *grpc.Server, srv GatewayServiceServer)

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.Server, 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.Server, 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.Server, srv NodeServiceServer)

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.Server, 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.Server, 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) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountId

func (x *Account) GetAccountId() *AccountId

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

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

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) Enum

func (x AccountDataFlag) Enum() *AccountDataFlag

func (AccountDataFlag) EnumDescriptor deprecated

func (AccountDataFlag) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccountDataFlag.Descriptor instead.

func (AccountDataFlag) Number

func (AccountDataFlag) String

func (x AccountDataFlag) String() string

func (AccountDataFlag) Type

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 (*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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use AccountId.ProtoReflect.Descriptor instead.

func (*AccountId) GetAddress

func (x *AccountId) GetAddress() string

func (*AccountId) ProtoMessage

func (*AccountId) ProtoMessage()

func (*AccountId) ProtoReflect

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

func (*AccountId) Reset

func (x *AccountId) Reset()

func (*AccountId) String

func (x *AccountId) String() string

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) Enum

func (AccountMeshDataFlag) EnumDescriptor deprecated

func (AccountMeshDataFlag) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccountMeshDataFlag.Descriptor instead.

func (AccountMeshDataFlag) Number

func (AccountMeshDataFlag) String

func (x AccountMeshDataFlag) String() string

func (AccountMeshDataFlag) Type

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 (*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 (*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 (*AccountMeshDataQueryResponse) GetTotalResults

func (x *AccountMeshDataQueryResponse) GetTotalResults() uint32

func (*AccountMeshDataQueryResponse) ProtoMessage

func (*AccountMeshDataQueryResponse) ProtoMessage()

func (*AccountMeshDataQueryResponse) ProtoReflect

func (*AccountMeshDataQueryResponse) Reset

func (x *AccountMeshDataQueryResponse) Reset()

func (*AccountMeshDataQueryResponse) 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 (*AccountMeshDataStreamRequest) ProtoMessage

func (*AccountMeshDataStreamRequest) ProtoMessage()

func (*AccountMeshDataStreamRequest) ProtoReflect

func (*AccountMeshDataStreamRequest) Reset

func (x *AccountMeshDataStreamRequest) Reset()

func (*AccountMeshDataStreamRequest) 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 (*AccountMeshDataStreamResponse) ProtoMessage

func (*AccountMeshDataStreamResponse) ProtoMessage()

func (*AccountMeshDataStreamResponse) ProtoReflect

func (*AccountMeshDataStreamResponse) Reset

func (x *AccountMeshDataStreamResponse) Reset()

func (*AccountMeshDataStreamResponse) 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 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)
}

ActivationServiceClient is the client API for ActivationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#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)
}

ActivationServiceServer is the server API for ActivationService service.

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) Descriptor() ([]byte, []int)

Deprecated: Use Amount.ProtoReflect.Descriptor instead.

func (*Amount) GetValue

func (x *Amount) GetValue() uint64

func (*Amount) ProtoMessage

func (*Amount) ProtoMessage()

func (*Amount) ProtoReflect

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

func (*Amount) Reset

func (x *Amount) Reset()

func (*Amount) String

func (x *Amount) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use AppEvent.ProtoReflect.Descriptor instead.

func (*AppEvent) GetMessage

func (x *AppEvent) GetMessage() string

func (*AppEvent) GetTransactionId

func (x *AppEvent) GetTransactionId() *TransactionId

func (*AppEvent) ProtoMessage

func (*AppEvent) ProtoMessage()

func (*AppEvent) ProtoReflect

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

func (*AppEvent) Reset

func (x *AppEvent) Reset()

func (*AppEvent) String

func (x *AppEvent) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetActivationId

func (x *Block) GetActivationId() *ActivationId

func (*Block) GetId

func (x *Block) GetId() []byte

func (*Block) GetSmesherId

func (x *Block) GetSmesherId() *SmesherId

func (*Block) GetTransactions

func (x *Block) GetTransactions() []*Transaction

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type BroadcastPoetRequest

type BroadcastPoetRequest struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // encoded poet proof
	// contains filtered or unexported fields
}

func (*BroadcastPoetRequest) Descriptor deprecated

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

Deprecated: Use BroadcastPoetRequest.ProtoReflect.Descriptor instead.

func (*BroadcastPoetRequest) GetData

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

func (*BroadcastPoetRequest) ProtoMessage

func (*BroadcastPoetRequest) ProtoMessage()

func (*BroadcastPoetRequest) ProtoReflect

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

func (*BroadcastPoetRequest) Reset

func (x *BroadcastPoetRequest) Reset()

func (*BroadcastPoetRequest) String

func (x *BroadcastPoetRequest) String() string

type BroadcastPoetResponse

type BroadcastPoetResponse struct {
	Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*BroadcastPoetResponse) Descriptor deprecated

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

Deprecated: Use BroadcastPoetResponse.ProtoReflect.Descriptor instead.

func (*BroadcastPoetResponse) GetStatus

func (x *BroadcastPoetResponse) GetStatus() *status.Status

func (*BroadcastPoetResponse) ProtoMessage

func (*BroadcastPoetResponse) ProtoMessage()

func (*BroadcastPoetResponse) ProtoReflect

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

func (*BroadcastPoetResponse) Reset

func (x *BroadcastPoetResponse) Reset()

func (*BroadcastPoetResponse) String

func (x *BroadcastPoetResponse) String() string

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 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 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 *SimpleInt `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() *SimpleInt

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 *empty.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 *empty.Empty, opts ...grpc.CallOption) (*AccountsResponse, error)
	// ProposalsStream streams all proposals that are confirmed by hare.
	ProposalsStream(ctx context.Context, in *empty.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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type DebugServiceServer

type DebugServiceServer interface {
	// NetworkInfo returns p2p network information. Mostly required for integration with deployment
	// and testing tooling.
	NetworkInfo(context.Context, *empty.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, *empty.Empty) (*AccountsResponse, error)
	// ProposalsStream streams all proposals that are confirmed by hare.
	ProposalsStream(*empty.Empty, DebugService_ProposalsStreamServer) error
}

DebugServiceServer is the server API for DebugService service.

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) Descriptor() ([]byte, []int)

Deprecated: Use EpochData.ProtoReflect.Descriptor instead.

func (*EpochData) GetBeacon added in v1.5.1

func (x *EpochData) GetBeacon() []byte

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

func (*EpochData) Reset added in v1.5.1

func (x *EpochData) Reset()

func (*EpochData) String added in v1.5.1

func (x *EpochData) String() string

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 *SimpleInt `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() *SimpleInt

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 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 GatewayServiceClient

type GatewayServiceClient interface {
	// Submit a poet data packet to the network to broadcast
	BroadcastPoet(ctx context.Context, in *BroadcastPoetRequest, opts ...grpc.CallOption) (*BroadcastPoetResponse, error)
	VerifyChallenge(ctx context.Context, in *VerifyChallengeRequest, opts ...grpc.CallOption) (*VerifyChallengeResponse, error)
}

GatewayServiceClient is the client API for GatewayService service.

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

type GatewayServiceServer

type GatewayServiceServer interface {
	// Submit a poet data packet to the network to broadcast
	BroadcastPoet(context.Context, *BroadcastPoetRequest) (*BroadcastPoetResponse, error)
	VerifyChallenge(context.Context, *VerifyChallengeRequest) (*VerifyChallengeResponse, error)
}

GatewayServiceServer is the server API for GatewayService service.

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"`
	// 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) 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) Enum

func (GlobalStateDataFlag) EnumDescriptor deprecated

func (GlobalStateDataFlag) EnumDescriptor() ([]byte, []int)

Deprecated: Use GlobalStateDataFlag.Descriptor instead.

func (GlobalStateDataFlag) Number

func (GlobalStateDataFlag) String

func (x GlobalStateDataFlag) String() string

func (GlobalStateDataFlag) Type

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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

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.

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 (*GlobalStateStreamResponse) ProtoMessage

func (*GlobalStateStreamResponse) ProtoMessage()

func (*GlobalStateStreamResponse) ProtoReflect

func (*GlobalStateStreamResponse) Reset

func (x *GlobalStateStreamResponse) Reset()

func (*GlobalStateStreamResponse) String

func (x *GlobalStateStreamResponse) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Layer.ProtoReflect.Descriptor instead.

func (*Layer) GetActivations

func (x *Layer) GetActivations() []*Activation

func (*Layer) GetBlocks

func (x *Layer) GetBlocks() []*Block

func (*Layer) GetHash

func (x *Layer) GetHash() []byte

func (*Layer) GetNumber

func (x *Layer) GetNumber() *LayerNumber

func (*Layer) GetRootStateHash

func (x *Layer) GetRootStateHash() []byte

func (*Layer) GetStatus

func (x *Layer) GetStatus() Layer_LayerStatus

func (*Layer) ProtoMessage

func (*Layer) ProtoMessage()

func (*Layer) ProtoReflect

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

func (*Layer) Reset

func (x *Layer) Reset()

func (*Layer) String

func (x *Layer) String() string

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) Enum

func (Layer_LayerStatus) EnumDescriptor deprecated

func (Layer_LayerStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use Layer_LayerStatus.Descriptor instead.

func (Layer_LayerStatus) Number

func (Layer_LayerStatus) String

func (x Layer_LayerStatus) String() string

func (Layer_LayerStatus) Type

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) Enum

func (x LogLevel) Enum() *LogLevel

func (LogLevel) EnumDescriptor deprecated

func (LogLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogLevel.Descriptor instead.

func (LogLevel) Number

func (x LogLevel) Number() protoreflect.EnumNumber

func (LogLevel) String

func (x LogLevel) String() string

func (LogLevel) Type

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 (*MaxTransactionsPerSecondRequest) Reset

func (*MaxTransactionsPerSecondRequest) 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 (*MaxTransactionsPerSecondResponse) Reset

func (*MaxTransactionsPerSecondResponse) 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)
}

MeshServiceClient is the client API for MeshService service.

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

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
}

MeshServiceServer is the server API for MeshService service.

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_LayerStreamClient

type MeshService_LayerStreamClient interface {
	Recv() (*LayerStreamResponse, error)
	grpc.ClientStream
}

type MeshService_LayerStreamServer

type MeshService_LayerStreamServer interface {
	Send(*LayerStreamResponse) 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 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) Descriptor() ([]byte, []int)

Deprecated: Use NodeError.ProtoReflect.Descriptor instead.

func (*NodeError) GetLevel

func (x *NodeError) GetLevel() LogLevel

func (*NodeError) GetModule

func (x *NodeError) GetModule() string

func (*NodeError) GetMsg

func (x *NodeError) GetMsg() string

func (*NodeError) GetStackTrace

func (x *NodeError) GetStackTrace() string

func (*NodeError) ProtoMessage

func (*NodeError) ProtoMessage()

func (*NodeError) ProtoReflect

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

func (*NodeError) Reset

func (x *NodeError) Reset()

func (*NodeError) String

func (x *NodeError) String() string

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 *empty.Empty, opts ...grpc.CallOption) (*VersionResponse, error)
	// Returns the github commit hash used to build the node
	Build(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BuildResponse, error)
	// Current node status (net and sync)
	Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
	// Request that the node start syncing the mesh
	SyncStart(ctx context.Context, in *SyncStartRequest, opts ...grpc.CallOption) (*SyncStartResponse, error)
	// Request that the node initiate graceful shutdown
	Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error)
	// UpdatePoetServers updates poet servers
	// All existing PoET servers will be substituted with this new list
	UpdatePoetServers(ctx context.Context, in *UpdatePoetServersRequest, opts ...grpc.CallOption) (*UpdatePoetServersResponse, 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

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, *empty.Empty) (*VersionResponse, error)
	// Returns the github commit hash used to build the node
	Build(context.Context, *empty.Empty) (*BuildResponse, error)
	// Current node status (net and sync)
	Status(context.Context, *StatusRequest) (*StatusResponse, error)
	// Request that the node start syncing the mesh
	SyncStart(context.Context, *SyncStartRequest) (*SyncStartResponse, error)
	// Request that the node initiate graceful shutdown
	Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
	// UpdatePoetServers updates poet servers
	// All existing PoET servers will be substituted with this new list
	UpdatePoetServers(context.Context, *UpdatePoetServersRequest) (*UpdatePoetServersResponse, 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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Nonce.ProtoReflect.Descriptor instead.

func (*Nonce) GetBitfield added in v1.5.1

func (x *Nonce) GetBitfield() uint32

func (*Nonce) GetCounter added in v1.5.1

func (x *Nonce) GetCounter() uint64

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

func (*Nonce) Reset added in v1.5.1

func (x *Nonce) Reset()

func (*Nonce) String added in v1.5.1

func (x *Nonce) String() string

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 PostSetupComputeProvider added in v1.4.0

type PostSetupComputeProvider struct {
	Id         uint32                                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`      // 0, 1, 2...
	Model      string                                   `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // e.g. Nvidia GTX 2700
	ComputeApi PostSetupComputeProvider_ComputeApiClass ``                                                                // A provided compute api
	/* 151-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 (*PostSetupComputeProvider) Descriptor deprecated added in v1.4.0

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

Deprecated: Use PostSetupComputeProvider.ProtoReflect.Descriptor instead.

func (*PostSetupComputeProvider) GetComputeApi added in v1.4.0

func (*PostSetupComputeProvider) GetId added in v1.4.0

func (x *PostSetupComputeProvider) GetId() uint32

func (*PostSetupComputeProvider) GetModel added in v1.4.0

func (x *PostSetupComputeProvider) GetModel() string

func (*PostSetupComputeProvider) GetPerformance added in v1.4.0

func (x *PostSetupComputeProvider) GetPerformance() uint64

func (*PostSetupComputeProvider) ProtoMessage added in v1.4.0

func (*PostSetupComputeProvider) ProtoMessage()

func (*PostSetupComputeProvider) ProtoReflect added in v1.4.0

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

func (*PostSetupComputeProvider) Reset added in v1.4.0

func (x *PostSetupComputeProvider) Reset()

func (*PostSetupComputeProvider) String added in v1.4.0

func (x *PostSetupComputeProvider) String() string

type PostSetupComputeProvider_ComputeApiClass added in v1.4.0

type PostSetupComputeProvider_ComputeApiClass int32
const (
	PostSetupComputeProvider_COMPUTE_API_CLASS_UNSPECIFIED PostSetupComputeProvider_ComputeApiClass = 0
	PostSetupComputeProvider_COMPUTE_API_CLASS_CPU         PostSetupComputeProvider_ComputeApiClass = 1 // useful for testing on systems without a cuda or vulkan GPU
	PostSetupComputeProvider_COMPUTE_API_CLASS_CUDA        PostSetupComputeProvider_ComputeApiClass = 2
	PostSetupComputeProvider_COMPUTE_API_CLASS_VULKAN      PostSetupComputeProvider_ComputeApiClass = 3
)

func (PostSetupComputeProvider_ComputeApiClass) Descriptor added in v1.4.0

func (PostSetupComputeProvider_ComputeApiClass) Enum added in v1.4.0

func (PostSetupComputeProvider_ComputeApiClass) EnumDescriptor deprecated added in v1.4.0

func (PostSetupComputeProvider_ComputeApiClass) EnumDescriptor() ([]byte, []int)

Deprecated: Use PostSetupComputeProvider_ComputeApiClass.Descriptor instead.

func (PostSetupComputeProvider_ComputeApiClass) Number added in v1.4.0

func (PostSetupComputeProvider_ComputeApiClass) String added in v1.4.0

func (PostSetupComputeProvider_ComputeApiClass) Type added in v1.4.0

type PostSetupComputeProvidersRequest added in v1.4.0

type PostSetupComputeProvidersRequest 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 (*PostSetupComputeProvidersRequest) Descriptor deprecated added in v1.4.0

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

Deprecated: Use PostSetupComputeProvidersRequest.ProtoReflect.Descriptor instead.

func (*PostSetupComputeProvidersRequest) GetBenchmark added in v1.4.0

func (x *PostSetupComputeProvidersRequest) GetBenchmark() bool

func (*PostSetupComputeProvidersRequest) ProtoMessage added in v1.4.0

func (*PostSetupComputeProvidersRequest) ProtoMessage()

func (*PostSetupComputeProvidersRequest) ProtoReflect added in v1.4.0

func (*PostSetupComputeProvidersRequest) Reset added in v1.4.0

func (*PostSetupComputeProvidersRequest) String added in v1.4.0

type PostSetupComputeProvidersResponse added in v1.4.0

type PostSetupComputeProvidersResponse struct {
	Providers []*PostSetupComputeProvider `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	// contains filtered or unexported fields
}

func (*PostSetupComputeProvidersResponse) Descriptor deprecated added in v1.4.0

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

Deprecated: Use PostSetupComputeProvidersResponse.ProtoReflect.Descriptor instead.

func (*PostSetupComputeProvidersResponse) GetProviders added in v1.4.0

func (*PostSetupComputeProvidersResponse) ProtoMessage added in v1.4.0

func (*PostSetupComputeProvidersResponse) ProtoMessage()

func (*PostSetupComputeProvidersResponse) ProtoReflect added in v1.4.0

func (*PostSetupComputeProvidersResponse) Reset added in v1.4.0

func (*PostSetupComputeProvidersResponse) String added in v1.4.0

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
	ComputeProviderId uint32 `protobuf:"varint,4,opt,name=compute_provider_id,json=computeProviderId,proto3" json:"compute_provider_id,omitempty"` // A `PostSetupComputeProvider` 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) GetComputeProviderId added in v1.4.0

func (x *PostSetupOpts) GetComputeProviderId() uint32

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) 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 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 (*PostSetupStatusStreamResponse) ProtoMessage added in v1.4.0

func (*PostSetupStatusStreamResponse) ProtoMessage()

func (*PostSetupStatusStreamResponse) ProtoReflect added in v1.4.0

func (*PostSetupStatusStreamResponse) Reset added in v1.4.0

func (x *PostSetupStatusStreamResponse) Reset()

func (*PostSetupStatusStreamResponse) String added in v1.4.0

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_IN_PROGRESS PostSetupStatus_State = 2 // Setup in progress
	PostSetupStatus_STATE_PAUSED      PostSetupStatus_State = 3 // Setup paused
	PostSetupStatus_STATE_COMPLETE    PostSetupStatus_State = 4 // Setup is complete
	PostSetupStatus_STATE_ERROR       PostSetupStatus_State = 5 // Setup last session ended with an error
)

func (PostSetupStatus_State) Descriptor added in v1.4.0

func (PostSetupStatus_State) Enum added in v1.4.0

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 (PostSetupStatus_State) String added in v1.4.0

func (x PostSetupStatus_State) String() string

func (PostSetupStatus_State) Type added in v1.4.0

type Proposal added in v1.5.1

type Proposal struct {
	Id      []byte       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Epoch   *SimpleInt   `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) Descriptor() ([]byte, []int)

Deprecated: Use Proposal.ProtoReflect.Descriptor instead.

func (*Proposal) GetBallot added in v1.5.1

func (x *Proposal) GetBallot() []byte

func (*Proposal) GetData added in v1.5.1

func (x *Proposal) GetData() *EpochData

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() *SimpleInt

func (*Proposal) GetEpochData added in v1.5.1

func (m *Proposal) GetEpochData() isProposal_EpochData

func (*Proposal) GetId added in v1.5.1

func (x *Proposal) GetId() []byte

func (*Proposal) GetLayer added in v1.5.1

func (x *Proposal) GetLayer() *LayerNumber

func (*Proposal) GetReference added in v1.5.1

func (x *Proposal) GetReference() []byte

func (*Proposal) GetSmesher added in v1.5.1

func (x *Proposal) GetSmesher() *SmesherId

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

func (*Proposal) Reset added in v1.5.1

func (x *Proposal) Reset()

func (*Proposal) String added in v1.5.1

func (x *Proposal) 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) 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 (Proposal_Status) String added in v1.5.1

func (x Proposal_Status) String() string

func (Proposal_Status) Type added in v1.5.1

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) Descriptor() ([]byte, []int)

Deprecated: Use Reward.ProtoReflect.Descriptor instead.

func (*Reward) GetCoinbase

func (x *Reward) GetCoinbase() *AccountId

func (*Reward) GetLayer

func (x *Reward) GetLayer() *LayerNumber

func (*Reward) GetLayerComputed

func (x *Reward) GetLayerComputed() *LayerNumber

func (*Reward) GetLayerReward

func (x *Reward) GetLayerReward() *Amount

func (*Reward) GetSmesher

func (x *Reward) GetSmesher() *SmesherId

func (*Reward) GetTotal

func (x *Reward) GetTotal() *Amount

func (*Reward) ProtoMessage

func (*Reward) ProtoMessage()

func (*Reward) ProtoReflect

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

func (*Reward) Reset

func (x *Reward) Reset()

func (*Reward) String

func (x *Reward) String() string

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 ShutdownRequest

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

func (*ShutdownRequest) Descriptor deprecated

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

Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead.

func (*ShutdownRequest) ProtoMessage

func (*ShutdownRequest) ProtoMessage()

func (*ShutdownRequest) ProtoReflect

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

func (*ShutdownRequest) Reset

func (x *ShutdownRequest) Reset()

func (*ShutdownRequest) String

func (x *ShutdownRequest) String() string

type ShutdownResponse

type ShutdownResponse struct {
	Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ShutdownResponse) Descriptor deprecated

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

Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead.

func (*ShutdownResponse) GetStatus

func (x *ShutdownResponse) GetStatus() *status.Status

func (*ShutdownResponse) ProtoMessage

func (*ShutdownResponse) ProtoMessage()

func (*ShutdownResponse) ProtoReflect

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

func (*ShutdownResponse) Reset

func (x *ShutdownResponse) Reset()

func (*ShutdownResponse) String

func (x *ShutdownResponse) 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) Descriptor() ([]byte, []int)

Deprecated: Use SimpleInt.ProtoReflect.Descriptor instead.

func (*SimpleInt) GetValue

func (x *SimpleInt) GetValue() uint64

func (*SimpleInt) ProtoMessage

func (*SimpleInt) ProtoMessage()

func (*SimpleInt) ProtoReflect

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

func (*SimpleInt) Reset

func (x *SimpleInt) Reset()

func (*SimpleInt) String

func (x *SimpleInt) String() string

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 {
	AccountId *AccountId `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SmesherIDResponse) Descriptor deprecated

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

Deprecated: Use SmesherIDResponse.ProtoReflect.Descriptor instead.

func (*SmesherIDResponse) GetAccountId

func (x *SmesherIDResponse) GetAccountId() *AccountId

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) Descriptor() ([]byte, []int)

Deprecated: Use SmesherId.ProtoReflect.Descriptor instead.

func (*SmesherId) GetId

func (x *SmesherId) GetId() []byte

func (*SmesherId) ProtoMessage

func (*SmesherId) ProtoMessage()

func (*SmesherId) ProtoReflect

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

func (*SmesherId) Reset

func (x *SmesherId) Reset()

func (*SmesherId) String

func (x *SmesherId) String() string

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 (*SmesherRewardStreamRequest) ProtoMessage

func (*SmesherRewardStreamRequest) ProtoMessage()

func (*SmesherRewardStreamRequest) ProtoReflect

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 (*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 *empty.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 *empty.Empty, opts ...grpc.CallOption) (*SmesherIDResponse, error)
	// Get the current coinbase
	Coinbase(ctx context.Context, in *empty.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 *empty.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 *empty.Empty, opts ...grpc.CallOption) (*PostSetupStatusResponse, error)
	// Returns a stream of updates for the Post setup status
	PostSetupStatusStream(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (SmesherService_PostSetupStatusStreamClient, error)
	// Returns a list of available Post setup compute providers
	PostSetupComputeProviders(ctx context.Context, in *PostSetupComputeProvidersRequest, opts ...grpc.CallOption) (*PostSetupComputeProvidersResponse, error)
	// Returns the Post protocol config
	PostConfig(ctx context.Context, in *empty.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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type SmesherServiceServer

type SmesherServiceServer interface {
	// Returns true iff node is currently smeshing
	IsSmeshing(context.Context, *empty.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, *empty.Empty) (*SmesherIDResponse, error)
	// Get the current coinbase
	Coinbase(context.Context, *empty.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, *empty.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, *empty.Empty) (*PostSetupStatusResponse, error)
	// Returns a stream of updates for the Post setup status
	PostSetupStatusStream(*empty.Empty, SmesherService_PostSetupStatusStreamServer) error
	// Returns a list of available Post setup compute providers
	PostSetupComputeProviders(context.Context, *PostSetupComputeProvidersRequest) (*PostSetupComputeProvidersResponse, error)
	// Returns the Post protocol config
	PostConfig(context.Context, *empty.Empty) (*PostConfigResponse, error)
}

SmesherServiceServer is the server API for SmesherService service.

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 (*SubmitTransactionResponse) ProtoMessage

func (*SubmitTransactionResponse) ProtoMessage()

func (*SubmitTransactionResponse) ProtoReflect

func (*SubmitTransactionResponse) Reset

func (x *SubmitTransactionResponse) Reset()

func (*SubmitTransactionResponse) String

func (x *SubmitTransactionResponse) String() string

type SyncStartRequest

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

func (*SyncStartRequest) Descriptor deprecated

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

Deprecated: Use SyncStartRequest.ProtoReflect.Descriptor instead.

func (*SyncStartRequest) ProtoMessage

func (*SyncStartRequest) ProtoMessage()

func (*SyncStartRequest) ProtoReflect

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

func (*SyncStartRequest) Reset

func (x *SyncStartRequest) Reset()

func (*SyncStartRequest) String

func (x *SyncStartRequest) String() string

type SyncStartResponse

type SyncStartResponse struct {
	Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncStartResponse) Descriptor deprecated

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

Deprecated: Use SyncStartResponse.ProtoReflect.Descriptor instead.

func (*SyncStartResponse) GetStatus

func (x *SyncStartResponse) GetStatus() *status.Status

func (*SyncStartResponse) ProtoMessage

func (*SyncStartResponse) ProtoMessage()

func (*SyncStartResponse) ProtoReflect

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

func (*SyncStartResponse) Reset

func (x *SyncStartResponse) Reset()

func (*SyncStartResponse) String

func (x *SyncStartResponse) 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 (*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) Enum

func (TransactionReceipt_TransactionResult) EnumDescriptor deprecated

func (TransactionReceipt_TransactionResult) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransactionReceipt_TransactionResult.Descriptor instead.

func (TransactionReceipt_TransactionResult) Number

func (TransactionReceipt_TransactionResult) String

func (TransactionReceipt_TransactionResult) Type

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 (*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) Enum added in v1.5.1

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 (TransactionResult_Status) String added in v1.5.1

func (x TransactionResult_Status) String() string

func (TransactionResult_Status) Type added in v1.5.1

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 (*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)
	// 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

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)
	// 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.

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 (*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) Enum

func (TransactionState_TransactionState) EnumDescriptor deprecated

func (TransactionState_TransactionState) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransactionState_TransactionState.Descriptor instead.

func (TransactionState_TransactionState) Number

func (TransactionState_TransactionState) String

func (TransactionState_TransactionState) Type

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 (*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 (*TransactionsStateStreamRequest) Reset

func (x *TransactionsStateStreamRequest) Reset()

func (*TransactionsStateStreamRequest) 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 (*TransactionsStateStreamResponse) Reset

func (*TransactionsStateStreamResponse) String

type UnimplementedActivationServiceServer added in v1.5.1

type UnimplementedActivationServiceServer struct {
}

UnimplementedActivationServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedActivationServiceServer) Get added in v1.5.1

type UnimplementedDebugServiceServer

type UnimplementedDebugServiceServer struct {
}

UnimplementedDebugServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDebugServiceServer) Accounts

func (*UnimplementedDebugServiceServer) NetworkInfo added in v1.5.1

func (*UnimplementedDebugServiceServer) ProposalsStream added in v1.5.1

type UnimplementedGatewayServiceServer

type UnimplementedGatewayServiceServer struct {
}

UnimplementedGatewayServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedGatewayServiceServer) BroadcastPoet

func (*UnimplementedGatewayServiceServer) VerifyChallenge added in v1.5.2

type UnimplementedGlobalStateServiceServer

type UnimplementedGlobalStateServiceServer struct {
}

UnimplementedGlobalStateServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedGlobalStateServiceServer) Account

func (*UnimplementedGlobalStateServiceServer) AccountDataQuery

func (*UnimplementedGlobalStateServiceServer) AppEventStream

func (*UnimplementedGlobalStateServiceServer) GlobalStateHash

func (*UnimplementedGlobalStateServiceServer) SmesherDataQuery

type UnimplementedMeshServiceServer

type UnimplementedMeshServiceServer struct {
}

UnimplementedMeshServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMeshServiceServer) AccountMeshDataQuery

func (*UnimplementedMeshServiceServer) CurrentEpoch

func (*UnimplementedMeshServiceServer) CurrentLayer

func (*UnimplementedMeshServiceServer) EpochNumLayers

func (*UnimplementedMeshServiceServer) GenesisID added in v1.5.1

func (*UnimplementedMeshServiceServer) GenesisTime

func (*UnimplementedMeshServiceServer) LayerDuration

func (*UnimplementedMeshServiceServer) LayerStream

func (*UnimplementedMeshServiceServer) LayersQuery

type UnimplementedNodeServiceServer

type UnimplementedNodeServiceServer struct {
}

UnimplementedNodeServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedNodeServiceServer) Build

func (*UnimplementedNodeServiceServer) Echo

func (*UnimplementedNodeServiceServer) ErrorStream

func (*UnimplementedNodeServiceServer) Shutdown

func (*UnimplementedNodeServiceServer) Status

func (*UnimplementedNodeServiceServer) StatusStream

func (*UnimplementedNodeServiceServer) SyncStart

func (*UnimplementedNodeServiceServer) UpdatePoetServers added in v1.5.1

func (*UnimplementedNodeServiceServer) Version

type UnimplementedSmesherServiceServer

type UnimplementedSmesherServiceServer struct {
}

UnimplementedSmesherServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSmesherServiceServer) Coinbase

func (*UnimplementedSmesherServiceServer) EstimatedRewards

func (*UnimplementedSmesherServiceServer) IsSmeshing

func (*UnimplementedSmesherServiceServer) MinGas

func (*UnimplementedSmesherServiceServer) PostConfig added in v1.4.0

func (*UnimplementedSmesherServiceServer) PostSetupComputeProviders added in v1.4.0

func (*UnimplementedSmesherServiceServer) PostSetupStatus added in v1.4.0

func (*UnimplementedSmesherServiceServer) PostSetupStatusStream added in v1.4.0

func (*UnimplementedSmesherServiceServer) SetCoinbase

func (*UnimplementedSmesherServiceServer) SetMinGas

func (*UnimplementedSmesherServiceServer) SmesherID

func (*UnimplementedSmesherServiceServer) StartSmeshing

func (*UnimplementedSmesherServiceServer) StopSmeshing

type UnimplementedTransactionServiceServer

type UnimplementedTransactionServiceServer struct {
}

UnimplementedTransactionServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTransactionServiceServer) StreamResults added in v1.5.1

func (*UnimplementedTransactionServiceServer) SubmitTransaction

func (*UnimplementedTransactionServiceServer) TransactionsState

type UpdatePoetServersRequest added in v1.5.1

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

func (*UpdatePoetServersRequest) Descriptor deprecated added in v1.5.1

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

Deprecated: Use UpdatePoetServersRequest.ProtoReflect.Descriptor instead.

func (*UpdatePoetServersRequest) GetUrls added in v1.5.1

func (x *UpdatePoetServersRequest) GetUrls() []string

func (*UpdatePoetServersRequest) ProtoMessage added in v1.5.1

func (*UpdatePoetServersRequest) ProtoMessage()

func (*UpdatePoetServersRequest) ProtoReflect added in v1.5.1

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

func (*UpdatePoetServersRequest) Reset added in v1.5.1

func (x *UpdatePoetServersRequest) Reset()

func (*UpdatePoetServersRequest) String added in v1.5.1

func (x *UpdatePoetServersRequest) String() string

type UpdatePoetServersResponse added in v1.5.1

type UpdatePoetServersResponse struct {
	Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePoetServersResponse) Descriptor deprecated added in v1.5.1

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

Deprecated: Use UpdatePoetServersResponse.ProtoReflect.Descriptor instead.

func (*UpdatePoetServersResponse) GetStatus added in v1.5.1

func (x *UpdatePoetServersResponse) GetStatus() *status.Status

func (*UpdatePoetServersResponse) ProtoMessage added in v1.5.1

func (*UpdatePoetServersResponse) ProtoMessage()

func (*UpdatePoetServersResponse) ProtoReflect added in v1.5.1

func (*UpdatePoetServersResponse) Reset added in v1.5.1

func (x *UpdatePoetServersResponse) Reset()

func (*UpdatePoetServersResponse) String added in v1.5.1

func (x *UpdatePoetServersResponse) String() string

type VerifyChallengeRequest added in v1.5.2

type VerifyChallengeRequest struct {
	Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyChallengeRequest) Descriptor deprecated added in v1.5.2

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

Deprecated: Use VerifyChallengeRequest.ProtoReflect.Descriptor instead.

func (*VerifyChallengeRequest) GetChallenge added in v1.5.2

func (x *VerifyChallengeRequest) GetChallenge() []byte

func (*VerifyChallengeRequest) GetSignature added in v1.5.2

func (x *VerifyChallengeRequest) GetSignature() []byte

func (*VerifyChallengeRequest) ProtoMessage added in v1.5.2

func (*VerifyChallengeRequest) ProtoMessage()

func (*VerifyChallengeRequest) ProtoReflect added in v1.5.2

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

func (*VerifyChallengeRequest) Reset added in v1.5.2

func (x *VerifyChallengeRequest) Reset()

func (*VerifyChallengeRequest) String added in v1.5.2

func (x *VerifyChallengeRequest) String() string

type VerifyChallengeResponse added in v1.5.2

type VerifyChallengeResponse struct {
	Hash   []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	NodeId []byte `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyChallengeResponse) Descriptor deprecated added in v1.5.2

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

Deprecated: Use VerifyChallengeResponse.ProtoReflect.Descriptor instead.

func (*VerifyChallengeResponse) GetHash added in v1.5.2

func (x *VerifyChallengeResponse) GetHash() []byte

func (*VerifyChallengeResponse) GetNodeId added in v1.5.2

func (x *VerifyChallengeResponse) GetNodeId() []byte

func (*VerifyChallengeResponse) ProtoMessage added in v1.5.2

func (*VerifyChallengeResponse) ProtoMessage()

func (*VerifyChallengeResponse) ProtoReflect added in v1.5.2

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

func (*VerifyChallengeResponse) Reset added in v1.5.2

func (x *VerifyChallengeResponse) Reset()

func (*VerifyChallengeResponse) String added in v1.5.2

func (x *VerifyChallengeResponse) String() string

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

Jump to

Keyboard shortcuts

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