netmap

package
v0.46.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: GPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.45.0

New provides protocontainer.NetmapServiceServer based on specified Contract.

All response messages are signed using specified signer and have current epoch in the meta header.

Types

type Contract added in v0.45.0

type Contract interface {
	netmapcore.State
	// LocalNodeInfo returns local node's settings along with its network status.
	LocalNodeInfo() (netmap.NodeInfo, error)
	// GetNetworkInfo returns the current network configuration.
	GetNetworkInfo() (netmap.NetworkInfo, error)
	// GetNetworkMap current network map.
	GetNetworkMap() (netmap.NetMap, error)
}

Contract groups ops of the Netmap contract deployed in the FS chain required to serve NeoFS API Netmap service.

Jump to

Keyboard shortcuts

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