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

have peg-in witness creation strip witness for space savings #636

Merged
merged 1 commit into from
Jun 5, 2019

Conversation

instagibbs
Copy link
Collaborator

Cheaper peg-in witness for those with segwit transactions in Bitcoin.

resolves #628

@instagibbs
Copy link
Collaborator Author

instagibbs commented May 28, 2019

Seems to be failing the bitcoind parent test with a txid mismatch?

edit: oh of course, this fix is wrong. For elements<->elements chain it works, but not bitcoin serialization due to janky signaling of segwit tx.

@instagibbs
Copy link
Collaborator Author

Hopefully fixed :) too lazy to run locally with bitcoind

@instagibbs
Copy link
Collaborator Author

Now passing all non-stalling tests @stevenroose

@stevenroose
Copy link
Member

ACK 7737d29

@stevenroose stevenroose merged commit 7737d29 into ElementsProject:master Jun 5, 2019
stevenroose added a commit that referenced this pull request Jun 5, 2019
7737d29 have peg-in witness creation strip witness for space savings (Gregory Sanders)

Pull request description:

  Cheaper peg-in witness for those with segwit transactions in Bitcoin.

  resolves #628

Tree-SHA512: defc4f38b2456c6f45cf2ebd48a3d5f9e39544bd048606257ef6cf90623595c159f61e3df56845fb7a37a44b5019614e692663978a9664dd9b4d01b77bedeb86
apoelstra added a commit to apoelstra/elements that referenced this pull request Nov 3, 2020
apoelstra added a commit to apoelstra/elements that referenced this pull request Nov 9, 2020
gwillen pushed a commit that referenced this pull request Mar 3, 2021
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

Successfully merging this pull request may close these issues.

peg-in bitcoinTx can be witness-stripped
2 participants