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
|
protected ScriptBuilder |
ScriptBuilder.bigNum(int index,
long num)
Adds the given number as a push data chunk to the given index in the program.
|
protected ScriptBuilder |
ScriptBuilder.bigNum(long num)
Adds the given number as a push data chunk.
|
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.number(int index,
long num)
Adds the given number to the given index in the program.
|
ScriptBuilder |
ScriptBuilder.number(long num)
Adds the given number to the end of the program.
|
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 © 2016. All rights reserved.