mirror of
https://github.com/luxfi/explorer-v1.git
synced 2026-10-30 19:34:59 +00:00
* Refactor market related code * Add historic exchange rate to transaction * Process review comments and rename vars * Process @nikitosing review
32 lines
705 B
Elixir
32 lines
705 B
Elixir
import Config
|
|
|
|
alias EthereumJSONRPC.Variant
|
|
|
|
######################
|
|
### BlockScout Web ###
|
|
######################
|
|
|
|
config :block_scout_web, BlockScoutWeb.API.V2, enabled: true
|
|
|
|
########################
|
|
### Ethereum JSONRPC ###
|
|
########################
|
|
|
|
################
|
|
### Explorer ###
|
|
################
|
|
|
|
config :explorer, Explorer.Chain.Cache.Counters.Transactions24hCount,
|
|
cache_period: ConfigHelper.parse_time_env_var("CACHE_TRANSACTIONS_24H_STATS_PERIOD", "1h"),
|
|
enable_consolidation: false
|
|
|
|
variant = Variant.get()
|
|
|
|
Code.require_file("#{variant}.exs", "apps/explorer/config/test")
|
|
|
|
###############
|
|
### Indexer ###
|
|
###############
|
|
|
|
Code.require_file("#{variant}.exs", "apps/indexer/config/test")
|