Files
dlcspecs/test/dlc_hash_test.json
Nadav Kohen 0b69c3ed78 Introduces happy-path static test vectors (#100)
* 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
2020-10-29 03:17:50 -05:00

39 lines
1.2 KiB
JSON

[
{
"Description": "Singleton",
"Variants": [ "\u00c5", "\u212b", "\u0041\u030a" ],
"Expected": "c385",
"SHA256": "0a94dc9d420d1142d6b71de60f9bf7e2f345a4d62c9f141b091539769ddf3075"
},
{
"Description": "Canonical Composites",
"Variants": [ "\u00f4", "\u006f\u0302" ],
"Expected": "c3b4",
"SHA256": "cc912dbca598fd80ca7f5d98ece5d846b447f4a9ae3f73c352e2687eb293eef5"
},
{
"Description": "Multiple Combining Marks",
"Variants": [ "\u1e69", "\u0073\u0323\u0307" ],
"Expected": "e1b9a9",
"SHA256": "ceca1ea456e95ee498463622915209bb08a018e8ee9741b46b64ef1a08fb56ab"
},
{
"Description": "Compatibility Composites",
"Variants": [ "\ufb01" ],
"Expected": "efac81",
"SHA256": "b6554cce8a93f1c8818280e2a768116a79216ad5501a85357d233409db87d340"
},
{
"Description": "Non Composites",
"Variants": [ "fi" ],
"Expected": "6669",
"SHA256": "b4bdc848109722a383d0a972c6eb859f2abd29565b8c4cc7199e7c9eb708f1b7"
},
{
"Description": "Accent string",
"Variants": [ "éléphant" ],
"Expected": "c3a96cc3a97068616e74",
"SHA256": "c941ae685f62cbe7bb47d0791af7154788fd9e873e5c57fd2449d1454ed5b16f"
}
]