Default expression for "controlblock": combine leafversion, negflag, pubkey_internal, merklebranch.
(ctx)
| 218 | return get(ctx, "tapleaf").merklebranch |
| 219 | |
| 220 | def default_controlblock(ctx): |
| 221 | """Default expression for "controlblock": combine leafversion, negflag, pubkey_internal, merklebranch.""" |
| 222 | return bytes([get(ctx, "leafversion") + get(ctx, "negflag")]) + get(ctx, "pubkey_internal") + get(ctx, "merklebranch") |
| 223 | |
| 224 | def default_scriptcode_suffix(ctx): |
| 225 | """Default expression for "scriptcode_suffix", the actually used portion of the scriptcode.""" |
no test coverage detected