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

require miners to run full nodes #267

Open
zack-bitcoin opened this issue Dec 19, 2019 · 0 comments
Open

require miners to run full nodes #267

zack-bitcoin opened this issue Dec 19, 2019 · 0 comments

Comments

@zack-bitcoin
Copy link
Owner

It may be useful to prevent SPV mining.
The worry is that miners will mine blocks on top of a header without taking the time to verify that the block that header was built from is valid.
They may do this if, for example, the block is unavailable.

Headers currently need to include a merkel root of the txs from their block.
We could also include a Merkel root of the txs from the previous block, but they should all be salted with like a single 0 byte each.
That way, it is impossible to mine a valid block without knowing the txs from the previous block.

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

1 participant