Commit graph

136 commits

Author SHA1 Message Date
Pavel Karpy
347be12c50 [#138] main_chain: Decrease seconds per block to 1
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-10-18 11:19:31 +03:00
Alex Vanin
80fb9b3bc2 [#133] Increase GAS emission and notary deposits
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-09-30 18:42:14 +03:00
Alex Vanin
0bc7f842a3 [#132] Update neofs-node to v0.25.0
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-09-28 18:10:36 +03:00
Pavel Karpy
a6f9e280b9 [#128] Update neofs-node to v0.24.0
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-08-31 11:59:05 +03:00
Alex Vanin
a517937074 Update neofs-contract to v0.10.1 with neo-go v0.97.2
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-08-30 18:23:57 +03:00
Alex Vanin
8cc58cc639 [#124] Update neofs-node to v0.23.1
Do not update neo-go to v0.97.1, because it breakes
pre-defined chain dump.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-08-09 15:10:37 +03:00
Alex Vanin
695414959f [#122] Update neofs-contract to v0.10.0
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-23 21:34:31 +03:00
Stanislav Bogatyrev
80b7b3caeb
Bump http gateway version (#117)
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-07-19 15:23:45 +03:00
Alex Vanin
8ed24e8248
[#116] Update S3 gate to v0.16.0 (#116)
With latest release we don't need special key files, instead
we can work with NEP-6 wallets that can be unrelated to
user.key wallet.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-16 16:53:35 +03:00
anastasia prasolova
37dcb9b041 change locode "RU MSK" -> "RU MOW"
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-07-09 18:08:10 +03:00
anastasia prasolova
74ccc1b222 move s04 tls keys configuration from .storage.env to compose file
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-07-09 14:23:21 +03:00
Denis Kirillov
91c8688cfa [#111] Use the same 8080 port to insecure
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-08 15:28:24 +03:00
anastasia prasolova
2fd6d2c549 Use debug flags for chain and morph_chain services
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-07-07 17:57:40 +03:00
Denis Kirillov
58bc422f2b [#90] Added tls cert to nodes
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-06 17:02:04 +03:00
Denis Kirillov
1aa8d407ff [#90] Enabled tls for s04
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-06 17:02:04 +03:00
Alex Vanin
a4300b2a97 [#108] Update neofs-contract to v0.9.2
No more predefined network map.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-01 21:38:55 +03:00
Alex Vanin
1611844989 [#106] service/storage: Add healthcheck
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-30 22:31:29 +03:00
Alex Vanin
140734d457 [#106] service/ir: Add healthcheck
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-30 22:31:29 +03:00
Alex Vanin
3713201f62 [#106] serivce/ir: Add NeoFS CLI binary in required artifacts
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-30 22:31:29 +03:00
Alex Vanin
74717177c0 [#104] Update neofs-node to v0.22.0
Release includes group address support in SN.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-29 18:12:58 +03:00
Alex Vanin
84b3e77090 [#102] Update neofs-contract to v0.9.1
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-25 11:43:32 +03:00
Alex Vanin
60d742aa39 [#102] Use side chain consensus node wallet as Inner Ring credentials
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-25 11:43:32 +03:00
Alex Vanin
11b237753f [#97] Disable P2PSigExtension in main chain by default
Default neofs-dev-env configuration has notary subsytem
disabled in main chain, so it should be reflected in
main chain consensus node config

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-17 09:20:49 +03:00
Alex Vanin
c5044c761c [#98] Include user wallet in side chain
Can be useful to check side chain balance.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-16 18:28:19 +03:00
Alex Vanin
be20d48c35 Update neofs-node to v0.21.0
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-04 15:02:06 +03:00
Leonard Lyubich
4a6d304b8f [#86] Update storage node ENVs after config refactoring
All contract addresses are replaced to `contracts` section.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-02 16:52:07 +03:00
Alex Vanin
c5ba3cfc49 [#82] Use chain dump with new container contract
Container contract now lacks signature checks
but supports session tokens.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-28 10:21:18 +03:00
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