frostfs-node/pkg/innerring/processors
Alex Vanin 8865252daf [#325] innerring: Fix storage node re-bootstrap approval
Netmap snapshot table caches bootstrap `AddPeer` txs so inner ring
node does not produce redundant approval txs for bootstrapped nodes.
However if node updates states to `Offline`, then such node should
be flagged in snapshot table, so re-bootstrap will actually produce
approval tx.

`ev.PublicKey.String()` returns uncompressed representation of the
node's public key, while snapshot contains compressed values.
Therefore the node was not flagged and re-bootstrap tx was not
approved by inner ring nodes.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-01-18 18:54:07 +03:00
..
alphabet [#254] Update neo-go to preview4 compatible version 2020-12-25 16:49:27 +03:00
audit [#291] Remove some unused code from repository 2020-12-30 10:27:53 +03:00
balance [#122] Add converter interface in balance and neofs processors 2020-10-28 13:36:59 +03:00
container [#174] Use Marshal(JSON)/Unmarshal(JSON) methods for encoding/decoding 2020-11-17 11:56:00 +03:00
neofs [#254] Update neo-go to preview4 compatible version 2020-12-25 16:49:27 +03:00
netmap [#325] innerring: Fix storage node re-bootstrap approval 2021-01-18 18:54:07 +03:00