question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Misleading categorization

See original GitHub issue

The graph claims that a block’s net_issuance is equal to its total_rewards - total_burned, but it should reflect a different metric (and potentially 3 categories):

coinbase (actually issued currency)
rewards (money paid as tip, not actually issued)
burned (amount of base_fee burned)

net_issuance = coinbase - burned

image

In my screenshot above, we see:

rewards = 3.8125
burned = 0.2562
net_issuance = (rewards - burned) = 3.5563

I’m suggesting it should be:

coinbase = 2
tip = 1.8125
burned = 0.2562
net_issuance = (coinbase - burned) = (2 - 0.2562) = 1.7438
(and, if you want) total_rewards = (coinbase + tip) = 3.8125

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mohamedmansourcommented, Aug 26, 2021

@notlesh just checked the stats on the left, Burned or Issuance doesn’t include Tips, same calculation as the blocks cause it just sums all the blocks.

If you refresh watchtheburn, the chart should show Tips info when you hover on the issuance chart 😃 Thanks for the feedback!

1reaction
mohamedmansourcommented, Aug 26, 2021

Hey @notlesh I can place the tip inside, I was thinking the same thing these couple of days 😊

Regarding your question, that is not the tip, Rewards include coinbase reward + uncle reward. The issuance does not include the tips. Tips are calculated by going through all the transactions as well.

The logic is calculated here: https://github.com/mohamedmansour/ethereum-burn-stats/blob/main/daemon/hub/stats.go#L722

snip:

blockReward := s.getBaseReward(blockNumber)

for n, uncleHash := range block.Uncles {
	blockReward.Add(&blockReward, &uncleMinerReward)
	blockReward.Add(&blockReward, &uncleInclusionReward)
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Fake News, Misleading Information, and Evaluating Sources
There are four broad categories of fake news, according to media professor Melissa Zimdars of Merrimack College. CATEGORY 1: Sites that rely ...
Read more >
Misleading classification | SpringerLink
In this paper, we investigate a new problem-misleading classification in which each test instance is associated with an original class and a ...
Read more >
The Dangers of Categorical Thinking
For a categorization to have value, two things must be true: First, it must be valid. You can't just arbitrarily divide a homogeneous...
Read more >
Virtue Ethics: A Misleading Category? - jstor
Here is a misleading story about the current situation in contemporary moral philosophy:1 We are turning from an ethics based on Enlightenment.
Read more >
Types of Misleading News - Digital and News Literacy
There are four broad categories of news sources, according to media ... Category 1: Fake, false, or regularly misleading websites that are ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found