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

Block size validation in compact blocks #2

Closed
wants to merge 12 commits into from

Conversation

dagurval
Copy link

This can be made much simpler since there is a 5% cap

dgenr8 and others added 12 commits March 18, 2017 20:18
With Dagur Johannsson <dagurval@pvv.ntnu.no>
Unit tests for GetNextMaxBlockSize and FindVote.
Multi-node voting regression test.

With Tom Harding <tomh@thinlink.com>
Includes regtest routines by Gavin Andresen <gavinandresen@gmail.com>
If exception occurrs, request full block instead of processing the
compact block.
Max sigops calculation changed to use actual block size
rather than hardLimit
This adds BIP100 votes to blocks generated by miner software that
uses the rpc call getblocktemplate.
Add BIP100 string to getblocktemplate
Makes validation compatible with BIP100.
@dgenr8 dgenr8 force-pushed the bip100 branch 2 times, most recently from 5d942e6 to e13cc7d Compare May 2, 2017 01:24
@dgenr8
Copy link
Owner

dgenr8 commented May 2, 2017

Cherry-picked to main repo bitcoinxt#188 to avoid rebase.

@dgenr8 dgenr8 closed this May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants