From 7c081e4f155d10c681ed07d1b049474462e1f823 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 21 Oct 2020 18:10:42 +0300 Subject: [PATCH] [#60] core/netmap: Define interface of current network properties Signed-off-by: Leonard Lyubich --- pkg/core/netmap/state.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pkg/core/netmap/state.go diff --git a/pkg/core/netmap/state.go b/pkg/core/netmap/state.go new file mode 100644 index 000000000..8947416e9 --- /dev/null +++ b/pkg/core/netmap/state.go @@ -0,0 +1,7 @@ +package netmap + +// State groups current system state parameters. +type State interface { + // CurrentEpoch returns number of current NeoFS epoch. + CurrentEpoch() uint64 +}