Package | Description |
---|---|
org.bitcoinj.script |
Classes for working with and executing Bitcoin script programs, as embedded in inputs and outputs.
|
Modifier and Type | Method and Description |
---|---|
ScriptBuilder |
ScriptBuilder.addChunk(int index,
ScriptChunk chunk)
Adds the given chunk at the given index in the program
|
ScriptBuilder |
ScriptBuilder.addChunk(ScriptChunk chunk)
Adds the given chunk to the end of the program
|
ScriptBuilder |
ScriptBuilder.data(byte[] data)
Adds a copy of the given byte array as a data element (i.e.
|
ScriptBuilder |
ScriptBuilder.data(int index,
byte[] data)
Adds a copy of the given byte array as a data element (i.e.
|
ScriptBuilder |
ScriptBuilder.op(int opcode)
Adds the given opcode to the end of the program.
|
ScriptBuilder |
ScriptBuilder.op(int index,
int opcode)
Adds the given opcode to the given index in the program
|
ScriptBuilder |
ScriptBuilder.smallNum(int num)
Adds the given number as a OP_N opcode to the end of the program.
|
ScriptBuilder |
ScriptBuilder.smallNum(int index,
int num)
Adds the given number as a OP_N opcode to the given index in the program.
|
Copyright © 2014. All rights reserved.