Script function ( List < byte [ ] > arg0 , @ Nullable byte [ ] arg1 ) { checkArgument ( arg0 . size ( ) <= 16 ) ; ScriptBuilder loc0 = new ScriptBuilder ( ) ; loc0 . smallNum ( 0 ) ; for ( byte [ ] loc1 : arg0 ) loc0 . data ( loc1 ) ; if ( arg1 != null ) loc0 . data ( arg1 ) ; return loc0 . build ( ) ; }
create a program that satisfies an op_checkmultisig program , using pre-encoded signatures . optionally , appends the script program bytes if spending a p2sh output . concode_field_sep List<ScriptChunk> chunks concode_field_sep ScriptBuilder op concode_elem_sep ScriptBuilder op concode_elem_sep Script updateScriptWithSignature concode_elem_sep Script createOpReturnScript concode_elem_sep ScriptBuilder data concode_elem_sep ScriptBuilder data concode_elem_sep ScriptBuilder smallNum concode_elem_sep ScriptBuilder smallNum concode_elem_sep Script createRedeemScript concode_elem_sep ScriptBuilder addChunk concode_elem_sep ScriptBuilder addChunk concode_elem_sep Script createInputScript concode_elem_sep Script createInputScript concode_elem_sep Script createOutputScript concode_elem_sep Script createOutputScript concode_elem_sep Script createMultiSigInputScript concode_elem_sep Script createMultiSigInputScript concode_elem_sep Script createMultiSigOutputScript concode_elem_sep Script build concode_elem_sep Script createP2SHMultiSigInputScript concode_elem_sep Script createP2SHOutputScript concode_elem_sep Script createP2SHOutputScript concode_elem_sep Script createP2SHOutputScript