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

Segwit poc #61

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Segwit poc #61

wants to merge 14 commits into from

Conversation

julia-zack
Copy link
Contributor

This branch was created to make the change the fed address into a segwit-compatible one.
For now,

  1. Create a new method (called createP2SHP2WSHOutputScript) in ScriptBuilder class that creates the output script for a P2SH-P2WSH
  2. Add a test to compare our calculation for a P2SH-P2WSH address against the one obtained with electrum
  3. Rename existing function sha256hash160 to simply hash160 and replace it where needed. This makes sense since hash160 by definition first makes a sha256 encryption.

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.

2 participants