Commit graph

209 commits

Author SHA1 Message Date
Alex Vanin
ebc0f96b2f [#76] Update neo-go and contracts to N3 testnet RC2 version
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-21 14:26:43 +03:00
Alex Vanin
b2f182f5b0 [#76] Fix port numbers for neofs metrics endpoint
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-21 14:26:43 +03:00
Leonard Lyubich
22bdc6ccf6 [#76] Describe updated configurations of IR and Node in env files
Update config values of IR and Node applications. All possible
configurations of Node app are reflected in env.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-21 14:26:43 +03:00
Alex Vanin
4d38cd9b8f Update NeoFS node versions with non notary workflow support
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-05 15:43:17 +03:00
Alex Vanin
8f7c2b69d8 Update contracts with notary disable flag support
Main chain contracts have notary disable flag set to true
Side chain contracts have notary disable flat set to false

Main chain now have processing contract for notary enabled
invocation payments.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-05 15:43:17 +03:00
Alex Vanin
833960d33c Enable notary in main chain
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-05 15:43:17 +03:00
Pavel Karpy
73ced8c4f7 [#67] neofs-node: Add reputation's scripthash
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-04-29 14:57:00 +03:00
Pavel Karpy
a64ed463f6 [#66] storage: Add log "debug" level to config
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-04-23 18:08:29 +03:00
Alex Vanin
81de766df3 Update NeoFS image versions and remove epoch duration config
Set epoch duration with new Makefile targets.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-19 09:58:30 +03:00
Alex Vanin
5bef7fc923 Support oracle calls in main chain
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-14 18:10:23 +03:00
Alex Vanin
8363a5c875 Use neo-go v0.94.1 and update side chain contracts
Now side chain stores state roots in block headers and
have configurable fee for data audit result register.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-09 13:12:21 +03:00
Alex Vanin
676b4864d6 Update reputaiton contract to the side chain
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-04-09 13:12:21 +03:00
Alex Vanin
3a8b6bcadd Update side chain magic number
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-29 09:26:51 +03:00
Alex Vanin
d2484d973c Update environment for single inner ring node
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-29 09:26:51 +03:00
Alex Vanin
a3890fb500 Enable metrics for storage nodes
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-23 09:01:00 +03:00
Alex Vanin
63a8505c11 Update neofs-node to v0.17.0
This updates includes neo-go update to v0.94.0
that triggered wallet and address changes. Also
neofs-node configuration expanded with notary
related values.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-23 09:01:00 +03:00
Leonard Lyubich
ddcb711975 [#54] services/storage: Fix configuring shard's GC
GC configuration parameters should be set for each shard instead of global.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-01 20:07:40 +03:00
Leonard Lyubich
a9651911a0 [#50] services/storage: Add GC configuration
In NeoFS Node v0.16.0 was implemented new mechanism of garbage collecting.
Data remover is a routine that physically removes "garbage" objects by time
clock.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-01 12:59:18 +03:00
Leonard Lyubich
1a3e986f60 [#50] services/ir: Add config value to toggle sidechain-only mode
In IR v0.16.0 it became possible to work with one blockchain without direct
interaction with the mainnet.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-01 12:59:18 +03:00
Leonard Lyubich
595e9856f4 [#50] services/ir: Add disabled config of amount of the alphabetic contracts
In IR v0.16.0 number of alphabetic contracts became variable. Add commented
environment variable for changing this parameter of the system.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-01 12:59:18 +03:00
Leonard Lyubich
3e411f270a [#50] services/ir: Rename glagolitic letter Jest to Yest
In IR v0.16.0 all letters of alphabetic contracts were changed to their CS
names. In particular, `Jest` became `Yest`.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-01 12:59:18 +03:00
Alex Vanin
5ed45bc4f9 Add basic settlement IR configuration
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-02-15 18:45:18 +03:00
Leonard Lyubich
635d1a0db0 [#46] services/ir: Add NeoFS LOCODE database to IR volumes
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-15 18:45:18 +03:00
Alex Vanin
210f8d222b Make environment NEO preview5 compatible
Includes:
- update neo-go to v0.93.0
- update neofs-node to v0.15.0 and configs
- update neofs-contract to v0.4.0

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-02-15 18:45:18 +03:00
Alex Vanin
9e0143602c Update neofs-node to v0.14.1
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-01-15 19:14:33 +03:00
Stanislav Bogatyrev
88b9e200d6 [#33] Move storage nodes shards to volumes
Need to save node's data between runs. Useful for test cases.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-01-13 14:10:59 +03:00
Alex Vanin
1818199ffc Download devenv chain dumps from github release
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-12-30 14:52:57 +03:00
Alex Vanin
f17db579fe Increase NeoFS epoch length
Since sidechain dump contains prepared network
map and non-zero epoch, it is possible to increase
epoch length. With longer epoch there are
possibilities to execute more audit and replication
tasks.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-12-30 14:52:57 +03:00
Alex Vanin
4d3ae36e9b Update environment for preview4
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-12-30 14:52:57 +03:00
Alex Vanin
2bad8e6b97 Update main chain contract
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-12-24 10:22:52 +03:00
Alex Vanin
c5b611e6cf Add storage engine configuration for storage nodes
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-12-15 14:28:02 +03:00
Evgeniy Kulikov
ffd549be4d Update to new NeoFS S3 release
- fixes for newest s3 api
- add listen domain option

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-12-10 18:36:07 +03:00
Stanislav Bogatyrev
64ec80db58 Use separate key for http protocol gateway node
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-12-03 15:12:11 +03:00
Stanislav Bogatyrev
88d0fbc873 Update FAQ with key export instructions
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-12-03 15:12:11 +03:00
Stanislav Bogatyrev
162481a47a Bind HTTP protocol gateway on port 80
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-12-03 15:12:11 +03:00
Stanislav Bogatyrev
178ddfa8d3 Update documentation
Brief descriptions of newly added services and minor README updates.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-12-03 15:12:11 +03:00
Stanislav Bogatyrev
a1d56e6b55 Minor Makefile fixes
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-12-01 17:35:35 +03:00
Stanislav Bogatyrev
68e552e563 Fix S3 Protocol Gateway env file
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-12-01 17:35:35 +03:00
Evgeniy Kulikov
a3b2dfbff3 Add S3 Gate
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-12-01 14:18:58 +03:00
Evgeniy Kulikov
389e0dd62b Add HTTP Gate
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-11-27 22:36:48 +03:00
Stanislav Bogatyrev
6008f1f42a Add prepare. make targets for services
It may be useful to have make targets that will help to prepare service
environment for specific tasks.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-11-22 07:45:16 +03:00
Stanislav Bogatyrev
70b55aab4f Add script to make NeoFS deposit
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-11-22 07:45:16 +03:00
Alex Vanin
e37c18b45f Add notification endpoint explicitly
Now node has default value for notification endpoint
but it won't last forever, so it is better to
set it up explicitly.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-18 16:18:41 +03:00
Alex Vanin
2d91848c67 Update neofs-node to v0.12.0
With this commit:
* sidechain produces block per second,
* inner ring nodes emit gas through alphabet contracts,
* storage nodes re-bootstrap every couple of epochs, otherwise
they will be removed from netmap.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-18 10:13:44 +03:00
Alex Vanin
e5f3b37bd3 Update neo environment for pre-preview4 version
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-02 15:21:49 +03:00
Alex Vanin
7708f164ae Do not run emit worker on dev-env environment
Invocations of non-existed contracts make whole
environment unstable. It will be fixed later
with new neo-go releases and new environment dumps
that will container alphabet contracts.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-10-15 17:37:27 +03:00
Alex Vanin
ad68d73b71 Add alphabet contracts config for inner ring
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-10-14 18:07:07 +03:00
Alex Vanin
1d8e79c0e4 Add storage node attributes
Also fix indent for env vars.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-24 18:04:25 +03:00
Stanislav Bogatyrev
a4cb92016f Restart IR and Storage on failures
Removing useless container health checks and just making IR and Storage nodes to
restart on failure. NeoFS daemons should do all they can to survive.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-24 13:50:34 +03:00
Stanislav Bogatyrev
7d8fbc7754 Use common /etc/hosts
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-24 12:34:33 +03:00
Alex Vanin
bdb2eb6d67 Update chain dump with seven inner ring nodes 2020-09-24 00:14:32 +03:00
Stanislav Bogatyrev
d0cfbcd95a Move start-stop order to single config
Now .services file defines list and order of services to start and stop.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-24 00:14:32 +03:00
Stanislav Bogatyrev
959d994ae5 Add local devenv domain
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-23 09:54:19 +03:00
Alex Vanin
a2df248141 [#2] Prepare environment for preview-3
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-22 18:03:14 +03:00
anatoly@nspcc.ru
585031f1ba Reduce block generation time
To reduce integration tests run time, reduce the block generation time to 5
seconds
2020-09-22 18:01:35 +03:00
Stanislav Bogatyrev
fb50d30a2b Fix chain dump download URL 2020-07-26 22:05:24 +03:00
alexvanin
9f05ed3d0f Update neofs-node to v0.11.0
This commit:
  - removes unused .drone.yml,
  - updates neofs-node and neofs-cli up to v0.11.0,
  - updates chain dumps.
2020-07-24 18:02:06 +03:00
Stanislav Bogatyrev
4783b763cd Change chain dump download locations 2020-07-12 00:10:21 +03:00
alexvanin
4ea09ba995 Initial commit 2020-07-10 18:33:27 +03:00