omni / poa-bridge

POA <-> Ethereum bridge for self transfers of POA native token to POA20 (ERC20 representation). Not supported. Use TokenBridge instead
https://github.com/poanetwork/token-bridge
GNU General Public License v3.0
79 stars 38 forks source link

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

Closed DrPeterVanNostrand closed 6 years ago

DrPeterVanNostrand commented 6 years ago

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.