Open motorina0 opened 2 years ago
Hi @motorina0, I’m interested in working on this issue. Is anyone else already working on it? If not, can I take it? Do you have any suggestions or tips on how to approach it?
Bticoinops' Schnorr taproot workshop has a notebook on using Huffman constructor to achieve this.
- such functionality would be useful, but I'm not sure it should be part of this lib
@motorina0 What did you have in mind for this issue? The huffman constructor does what I think this issue is requesting for.
It should not be required to sort in any sort of order, but we should offer some sort of helper function to help out.
Input:
Output
path from the tree root to that script leaf