config.sample.yaml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. chains:
  2. lightlink_pegasus:
  3. geth_rpc_addr: https://replicator.pegasus.lightlink.io/rpc/v1
  4. contract_addr: 0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a
  5. # Multiplier for the priority fee estimate, as a percentage (i.e., 100 = no change).
  6. # Defaults to 100 if the field is omitted.
  7. priority_fee_multiplier_pct: 100
  8. escalation_policy:
  9. # Pad the first callback transaction's gas estimate by 25%,
  10. # then multiply each successive callback transaction's gas estimate by 10% until the cap is reached.
  11. # All numbers are expressed as percentages where 100 = no change.
  12. initial_gas_multiplier_pct: 125
  13. gas_multiplier_pct: 110
  14. gas_multiplier_cap_pct: 600
  15. # Multiply successive callback transaction's fees by 10% until the cap is reached.
  16. # All numbers are expressed as percentages where 100 = no change.
  17. # (See also priority_fee_multiplier_pct above to generically adjust the priority fee estimates for the chain --
  18. # adjusting that parameter will influence the fee of the first transaction, in addition to other things)
  19. fee_multiplier_pct: 110
  20. fee_multiplier_cap_pct: 200
  21. keeper:
  22. # An ethereum wallet address and private key for running the keeper service.
  23. # This does not have to be the same key as the provider's key above.
  24. # Generate with `cast wallet new`.
  25. # The keeper private key can be omitted to run the webservice without the keeper.
  26. private_key:
  27. # For local development, you can hardcode the private key here
  28. value: 0xabcd
  29. # For production, you can store the private key in a file.
  30. # file: keeper-key.txt
  31. # Service polling intervals (e.g. 1m, 1min, 1m30s, 1min 30sec). See format here: https://docs.rs/humantime/latest/humantime/
  32. # These control how frequently different services poll for updates
  33. subscription_poll_interval: 1m # How often to check for new subscriptions
  34. chain_price_poll_interval: 10s # How often to check chain prices
  35. pyth_price_poll_interval: 10s # How often to check Pyth prices
  36. controller_update_interval: 10s # How often to update the controller
  37. # Backoff policy configuration for retrying failed operations
  38. backoff_initial_interval: 1s # Initial wait time between retries
  39. backoff_max_interval: 60s # Maximum wait time between retries
  40. backoff_multiplier: 2.0 # Multiply wait time by this factor on each retry
  41. backoff_max_elapsed_time: 300s # Maximum total time to keep retrying