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

Problem: no functionality exists to dynamically fetch gas-prices #85

Merged
merged 1 commit into from
May 24, 2018

Conversation

DrPeterVanNostrand
Copy link
Contributor

Problem: currently, gas-prices are set upon bridge startup via the
Users's config TOML file; this value remains constant for the
life of the Bridge.

Solution: create a mechanism that asynchronously queries
gas-prices from an "Oracle" service on a timed interval. This
mechanism should be a stream of gas-prices that can be polled
from the Bridge.

Currently, gas-prices are set upon bridge startup via the
Users's config TOML file; this value remains constant for the
life of the Bridge.

Solution: create a mechanism that asynchronously queries
gas-prices from an "Oracle" service on a timed interval. This
mechanism should be a stream of gas-prices that can be polled
from the Bridge.
@DrPeterVanNostrand DrPeterVanNostrand requested a review from yrashk May 24, 2018 00:45
@ghost ghost added the in progress label May 24, 2018
Copy link
Contributor

@yrashk yrashk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! Tiny nitpick (for future): the problem statement defines the problem via solution (no functionality exists..), a better one would be to highlight the actual problem, something like... "Problem: static gas price could at times be too low" (for example)

@yrashk yrashk merged commit 863b92a into master May 24, 2018
@ghost ghost removed the in progress label May 24, 2018
@DrPeterVanNostrand DrPeterVanNostrand deleted the get-gas-price-from-oracle branch May 24, 2018 13:32
noot pushed a commit to noot/poa-bridge that referenced this pull request Jul 18, 2018
noot pushed a commit to noot/poa-bridge that referenced this pull request Jul 18, 2018
Problem: no functionality exists to dynamically fetch gas-prices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants