mirror of
https://github.com/aljazceru/dlcspecs.git
synced 2026-01-18 21:44:25 +01:00
* Added test vectors deleted from #81 * Fixed dlc_test redeemscript and added new dlc message parsing tests * Fixed chain_hash endianness * Added Schnorr signature point computation test vectors * Restructured contract info json * Restructured signature TLVs dlc_message_test.json * UInt16 prefixed scripts and added hash pre-images to test vectors * Added Nicolas' tests for NFC normalization and hashing * Added dlc fee computation tests * Added clarification to redeemscript in funding_input_v0 wrt fee computation * Added basic tx building tests * Updated test vectors to use 107 witness bytes for P2WPKH * Updated test vectors to include non-p2wpkh inputs as well as dummy scripts to be used in fee tests for less modular APIs * Added maxWitnessLen to inputs explicitly * Fixed order and serialization of signatures * Fixed backward stack funding signatures