hashgraph / hedera-mirror-node-explorer

Hedera Mirror Node Explorer for the Hedera Hashgraph DLT.
Apache License 2.0
33 stars 15 forks source link

show total number of transactions excluding child transactions #425

Open mshakeg opened 1 year ago

mshakeg commented 1 year ago

Problem

The hashscan explorer block page shows the total number of transactions including child(internal?) transactions. Take for example block 29457519 which shows 922 transactions, however most of those are child/internal transactions and the number of "normal" transactions is about 100.

Etherscan shows the total number of transactions in a block and the number of internal transactions, take for example Ethereum mainnet block16489149.

Solution

Show the total number of transactions(child + normal transactions) Show the total number of child transactions Show the total number of normal transactions

Alternatives

No response

svienot commented 1 year ago

The number of transactions per block is as returned by the mirror node REST API, and there is currently no notion of normal vs. internal transaction at that level. The fact there is a maximum of 100 transactions listed in the Block Details view is indeed a Hashscan limitation, and something we could improve.