[#1] Update morph service description
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
e551fac84d
commit
5050dff55a
1 changed files with 19 additions and 50 deletions
|
@ -3,52 +3,23 @@ A single-node N3 privnet deployment, running on
|
||||||
[neo-go](https://github.com/nspcc-dev/neo-go). Represents N3 FrostFS SideChain.
|
[neo-go](https://github.com/nspcc-dev/neo-go). Represents N3 FrostFS SideChain.
|
||||||
|
|
||||||
Contracts deployed:
|
Contracts deployed:
|
||||||
- Alphabet (AZ) [contract](https://github.com/TrueCloudLab/frostfs-contract/tree/master/alphabet)
|
- Alphabet (AZ) [contract](https://git.frostfs.info/TrueCloudLab/frostfs-contract/src/branch/master/alphabet)
|
||||||
- Audit [contract](https://github.com/TrueCloudLab/frostfs-contract/tree/master/audit)
|
- Audit [contract](https://git.frostfs.info/TrueCloudLab/frostfs-contract/src/branch/master/audit)
|
||||||
- Balance [contract](https://github.com/TrueCloudLab/frostfs-contract/tree/master/balance)
|
- Balance [contract](https://git.frostfs.info/TrueCloudLab/frostfs-contract/src/branch/master/balance)
|
||||||
- Container [contract](https://github.com/TrueCloudLab/frostfs-contract/tree/master/container)
|
- Container [contract](https://git.frostfs.info/TrueCloudLab/frostfs-contract/src/branch/master/container)
|
||||||
- Netmap [contract](https://github.com/TrueCloudLab/frostfs-contract/tree/master/netmap)
|
- Netmap [contract](https://git.frostfs.info/TrueCloudLab/frostfs-contract/src/branch/master/netmap)
|
||||||
- NeoFSID [contract](https://github.com/TrueCloudLab/frostfs-contract/tree/master/neofsid)
|
- NeoFSID [contract](https://git.frostfs.info/TrueCloudLab/frostfs-contract/src/branch/master/neofsid)
|
||||||
- Proxy [contract](https://github.com/TrueCloudLab/frostfs-contract/tree/master/proxy)
|
- Proxy [contract](https://git.frostfs.info/TrueCloudLab/frostfs-contract/src/branch/master/proxy)
|
||||||
- Reputation [contract](https://github.com/TrueCloudLab/frostfs-contract/tree/master/reputation)
|
- Reputation [contract](https://git.frostfs.info/TrueCloudLab/frostfs-contract/src/branch/master/reputation)
|
||||||
|
|
||||||
RPC available at `http://morph-chain.frostfs.devenv:30333`.
|
RPC available at `http://morph-chain.frostfs.devenv:30333`.
|
||||||
|
|
||||||
## .env settings
|
## .env settings
|
||||||
|
|
||||||
### MORPH_CHAIN_URL
|
|
||||||
|
|
||||||
URL to get side chain dump. Used on artifact get stage.
|
|
||||||
|
|
||||||
### MORPH_CHAIN_PATH
|
|
||||||
|
|
||||||
Path to get side chain dump. If set, overrides `CHAIN_URL`.
|
|
||||||
|
|
||||||
### NEOGO_VERSION
|
### NEOGO_VERSION
|
||||||
|
|
||||||
Version of neo-go docker container for side chain deployment.
|
Version of neo-go docker container for side chain deployment.
|
||||||
|
|
||||||
## Side chain wallets
|
|
||||||
|
|
||||||
There is a wallet with GAS that used for contract deployment:
|
|
||||||
`wallets/wallet.json`. This wallet has one account with **empty password**.
|
|
||||||
|
|
||||||
```
|
|
||||||
$ neo-go wallet nep17 balance \
|
|
||||||
-w wallets/wallet.json \
|
|
||||||
-r http://morph-chain.frostfs.devenv:30333
|
|
||||||
|
|
||||||
Account NbUgTSFvPmsRxmGeWpuuGeJUoRoi6PErcM
|
|
||||||
GAS: GasToken (d2a4cff31913016155e38e474a2c06d08be276cf)
|
|
||||||
Amount : 189826.0515316
|
|
||||||
Updated: 3909
|
|
||||||
FROSTFS: FrostFS Balance (69550190e740b93f92dbd5dea52246f550391057)
|
|
||||||
Amount : 50
|
|
||||||
Updated: 3909
|
|
||||||
```
|
|
||||||
|
|
||||||
This way you can also monitor FrostFS internal balance of your account.
|
|
||||||
|
|
||||||
## FrostFS global config
|
## FrostFS global config
|
||||||
|
|
||||||
FrostFS uses global configuration to store epoch duration, maximum object size,
|
FrostFS uses global configuration to store epoch duration, maximum object size,
|
||||||
|
@ -57,16 +28,10 @@ netmap contract and managed by Inner Ring (Alphabet) nodes.
|
||||||
|
|
||||||
To change these parameters use `make update.*` commands. Command down below
|
To change these parameters use `make update.*` commands. Command down below
|
||||||
changes epoch duration from 300 blocks (about 300 seconds with 1bps) to 30.
|
changes epoch duration from 300 blocks (about 300 seconds with 1bps) to 30.
|
||||||
Script enters passwords automatically with `expect` utility.
|
|
||||||
|
|
||||||
```
|
```
|
||||||
$ make update.epoch_duration val=30
|
$ make update.epoch_duration val=30
|
||||||
Changing EpochDuration configration value to 30
|
Waiting for transactions to persist...
|
||||||
Enter account NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP password >
|
|
||||||
Sent invocation transaction bdc0fa88cd6719ef6df2b9c82de423ddec6141ca24255c2d0072688083b1de9d
|
|
||||||
Updating FrostFS epoch to 20
|
|
||||||
Enter account NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP password >
|
|
||||||
Sent invocation transaction 12296e1ce24dd6c04edb9c56d0a1d0e26d3226adefb0333c74a28788f44a8d0f
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Read more about available configuration in Makefile help.
|
Read more about available configuration in Makefile help.
|
||||||
|
@ -78,8 +43,12 @@ $ make help
|
||||||
...
|
...
|
||||||
update.audit_fee Update audit fee per result in fixed 12 (make update.audit_fee val=100)
|
update.audit_fee Update audit fee per result in fixed 12 (make update.audit_fee val=100)
|
||||||
update.basic_income_rate Update basic income rate in fixed 12 (make update.basic_income_rate val=1000)
|
update.basic_income_rate Update basic income rate in fixed 12 (make update.basic_income_rate val=1000)
|
||||||
|
update.container_alias_fee Update container alias fee per alphabet node in fixed 12 (make update.container_alias_fee val=100)
|
||||||
update.container_fee Update container fee per alphabet node in fixed 12 (make update.container_fee val=500)
|
update.container_fee Update container fee per alphabet node in fixed 12 (make update.container_fee val=500)
|
||||||
|
update.eigen_trust_alpha Update alpha parameter of EigenTrust algorithm in 0 <= f <= 1.0 (make update.eigen_trust_alpha val=0.2)
|
||||||
update.eigen_trust_iterations Update amount of EigenTrust iterations (make update.eigen_trust_iterations val=2)
|
update.eigen_trust_iterations Update amount of EigenTrust iterations (make update.eigen_trust_iterations val=2)
|
||||||
update.epoch_duration Update epoch duration in side chain blocks (make update.epoch_duration val=30)
|
update.epoch_duration Update epoch duration in side chain blocks (make update.epoch_duration val=30)
|
||||||
|
update.homomorphic_hashing_disable Update homomorphic hashing disabled flag (make update.homomorphic_hashing_disable val=true)
|
||||||
update.max_object_size Update max object size in bytes (make update.max_object_size val=1000)
|
update.max_object_size Update max object size in bytes (make update.max_object_size val=1000)
|
||||||
|
update.system_dns Update system dns to resolve container names (make update.system_dns val=container)
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue