Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
and block chain management. |
org.bitcoinj.script |
Classes for working with and executing Bitcoin script programs, as embedded in inputs and outputs.
|
Modifier and Type | Method and Description |
---|---|
EnumSet<Script.VerifyFlag> |
NetworkParameters.getTransactionVerificationFlags(Block block,
Transaction transaction,
VersionTally tally,
Integer height)
The flags indicating which script validation tests should be applied to
the given transaction.
|
Modifier and Type | Field and Description |
---|---|
static EnumSet<Script.VerifyFlag> |
Script.ALL_VERIFY_FLAGS |
Modifier and Type | Method and Description |
---|---|
static Script.VerifyFlag |
Script.VerifyFlag.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Script.VerifyFlag[] |
Script.VerifyFlag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Script.correctlySpends(Transaction txContainingThis,
long scriptSigIndex,
Script scriptPubKey,
Set<Script.VerifyFlag> verifyFlags)
Verifies that this script (interpreted as a scriptSig) correctly spends the given scriptPubKey.
|
static void |
Script.executeScript(Transaction txContainingThis,
long index,
Script script,
LinkedList<byte[]> stack,
Set<Script.VerifyFlag> verifyFlags)
Exposes the script interpreter.
|
Copyright © 2016. All rights reserved.