MetacoSA / NBitcoin

Comprehensive Bitcoin library for the .NET framework.
MIT License
1.86k stars 840 forks source link

Implement TaprootBuilder and TaprootSpendInfo #1147

Closed joemphilips closed 1 year ago

joemphilips commented 1 year ago

This is a prerequisite for #1141 It introduce a logic for building tapscript tree.

It is expected to be used in TransactionBuilder and (possibly in) PSBT.

joemphilips commented 1 year ago

Ready for review. The failing test seems to have nothing to do with my change @NicolasDorier

NicolasDorier commented 1 year ago

Ah I thought it was the taproot output descriptor stuff, but this is actually better. I am happy to get that finally here, I'll use it soon.

joemphilips commented 1 year ago

Descriptor is almost finished too. I've been debugging some nasty bugs related to x-only pubkey.