Package com.bradyrussell.uiscoin.script
Class ScriptOptimizer
java.lang.Object
com.bradyrussell.uiscoin.script.ScriptOptimizer
@Deprecated
public class ScriptOptimizer
extends java.lang.Object
Deprecated.
-
Constructor Summary
Constructors Constructor Description ScriptOptimizer()
Deprecated. -
Method Summary
Modifier and Type Method Description static byte[]
BytecodeOptimization_BooleanPush(byte[] UnoptimizedBytecode)
Deprecated.replace 010100 and 010101 with false and true respectivelystatic byte[]
BytecodeOptimization_RemoveNOPs(byte[] Script)
Deprecated.static byte[]
BytecodeOptimization_SkipUnconditionalJump(byte[] UnoptimizedBytecode)
Deprecated.detect JUMPs that will always happen and cut out anything skipped JUMPs that will always happen include : when push is called immediately before JUMPstatic java.lang.String
OptimizeScriptAssembly(java.lang.String UnoptimizedAssembly)
Deprecated.static byte[]
OptimizeScriptBytecode(byte[] UnoptimizedBytecode)
Deprecated.static java.lang.String
OptimizeScriptHighLevel(java.lang.String UnoptimizedHighLevel)
Deprecated.static byte[]
RewriteJumpsAfter(byte[] Script, int StartIndex, int BytesRemoved)
Deprecated.
-
Constructor Details
-
ScriptOptimizer
public ScriptOptimizer()Deprecated.
-
-
Method Details
-
OptimizeScriptHighLevel
public static java.lang.String OptimizeScriptHighLevel(java.lang.String UnoptimizedHighLevel)Deprecated. -
OptimizeScriptAssembly
public static java.lang.String OptimizeScriptAssembly(java.lang.String UnoptimizedAssembly)Deprecated. -
OptimizeScriptBytecode
public static byte[] OptimizeScriptBytecode(byte[] UnoptimizedBytecode)Deprecated. -
BytecodeOptimization_SkipUnconditionalJump
public static byte[] BytecodeOptimization_SkipUnconditionalJump(byte[] UnoptimizedBytecode)Deprecated.detect JUMPs that will always happen and cut out anything skipped JUMPs that will always happen include : when push is called immediately before JUMP -
BytecodeOptimization_BooleanPush
public static byte[] BytecodeOptimization_BooleanPush(byte[] UnoptimizedBytecode)Deprecated.replace 010100 and 010101 with false and true respectively -
BytecodeOptimization_RemoveNOPs
public static byte[] BytecodeOptimization_RemoveNOPs(byte[] Script)Deprecated. -
RewriteJumpsAfter
public static byte[] RewriteJumpsAfter(byte[] Script, int StartIndex, int BytesRemoved)Deprecated.
-