Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check inflation by inspecting raw block data #92

Open
Sjors opened this issue Oct 15, 2019 · 3 comments
Open

Check inflation by inspecting raw block data #92

Sjors opened this issue Oct 15, 2019 · 3 comments

Comments

@Sjors
Copy link
Collaborator

Sjors commented Oct 15, 2019

Relying on gettxoutsetinfo might miss inflation if whatever causes the inflation bug also breaks that RPC call.

We can parse the raw block data using a library such as bitcoin-ruby and calculate the coin supply change.

@jonathanbier
Copy link
Owner

Is this similar to the independent inflation idea?

@Sjors
Copy link
Collaborator Author

Sjors commented Oct 15, 2019

#82 checks inflation by querying alternative full node implementations.

The approach here is a bit more straight forward, just parsing the block data, which doesn't require a full node.

@Sjors
Copy link
Collaborator Author

Sjors commented Apr 21, 2021

I'm not sure if this has any added value to just comparing to what other implementations say. All implementations process blocks and check that there's no inflation. They would then consider a block invalid and we already have an alert for that. So I'm tempted to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants