Evgenii Stratonikov
cb684994fc
[ #269 ] netmap: Support Maintenance
node state
...
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
2022-09-21 07:29:44 +03:00
Evgenii Stratonikov
4a0f0d7408
[ #232 ] netmap: Allow to configure snapshot history size
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-03-29 09:44:38 +03:00
Evgenii Stratonikov
01a7163d1e
[ #229 ] netmap: Improve UpdateState
in notary-enabled environment
...
Require `UpdateState` to be called by both storage node and the alphabet
in notary-enabled environment, fail if only one of the signatures is present.
`UpdateStateIR` can be use for force updates by the alphabet.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-03-22 12:56:16 +03:00
Evgenii Stratonikov
666e1d6d8d
[ #224 ] netmap: Add tests for NewEpoch
...
Ensure snapshots are handled properly.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-03-21 18:57:43 +03:00
Evgenii Stratonikov
f6766a144f
[ #225 ] netmap: Do not emit some events in notary-enabled mode
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-03-17 16:32:20 +03:00
Evgenii Stratonikov
a4f9d52cfc
[ #225 ] netmap: Rename Register
to AddPeerIR
...
Similar to `UpdateState`/`UpdateStateIR` pair.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-03-17 16:32:20 +03:00
Evgenii Stratonikov
9662f9f4db
[ #225 ] netmap: Split UpdateState
method for notary-enabled environment
...
Split methods similar to `AddPeer`/`Register` pair from b104a2ccbc
.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-03-17 16:32:20 +03:00
Evgenii Stratonikov
7bca6bf782
[ #215 ] container/tests: add tests for container size estimation
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-01-21 10:39:30 +03:00
Evgenii Stratonikov
b104a2ccbc
[ #154 ] netmap: implement Register
method
...
For notary-disabled environment it makes sense to split node
registration and actual candidate update into separate methods.
This way we have less complicate logic in `AddPeer` and overall
registration flow is more understandable.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-12-06 11:03:33 +03:00
Pavel Karpy
2ee2344e5f
[ #184 ] *: Move all panics on witness checks in common
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-11-30 12:14:19 +03:00
Pavel Karpy
ac89694eeb
[ #184 ] *: Remove method prefix in panic messages
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-11-30 12:14:19 +03:00
Evgenii Stratonikov
370720c83b
[ #161 ] netmap: fix tests
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-11-19 09:54:11 +03:00
Leonard Lyubich
68eac87e64
[ #154 ] netmap: allow only alphabet calls in updateState
...
This reverts commit a9503b5c
2021-11-16 17:26:26 +03:00
Evgenii Stratonikov
8553320e1c
[ #161 ] tests: reuse neo-go testing framework
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-11-15 18:13:24 +03:00
Evgenii Stratonikov
a9503b5cf8
Revert "[ #152 ] netmap: allow only alphabet calls in updateState
"
...
This reverts commit e1ee1c203c
.
2021-10-19 17:46:26 +03:00
Evgenii Stratonikov
81c12b3f24
Revert "[ #152 ] netmap: allow only alphabet calls in addPeer
"
...
This reverts commit c008910157
.
2021-10-19 17:46:26 +03:00
Evgenii Stratonikov
c5e026c6e7
[ #151 ] netmap: allow to update config values in _deploy
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 13:11:53 +03:00
Evgenii Stratonikov
e1ee1c203c
[ #152 ] netmap: allow only alphabet calls in updateState
...
If notary is enabled only alphabet calls are expected.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 12:46:19 +03:00
Evgenii Stratonikov
c008910157
[ #152 ] netmap: allow only alphabet calls in addPeer
...
If notary is enabled only alphabet calls are expected.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 12:46:19 +03:00
Evgenii Stratonikov
a72392f672
[ #146 ] netmap: allow to update peer info
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-19 12:02:19 +03:00
Evgenii Stratonikov
cd005e54a4
[ #135 ] tests: check container nice-name registration
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-07 12:25:19 +03:00