|
|
|
@ -13,6 +13,7 @@ defmodule BlockScoutWeb.ChainController do |
|
|
|
|
def show(conn, _params) do |
|
|
|
|
transaction_estimated_count = Chain.transaction_estimated_count() |
|
|
|
|
block_count = Chain.block_estimated_count() |
|
|
|
|
address_count = Chain.address_estimated_count() |
|
|
|
|
|
|
|
|
|
market_cap_calculation = |
|
|
|
|
case Application.get_env(:explorer, :supply) do |
|
|
|
@ -28,7 +29,7 @@ defmodule BlockScoutWeb.ChainController do |
|
|
|
|
render( |
|
|
|
|
conn, |
|
|
|
|
"show.html", |
|
|
|
|
address_count: Chain.count_addresses_from_cache(), |
|
|
|
|
address_count: address_count, |
|
|
|
|
average_block_time: AverageBlockTime.average_block_time(), |
|
|
|
|
exchange_rate: exchange_rate, |
|
|
|
|
chart_data_path: market_history_chart_path(conn, :show), |
|
|
|
|