Skip to content

Add huffman taptree constructor #1903

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Conversation

Eunovo
Copy link

@Eunovo Eunovo commented Mar 26, 2023

Add a function to create a taptree with leaves sorted by weight (likelihood of use) #1766

Adapted from https://dev.to/eunovo/minimalizing-witness-weight-for-taproot-spend-script-paths-with-huffmans-algorithm-1j74

@Eunovo Eunovo force-pushed the feature/taproot-huffman-constructor branch from 5807d1a to 72438b6 Compare March 28, 2023 16:20
@junderw junderw requested a review from motorina0 March 28, 2023 21:15
@bitcoinjs bitcoinjs deleted a comment Apr 9, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants