( msgpackEncodedData: Buffer, xOnlyPubkey: Buffer )
| 27 | |
| 28 | // Construct NOTE locking script with data section and Payload unlock script |
| 29 | export function buildCommitNoteScript( |
| 30 | msgpackEncodedData: Buffer, |
| 31 | xOnlyPubkey: Buffer |
| 32 | ) { |
| 33 | return buildNoteScriptV2(xOnlyPubkey, true, msgpackEncodedData); |
| 34 | } |
| 35 | |
| 36 | // Construct locking script with embedded data placed after the NOTE identifier, split into 520-byte segments, data is msgpack encoded |
| 37 | export function buildNoteScriptV2( |
nothing calls this directly
no test coverage detected