package
0.3.13-beta.0
Repository: https://github.com/spacemeshos/go-spacemesh.git
Documentation: pkg.go.dev
# Functions
DefaultConfig defines the default configuration options for api.
DefaultTestConfig returns the default config for tests.
New creates and returns a new Server with port and interface.
No description provided by the author
NewAdminService creates a new admin grpc service.
NewDebugService creates a new grpc service using config data.
NewGlobalStateService creates a new grpc service using config data.
NewJSONHTTPServer creates a new json http server.
NewMeshService creates a new service using config data.
NewMockatxProvider creates a new mock instance.
NewMockconservativeState creates a new mock instance.
NewMockgenesisTimeAPI creates a new mock instance.
NewMockmeshAPI creates a new mock instance.
NewMocknetworkIdentity creates a new mock instance.
NewMockoracle creates a new mock instance.
NewMockpeerCounter creates a new mock instance.
NewMockpostSetupProvider creates a new mock instance.
NewMocksyncer creates a new mock instance.
NewMocktxValidator creates a new mock instance.
NewNodeService creates a new grpc service using config data.
NewSmesherService creates a new grpc service using config data.
NewTransactionService creates a new grpc service using config data.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ServerOptions are shared by all grpc servers.
# Structs
AdminService exposes endpoints for node administration.
No description provided by the author
DebugService exposes global state data, output from the STF.
GlobalStateService exposes global state data, output from the STF.
JSONHTTPServer is a JSON http server providing the Spacemesh API.
MeshService exposes mesh data such as accounts, blocks, and transactions.
MockatxProvider is a mock of atxProvider interface.
MockatxProviderMockRecorder is the mock recorder for MockatxProvider.
MockconservativeState is a mock of conservativeState interface.
MockconservativeStateMockRecorder is the mock recorder for MockconservativeState.
MockgenesisTimeAPI is a mock of genesisTimeAPI interface.
MockgenesisTimeAPIMockRecorder is the mock recorder for MockgenesisTimeAPI.
MockmeshAPI is a mock of meshAPI interface.
MockmeshAPIMockRecorder is the mock recorder for MockmeshAPI.
MocknetworkIdentity is a mock of networkIdentity interface.
MocknetworkIdentityMockRecorder is the mock recorder for MocknetworkIdentity.
Mockoracle is a mock of oracle interface.
MockoracleMockRecorder is the mock recorder for Mockoracle.
MockpeerCounter is a mock of peerCounter interface.
MockpeerCounterMockRecorder is the mock recorder for MockpeerCounter.
MockpostSetupProvider is a mock of postSetupProvider interface.
MockpostSetupProviderMockRecorder is the mock recorder for MockpostSetupProvider.
Mocksyncer is a mock of syncer interface.
MocksyncerMockRecorder is the mock recorder for Mocksyncer.
MocktxValidator is a mock of txValidator interface.
MocktxValidatorMockRecorder is the mock recorder for MocktxValidator.
NodeService is a grpc server that provides the NodeService, which exposes node-related data such as node status, software version, errors, etc.
Server is a very basic grpc server.
SmesherService exposes endpoints to manage smeshing.
TransactionService exposes transaction data, and a submit tx endpoint.
# Interfaces
ServiceAPI allows individual grpc services to register the grpc server.
# Type aliases
No description provided by the author