near-explorer icon indicating copy to clipboard operation
near-explorer copied to clipboard

At high tps show more interesting tx

Open ilblackdragon opened this issue 4 years ago • 3 comments

Story

Currently when there is even moderate load (>10 tps), the latest transactions display becomes not very interesting. Instead we can sample transactions to highlight interesting activities:

  • Contract deployments
  • Large transfers
  • Tx to popular contracts
  • etc

ilblackdragon avatar Apr 14 '20 08:04 ilblackdragon

This becomes a more and more pressing issue as we get bridge and other regular transactions on the chain.

As a regular user who monitors the transactions in the network, I want to see less of the automatic transactions on the dashboard and see more transactions relevant to the developers.

Possible solutions:

  1. Group transactions by the account id even if they are in different blocks (implementation hint, there are GROUP BY and DISTINCT helpers in SQL). There is a relevant discussion in #255
  2. Filter out "noisy" accounts (e.g. bridge). It is simple, but it might be misleading and not solving the problem in a generic way. (it might confuse bridge devs /cc @nearmax @ailisp)

@corwinharrell It might be great if we have some view from the UX/design perspective as well.

@vgrichina What do you think?

frol avatar Aug 08 '20 09:08 frol

I think the best solution for the dashboard is too remove TXs entirely. Users should not expect to see there transaction on the dashboard, or even TX list page, as at sufficiently high TPS, this will be highly unlikely (potentially even when grouping by account).

In etherscan, users know they need to find their account first, or look up the TX hash directly to see its status. We will need to handle this in a similar way, as we will have the same problem of too many TXs for the users to sift through.

For users that want to monitor TXs out of curiosity, they can use the TX list page, or look through recent blocks.

Perhaps we can group by account on this page to make it slightly more digestible.

kcole16 avatar Aug 08 '20 14:08 kcole16

@frol I think we should show heatmap a-la GitHub on home page. One square – one block / minute / hour / day (depending on user choice).

You click on the square – see transactions/blocks in it.

vgrichina avatar Aug 21 '20 03:08 vgrichina