2022-05-05 14:58:27 +00:00
---
logger :
level: info # Logger level : one of "debug", "info" (default), "warn", "error", "dpanic", "panic", "fatal"
2024-09-16 07:46:26 +00:00
timestamp : true
2022-05-05 14:58:27 +00:00
wallet :
path : /path/to/wallet.json # Path to NEP-6 NEO wallet file
address : NUHtW3eM6a4mmFCgyyr4rj4wygsTKB88XX # Account address in the wallet; ignore to use default address
password : secret # Account password in the wallet
without_mainnet : false # Run application in single chain environment without mainchain
morph :
dial_timeout : 5s # Timeout for RPC client connection to sidechain
endpoint :
client : # List of websocket RPC endpoints in sidechain
2022-07-18 13:41:35 +00:00
- address : wss://sidechain1.fs.neo.org:30333/ws
- address : wss://sidechain2.fs.neo.org:30333/ws
2022-05-05 14:58:27 +00:00
validators : # List of hex-encoded 33-byte public keys of sidechain validators to vote for at application startup
- 0283120f4c8c1fc1d792af5063d2def9da5fddc90bc1384de7fcfdda33c3860170
2022-10-12 17:13:57 +00:00
switch_interval : 2m # interval b/w RPC switch attempts if the node is not connected to the highest priority node
2022-05-05 14:58:27 +00:00
mainnet :
dial_timeout : 5s # Timeout for RPC client connection to mainchain; ignore if mainchain is disabled
2022-10-12 17:13:57 +00:00
switch_interval : 2m # interval b/w RPC switch attempts if the node is not connected to the highest priority node
2022-05-05 14:58:27 +00:00
endpoint :
client : # List of websocket RPC endpoints in mainchain; ignore if mainchain is disabled
2022-07-22 09:32:58 +00:00
- address : wss://mainchain1.fs.neo.org:30333/ws
- address : wss://mainchain.fs.neo.org:30333/ws
2022-05-05 14:58:27 +00:00
control :
authorized_keys : # List of hex-encoded 33-byte public keys that have rights to use the control service
- 035839e45d472a3b7769a2a1bd7d54c4ccd4943c3b40f547870e83a8fcbfb3ce11
- 028f42cfcb74499d7b15b35d9bff260a1c8d27de4f446a627406a382d8961486d6
grpc :
2022-07-13 08:58:10 +00:00
endpoint : localhost:8090 # Endpoint that is listened by the control service; disabled by default
2022-05-05 14:58:27 +00:00
governance :
disable : false # Disable synchronization of sidechain committee and mainchain role management contract; ignore if mainchain is disabled
node :
persistent_state :
2022-12-23 17:35:35 +00:00
path : .frostfs-ir-state # Path to application state file
2022-05-05 14:58:27 +00:00
locode :
db :
path : /path/to/locode.db # Path to UN/LOCODE database file
fee :
main_chain : 50000000 # Fixed8 value of extra GAS fee for mainchain contract invocation; ignore if notary is enabled in mainchain
side_chain : 200000000 # Fixed8 value of extra GAS fee for sidechain contract invocation; ignore if notary is enabled in sidechain
timers :
emit : 240 # Number of sidechain blocks between GAS emission cycles; disabled by default
stop_estimation :
mul : 1 # Multiplier in x/y relation of when to stop basic income estimation within the epoch
div : 4 # Divider in x/y relation of when to stop basic income estimation within the epoch
collect_basic_income :
mul : 1 # Multiplier in x/y relation of when to start basic income asset collection within the epoch
div : 2 # Divider in x/y relation of when to start basic income asset collecting within the epoch
distribute_basic_income :
mul : 3 # Multiplier in x/y relation of when to start basic income asset distribution within the epoch
div : 4 # Divider in x/y relation of when to start basic income asset distribution within the epoch
emit :
storage :
amount : 800000000 # Fixed8 value of sidechain GAS emitted to all storage nodes once per GAS emission cycle; disabled by default
mint :
value : 20000000 # Fixed8 value of sidechain GAS transferred to account that received a deposit from mainchain
cache_size : 1000 # LRU cache size of all deposit receivers to avoid double GAS emission
2023-02-03 14:59:15 +00:00
threshold : 1 # Lifetime of records in LRU cache of all deposit receivers in FrostFS epochs
2022-05-05 14:58:27 +00:00
gas :
balance_threshold : 100000000000 # Fixed8 value of inner ring wallet balance threshold when GAS emission for deposit receivers is disabled; disabled by default
2023-03-09 13:19:39 +00:00
extra_wallets : # wallet addresses that are included in gas emission process in equal share with network map nodes
- "NQcfMqU6pfXFwaaBN6KHcTpT63eMtzk6eH"
- "NaSVC4xKySQBpKr1XRVYFCHjLhuYXnMBrP"
- "NT9jL5XcxcDt2iTj67o2d5xNfDxquN3pPk"
2022-05-05 14:58:27 +00:00
workers :
alphabet : 10 # Number of workers to process events from alphabet contract in parallel
balance : 10 # Number of workers to process events from balance contract in parallel
container : 10 # Number of workers to process events from container contract in parallel
2023-01-11 14:26:49 +00:00
frostfs : 10 # Number of workers to process events from frostfs contracts in parallel
2022-05-05 14:58:27 +00:00
netmap : 10 # Number of workers to process events from netmap contract in parallel
indexer :
cache_timeout : 15s # Duration between internal state update about current list of inner ring nodes
netmap_cleaner :
enabled : true # Enable voting for removing stale storage nodes from network map
2023-02-03 14:59:15 +00:00
threshold : 3 # Number of FrostFS epoch without bootstrap request from storage node before it considered stale
2022-05-05 14:58:27 +00:00
contracts :
2023-01-11 14:26:49 +00:00
frostfs : ee3dee6d05dc79c24a5b8f6985e10d68b7cacc62 # Address of FrostFS contract in mainchain; ignore if mainchain is disabled
2022-05-05 14:58:27 +00:00
processing : 597f5894867113a41e192801709c02497f611de8 # Address of processing contract in mainchain; ignore if mainchain is disabled or notary is disabled in mainchain
balance: d2aa48d14b17b11bc4c68205027884a96706dd16 # Optional : override address of balance contract in sidechain
container: ed4a7a66fe3f9bfe50f214b49be8f215a3c886b6 # Optional : override address of container contract in sidechain
2023-01-11 14:26:49 +00:00
frostfsid: 9f5866decbc751a099e74c7c7bc89f609201755a # Optional : override address of frostfsid contract in sidechain
2022-05-05 14:58:27 +00:00
netmap: 83c600c81d47a1b1b7cf58eb49ae7ee7240dc742 # Optional : override address of netmap contract in sidechain
proxy: abc8794bb40a21f2db5f21ae62741eb46c8cad1c # Optional : override address of proxy contract in sidechain; ignore if notary is disabled in sidechain
alphabet :
amount: 7 # Optional : override amount of alphabet contracts
az: c1d211fceeb4b1dc76b8e4054d11fdf887e418ea # Optional : override address of az alphabet contract in sidechain
buky: e2ba789320899658b100f331bdebb74474757920 # Optional : override address of buky alphabet contract in sidechain
vedi: 9623c11fd49aa18220458fbaae0396749c669e19 # Optional : override address of vedi alphabet contract in sidechain
glagoli: 39617441b8e06c55e4fc3ce660be9101b6c1f866 # Optional : override address of glagoli alphabet contract in sidechain
dobro: e6122b65d45c8feeb04455d67814394c147ed4d1 # Optional : override address of dobro alphabet contract in sidechain
yest: cdbca5cb5d48a4472923844d0e3ee6328cf86d38 # Optional : override address of yest contract in sidechain
zhivete: f584699bc2ff457d339fb09f16217042c1a42101 # Optional : override address of zhivete contract in sidechain
2022-07-13 09:26:40 +00:00
pprof :
2022-07-13 09:17:37 +00:00
enabled : true
2022-07-13 08:58:10 +00:00
address : localhost:6060 # Endpoint for application pprof profiling; disabled by default
2022-05-05 14:58:27 +00:00
shutdown_timeout : 30s # Timeout for profiling HTTP server graceful shutdown
2023-04-19 17:02:02 +00:00
block_rate: 10000 # sampling rate : an average of one blocking event per rate nanoseconds spent blocked is reported; "1" reports every blocking event; "0" disables profiler
mutex_rate: 10000 # sampling rate : on average 1/rate events are reported; "0" disables profiler
2022-05-05 14:58:27 +00:00
2022-07-13 09:26:40 +00:00
prometheus :
2022-07-13 09:17:37 +00:00
enabled : true
2022-07-13 08:58:10 +00:00
address : localhost:9090 # Endpoint for application prometheus metrics; disabled by default
2022-05-05 14:58:27 +00:00
shutdown_timeout : 30s # Timeout for metrics HTTP server graceful shutdown
2023-12-05 14:05:34 +00:00
systemdnotify :
enabled : true