d890a7eba4
[ #50 ] Replace interface{}
with any
...
DCO action / DCO (pull_request) Successful in 1m6s
Tests / Tests (1.19) (pull_request) Successful in 1m17s
Tests / Tests (1.20) (pull_request) Successful in 1m12s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-07 15:18:48 +03:00
6e9c770142
[ #50 ] Drop notaryless deploy parameter
...
DCO action / DCO (pull_request) Successful in 1m20s
Tests / Tests (1.20) (pull_request) Successful in 3m13s
Tests / Tests (1.19) (pull_request) Successful in 4m11s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-11-07 14:56:21 +03:00
19a8ef2d02
Rename package name
...
Due to source code relocation from GitHub.
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-03-07 14:06:21 +03:00
Evgenii Stratonikov
6c805c1b4e
Move from nspcc-dev to TrueCloudLab
...
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
2022-12-13 11:12:48 +03:00
Leonard Lyubich
d95bc53589
[ #269 ] netmap: Return same type from reading methods
...
There is a need to return similar structure of information about the
storage nodes from the contract storage readers. In previous
implementation some methods didn't return node state which can differ
with the one encoded in the node's BLOB.
Define `Node` structure of the information about the storage nodes
recorded in the contract storage. Return `[]Node` from all related
methods.
Also improve docs of touched contract methods.
Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2022-09-30 17:31:58 +04:00
Evgenii Stratonikov
9785f9b2c7
[ #271 ] netmap: Allow to move node back to Online
state
...
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
2022-09-21 07:29:44 +03:00
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