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.core.listeners | |
org.bitcoinj.jni | |
org.bitcoinj.wallet |
Classes that support the
Wallet , which knows how to find and save transactions relevant to
a set of keys or scripts, calculate balances, and spend money: the wallet has many features and can be extended
in various ways, please refer to the website for documentation on how to use it. |
Modifier and Type | Method and Description |
---|---|
FilteredBlock |
BloomFilter.applyAndUpdate(Block block)
Creates a new FilteredBlock from the given Block, using this filter to select transactions.
|
abstract FilteredBlock |
MessageSerializer.makeFilteredBlock(byte[] payloadBytes)
Make a filtered block from the payload.
|
FilteredBlock |
BitcoinSerializer.makeFilteredBlock(byte[] payloadBytes)
Make a filtered block from the payload.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BlockChain.add(FilteredBlock block) |
boolean |
AbstractBlockChain.add(FilteredBlock block)
Processes a received block and tries to add it to the chain.
|
protected void |
Peer.endFilteredBlock(FilteredBlock m) |
protected void |
Peer.startFilteredBlock(FilteredBlock m) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPeerEventListener.onBlocksDownloaded(Peer peer,
Block block,
FilteredBlock filteredBlock,
int blocksLeft)
Deprecated.
|
void |
DownloadProgressTracker.onBlocksDownloaded(Peer peer,
Block block,
FilteredBlock filteredBlock,
int blocksLeft) |
void |
AbstractPeerDataEventListener.onBlocksDownloaded(Peer peer,
Block block,
FilteredBlock filteredBlock,
int blocksLeft)
Deprecated.
|
void |
BlocksDownloadedEventListener.onBlocksDownloaded(Peer peer,
Block block,
FilteredBlock filteredBlock,
int blocksLeft)
Called on a Peer thread when a block is received.
|
Modifier and Type | Method and Description |
---|---|
void |
NativePeerEventListener.onBlocksDownloaded(Peer peer,
Block block,
FilteredBlock filteredBlock,
int blocksLeft) |
Modifier and Type | Method and Description |
---|---|
boolean |
Wallet.checkForFilterExhaustion(FilteredBlock block)
Used by
Peer to decide whether or not to discard this block and any blocks building upon it, in case
the Bloom filter used to request them may be exhausted, that is, not have sufficient keys in the deterministic
sequence within it to reliably find relevant transactions. |
Copyright © 2018. All rights reserved.