Commit graph

81 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
alexvanin
4ea09ba995 Initial commit 2020-07-10 18:33:27 +03:00