frostfs-node/pkg/innerring/processors
Leonard Lyubich 8858840751 [#1796] ir/netmap: Allow to call AddPeer with ONLINE state only
In previous implementation Inner Ring allowed storage nodes with any
state to register in the network. According to the current design, only
nodes with ONLINE state are allowed to enter the network map.

Create new `state` sub-package of `nodevalidation` package of Inner Ring
application. Define `state.NetMapCandidateValidator` type and provide
`NodeValidator` interface required by the Inner Ring's processor of
`Netmap` contract's notification events. Embed new validator into the
one used by the Inner Ring application.

From now all `AddPeer` notifications with node state other than `ONLINE`
will be denied.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-10-05 11:41:49 +03:00
..
alphabet [#1513] Upgrade NeoFS SDK Go with changed netmap package 2022-06-17 15:53:18 +03:00
audit [#1674] *: Expire entities after the expiration epoch 2022-09-12 19:56:59 +04:00
balance [#1636] ir: Listen balance contract in balance processor 2022-07-28 18:47:20 +03:00
container [#1687] *: Perform go fmt using go v1.19 2022-08-22 18:59:57 +03:00
governance [#1320] English Check 2022-05-11 10:40:02 +03:00
neofs [#1400] owner: Upgrade SDK package 2022-05-23 15:33:14 +03:00
netmap [#1796] ir/netmap: Allow to call AddPeer with ONLINE state only 2022-10-05 11:41:49 +03:00
reputation [#1570] Upgrade NeoFS SDK Go with changed reputation API 2022-07-06 18:21:24 +03:00
settlement [#1487] innerring: Log errors in processors 2022-06-07 14:11:58 +03:00
subnet [#1687] *: Perform go fmt using go v1.19 2022-08-22 18:59:57 +03:00