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

Segregated witness support (BIP 145) #6

Merged
merged 33 commits into from Dec 23, 2017

Conversation

Projects
None yet
3 participants
@luke-jr
Member

luke-jr commented Jul 27, 2016

I recommend reviewing this as a big diff against master, rather than as individual commits.

Note this breaks the ABI without bumping any version numbers; that will be done post-merge just before the release.

4tar and others added some commits Aug 15, 2014

Parse transaction weights into blktxn_t structure
ABI break: sizeof(blktxn_t) has been increased, so accesses to blktmpl_t->txns[>0] use a different offset (aside, hash_ and txid are moved)
New ABI supports up to 512 MB transactions (with a max weight-per-bytes of 4), and library gracefully interprets larger weight values as -1 (unknown)
_blkmk_calculate_witness_mrklroot: Allocate heap space for hashes, ra…
…ther than use the (potentially too small) stack

luke-jr added some commits Nov 22, 2016

@luke-jr luke-jr added the help wanted label Dec 17, 2016

@luke-jr luke-jr merged commit 47a494e into master Dec 23, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@luke-jr luke-jr removed the help wanted label Jan 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment