forked from TrueCloudLab/frostfs-node
[#60] core/netmap: Define interface of current network properties
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
4a56f82571
commit
7c081e4f15
1 changed files with 7 additions and 0 deletions
7
pkg/core/netmap/state.go
Normal file
7
pkg/core/netmap/state.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package netmap
|
||||
|
||||
// State groups current system state parameters.
|
||||
type State interface {
|
||||
// CurrentEpoch returns number of current NeoFS epoch.
|
||||
CurrentEpoch() uint64
|
||||
}
|
Loading…
Reference in a new issue