[#60] core/netmap: Define interface of current network properties

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-10-21 18:10:42 +03:00 committed by Alex Vanin
parent 4a56f82571
commit 7c081e4f15

7
pkg/core/netmap/state.go Normal file
View 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
}