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. |
||
---|---|---|
.. | ||
bridge | ||
api.rs | ||
app.rs | ||
config.rs | ||
contracts.rs | ||
database.rs | ||
error.rs | ||
lib.rs | ||
macros.rs | ||
message_to_mainnet.rs | ||
signature.rs | ||
transaction.rs | ||
util.rs |