Script function ( byte [ ] arg0 ) { checkArgument ( arg0 . length <= 40 ) ; return new ScriptBuilder ( ) . op ( OP_RETURN ) . arg0 ( arg0 ) . build ( ) ; }
creates a script of the form op_return data . this feature allows you to attach a small piece of data like a hash of something stored elsewhere to a zero valued output which can never be spent and thus does not pollute the ledger . concode_field_sep List<ScriptChunk> chunks concode_field_sep ScriptBuilder op concode_elem_sep ScriptBuilder op concode_elem_sep Script updateScriptWithSignature concode_elem_sep ScriptBuilder data concode_elem_sep ScriptBuilder data concode_elem_sep Script createMultiSigInputScriptBytes concode_elem_sep Script createMultiSigInputScriptBytes 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