frostfs-node/pkg/innerring
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
..
invoke [#302] Fix goimports linter errors 2021-01-12 18:47:02 +03:00
processors [#325] innerring: Fix storage node re-bootstrap approval 2021-01-18 18:54:07 +03:00
timers [#86] Run timer for gas emission event 2020-10-12 14:43:33 +03:00
bindings.go Add Inner Ring code 2020-07-24 17:07:37 +03:00
innerring.go [#291] Remove some unused code from repository 2020-12-30 10:27:53 +03:00
rpc.go [#276] innerring: Use Head with TTL in PoR 2020-12-25 16:49:27 +03:00
state.go [#255] ir: Replace Server.WriteReport method to another source file 2020-12-25 16:49:27 +03:00