|
|
@ -13,6 +13,9 @@ config :explorer, |
|
|
|
|
|
|
|
|
|
|
|
config :explorer, Explorer.Counters.AverageBlockTime, enabled: true |
|
|
|
config :explorer, Explorer.Counters.AverageBlockTime, enabled: true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config :explorer, Explorer.ExchangeRates.Source.CoinMarketCap, |
|
|
|
|
|
|
|
pages: String.to_integer(System.get_env("COINMARKETCAP_PAGES") || "10") |
|
|
|
|
|
|
|
|
|
|
|
balances_update_interval = |
|
|
|
balances_update_interval = |
|
|
|
if System.get_env("ADDRESS_WITH_BALANCES_UPDATE_INTERVAL") do |
|
|
|
if System.get_env("ADDRESS_WITH_BALANCES_UPDATE_INTERVAL") do |
|
|
|
case Integer.parse(System.get_env("ADDRESS_WITH_BALANCES_UPDATE_INTERVAL")) do |
|
|
|
case Integer.parse(System.get_env("ADDRESS_WITH_BALANCES_UPDATE_INTERVAL")) do |
|
|
|