github.com/mysteriumnetwork/node@v0.0.0-20240516044423-365054f76801/e2e/transactor/config.yaml (about) 1 ############## 2 # Gas config # 3 ############## 4 gas: 5 chain_options: 6 5: 7 multiplier: 1.5 8 price_limit_gwei: 40 9 increase_interval: 3m 10 80001: 11 multiplier: 2 12 price_limit_gwei: 45 13 increase_interval: 3m 14 15 ########### 16 # Storage # 17 ########### 18 storage: 19 redis: 20 addresses: 21 - "redis:6379" # Redis address 22 prefix: "transactor" 23 pool_size: 100 24 pool_timeout: 5s 25 db: 26 psql_dsn: "postgres://transactor:transactor@transactordatabase:5432/transactor?sslmode=disable" # PostgreSQL DSN 27 max_idle_conns: 3 28 max_open_conns: 4 29 default_timeout: 15s 30 31 ########### 32 # Runtime # 33 ########### 34 runtime: 35 keystore_dir: "/keystore" 36 our_identity: "0x3d2cdbab09d2c8d613556769f37b47c82a5e13bf" # The transactors identity address 37 identity_passphrase: "" # Identity passphrase 38 hermeses_with_enabled_withdrawals: # Hermeses which allow withdrawals and therefore can earn in their channel 39 - "0xd68defb97d0765741f8ecf179df2f9564e1466a3" 40 hermeses_cache_duration: 24h # Amount of time for the hermes addresses are cache 41 max_requests_per_minute: 20 # The number of maximum write requests per hour per ip allowed before returning 429 42 log_level: "debug" 43 44 ############## 45 # Blockchain # 46 ############## 47 blockchain: 48 default_chain_id: 80001 # The chain id to use by default 49 chains: 50 5: 51 rpc: "http://ganache:8545" # Rpc endpoints for the chain 52 fallback_hermeses: # Fallback list of hermes addresses 53 - "0xd68defb97d0765741f8ecf179df2f9564e1466a3" 54 - "0xfd63dc49c7163d82d6f0a4c23ff13216d702ce50" 55 registry_addresses: # A list of registry smart contract addresses 56 - "0x427c2bad22335710aec5e477f3e3adcd313a9bcb" 57 myst_sc_address: "0xaa9c4e723609cb913430143fbc86d3cbe7adca21" 58 transaction_processing_interval: 10ms 59 80001: 60 rpc: "ws://ganache2:8545" 61 fallback_hermeses: 62 - "0xd68defb97d0765741f8ecf179df2f9564e1466a3" 63 - "0xfd63dc49c7163d82d6f0a4c23ff13216d702ce50" 64 registry_addresses: 65 - "0x427c2bad22335710aec5e477f3e3adcd313a9bcb" 66 myst_sc_address: "0xaa9c4e723609cb913430143fbc86d3cbe7adca21" 67 transaction_processing_interval: 10ms 68 69 ############ 70 # Registry # 71 ############ 72 registry: 73 balance_check_interval: 1s # How often we check the balance for those who want to register 74 top_up_requeue_interval: 1m # How soon we retry a failed top up 75 cache_expiration: 1h # How often we let the user top up an identity 76 top_up_amount: 7000000000000000000 # The amount of myst the top up endpoint will transfer to the recipient 77 stake_amount: 62000000000000000000 # The amount of myst that will be transferred to the recipient during provider registration 78 registration_timeout: 1h # Determines how long we wait for balance before timing out the registration 79 registration_check_interval: 100ms # How often to check if registration transaction was mined 80 registration_gas_limit: 450000 # Specifies the gas limit set for registration transactions 81 free_registration: true # If given, registration is paid by transactor itself 82 83 ############### 84 # Settlements # 85 ############### 86 settlements: 87 throttle: 1ms # Specifies how often a settlement can be tried