forked from TrueCloudLab/frostfs-node
[#786] cmd/neofs-node: Use NNS to find contract script hashes missing in config
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
b6dfa6c118
commit
d840627816
4 changed files with 47 additions and 11 deletions
|
@ -139,6 +139,8 @@ type cfgMorph struct {
|
|||
|
||||
blockTimers []*timer.BlockTimer // all combined timers
|
||||
eigenTrustTimer *timer.BlockTimer // timer for EigenTrust iterations
|
||||
|
||||
proxyScriptHash neogoutil.Uint160
|
||||
}
|
||||
|
||||
type cfgAccounting struct {
|
||||
|
@ -278,6 +280,9 @@ func initCfg(path string) *cfg {
|
|||
maxChunkSize: maxChunkSize,
|
||||
maxAddrAmount: maxAddrAmount,
|
||||
},
|
||||
cfgMorph: cfgMorph{
|
||||
proxyScriptHash: contractsconfig.Proxy(appCfg),
|
||||
},
|
||||
localAddr: netAddr,
|
||||
respSvc: response.NewService(
|
||||
response.WithNetworkState(netState),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue