forked from TrueCloudLab/frostfs-node
[#43] cmd/neofs-node: Use morph wrappers as data sources
Morph wrappers are being uses as sources for containers and snapshots of network map. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
1914b4dbad
commit
8585e147d0
3 changed files with 30 additions and 21 deletions
|
@ -14,6 +14,7 @@ import (
|
|||
"github.com/nspcc-dev/neofs-node/pkg/core/container"
|
||||
netmapCore "github.com/nspcc-dev/neofs-node/pkg/core/netmap"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/morph/client"
|
||||
nmwrapper "github.com/nspcc-dev/neofs-node/pkg/morph/client/netmap/wrapper"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/network"
|
||||
tokenStorage "github.com/nspcc-dev/neofs-node/pkg/services/session/storage"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/util/logger"
|
||||
|
@ -108,6 +109,7 @@ type cfgContainer struct {
|
|||
|
||||
type cfgNetmap struct {
|
||||
scriptHash util.Uint160
|
||||
wrapper *nmwrapper.Wrapper
|
||||
|
||||
fee util.Fixed8
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue