Refactor node validation in Inner Ring code #2578
Labels
enhancement
Improving existing functionality
good first issue
Good for newcomers
I4
No visible changes
neofs-ir
Inner Ring node application issues
S2
Regular significance
U4
Nothing urgent
currently Inner Ring verifies and updates descriptors of the storage nodes to be set in the NeoFS network map via https://pkg.go.dev/github.com/nspcc-dev/neofs-node/pkg/innerring/processors/netmap#NodeValidator
it's implemented through several independed packages https://github.com/nspcc-dev/neofs-node/tree/master/pkg/innerring/processors/netmap/nodevalidation
there are two disadvantages in such approach:
locode
,structure
andattribute
(coming with Verifiable attributes #2280) work with attributes but stay out of sync, so they must repeat similar checksi propose to refactor this part of code to make it more simple (e.g. gather in one package) and safe. Power of interfaces will allow us to make it easy to understand and test
The text was updated successfully, but these errors were encountered: