Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add slot gap to pythnet options #98

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions config/config.sample.pythnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ exporter.compute_unit_limit = 20000
# during periods of high network congestion.
exporter.dynamic_compute_unit_pricing_enabled = true

# Maximum slot gap between the current slot and the oldest slot amongst all the accounts in
# the batch. This is used to calculate the dynamic price per compute unit. When the slot gap
# reaches this number we will use the maximum total_compute_fee for the transaction.
exporter.maximum_slot_gap_for_dynamic_compute_unit_price = 40

# The interval with which to poll account information. We are adding it as an extra
# layer of protection to ensure we get the latest account information if there are
# any issues with the ws subscription.
Expand Down
Loading