Closed alexvanin closed 1 year ago
according to https://fs.neo.org/hosting/, we should to support network settings' requests in https://github.com/nspcc-dev/neofs-http-gw/ to implement this feature
My suggestion is to have these parameters hardcoded (we haven't ever changed them yet) for now and leave an issue to resolve it in future. In this bright and prosperous future we'll also display other fee parameters like the network page on https://governance.neo.org/
lets assume values have been already received somehow
e.g. from MainNet:
$ neofs-cli -r st1.storage.fs.neo.org:8080 netmap netinfo
you need:
Storage price
(P
)Epoch duration
(E
)Time per block
(T
)then GAS price for N
GB/month will be:
N x P x (30 x 24 x 60 x 60) / E / T / 10^12
Mainnet:
Epoch: 17946
Network magic: [net 0x572dfa5] 91414437
Time per block: 15s
NeoFS network configuration (system)
Audit fee: 50000000
Storage price: 100000
Container fee: 1000000000
Container alias fee: 200
EigenTrust alpha: 0.1
Number of EigenTrust iterations: 4
Epoch duration: 240
Inner Ring candidate fee: 10000000000
Maximum object size: 67108864
Withdrawal fee: 100000000
Homomorphic hashing disabled: false
Maintenance mode allowed: true
NeoFS network configuration (other)
Testnet:
Epoch: 8745
Network magic: [net 0x2bdb2b5f] 735783775
Time per block: 15s
NeoFS network configuration (system)
Audit fee: 10000
Storage price: 100000000
Container fee: 1000000000
Container alias fee: 90000000000
EigenTrust alpha: 0.1
Number of EigenTrust iterations: 4
Epoch duration: 240
Inner Ring candidate fee: 10000000000
Maximum object size: 67108864
Withdrawal fee: 100000000
Homomorphic hashing disabled: false
Maintenance mode allowed: false
NeoFS network configuration (other)
I liked the way it looks in https://neo.org/ (NEO & Gas calculator).