Leonard Lyubich
2126235f0e
[ #674 ] node: Configure size of per-shard worker pools
...
Add `shard_pool_size` config to `storage` section. Set app default to 20.
Pass the value to `WithShardPoolSize` option.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-10-14 10:20:39 +03:00
Sergio Nemirowski
57007f4a52
[ #858 ] config/example: Set log levels in verbosity order
...
Signed-off-by: Sergio Nemirowski <sergio@nspcc.ru>
2021-10-12 12:16:53 +03:00
Pavel Karpy
fa1dc31320
[ #894 ] config/example: Fix comments
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-10-08 11:30:10 +03:00
Pavel Karpy
40b2a03b49
[ #874 ] node/config: Add information about comments to README.md
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-10-07 14:48:17 +03:00
Pavel Karpy
17dcc1299f
[ #874 ] node/config: Add comments for config values
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-10-07 14:48:17 +03:00
Leonard Lyubich
0e3e8db5c0
[ #845 ] node: Configure Object PUT remote and local pools separately
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-27 16:20:19 +03:00
Leonard Lyubich
d938c7267b
[ #789 ] node/config: Add Shard's refill_metabase
config to examples
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-15 18:22:09 +03:00
Leonard Lyubich
368e280413
[ #776 ] cmd/node: Configure write-cache size limit
...
Add `size_limit` config value to write-cache section. Add `SizeLimit` method
of `writecache.Config` type. Pass its value to `WithMaxCacheSize` option on
app construction.
Reflect config update in examples. Cover new value in unit test.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-15 18:07:36 +03:00
Alex Vanin
cdb3b71070
[ #798 ] neofs-node/config: Add persistent_state section
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-09-07 17:22:25 +03:00
Pavel Karpy
e29bcd98e2
[ #770 ] node/config: Add notary deposit config
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-09-07 12:55:01 +03:00
Pavel Karpy
d77b2d1b76
[ #770 ] node/config: Add proxy contract to config
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-09-07 12:55:01 +03:00
Pavel Karpy
c54f524df9
[ #773 ] writecache: Delete unused dbSize
param
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-08-27 15:05:53 +03:00
Pavel Karpy
c423aa432a
[ #730 ] node/config/morph: Add disable_cache
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-08-03 09:40:10 +03:00
Pavel Karpy
da516c6754
[ #711 ] node/config/example: Make config examples usable
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-07-23 11:09:02 +03:00
Leonard Lyubich
81ddaeca16
[ #607 ] config/example: Add all formats of node's network addresses
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-28 15:52:50 +03:00
Leonard Lyubich
163c24a2d2
[ #607 ] cmd/node: Configure group of bootstrap addresses
...
There is a need to support multiple network addresses of the storage nodes.
Make `BootstrapAddress` to return `network.AddressGroup` (and rename).
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-28 15:52:50 +03:00
Leonard Lyubich
8060735732
[ #607 ] cmd/node: Serve gRPC on multiple interfaces
...
Generalize single gRPC interface of the storage node to a group of
interfaces. Each interface calls the same RPC handler.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-28 15:52:50 +03:00
Evgenii Stratonikov
2f020a500d
[ #562 ] config: parse key on config load
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-06-15 14:49:59 +03:00
Evgenii Stratonikov
3f07313604
[ #562 ] cmd/neofs-node: use NEP-6 wallet for keys
...
Also use neo-go private key wrapper where possible, as it
already has methods for (un)marshaling.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-06-15 14:49:59 +03:00
Alex Vanin
cd947bb580
[ #493 ] cmd/node: Add object service section to config
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-02 16:07:42 +03:00
Alex Vanin
f40b84c99e
[ #493 ] cmd/node: Add replicator section to config
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-02 16:07:42 +03:00
Alex Vanin
8c96494da0
[ #493 ] cmd/node: Add policer section to config
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-02 16:07:42 +03:00
Alex Vanin
27b4781e95
[ #493 ] cmd/node: Add apiclient section to config
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-02 16:07:42 +03:00
Alex Vanin
4ef968aa06
[ #496 ] cmd/node: Add mainchain section to config
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-02 15:12:08 +03:00
Alex Vanin
cf5e371590
[ #496 ] cmd/node: Add morph section to config
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-02 15:12:08 +03:00
Alex Vanin
c828848024
[ #493 ] cmd/node: Add control section to config
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-02 14:58:22 +03:00
Alex Vanin
0eea25375e
[ #493 ] cmd/node: Add contracts section to config
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-02 14:58:22 +03:00
Pavel Karpy
7dbeb08c58
[ #579 ] cmd/node: Add grpc section to config
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-02 14:02:33 +03:00
Pavel Karpy
42d18f1322
[ #577 ] cmd/node: Add node section to config
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-02 13:28:15 +03:00
Leonard Lyubich
e1ebb48655
[ #493 ] config/example: Add storage engine's configurations
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-02 09:54:00 +03:00
Leonard Lyubich
72d81dba92
[ #493 ] config/example: Write about ENVs in README.md
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-02 09:54:00 +03:00
Alex Vanin
3fbf5e05b2
[ #493 ] cmd/node: Add metrics section to config
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-01 15:29:08 +03:00
Alex Vanin
561c809fa5
[ #493 ] cmd/node: Add profiler section to config
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-01 15:29:08 +03:00
Alex Vanin
25a13d3611
[ #493 ] cmd/node: Add .env file for tests
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-01 15:29:08 +03:00
Leonard Lyubich
f833fe1ee2
[ #493 ] config: Add example config files of storage node application
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-01 11:45:38 +03:00