frostfs-node/pkg/morph/event/netmap
Leonard Lyubich bdb8243a5a [#1681] morph/netmap: Support MAINTENANCE state notification
After recent changes Netmap contract can send `UpdateState` notification
event with `MAINTENANCE` node's state. There is a need to provide
functionality to work with the status.

Provide `UpdatePeer.Maintenance` method. Support new state in
`ParseUpdatePeer` and `ParseUpdatePeerNotary` functions.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-10-05 11:41:49 +03:00
..
add_peer.go [#1637] go.mod: Update neo-go to v0.99.1 2022-07-28 20:11:45 +03:00
add_peer_notary.go [#846] morph/event: Add notary request to addPeer event 2021-09-27 11:10:15 +03:00
add_peer_test.go [#1637] go.mod: Update neo-go to v0.99.1 2022-07-28 20:11:45 +03:00
epoch.go [#1637] go.mod: Update neo-go to v0.99.1 2022-07-28 20:11:45 +03:00
epoch_test.go [#971] morph/event: Change notification parser's signature 2021-11-19 09:58:03 +03:00
update_peer.go [#1681] morph/netmap: Support MAINTENANCE state notification 2022-10-05 11:41:49 +03:00
update_peer_notary.go [#1681] morph/netmap: Support MAINTENANCE state notification 2022-10-05 11:41:49 +03:00
update_peer_test.go [#1680] morph/netmap: Pre-refactor processing of node states 2022-10-05 11:41:49 +03:00