solana-labs / explorer

Explorer for Solana clusters
https://explorer.solana.com
MIT License
231 stars 291 forks source link

Feature Request - Transaction Confirmation Time Stats #308

Open jdubpark opened 1 year ago

jdubpark commented 1 year ago

Idea It'd be nice to see various stats for transaction confirmation time on the official explorer. Below is a screenshot of validators.app and their "Ping Thing" metrics, which measures the min, median, p90, and latency of transaction inclusion in Solana.

Why build the feature on the official explorer? Anatoly occasionally tweets about the p90 transaction inclusion time, and more people find the information valuable when building on Solana. It'd also be nice to have another data source, so people can cross-check the data and be more confident of transaction inclusion time stats.

Some other thoughts Maybe the explorer can also add stat for the interval between tx inclusion and confirmation (quorum). In other words, show (1) how long it takes for a tx to get included (2) for the tx to get confirmed (32 confirmations).

These metrics would most likely change in value as block-building by Jito clients becomes more prevalent — most transactions will be included in set intervals, as blocks are sealed at every X milliseconds. In that case, I think it'd also be valuable to display the above metrics in the context of blocks, e.g. inclusion and confirmation time measured in seconds and blocks.

Screenshot 2023-10-18 at 12 31 32 PM