| 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. |
| Modifier and Type | Method and Description |
|---|---|
static Block.VerifyFlag |
Block.VerifyFlag.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Block.VerifyFlag[] |
Block.VerifyFlag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
EnumSet<Block.VerifyFlag> |
NetworkParameters.getBlockVerificationFlags(Block block,
VersionTally tally,
Integer height)
The flags indicating which block validation tests should be applied to
the given block.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Block.verify(int height,
EnumSet<Block.VerifyFlag> flags)
Verifies both the header and that the transactions hash to the merkle root.
|
void |
Block.verifyTransactions(int height,
EnumSet<Block.VerifyFlag> flags)
Checks the block contents
|
Copyright © 2018. All rights reserved.