MetacoSA / NBitcoin

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

Refactor BIP340 nonce derivation to match bitcoin core #1142

Closed NicolasDorier closed 1 year ago

NicolasDorier commented 1 year ago

The implementation by Bitcoin core on https://github.com/bitcoin/bitcoin/blob/master/src/secp256k1/src/modules/schnorrsig/main_impl.h#L52 is a bit simpler than before, so let's use this instead.