A B C D E F G H I K L M N O P Q R S T U V W X Z
All Classes All Packages
All Classes All Packages
A
- ABORT_ON_CONFLICT - org.bitcoinj.core.TransactionInput.ConnectMode
- abortDatabaseBatchWrite() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- abortDatabaseBatchWrite() - Method in interface org.bitcoinj.store.FullPrunedBlockStore
- abortDatabaseBatchWrite() - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- abortDatabaseBatchWrite() - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- AbstractBitcoinNetParams - Class in org.bitcoinj.params
-
Parameters for Bitcoin-like networks.
- AbstractBitcoinNetParams() - Constructor for class org.bitcoinj.params.AbstractBitcoinNetParams
- AbstractBlockChain - Class in org.bitcoinj.core
-
An AbstractBlockChain holds a series of
Block
objects, links them together, and knows how to verify that the chain follows the rules of theNetworkParameters
for this chain. - AbstractBlockChain(Context, List<? extends Wallet>, BlockStore) - Constructor for class org.bitcoinj.core.AbstractBlockChain
-
Constructs a BlockChain connected to the given list of listeners (wallets) and a store.
- AbstractBlockChain(NetworkParameters, List<? extends Wallet>, BlockStore) - Constructor for class org.bitcoinj.core.AbstractBlockChain
-
Constructs a BlockChain connected to the given list of listeners (wallets) and a store.
- AbstractBlockChain.NewBlockType - Enum in org.bitcoinj.core
-
Indicates whether new Block was on the best chain or not
- AbstractKeyChainEventListener - Class in org.bitcoinj.wallet.listeners
- AbstractKeyChainEventListener() - Constructor for class org.bitcoinj.wallet.listeners.AbstractKeyChainEventListener
- AbstractPeerDataEventListener - Class in org.bitcoinj.core.listeners
-
Deprecated.
- AbstractPeerDataEventListener() - Constructor for class org.bitcoinj.core.listeners.AbstractPeerDataEventListener
-
Deprecated.
- AbstractTimeoutHandler - Class in org.bitcoinj.net
-
A base class which provides basic support for socket timeouts.
- AbstractTimeoutHandler() - Constructor for class org.bitcoinj.net.AbstractTimeoutHandler
- ACCOUNT_ONE_PATH - Static variable in class org.bitcoinj.wallet.DeterministicKeyChain
- ACCOUNT_PATH_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Key
- ACCOUNT_ZERO_PATH - Static variable in class org.bitcoinj.wallet.DeterministicKeyChain
- accountPath - Variable in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- accountPath(List<ChildNumber>) - Method in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
-
Use an account path other than the default
DeterministicKeyChain.ACCOUNT_ZERO_PATH
. - accountPathFor(Script.ScriptType) - Method in interface org.bitcoinj.wallet.KeyChainGroupStructure
-
Map desired output script type to an account path
- add(long) - Method in class org.bitcoinj.utils.VersionTally
-
Add a new block version to the tally, and return the count for that version within the window.
- add(Block) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Processes a received block and tries to add it to the chain.
- add(Coin) - Method in class org.bitcoinj.core.Coin
- add(FilteredBlock) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Processes a received block and tries to add it to the chain.
- add(FilteredBlock) - Method in class org.bitcoinj.core.BlockChain
- add(Sha256Hash) - Method in class org.bitcoinj.core.BlockLocator
-
Add a
Sha256Hash
to a newly created block locator. - add(Fiat) - Method in class org.bitcoinj.utils.Fiat
- add(ECPoint) - Method in class org.bitcoinj.crypto.LazyECPoint
- addAccountPath(int) - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
The path to the root.
- addAddress(InetAddress) - Method in class org.bitcoinj.core.PeerGroup
-
Convenience method for
PeerGroup.addAddress(PeerAddress)
. - addAddress(InetAddress, int) - Method in class org.bitcoinj.core.PeerGroup
-
Convenience method for
PeerGroup.addAddress(PeerAddress, int)
. - addAddress(PeerAddress) - Method in class org.bitcoinj.core.AddressMessage
- addAddress(PeerAddress) - Method in class org.bitcoinj.core.AddressV1Message
- addAddress(PeerAddress) - Method in class org.bitcoinj.core.AddressV2Message
- addAddress(PeerAddress) - Method in class org.bitcoinj.core.PeerGroup
-
Add an address to the list of potential peers to connect to.
- addAddress(PeerAddress, int) - Method in class org.bitcoinj.core.PeerGroup
-
Add an address to the list of potential peers to connect to.
- addAllAccountPath(Iterable<? extends Integer>) - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
The path to the root.
- addAllBlockHash(Iterable<? extends ByteString>) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
A list of blocks in which the transaction has been observed (on any chain).
- addAllBlockRelativityOffsets(Iterable<? extends Integer>) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated int32 block_relativity_offsets = 11;
- addAllBroadcastBy(Iterable<? extends Protos.PeerAddress>) - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
repeated .wallet.PeerAddress broadcast_by = 6;
- addAllCertificate(Iterable<? extends ByteString>) - Method in class org.bitcoin.protocols.payments.Protos.X509Certificates.Builder
-
DER-encoded X.509 certificate chain
- addAllData(Iterable<? extends ByteString>) - Method in class org.bitcoinj.wallet.Protos.ScriptWitness.Builder
-
repeated bytes data = 1;
- addAllExtension(Iterable<? extends Protos.Extension>) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Extension extension = 10;
- addAllKey(Iterable<? extends Protos.Key>) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Key key = 3;
- addAllOutputs(Iterable<? extends Protos.Output>) - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Where payment should be sent
- addAllPath(Iterable<? extends Integer>) - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
The path through the key tree.
- addAllRefundTo(Iterable<? extends Protos.Output>) - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Where to send refunds, if a refund is necessary
- addAllSeed(Iterable<? extends PeerSeedProtos.PeerSeedData>) - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- addAllTags(Iterable<? extends Protos.Tag>) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Tag tags = 16;
- addAllTransaction(Iterable<? extends Protos.Transaction>) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Transaction transaction = 4;
- addAllTransactionInput(Iterable<? extends Protos.TransactionInput>) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionInput transaction_input = 6;
- addAllTransactionOutput(Iterable<? extends Protos.TransactionOutput>) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionOutput transaction_output = 7;
- addAllTransactions(Iterable<? extends ByteString>) - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Signed transactions that satisfy PaymentDetails.outputs
- addAllWatchedScript(Iterable<? extends Protos.Script>) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Script watched_script = 15;
- addAndActivateHDChain(DeterministicKeyChain) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Adds an HD chain to the chains list, and make it the default chain (from which keys are issued).
- addAndActivateHDChain(DeterministicKeyChain) - Method in class org.bitcoinj.wallet.Wallet
-
Add a pre-configured keychain to the wallet.
- addBlock(Block) - Method in class org.bitcoinj.core.InventoryMessage
- addBlock(Sha256Hash, boolean) - Method in class org.bitcoinj.core.GetDataMessage
- addBlockAppearance(Sha256Hash, int) - Method in class org.bitcoinj.core.Transaction
- addBlockHash(ByteString) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
A list of blocks in which the transaction has been observed (on any chain).
- addBlockRelativityOffsets(int) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated int32 block_relativity_offsets = 11;
- addBlocksDownloadedEventListener(Executor, BlocksDownloadedEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is invoked when new blocks are downloaded.
- addBlocksDownloadedEventListener(Executor, BlocksDownloadedEventListener) - Method in class org.bitcoinj.core.PeerGroup
-
Adds a listener that will be notified on the given executor when blocks are downloaded by the download peer.
- addBlocksDownloadedEventListener(BlocksDownloadedEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is invoked when new blocks are downloaded.
- addBlocksDownloadedEventListener(BlocksDownloadedEventListener) - Method in class org.bitcoinj.core.PeerGroup
- addBroadcastBy(int, Protos.PeerAddress) - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
repeated .wallet.PeerAddress broadcast_by = 6;
- addBroadcastBy(int, Protos.PeerAddress.Builder) - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
repeated .wallet.PeerAddress broadcast_by = 6;
- addBroadcastBy(Protos.PeerAddress) - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
repeated .wallet.PeerAddress broadcast_by = 6;
- addBroadcastBy(Protos.PeerAddress.Builder) - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
repeated .wallet.PeerAddress broadcast_by = 6;
- addCertificate(ByteString) - Method in class org.bitcoin.protocols.payments.Protos.X509Certificates.Builder
-
DER-encoded X.509 certificate chain
- addChain(DeterministicKeyChain) - Method in class org.bitcoinj.wallet.KeyChainGroup.Builder
-
Add a single chain.
- addChainDownloadStartedEventListener(Executor, ChainDownloadStartedEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is invoked when a blockchain downloaded starts.
- addChainDownloadStartedEventListener(Executor, ChainDownloadStartedEventListener) - Method in class org.bitcoinj.core.PeerGroup
-
Adds a listener that will be notified on the given executor when chain download starts.
- addChainDownloadStartedEventListener(ChainDownloadStartedEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is invoked when a blockchain downloaded starts.
- addChainDownloadStartedEventListener(ChainDownloadStartedEventListener) - Method in class org.bitcoinj.core.PeerGroup
- addChangeEventListener(Executor, WalletChangeEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object.
- addChangeEventListener(WalletChangeEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object.
- addChunk(int, ScriptChunk) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds the given chunk at the given index in the program
- addChunk(ScriptChunk) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds the given chunk to the end of the program
- addCoinsReceivedEventListener(Executor, WalletCoinsReceivedEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object called when coins are received.
- addCoinsReceivedEventListener(WalletCoinsReceivedEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object called when coins are received.
- addCoinsSentEventListener(Executor, WalletCoinsSentEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object called when coins are sent.
- addCoinsSentEventListener(WalletCoinsSentEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object called when coins are sent.
- addConnectedEventListener(Executor, PeerConnectedEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is invoked when a peer is connected.
- addConnectedEventListener(Executor, PeerConnectedEventListener) - Method in class org.bitcoinj.core.PeerGroup
-
Adds a listener that will be notified on the given executor when new peers are connected to.
- addConnectedEventListener(PeerConnectedEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is invoked when a peer is connected.
- addConnectedEventListener(PeerConnectedEventListener) - Method in class org.bitcoinj.core.PeerGroup
- addCurrentKeyChangeEventListener(Executor, CurrentKeyChangeEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object.
- addCurrentKeyChangeEventListener(CurrentKeyChangeEventListener) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Removes a listener for events that are run when a current key and/or address changes.
- addCurrentKeyChangeEventListener(CurrentKeyChangeEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object.
- addCurrentKeyChangeEventListener(CurrentKeyChangeEventListener, Executor) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Adds a listener for events that are run when a current key and/or address changes, on the given executor.
- addData(ByteString) - Method in class org.bitcoinj.wallet.Protos.ScriptWitness.Builder
-
repeated bytes data = 1;
- addDisconnectedEventListener(Executor, PeerDisconnectedEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is invoked when a peer is disconnected.
- addDisconnectedEventListener(Executor, PeerDisconnectedEventListener) - Method in class org.bitcoinj.core.PeerGroup
-
Adds a listener that will be notified on the given executor when peers are disconnected from.
- addDisconnectedEventListener(PeerDisconnectedEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is invoked when a peer is disconnected.
- addDisconnectedEventListener(PeerDisconnectedEventListener) - Method in class org.bitcoinj.core.PeerGroup
- addDiscoveredEventListener(Executor, PeerDiscoveredEventListener) - Method in class org.bitcoinj.core.PeerGroup
-
Adds a listener that will be notified on the given executor when new peers are discovered.
- addDiscoveredEventListener(PeerDiscoveredEventListener) - Method in class org.bitcoinj.core.PeerGroup
- addEventListener(Executor, TransactionConfidence.Listener) - Method in class org.bitcoinj.core.TransactionConfidence
-
Adds an event listener that will be run when this confidence object is updated.
- addEventListener(TransactionConfidence.Listener) - Method in class org.bitcoinj.core.TransactionConfidence
-
Adds an event listener that will be run when this confidence object is updated.
- addEventListener(KeyChainEventListener) - Method in class org.bitcoinj.wallet.BasicKeyChain
- addEventListener(KeyChainEventListener) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- addEventListener(KeyChainEventListener) - Method in interface org.bitcoinj.wallet.KeyChain
-
Adds a listener for events that are run when keys are added, on the user thread.
- addEventListener(KeyChainEventListener) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Adds a listener for events that are run when keys are added, on the user thread.
- addEventListener(KeyChainEventListener, Executor) - Method in class org.bitcoinj.wallet.BasicKeyChain
- addEventListener(KeyChainEventListener, Executor) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- addEventListener(KeyChainEventListener, Executor) - Method in interface org.bitcoinj.wallet.KeyChain
-
Adds a listener for events that are run when keys are added, on the given executor.
- addEventListener(KeyChainEventListener, Executor) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Adds a listener for events that are run when keys are added, on the given executor.
- addExtension(int, Protos.Extension) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Extension extension = 10;
- addExtension(int, Protos.Extension.Builder) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Extension extension = 10;
- addExtension(Protos.Extension) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Extension extension = 10;
- addExtension(Protos.Extension.Builder) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Extension extension = 10;
- addExtension(WalletExtension) - Method in class org.bitcoinj.wallet.Wallet
-
By providing an object implementing the
WalletExtension
interface, you can save and load arbitrary additional data that will be stored with the wallet. - addFilteredBlock(Sha256Hash) - Method in class org.bitcoinj.core.GetDataMessage
- addGetDataEventListener(Executor, GetDataEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is called when messages are received.
- addGetDataEventListener(Executor, GetDataEventListener) - Method in class org.bitcoinj.core.PeerGroup
- addGetDataEventListener(GetDataEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is called when messages are received.
- addGetDataEventListener(GetDataEventListener) - Method in class org.bitcoinj.core.PeerGroup
- addInput(Sha256Hash, long, Script) - Method in class org.bitcoinj.core.Transaction
-
Creates and adds an input to this transaction, with no checking that it's valid.
- addInput(TransactionInput) - Method in class org.bitcoinj.core.Transaction
-
Adds an input directly, with no checking that it's valid.
- addInput(TransactionOutput) - Method in class org.bitcoinj.core.Transaction
-
Adds an input to this transaction that imports value from the given output.
- addItem(InventoryItem) - Method in class org.bitcoinj.core.ListMessage
- addKey(int, Protos.Key) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Key key = 3;
- addKey(int, Protos.Key.Builder) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Key key = 3;
- addKey(Protos.Key) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Key key = 3;
- addKey(Protos.Key.Builder) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Key key = 3;
- addKeyChainEventListener(Executor, KeyChainEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object.
- addKeyChainEventListener(KeyChainEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object.
- addNewBestBlockListener(Executor, NewBestBlockListener) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Adds a
NewBestBlockListener
listener to the chain. - addNewBestBlockListener(NewBestBlockListener) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Adds a
NewBestBlockListener
listener to the chain. - addOnTransactionBroadcastListener(Executor, OnTransactionBroadcastListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is called when a transaction is broadcast across the network
- addOnTransactionBroadcastListener(Executor, OnTransactionBroadcastListener) - Method in class org.bitcoinj.core.PeerGroup
- addOnTransactionBroadcastListener(OnTransactionBroadcastListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is called when a transaction is broadcast across the network
- addOnTransactionBroadcastListener(OnTransactionBroadcastListener) - Method in class org.bitcoinj.core.PeerGroup
- addOrGetExistingExtension(WalletExtension) - Method in class org.bitcoinj.wallet.Wallet
-
Atomically adds extension or returns an existing extension if there is one with the same id already present.
- addOrUpdateExtension(WalletExtension) - Method in class org.bitcoinj.wallet.Wallet
-
Either adds extension as a new extension or replaces the existing extension if one already exists with the same id.
- addOutput(Coin, Address) - Method in class org.bitcoinj.core.Transaction
-
Creates an output based on the given address and value, adds it to this transaction, and returns the new output.
- addOutput(Coin, ECKey) - Method in class org.bitcoinj.core.Transaction
-
Creates an output that pays to the given pubkey directly (no address) with the given value, adds it to this transaction, and returns the new output.
- addOutput(Coin, Script) - Method in class org.bitcoinj.core.Transaction
-
Creates an output that pays to the given script.
- addOutput(TransactionOutput) - Method in class org.bitcoinj.core.Transaction
-
Adds the given output to this transaction.
- addOutputs(int, Protos.Output) - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Where payment should be sent
- addOutputs(int, Protos.Output.Builder) - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Where payment should be sent
- addOutputs(Protos.Output) - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Where payment should be sent
- addOutputs(Protos.Output.Builder) - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Where payment should be sent
- addPath(int) - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
The path through the key tree.
- addPeerDiscovery(PeerDiscovery) - Method in class org.bitcoinj.core.PeerGroup
-
Add addresses from a discovery source to the list of potential peers to connect to.
- addPeerFilterProvider(PeerFilterProvider) - Method in class org.bitcoinj.core.PeerGroup
-
Link the given PeerFilterProvider to this PeerGroup.
- addPreMessageReceivedEventListener(Executor, PreMessageReceivedEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is called immediately before a message is received
- addPreMessageReceivedEventListener(Executor, PreMessageReceivedEventListener) - Method in class org.bitcoinj.core.PeerGroup
- addPreMessageReceivedEventListener(PreMessageReceivedEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is called immediately before a message is received
- addPreMessageReceivedEventListener(PreMessageReceivedEventListener) - Method in class org.bitcoinj.core.PeerGroup
- addRefundTo(int, Protos.Output) - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Where to send refunds, if a refund is necessary
- addRefundTo(int, Protos.Output.Builder) - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Where to send refunds, if a refund is necessary
- addRefundTo(Protos.Output) - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Where to send refunds, if a refund is necessary
- addRefundTo(Protos.Output.Builder) - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Where to send refunds, if a refund is necessary
- addReorganizeEventListener(Executor, WalletReorganizeEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object.
- addReorganizeEventListener(WalletReorganizeEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object.
- addReorganizeListener(Executor, ReorganizeListener) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Adds a generic
ReorganizeListener
listener to the chain. - addReorganizeListener(ReorganizeListener) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Adds a generic
ReorganizeListener
listener to the chain. - Address - Class in org.bitcoinj.core
-
Base class for addresses, e.g.
- Address(NetworkParameters, byte[]) - Constructor for class org.bitcoinj.core.Address
-
Construct an address from its binary form.
- addresses - Variable in class org.bitcoinj.core.AddressMessage
- AddressFormatException - Exception in org.bitcoinj.core
- AddressFormatException() - Constructor for exception org.bitcoinj.core.AddressFormatException
- AddressFormatException(String) - Constructor for exception org.bitcoinj.core.AddressFormatException
- AddressFormatException.InvalidCharacter - Exception in org.bitcoinj.core
-
This exception is thrown by
Base58
,Bech32
and thePrefixedChecksummedBytes
hierarchy of classes when you try to decode data and a character isn't valid. - AddressFormatException.InvalidChecksum - Exception in org.bitcoinj.core
-
This exception is thrown by
Base58
,Bech32
and thePrefixedChecksummedBytes
hierarchy of classes when you try to decode data and the checksum isn't valid. - AddressFormatException.InvalidDataLength - Exception in org.bitcoinj.core
-
This exception is thrown by
Base58
,Bech32
and thePrefixedChecksummedBytes
hierarchy of classes when you try to decode data and the data isn't of the right size. - AddressFormatException.InvalidPrefix - Exception in org.bitcoinj.core
-
This exception is thrown by the
PrefixedChecksummedBytes
hierarchy of classes when you try and decode an address or private key with an invalid prefix (version header or human-readable part). - AddressFormatException.UnexpectedWitnessVersion - Exception in org.bitcoinj.core
-
This exception is thrown by
SegwitAddress
when you try to decode data and the witness version doesn't match the Bech32 encoding as per BIP350. - AddressFormatException.WrongNetwork - Exception in org.bitcoinj.core
-
This exception is thrown by the
PrefixedChecksummedBytes
hierarchy of classes when you try and decode an address with a prefix (version header or human-readable part) that used by another network (usually: mainnet vs testnet). - addressHash - Variable in class org.bitcoinj.crypto.BIP38PrivateKey
- addressHeader - Variable in class org.bitcoinj.core.NetworkParameters
- AddressMessage - Class in org.bitcoinj.core
- AddressV1Message - Class in org.bitcoinj.core
-
Represents an "addr" message on the P2P network, which contains broadcast IP addresses of other peers.
- AddressV2Message - Class in org.bitcoinj.core
-
Represents an "addrv2" message on the P2P network, which contains broadcast IP addresses of other peers.
- addrSeeds - Variable in class org.bitcoinj.core.NetworkParameters
- addScriptsChangeEventListener(Executor, ScriptsChangeEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object.
- addScriptsChangeEventListener(ScriptsChangeEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object.
- addSeed(int, PeerSeedProtos.PeerSeedData) - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- addSeed(int, PeerSeedProtos.PeerSeedData.Builder) - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- addSeed(PeerSeedProtos.PeerSeedData) - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- addSeed(PeerSeedProtos.PeerSeedData.Builder) - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- addSignedInput(TransactionOutPoint, Script, Coin, ECKey) - Method in class org.bitcoinj.core.Transaction
-
Adds a new and fully signed input for the given parameters.
- addSignedInput(TransactionOutPoint, Script, Coin, ECKey, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
-
Adds a new and fully signed input for the given parameters.
- addSignedInput(TransactionOutPoint, Script, ECKey) - Method in class org.bitcoinj.core.Transaction
- addSignedInput(TransactionOutPoint, Script, ECKey, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
- addSignedInput(TransactionOutput, ECKey) - Method in class org.bitcoinj.core.Transaction
-
Adds an input that points to the given output and contains a valid signature for it, calculated using the signing key.
- addSignedInput(TransactionOutput, ECKey, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
-
Adds an input that points to the given output and contains a valid signature for it, calculated using the signing key.
- addTags(int, Protos.Tag) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Tag tags = 16;
- addTags(int, Protos.Tag.Builder) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Tag tags = 16;
- addTags(Protos.Tag) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Tag tags = 16;
- addTags(Protos.Tag.Builder) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Tag tags = 16;
- addToBlockStore(StoredBlock, Block) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Adds/updates the given
Block
with the block store. - addToBlockStore(StoredBlock, Block) - Method in class org.bitcoinj.core.BlockChain
- addToBlockStore(StoredBlock, Block) - Method in class org.bitcoinj.core.FullPrunedBlockChain
- addToBlockStore(StoredBlock, Block, TransactionOutputChanges) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Adds/updates the given
StoredBlock
with the block store. - addToBlockStore(StoredBlock, Block, TransactionOutputChanges) - Method in class org.bitcoinj.core.BlockChain
- addToBlockStore(StoredBlock, Block, TransactionOutputChanges) - Method in class org.bitcoinj.core.FullPrunedBlockChain
- addTransaction(int, Protos.Transaction) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Transaction transaction = 4;
- addTransaction(int, Protos.Transaction.Builder) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Transaction transaction = 4;
- addTransaction(Sha256Hash, boolean) - Method in class org.bitcoinj.core.GetDataMessage
- addTransaction(Transaction) - Method in class org.bitcoinj.core.Block
-
Adds a transaction to this block.
- addTransaction(Transaction) - Method in class org.bitcoinj.core.InventoryMessage
- addTransaction(Protos.Transaction) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Transaction transaction = 4;
- addTransaction(Protos.Transaction.Builder) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Transaction transaction = 4;
- addTransactionConfidenceEventListener(Executor, TransactionConfidenceEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object.
- addTransactionConfidenceEventListener(TransactionConfidenceEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Adds an event listener object.
- addTransactionInput(int, Protos.TransactionInput) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionInput transaction_input = 6;
- addTransactionInput(int, Protos.TransactionInput.Builder) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionInput transaction_input = 6;
- addTransactionInput(Protos.TransactionInput) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionInput transaction_input = 6;
- addTransactionInput(Protos.TransactionInput.Builder) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionInput transaction_input = 6;
- addTransactionOutput(int, Protos.TransactionOutput) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionOutput transaction_output = 7;
- addTransactionOutput(int, Protos.TransactionOutput.Builder) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionOutput transaction_output = 7;
- addTransactionOutput(Protos.TransactionOutput) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionOutput transaction_output = 7;
- addTransactionOutput(Protos.TransactionOutput.Builder) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionOutput transaction_output = 7;
- addTransactionReceivedListener(Executor, TransactionReceivedInBlockListener) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Adds a generic
TransactionReceivedInBlockListener
listener to the chain. - addTransactionReceivedListener(TransactionReceivedInBlockListener) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Adds a generic
TransactionReceivedInBlockListener
listener to the chain. - addTransactions(ByteString) - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Signed transactions that satisfy PaymentDetails.outputs
- addTransactionSigner(TransactionSigner) - Method in class org.bitcoinj.wallet.Wallet
-
Adds given transaction signer to the list of signers.
- addUnspentTransactionOutput(UTXO) - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- addUnspentTransactionOutput(UTXO) - Method in interface org.bitcoinj.store.FullPrunedBlockStore
-
Adds a
UTXO
to the list of unspent TransactionOutputs - addUnspentTransactionOutput(UTXO) - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- addUnspentTransactionOutput(UTXO) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- addWallet(Wallet) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Add a wallet to the BlockChain.
- addWallet(Wallet) - Method in class org.bitcoinj.core.Peer
-
Links the given wallet to this peer.
- addWallet(Wallet) - Method in class org.bitcoinj.core.PeerGroup
-
Link the given wallet to this PeerGroup.
- addWalletTransaction(WalletTransaction) - Method in class org.bitcoinj.wallet.Wallet
-
Adds a transaction that has been associated with a particular wallet pool.
- addWatchedAddress(Address) - Method in class org.bitcoinj.wallet.Wallet
-
Same as
Wallet.addWatchedAddress(Address, long)
with the current time as the creation time. - addWatchedAddress(Address, long) - Method in class org.bitcoinj.wallet.Wallet
-
Adds the given address to the wallet to be watched.
- addWatchedAddresses(List<Address>, long) - Method in class org.bitcoinj.wallet.Wallet
-
Adds the given address to the wallet to be watched.
- addWatchedScript(int, Protos.Script) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Script watched_script = 15;
- addWatchedScript(int, Protos.Script.Builder) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Script watched_script = 15;
- addWatchedScript(Protos.Script) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Script watched_script = 15;
- addWatchedScript(Protos.Script.Builder) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Script watched_script = 15;
- addWatchedScripts(List<Script>) - Method in class org.bitcoinj.wallet.Wallet
-
Adds the given output scripts to the wallet to be watched.
- adjustLength(int) - Method in class org.bitcoinj.core.ChildMessage
- adjustLength(int, int) - Method in class org.bitcoinj.core.ChildMessage
- adjustLength(int, int) - Method in class org.bitcoinj.core.Message
- aesKey - Variable in class org.bitcoinj.wallet.DecryptingKeyBag
- aesKey - Variable in class org.bitcoinj.wallet.SendRequest
-
The AES key to use to decrypt the private keys before signing.
- AGE_COMPARATOR - Static variable in class org.bitcoinj.core.ECKey
-
Sorts oldest keys first, newest last.
- ALL - org.bitcoinj.core.Transaction.SigHash
- ALL_VERIFY_FLAGS - Static variable in class org.bitcoinj.script.Script
- allConnections - Variable in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- allowEmptyPeerChain() - Method in class org.bitcoinj.core.NetworkParameters
-
If we are running in testnet-in-a-box mode, we allow connections to nodes with 0 non-genesis blocks.
- allowEmptyPeerChain() - Method in class org.bitcoinj.params.RegTestParams
- allowUnconfirmed() - Method in class org.bitcoinj.wallet.SendRequest
-
Shortcut for
req.coinSelector = AllowUnconfirmedCoinSelector.get();
. - AllowUnconfirmedCoinSelector - Class in org.bitcoinj.wallet
-
This coin selector will select any transaction at all, regardless of where it came from or whether it was confirmed yet.
- AllowUnconfirmedCoinSelector() - Constructor for class org.bitcoinj.wallet.AllowUnconfirmedCoinSelector
- AllRandomKeysRotating - Exception in org.bitcoinj.wallet
-
Indicates that an attempt was made to upgrade a random wallet to deterministic, but there were no non-rotating random keys to use as source material for the seed.
- AllRandomKeysRotating() - Constructor for exception org.bitcoinj.wallet.AllRandomKeysRotating
- ALPHABET - Static variable in class org.bitcoinj.core.Base58
- ALREADY_SPENT - org.bitcoinj.core.TransactionInput.ConnectionResult
- amount - Variable in class org.bitcoinj.protocols.payments.PaymentProtocol.Output
- AMOUNT_FIELD_NUMBER - Static variable in class org.bitcoin.protocols.payments.Protos.Output
- analyze() - Method in class org.bitcoinj.wallet.DefaultRiskAnalysis
- analyze() - Method in interface org.bitcoinj.wallet.RiskAnalysis
- analyzed - Variable in class org.bitcoinj.wallet.DefaultRiskAnalysis
- Analyzer() - Constructor for class org.bitcoinj.wallet.DefaultRiskAnalysis.Analyzer
- anyoneCanPay() - Method in class org.bitcoinj.crypto.TransactionSignature
- ANYONECANPAY - org.bitcoinj.core.Transaction.SigHash
- ANYONECANPAY_ALL - org.bitcoinj.core.Transaction.SigHash
- ANYONECANPAY_NONE - org.bitcoinj.core.Transaction.SigHash
- ANYONECANPAY_SINGLE - org.bitcoinj.core.Transaction.SigHash
- AppDataDirectory - Class in org.bitcoinj.utils
-
Find/create App Data Directory in correct platform-specific location.
- AppDataDirectory() - Constructor for class org.bitcoinj.utils.AppDataDirectory
- APPEARED_AT_HEIGHT_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.TransactionConfidence
- append(List<ChildNumber>, ChildNumber) - Static method in class org.bitcoinj.crypto.HDUtils
-
Deprecated.Use
HDPath#extend
- appendToSubVer(String, String, String) - Method in class org.bitcoinj.core.VersionMessage
-
Appends the given user-agent information to the subVer field.
- applyAndUpdate(Block) - Method in class org.bitcoinj.core.BloomFilter
-
Creates a new FilteredBlock from the given Block, using this filter to select transactions.
- applyAndUpdate(Transaction) - Method in class org.bitcoinj.core.BloomFilter
- assertEquals(boolean, boolean, String) - Static method in class org.bitcoin.NativeSecp256k1Util
-
Compare two booleans and throw
NativeSecp256k1Util.AssertFailException
if not equal - assertEquals(int, int, String) - Static method in class org.bitcoin.NativeSecp256k1Util
-
Compare two integers and throw
NativeSecp256k1Util.AssertFailException
if not equal - assertEquals(String, String, String) - Static method in class org.bitcoin.NativeSecp256k1Util
-
Compare two Strings and throw
NativeSecp256k1Util.AssertFailException
if not equal - AssertFailException(String) - Constructor for exception org.bitcoin.NativeSecp256k1Util.AssertFailException
- ASSURANCE_CONTRACT_CLAIM - org.bitcoinj.core.Transaction.Purpose
-
Transaction that uses up pledges to an assurance contract
- ASSURANCE_CONTRACT_CLAIM - org.bitcoinj.wallet.Protos.Transaction.Purpose
-
Stuff used by Lighthouse.
- ASSURANCE_CONTRACT_CLAIM_VALUE - Static variable in enum org.bitcoinj.wallet.Protos.Transaction.Purpose
-
Stuff used by Lighthouse.
- ASSURANCE_CONTRACT_PLEDGE - org.bitcoinj.core.Transaction.Purpose
-
Transaction that makes a pledge to an assurance contract.
- ASSURANCE_CONTRACT_PLEDGE - org.bitcoinj.wallet.Protos.Transaction.Purpose
-
ASSURANCE_CONTRACT_PLEDGE = 4;
- ASSURANCE_CONTRACT_PLEDGE_VALUE - Static variable in enum org.bitcoinj.wallet.Protos.Transaction.Purpose
-
ASSURANCE_CONTRACT_PLEDGE = 4;
- ASSURANCE_CONTRACT_STUB - org.bitcoinj.core.Transaction.Purpose
-
Send-to-self transaction that exists just to create an output of the right size we can pledge.
- ASSURANCE_CONTRACT_STUB - org.bitcoinj.wallet.Protos.Transaction.Purpose
-
ASSURANCE_CONTRACT_STUB = 5;
- ASSURANCE_CONTRACT_STUB_VALUE - Static variable in enum org.bitcoinj.wallet.Protos.Transaction.Purpose
-
ASSURANCE_CONTRACT_STUB = 5;
- AUTHENTICATION - org.bitcoinj.wallet.KeyChain.KeyPurpose
- autoCommit - Variable in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- autosaveToFile(File, long, TimeUnit, WalletFiles.Listener) - Method in class org.bitcoinj.wallet.Wallet
-
Sets up the wallet to auto-save itself to the given file, using temp files with atomic renames to ensure consistency.
- autoStop - Variable in class org.bitcoinj.kits.WalletAppKit
- AVAILABLE - org.bitcoinj.wallet.Wallet.BalanceType
-
Balance that could be safely used to create new spends, if we had all the needed private keys.
- AVAILABLE_SPENDABLE - org.bitcoinj.wallet.Wallet.BalanceType
-
Same as AVAILABLE but only for outputs we have the private keys for and can sign ourselves.
- await() - Method in class org.bitcoinj.core.listeners.DownloadProgressTracker
-
Wait for the chain to be downloaded.
B
- BadPassphraseException() - Constructor for exception org.bitcoinj.crypto.BIP38PrivateKey.BadPassphraseException
- BadPassword() - Constructor for exception org.bitcoinj.wallet.UnreadableWalletException.BadPassword
- BadWalletEncryptionKeyException(Throwable) - Constructor for exception org.bitcoinj.wallet.Wallet.BadWalletEncryptionKeyException
- badWord - Variable in exception org.bitcoinj.crypto.MnemonicException.MnemonicWordException
-
Contains the word that was not found in the word list.
- Base58 - Class in org.bitcoinj.core
-
Base58 is a way to encode Bitcoin addresses (or arbitrary data) as alphanumeric strings.
- Base58() - Constructor for class org.bitcoinj.core.Base58
- BASE64 - Static variable in class org.bitcoinj.core.CheckpointManager
- BaseTaggableObject - Class in org.bitcoinj.utils
-
A simple implementation of
TaggableObject
that uses a hashmap that is synchronized on this object's Java monitor. - BaseTaggableObject() - Constructor for class org.bitcoinj.utils.BaseTaggableObject
- BasicKeyChain - Class in org.bitcoinj.wallet
-
A
KeyChain
that implements the simplest model possible: it can have keys imported into it, and just acts as a dumb bag of keys. - BasicKeyChain() - Constructor for class org.bitcoinj.wallet.BasicKeyChain
- BasicKeyChain(KeyCrypter) - Constructor for class org.bitcoinj.wallet.BasicKeyChain
- BasicKeyChain.State - Enum in org.bitcoinj.wallet
-
Whether this basic key chain is empty, full of regular (usable for signing) keys, or full of watching keys.
- Bech32 - Class in org.bitcoinj.core
-
Implementation of the Bech32 encoding.
- Bech32() - Constructor for class org.bitcoinj.core.Bech32
- BECH32 - org.bitcoinj.core.Bech32.Encoding
- Bech32.Bech32Data - Class in org.bitcoinj.core
- Bech32.Encoding - Enum in org.bitcoinj.core
- BECH32M - org.bitcoinj.core.Bech32.Encoding
- beginBloomFilterCalculation() - Method in interface org.bitcoinj.core.PeerFilterProvider
-
Called on all registered filter providers before
PeerFilterProvider.getBloomFilterElementCount()
andPeerFilterProvider.getBloomFilter(int, double, long)
are called. - beginBloomFilterCalculation() - Method in class org.bitcoinj.wallet.Wallet
- beginDatabaseBatchWrite() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- beginDatabaseBatchWrite() - Method in interface org.bitcoinj.store.FullPrunedBlockStore
-
Begins/Commits/Aborts a database transaction.
- beginDatabaseBatchWrite() - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- beginDatabaseBatchWrite() - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- BEST_CHAIN - org.bitcoinj.core.AbstractBlockChain.NewBlockType
-
New block is on the best chain
- bestHeight - Variable in class org.bitcoinj.core.VersionMessage
-
How many blocks are in the chain, according to the other side.
- bigIntegerToBytes(BigInteger, int) - Static method in class org.bitcoinj.core.Utils
-
The regular
BigInteger.toByteArray()
includes the sign bit of the number and might result in an extra byte addition. - bigNum(int, long) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds the given number as a push data chunk to the given index in the program.
- bigNum(long) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds the given number as a push data chunk.
- BIP16_ENFORCE_TIME - Static variable in class org.bitcoinj.core.NetworkParameters
-
Blocks with a timestamp after this should enforce BIP 16, aka "Pay to script hash".
- BIP32_STANDARDISATION_TIME_SECS - Static variable in class org.bitcoinj.crypto.DeterministicHierarchy
- bip32HeaderP2PKHpriv - Variable in class org.bitcoinj.core.NetworkParameters
- bip32HeaderP2PKHpub - Variable in class org.bitcoinj.core.NetworkParameters
- bip32HeaderP2WPKHpriv - Variable in class org.bitcoinj.core.NetworkParameters
- bip32HeaderP2WPKHpub - Variable in class org.bitcoinj.core.NetworkParameters
- BIP38PrivateKey - Class in org.bitcoinj.crypto
-
Implementation of BIP 38 passphrase-protected private keys.
- BIP38PrivateKey.BadPassphraseException - Exception in org.bitcoinj.crypto
- BIP39_STANDARDISATION_TIME_SECS - Static variable in class org.bitcoinj.crypto.MnemonicCode
-
UNIX time for when the BIP39 standard was finalised.
- BIP44_ACCOUNT_ZERO_PATH - Static variable in class org.bitcoinj.wallet.DeterministicKeyChain
- BITCOIN_SCHEME - Static variable in class org.bitcoinj.params.AbstractBitcoinNetParams
-
Scheme part for Bitcoin URIs.
- BITCOIN_SCHEME - Static variable in class org.bitcoinj.uri.BitcoinURI
-
Deprecated.
- BITCOINJ_VERSION - Static variable in class org.bitcoinj.core.VersionMessage
-
The version of this library release, as a string.
- BitcoinPacketHeader(ByteBuffer) - Constructor for class org.bitcoinj.core.BitcoinSerializer.BitcoinPacketHeader
- bitcoinSerialize() - Method in class org.bitcoinj.core.Block
-
Special handling to check if we have a valid byte array for both header and transactions
- bitcoinSerialize() - Method in class org.bitcoinj.core.EmptyMessage
- bitcoinSerialize() - Method in class org.bitcoinj.core.Message
-
Returns a copy of the array returned by
Message.unsafeBitcoinSerialize()
, which is safe to mutate. - bitcoinSerialize(OutputStream) - Method in class org.bitcoinj.core.Message
-
Serialize this message to the provided OutputStream using the bitcoin wire format.
- BitcoinSerializer - Class in org.bitcoinj.core
-
Methods to serialize and de-serialize messages to the Bitcoin network format as defined in the protocol specification.
- BitcoinSerializer(NetworkParameters, boolean) - Constructor for class org.bitcoinj.core.BitcoinSerializer
-
Constructs a BitcoinSerializer with the given behavior.
- BitcoinSerializer(NetworkParameters, int, boolean) - Constructor for class org.bitcoinj.core.BitcoinSerializer
-
Constructs a BitcoinSerializer with the given behavior.
- BitcoinSerializer.BitcoinPacketHeader - Class in org.bitcoinj.core
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.AddressMessage
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.Block
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.BloomFilter
-
Serializes this message to the provided stream.
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.EmptyMessage
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.FeeFilterMessage
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.FilteredBlock
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.GetBlocksMessage
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.GetUTXOsMessage
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.HeadersMessage
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.ListMessage
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.MemoryPoolMessage
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.Message
-
Serializes this message to the provided stream.
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.PartialMerkleTree
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.PeerAddress
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.Ping
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.Pong
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.RejectMessage
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.Transaction
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.TransactionInput
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.TransactionOutPoint
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.TransactionOutput
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.TransactionWitness
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.UTXOsMessage
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.VersionMessage
- bitcoinSerializeToStream(OutputStream, boolean) - Method in class org.bitcoinj.core.Transaction
-
Serialize according to BIP144 or the classic format, depending on if segwit is desired.
- BitcoinURI - Class in org.bitcoinj.uri
-
Provides a standard implementation of a Bitcoin URI with support for the following:
- BitcoinURI(String) - Constructor for class org.bitcoinj.uri.BitcoinURI
-
Constructs a new BitcoinURI from the given string.
- BitcoinURI(NetworkParameters, String) - Constructor for class org.bitcoinj.uri.BitcoinURI
-
Constructs a new object by trying to parse the input as a valid Bitcoin URI.
- BitcoinURIParseException - Exception in org.bitcoinj.uri
-
Exception to provide the following to
BitcoinURI
: - BitcoinURIParseException(String) - Constructor for exception org.bitcoinj.uri.BitcoinURIParseException
- BitcoinURIParseException(String, Throwable) - Constructor for exception org.bitcoinj.uri.BitcoinURIParseException
- bits - Variable in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- block - Variable in class org.bitcoinj.store.MemoryFullPrunedBlockStore.StoredBlockAndWasUndoableFlag
- Block - Class in org.bitcoinj.core
-
A block is a group of transactions, and is one of the fundamental data structures of the Bitcoin system.
- Block(NetworkParameters, byte[], int, Message, MessageSerializer, int) - Constructor for class org.bitcoinj.core.Block
-
Construct a block object from the Bitcoin wire format.
- Block(NetworkParameters, byte[], int, MessageSerializer, int) - Constructor for class org.bitcoinj.core.Block
-
Construct a block object from the Bitcoin wire format.
- Block(NetworkParameters, byte[], MessageSerializer, int) - Constructor for class org.bitcoinj.core.Block
-
Construct a block object from the Bitcoin wire format.
- Block(NetworkParameters, long, Sha256Hash, Sha256Hash, long, long, long, List<Transaction>) - Constructor for class org.bitcoinj.core.Block
-
Construct a block initialized with all the given fields.
- BLOCK - org.bitcoinj.core.InventoryItem.Type
- BLOCK_HASH_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Transaction
- BLOCK_HEIGHT_GENESIS - Static variable in class org.bitcoinj.core.Block
-
Height of the first block
- BLOCK_HEIGHT_UNKNOWN - Static variable in class org.bitcoinj.core.Block
-
Value to use if the block height is unknown
- BLOCK_LENGTH - Static variable in class org.bitcoinj.crypto.KeyCrypterScrypt
-
The size of an AES block in bytes.
- BLOCK_RELATIVITY_OFFSETS_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Transaction
- BLOCK_VERSION_BIP34 - Static variable in class org.bitcoinj.core.Block
-
Block version introduced in BIP 34: Height in coinbase
- BLOCK_VERSION_BIP65 - Static variable in class org.bitcoinj.core.Block
-
Block version introduced in BIP 65: OP_CHECKLOCKTIMEVERIFY
- BLOCK_VERSION_BIP66 - Static variable in class org.bitcoinj.core.Block
-
Block version introduced in BIP 66: Strict DER signatures
- BLOCK_VERSION_GENESIS - Static variable in class org.bitcoinj.core.Block
- Block.VerifyFlag - Enum in org.bitcoinj.core
-
Flags used to control which elements of block validation are done on received blocks.
- blockCache - Variable in class org.bitcoinj.store.SPVBlockStore
- BlockChain - Class in org.bitcoinj.core
-
A BlockChain implements the simplified payment verification mode of the Bitcoin protocol.
- BlockChain(Context, List<? extends Wallet>, BlockStore) - Constructor for class org.bitcoinj.core.BlockChain
-
Constructs a BlockChain connected to the given list of listeners and a store.
- BlockChain(Context, BlockStore) - Constructor for class org.bitcoinj.core.BlockChain
-
Constructs a BlockChain that has no wallet at all.
- BlockChain(Context, Wallet, BlockStore) - Constructor for class org.bitcoinj.core.BlockChain
-
Constructs a BlockChain connected to the given wallet and store.
- BlockChain(NetworkParameters, List<? extends Wallet>, BlockStore) - Constructor for class org.bitcoinj.core.BlockChain
- BlockChain(NetworkParameters, BlockStore) - Constructor for class org.bitcoinj.core.BlockChain
- BlockChain(NetworkParameters, Wallet, BlockStore) - Constructor for class org.bitcoinj.core.BlockChain
- BlockFileLoader - Class in org.bitcoinj.utils
-
This class reads block files stored in the Bitcoin Core format.
- BlockFileLoader(NetworkParameters, File) - Constructor for class org.bitcoinj.utils.BlockFileLoader
- BlockFileLoader(NetworkParameters, List<File>) - Constructor for class org.bitcoinj.utils.BlockFileLoader
- BlockingClient - Class in org.bitcoinj.net
-
Creates a simple connection to a server using a
StreamConnection
to process data. - BlockingClient(SocketAddress, StreamConnection, int, SocketFactory, Set<BlockingClient>) - Constructor for class org.bitcoinj.net.BlockingClient
-
Creates a new client to the given server address using the given
StreamConnection
to decode the data. - BlockingClientManager - Class in org.bitcoinj.net
-
A thin wrapper around a set of
BlockingClient
s. - BlockingClientManager() - Constructor for class org.bitcoinj.net.BlockingClientManager
- BlockingClientManager(SocketFactory) - Constructor for class org.bitcoinj.net.BlockingClientManager
-
Creates a blocking client manager that will obtain sockets from the given factory.
- blockingStartup - Variable in class org.bitcoinj.kits.WalletAppKit
- BlockLocator - Class in org.bitcoinj.core
-
Represents Block Locator in GetBlocks and GetHeaders messages
- BlockLocator() - Constructor for class org.bitcoinj.core.BlockLocator
- BlockLocator(ImmutableList<Sha256Hash>) - Constructor for class org.bitcoinj.core.BlockLocator
-
Creates a Block locator with defined list of hashes.
- BlocksDownloadedEventListener - Interface in org.bitcoinj.core.listeners
- blockStore - Variable in class org.bitcoinj.core.BlockChain
-
Keeps a map of block hashes to StoredBlocks.
- blockStore - Variable in class org.bitcoinj.core.FullPrunedBlockChain
-
Keeps a map of block hashes to StoredBlocks.
- BlockStore - Interface in org.bitcoinj.store
-
An implementor of BlockStore saves StoredBlock objects to disk.
- BlockStoreException - Exception in org.bitcoinj.store
-
Thrown when something goes wrong with storing a block.
- BlockStoreException(String) - Constructor for exception org.bitcoinj.store.BlockStoreException
- BlockStoreException(String, Throwable) - Constructor for exception org.bitcoinj.store.BlockStoreException
- BlockStoreException(Throwable) - Constructor for exception org.bitcoinj.store.BlockStoreException
- BlockVersionOutOfDate(long) - Constructor for exception org.bitcoinj.core.VerificationException.BlockVersionOutOfDate
- bloom - Variable in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- BLOOM_FILTER - org.bitcoinj.core.NetworkParameters.ProtocolVersion
- BLOOM_FILTER_BIP111 - org.bitcoinj.core.NetworkParameters.ProtocolVersion
- BloomFilter - Class in org.bitcoinj.core
-
A Bloom filter is a probabilistic data structure which can be sent to another client so that it can avoid sending us transactions that aren't relevant to our set of keys.
- BloomFilter(int, double, long) - Constructor for class org.bitcoinj.core.BloomFilter
-
Constructs a filter with the given parameters which is updated on P2PK outputs only.
- BloomFilter(int, double, long, BloomFilter.BloomUpdate) - Constructor for class org.bitcoinj.core.BloomFilter
-
Constructs a new Bloom Filter which will provide approximately the given false positive rate when the given number of elements have been inserted.
- BloomFilter(NetworkParameters, byte[]) - Constructor for class org.bitcoinj.core.BloomFilter
-
Construct a BloomFilter by deserializing payloadBytes
- BloomFilter.BloomUpdate - Enum in org.bitcoinj.core
-
The BLOOM_UPDATE_* constants control when the bloom filter is auto-updated by the peer using it as a filter, either never, for all outputs or only for P2PK outputs (default)
- BriefLogFormatter - Class in org.bitcoinj.utils
-
A Java logging formatter that writes more compact output than the default.
- BriefLogFormatter() - Constructor for class org.bitcoinj.utils.BriefLogFormatter
- broadcast - Variable in class org.bitcoinj.wallet.Wallet.SendResult
-
The broadcast object returned by the linked TransactionBroadcaster
- broadcast() - Method in class org.bitcoinj.core.TransactionBroadcast
- BROADCAST_BY_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.TransactionConfidence
- broadcastComplete - Variable in class org.bitcoinj.wallet.Wallet.SendResult
-
A future that will complete once the tx message has been successfully broadcast to the network.
- broadcastTransaction(Transaction) - Method in class org.bitcoinj.core.PeerGroup
-
Calls
PeerGroup.broadcastTransaction(Transaction, int, boolean)
with getMinBroadcastConnections() as the number of connections to wait for before commencing broadcast. - broadcastTransaction(Transaction) - Method in interface org.bitcoinj.core.TransactionBroadcaster
-
Broadcast the given transaction on the network
- broadcastTransaction(Transaction, int, boolean) - Method in class org.bitcoinj.core.PeerGroup
-
Given a transaction, sends it un-announced to one peer and then waits for it to be received back from other peers.
- BTC - Static variable in class org.bitcoinj.utils.MonetaryFormat
-
Standard format for the BTC denomination.
- BtcAutoFormat - Class in org.bitcoinj.utils
-
This class, a concrete extension of
BtcFormat
, is distinguished by its accommodation of multiple denominational units as follows: - BtcAutoFormat(Locale, BtcAutoFormat.Style, int) - Constructor for class org.bitcoinj.utils.BtcAutoFormat
-
Constructor
- BtcAutoFormat.Style - Enum in org.bitcoinj.utils
-
Enum for specifying the style of currency indicators that are used when formatting, either codes or symbols.
- BtcFixedFormat - Class in org.bitcoinj.utils
-
This class, a concrete extension of
BtcFormat
, is distinguished in that each instance formats and by-default parses all Bitcoin monetary values in units of a single denomination that is specified at the time that instance is constructed. - BtcFixedFormat(Locale, int, int, List<Integer>) - Constructor for class org.bitcoinj.utils.BtcFixedFormat
-
Constructor
- BtcFormat - Class in org.bitcoinj.utils
-
Instances of this class format and parse locale-specific numerical representations of Bitcoin monetary values.
- BtcFormat(DecimalFormat, int, List<Integer>) - Constructor for class org.bitcoinj.utils.BtcFormat
-
This single constructor is invoked by the overriding subclass constructors.
- BtcFormat.Builder - Class in org.bitcoinj.utils
-
This class constructs new instances of
BtcFormat
, allowing for the configuration of those instances before they are constructed. - btcToSatoshi(BigDecimal) - Static method in class org.bitcoinj.core.Coin
-
Convert a decimal amount of BTC into satoshis.
- buffer - Variable in class org.bitcoinj.store.SPVBlockStore
- build() - Method in class org.bitcoinj.script.ScriptBuilder
-
Creates a new immutable Script based on the state of the builder.
- build() - Method in class org.bitcoinj.utils.BtcFormat.Builder
-
Return a new
BtcFormat
instance. - build() - Method in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- build() - Method in class org.bitcoinj.wallet.KeyChainGroup.Builder
- build() - Method in class org.bitcoinj.wallet.MarriedKeyChain.Builder
- build(Block) - Method in class org.bitcoinj.core.StoredBlock
-
Creates a new StoredBlock, calculating the additional fields by adding to the values in this block.
- builder() - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new
BtcFormat.Builder
object. - builder() - Static method in class org.bitcoinj.wallet.DeterministicKeyChain
- builder() - Static method in class org.bitcoinj.wallet.MarriedKeyChain
- builder(NetworkParameters) - Static method in class org.bitcoinj.wallet.KeyChainGroup
- builder(NetworkParameters, KeyChainGroupStructure) - Static method in class org.bitcoinj.wallet.KeyChainGroup
- Builder() - Constructor for class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- Builder() - Constructor for class org.bitcoinj.wallet.MarriedKeyChain.Builder
- buildFromLeaves(NetworkParameters, byte[], List<Sha256Hash>) - Static method in class org.bitcoinj.core.PartialMerkleTree
-
Calculates a PMT given the list of leaf hashes and which leaves need to be included.
- BUILDING - org.bitcoinj.core.TransactionConfidence.ConfidenceType
-
If BUILDING, then the transaction is included in the best chain and your confidence in it is increasing.
- BUILDING - org.bitcoinj.wallet.Protos.TransactionConfidence.Type
-
In best chain.
- BUILDING_VALUE - Static variable in enum org.bitcoinj.wallet.Protos.TransactionConfidence.Type
-
In best chain.
- bytes - Variable in class org.bitcoinj.core.PrefixedChecksummedBytes
- byteStringToHash(ByteString) - Static method in class org.bitcoinj.wallet.WalletProtobufSerializer
- byteValue() - Method in enum org.bitcoinj.core.Transaction.SigHash
C
- calcLength(byte[], int) - Static method in class org.bitcoinj.core.Transaction
- calcSigHashValue(Transaction.SigHash, boolean) - Static method in class org.bitcoinj.crypto.TransactionSignature
-
Calculates the byte used in the protocol to represent the combination of mode and anyoneCanPay.
- calculate(ImmutableList<PeerFilterProvider>) - Method in class org.bitcoinj.net.FilterMerger
- calculateAllSpendCandidates() - Method in class org.bitcoinj.wallet.Wallet
-
Returns a list of the outputs that can potentially be spent, i.e.
- calculateAllSpendCandidates(boolean, boolean) - Method in class org.bitcoinj.wallet.Wallet
-
Returns a list of all outputs that are being tracked by this wallet either from the
UTXOProvider
(in this case the existence or not of private keys is ignored), or the wallets internal storage (the default) taking into account the flags. - calculateAllSpendCandidatesFromUTXOProvider(boolean) - Method in class org.bitcoinj.wallet.Wallet
-
Returns the spendable candidates from the
UTXOProvider
based on keys that the wallet contains. - calculateBalanceForAddress(Address) - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Calculate the balance for a coinbase, to-address, or p2sh address.
- calculateSignature(int, ECKey, byte[], Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
-
Calculates a signature that is valid for being inserted into the input at the given position.
- calculateSignature(int, ECKey, Script, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
-
Calculates a signature that is valid for being inserted into the input at the given position.
- calculateSignature(int, ECKey, KeyParameter, byte[], Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
-
Calculates a signature that is valid for being inserted into the input at the given position.
- calculateSignature(int, ECKey, KeyParameter, Script, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
-
Calculates a signature that is valid for being inserted into the input at the given position.
- calculateWitnessSignature(int, ECKey, byte[], Coin, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
- calculateWitnessSignature(int, ECKey, Script, Coin, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
- calculateWitnessSignature(int, ECKey, KeyParameter, byte[], Coin, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
- calculateWitnessSignature(int, ECKey, KeyParameter, Script, Coin, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
- canSignFor(Script) - Method in class org.bitcoinj.wallet.Wallet
-
Returns true if this wallet has at least one of the private keys needed to sign for this scriptPubKey.
- CENT - Static variable in class org.bitcoinj.core.Coin
-
0.01 Bitcoins.
- CERTIFICATE_FIELD_NUMBER - Static variable in class org.bitcoin.protocols.payments.Protos.X509Certificates
- certificates - Variable in exception org.bitcoinj.protocols.payments.PaymentProtocolException.PkiVerificationException
- chain - Variable in class org.bitcoinj.core.PeerGroup
- chain() - Method in class org.bitcoinj.kits.WalletAppKit
- CHAIN_CODE_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.DeterministicKey
- chainCode - Variable in class org.bitcoinj.crypto.HDKeyDerivation.RawKeyBytes
- ChainDownloadStartedEventListener - Interface in org.bitcoinj.core.listeners
- ChainFileLockedException - Exception in org.bitcoinj.store
-
Thrown by
SPVBlockStore
when the process cannot gain exclusive access to the chain file. - ChainFileLockedException(String) - Constructor for exception org.bitcoinj.store.ChainFileLockedException
- ChainFileLockedException(Throwable) - Constructor for exception org.bitcoinj.store.ChainFileLockedException
- chainHead - Variable in class org.bitcoinj.core.AbstractBlockChain
-
Tracks the top of the best known chain.
- chainHeadBlock - Variable in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- chainHeadBlock - Variable in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- chainHeadHash - Variable in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- chainHeadHash - Variable in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- chains - Variable in class org.bitcoinj.wallet.KeyChainGroup
- chains(List<DeterministicKeyChain>) - Method in class org.bitcoinj.wallet.KeyChainGroup.Builder
-
Add multiple chains.
- CHANGE - org.bitcoinj.wallet.KeyChain.KeyPurpose
- changeAddress - Variable in class org.bitcoinj.wallet.SendRequest
-
"Change" means the difference between the value gathered by a transactions inputs (the size of which you don't really control as it depends on who sent you money), and the value being sent somewhere else.
- changed - Variable in class org.bitcoinj.net.FilterMerger.Result
- changeEncryptionKey(KeyCrypter, KeyParameter, KeyParameter) - Method in class org.bitcoinj.wallet.Wallet
-
Changes wallet AES encryption key, this is atomic operation.
- changeEncryptionPassword(CharSequence, CharSequence) - Method in class org.bitcoinj.wallet.Wallet
-
Changes wallet encryption password, this is atomic operation.
- character - Variable in exception org.bitcoinj.core.AddressFormatException.InvalidCharacter
- check() - Method in class org.bitcoinj.wallet.DeterministicSeed
-
Check if our mnemonic is a valid mnemonic phrase for our word list.
- check(List<String>) - Method in class org.bitcoinj.crypto.MnemonicCode
-
Check to see if a mnemonic word list is valid.
- checkAESKey(KeyParameter) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Check whether the AES key can decrypt the first encrypted key in the wallet.
- checkAESKey(KeyParameter) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- checkAESKey(KeyParameter) - Method in interface org.bitcoinj.wallet.EncryptableKeyChain
- checkAESKey(KeyParameter) - Method in class org.bitcoinj.wallet.KeyChainGroup
- checkAESKey(KeyParameter) - Method in class org.bitcoinj.wallet.Wallet
-
Check whether the AES key can decrypt the first encrypted key in the wallet.
- checkBitLE(byte[], int) - Static method in class org.bitcoinj.core.Utils
-
Checks if the given bit is set in data, using little endian (not the same as Java native big endian)
- checkCoinBaseHeight(int) - Method in class org.bitcoinj.core.Transaction
-
Check block height is in coinbase input script, for use after BIP 34 enforcement is enabled.
- checkDifficultyTransitions(StoredBlock, Block, BlockStore) - Method in class org.bitcoinj.core.NetworkParameters
-
Throws an exception if the block's difficulty is not correct.
- checkDifficultyTransitions(StoredBlock, Block, BlockStore) - Method in class org.bitcoinj.params.AbstractBitcoinNetParams
- checkDifficultyTransitions(StoredBlock, Block, BlockStore) - Method in class org.bitcoinj.params.TestNet3Params
- checkForFilterExhaustion(FilteredBlock) - Method in class org.bitcoinj.wallet.Wallet
-
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. - CHECKLOCKTIMEVERIFY - org.bitcoinj.script.Script.VerifyFlag
- checkPassword(CharSequence) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Returns whether the given password is correct for this key chain.
- checkPassword(CharSequence) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- checkPassword(CharSequence) - Method in interface org.bitcoinj.wallet.EncryptableKeyChain
- checkPassword(CharSequence) - Method in class org.bitcoinj.wallet.KeyChainGroup
- checkPassword(CharSequence) - Method in class org.bitcoinj.wallet.Wallet
-
Check whether the password can decrypt the first key in the wallet.
- checkpoint(NetworkParameters, InputStream, BlockStore, long) - Static method in class org.bitcoinj.core.CheckpointManager
-
Convenience method that creates a CheckpointManager, loads the given data, gets the checkpoint for the given time, then inserts it into the store and sets that to be the chain head.
- CHECKPOINT - org.bitcoinj.core.RejectMessage.RejectCode
-
The message described a block which was invalid according to hard-coded checkpoint blocks.
- CheckpointManager - Class in org.bitcoinj.core
-
Vends hard-coded
StoredBlock
s for blocks throughout the chain. - CheckpointManager(Context) - Constructor for class org.bitcoinj.core.CheckpointManager
-
Loads the default checkpoints bundled with bitcoinj
- CheckpointManager(NetworkParameters, InputStream) - Constructor for class org.bitcoinj.core.CheckpointManager
-
Loads the checkpoints from the given stream
- checkpoints - Variable in class org.bitcoinj.core.CheckpointManager
- checkpoints - Variable in class org.bitcoinj.core.NetworkParameters
- checkpoints - Variable in class org.bitcoinj.kits.WalletAppKit
- checkProofOfWork(boolean) - Method in class org.bitcoinj.core.Block
-
Returns true if the hash of the block is OK (lower than difficulty target).
- CHECKSEQUENCEVERIFY - org.bitcoinj.script.Script.VerifyFlag
- checksum - Variable in class org.bitcoinj.core.BitcoinSerializer.BitcoinPacketHeader
- ChildMessage - Class in org.bitcoinj.core
-
Represents a Message type that can be contained within another Message.
- ChildMessage() - Constructor for class org.bitcoinj.core.ChildMessage
-
Deprecated.Use
ChildMessage(NetworkParameters)
instead. - ChildMessage(NetworkParameters) - Constructor for class org.bitcoinj.core.ChildMessage
- ChildMessage(NetworkParameters, byte[], int) - Constructor for class org.bitcoinj.core.ChildMessage
- ChildMessage(NetworkParameters, byte[], int, Message, MessageSerializer, int) - Constructor for class org.bitcoinj.core.ChildMessage
- CHILDNUM_ORDER - Static variable in class org.bitcoinj.crypto.DeterministicKey
-
Sorts deterministic keys in the order of their child number.
- ChildNumber - Class in org.bitcoinj.crypto
-
This is just a wrapper for the i (child number) as per BIP 32 with a boolean getter for the most significant bit and a getter for the actual 0-based child number.
- ChildNumber(int) - Constructor for class org.bitcoinj.crypto.ChildNumber
- ChildNumber(int, boolean) - Constructor for class org.bitcoinj.crypto.ChildNumber
- childPaysForParent(Wallet, Transaction, Coin) - Static method in class org.bitcoinj.wallet.SendRequest
-
Construct a SendRequest for a CPFP (child-pays-for-parent) transaction.
- chunks - Variable in class org.bitcoinj.script.Script
- CLEANSTACK - org.bitcoinj.script.Script.VerifyFlag
- cleanup() - Static method in class org.bitcoin.NativeSecp256k1
-
libsecp256k1 Cleanup - This destroys the secp256k1 context object This should be called at the end of the program for proper cleanup of the context.
- cleanup() - Method in class org.bitcoinj.wallet.Wallet
-
Clean up the wallet.
- clear() - Method in class org.bitcoinj.store.SPVBlockStore
- clearAccountPath() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
The path to the root.
- clearAmount() - Method in class org.bitcoin.protocols.payments.Protos.Output.Builder
-
amount is integer-number-of-satoshis
- clearAppearedAtHeight() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
If type == BUILDING then this is the chain height at which the transaction was included.
- clearBlockHash() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
A list of blocks in which the transaction has been observed (on any chain).
- clearBlockRelativityOffsets() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated int32 block_relativity_offsets = 11;
- clearBroadcastBy() - Method in class org.bitcoinj.core.TransactionConfidence
-
Erases the set of broadcast/seen peers.
- clearBroadcastBy() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
repeated .wallet.PeerAddress broadcast_by = 6;
- clearCertificate() - Method in class org.bitcoin.protocols.payments.Protos.X509Certificates.Builder
-
DER-encoded X.509 certificate chain
- clearChainCode() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
Random data that allows us to extend a key.
- clearCoinValue() - Method in class org.bitcoinj.wallet.Protos.ExchangeRate.Builder
-
This much of satoshis (1E-8 fractions)…
- clearConfidence() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
Data describing where the transaction is in the chain.
- clearCreationTimestamp() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
Timestamp stored as millis since epoch.
- clearCreationTimestamp() - Method in class org.bitcoinj.wallet.Protos.Script.Builder
-
Timestamp stored as millis since epoch.
- clearData() - Method in class org.bitcoinj.wallet.Protos.Extension.Builder
-
required bytes data = 2;
- clearData() - Method in class org.bitcoinj.wallet.Protos.ScriptWitness.Builder
-
repeated bytes data = 1;
- clearData() - Method in class org.bitcoinj.wallet.Protos.Tag.Builder
-
required bytes data = 2;
- clearDepth() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
If type == BUILDING then this is the depth of the transaction in the blockchain.
- clearDescription() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
A UTF8 encoded text description of the wallet that is intended for end user provided text.
- clearDeterministicKey() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
optional .wallet.DeterministicKey deterministic_key = 7;
- clearDeterministicSeed() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
The seed for a deterministic key hierarchy.
- clearEncryptedData() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
If the secret data is encrypted, then secret_bytes is missing and this field is set.
- clearEncryptedDeterministicSeed() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
Encrypted version of the seed
- clearEncryptedPrivateKey() - Method in class org.bitcoinj.wallet.Protos.EncryptedData.Builder
-
The encrypted private key
- clearEncryptionParameters() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
optional .wallet.ScryptParameters encryption_parameters = 6;
- clearEncryptionType() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
- clearExchangeRate() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
Exchange rate that was valid when the transaction was sent.
- clearExpires() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Timestamp; when this request should be considered invalid
- clearExtension() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Extension extension = 10;
- clearFiatCurrencyCode() - Method in class org.bitcoinj.wallet.Protos.ExchangeRate.Builder
-
ISO 4217 currency code (if available) of the fiat currency.
- clearFiatValue() - Method in class org.bitcoinj.wallet.Protos.ExchangeRate.Builder
-
…is worth this much of fiat (1E-4 fractions).
- clearHash() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
required bytes hash = 2;
- clearId() - Method in class org.bitcoinj.wallet.Protos.Extension.Builder
-
like org.whatever.foo.bar
- clearInitialisationVector() - Method in class org.bitcoinj.wallet.Protos.EncryptedData.Builder
-
The initialisation vector for the AES encryption (16 bytes)
- clearInputs() - Method in class org.bitcoinj.core.Transaction
-
Removes all the inputs from this transaction.
- clearIpAddress() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData.Builder
-
required string ip_address = 1;
- clearIpAddress() - Method in class org.bitcoinj.wallet.Protos.PeerAddress.Builder
-
required bytes ip_address = 1;
- clearIsFollowing() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
Flag indicating that this key is a root of a following chain.
- clearIssuedSubkeys() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
How many children of this key have been issued, that is, given to the user when they requested a fresh key? For the parents of keys being handed out, this is always less than the true number of children: the difference is called the lookahead zone.
- clearKey() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Key key = 3;
- clearKeyRotationTime() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
UNIX time in seconds since the epoch.
- clearLabel() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
User-provided label associated with the key.
- clearLastBroadcastedAt() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
Millis since epoch the transaction was last announced to us.
- clearLastSeenBlockHash() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
The SHA256 hash of the head of the best chain seen by this wallet.
- clearLastSeenBlockHeight() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
The height in the chain of the last seen block.
- clearLastSeenBlockTimeSecs() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
optional int64 last_seen_block_time_secs = 14;
- clearLockTime() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
The nLockTime field is useful for contracts.
- clearLookaheadSize() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
optional uint32 lookahead_size = 4;
- clearMandatory() - Method in class org.bitcoinj.wallet.Protos.Extension.Builder
-
If we do not understand a mandatory extension, abort to prevent data loss.
- clearMemo() - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Human-readable message for the merchant
- clearMemo() - Method in class org.bitcoin.protocols.payments.Protos.PaymentACK.Builder
-
human-readable message for customer
- clearMemo() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Human-readable description of request for the customer
- clearMemo() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
Memo of the transaction.
- clearMerchantData() - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
From PaymentDetails.merchant_data
- clearMerchantData() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Arbitrary data to include in the Payment message
- clearN() - Method in class org.bitcoinj.wallet.Protos.ScryptParameters.Builder
-
CPU/ memory cost parameter
- clearNet() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
required string net = 3;
- clearNetwork() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
"main" or "test"
- clearNetworkIdentifier() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
the network used by this wallet
- clearOutputs() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Where payment should be sent
- clearOutputs() - Method in class org.bitcoinj.core.Transaction
-
Removes all the outputs from this transaction.
- clearOutputScriptType() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
Type of addresses (aka output scripts) to generate for receiving.
- clearOverridingTransaction() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
If set, hash of the transaction that double spent this one into oblivion.
- clearP() - Method in class org.bitcoinj.wallet.Protos.ScryptParameters.Builder
-
Parallelisation parameter
- clearPath() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
The path through the key tree.
- clearPayment() - Method in class org.bitcoin.protocols.payments.Protos.PaymentACK.Builder
-
Payment message that triggered this ACK
- clearPaymentDetailsVersion() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest.Builder
-
optional uint32 payment_details_version = 1 [default = 1];
- clearPaymentUrl() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
URL to send Payment and get PaymentACK
- clearPeerSeeds() - Method in class org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeeds.Builder
-
required bytes peer_seeds = 1;
- clearPkiData() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest.Builder
-
depends on pki_type
- clearPkiType() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest.Builder
-
none / x509+sha256 / x509+sha1
- clearPool() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
If pool is not present, that means either: - This Transaction is either not in a wallet at all (the proto is re-used elsewhere) - Or it is stored but for other purposes, for example, because it is the overriding transaction of a double spend.
- clearPort() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData.Builder
-
required uint32 port = 2;
- clearPort() - Method in class org.bitcoinj.wallet.Protos.PeerAddress.Builder
-
required uint32 port = 2;
- clearProgram() - Method in class org.bitcoinj.wallet.Protos.Script.Builder
-
required bytes program = 1;
- clearPubkey() - Method in class org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeeds.Builder
-
required bytes pubkey = 3;
- clearPublicKey() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
The public EC key derived from the private key.
- clearPurpose() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
- clearR() - Method in class org.bitcoinj.wallet.Protos.ScryptParameters.Builder
-
Block size parameter
- clearRefundTo() - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Where to send refunds, if a refund is necessary
- clearSalt() - Method in class org.bitcoinj.wallet.Protos.ScryptParameters.Builder
-
Salt to use in generation of the wallet password (8 bytes)
- clearScript() - Method in class org.bitcoin.protocols.payments.Protos.Output.Builder
-
usually one of the standard Script forms
- clearScriptBytes() - Method in class org.bitcoinj.core.TransactionInput
-
Clear input scripts, e.g.
- clearScriptBytes() - Method in class org.bitcoinj.wallet.Protos.TransactionInput.Builder
-
Script that contains the signatures/pubkeys.
- clearScriptBytes() - Method in class org.bitcoinj.wallet.Protos.TransactionOutput.Builder
-
script of transaction output
- clearSecretBytes() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed.
- clearSeed() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- clearSequence() - Method in class org.bitcoinj.wallet.Protos.TransactionInput.Builder
-
Sequence number.
- clearSerializedPaymentDetails() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest.Builder
-
PaymentDetails
- clearServices() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData.Builder
-
required uint32 services = 3;
- clearServices() - Method in class org.bitcoinj.wallet.Protos.PeerAddress.Builder
-
required uint64 services = 3;
- clearSignature() - Method in class org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeeds.Builder
-
required bytes signature = 2;
- clearSignature() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest.Builder
-
pki-dependent signature
- clearSigsRequiredToSpend() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
Number of signatures required to spend.
- clearSource() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
optional .wallet.TransactionConfidence.Source source = 7;
- clearSpentByTransactionHash() - Method in class org.bitcoinj.wallet.Protos.TransactionOutput.Builder
-
If spent, the hash of the transaction doing the spend.
- clearSpentByTransactionIndex() - Method in class org.bitcoinj.wallet.Protos.TransactionOutput.Builder
-
If spent, the index of the transaction input of the transaction doing the spend.
- clearTag() - Method in class org.bitcoinj.wallet.Protos.Tag.Builder
-
required string tag = 1;
- clearTags() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Tag tags = 16;
- clearTime() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Timestamp; when payment request created
- clearTimestamp() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
seconds since UNIX epoch
- clearTransaction() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Transaction transaction = 4;
- clearTransactionInput() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionInput transaction_input = 6;
- clearTransactionOutPointHash() - Method in class org.bitcoinj.wallet.Protos.TransactionInput.Builder
-
Hash of the transaction this input is using.
- clearTransactionOutPointIndex() - Method in class org.bitcoinj.wallet.Protos.TransactionInput.Builder
-
Index of transaction output used by this input.
- clearTransactionOutput() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionOutput transaction_output = 7;
- clearTransactions() - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Signed transactions that satisfy PaymentDetails.outputs
- clearTransactions(int) - Method in class org.bitcoinj.wallet.Wallet
-
Deletes transactions which appeared above the given block height from the wallet, but does not touch the keys.
- clearType() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
required .wallet.Key.Type type = 1;
- clearType() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
This is optional in case we add confidence types to prevent parse errors - backwards compatible.
- clearUpdatedAt() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
millis since epoch the transaction was last updated
- clearValue() - Method in class org.bitcoinj.wallet.Protos.TransactionInput.Builder
-
Value of connected output, if known
- clearValue() - Method in class org.bitcoinj.wallet.Protos.TransactionOutput.Builder
-
required int64 value = 1;
- clearVersion() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
See Wallet.java for detailed description of pool semantics
- clearVersion() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
The version number of the wallet - used to detect wallets that were produced in the future (i.e.
- clearWatchedScript() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Script watched_script = 15;
- clearWitness() - Method in class org.bitcoinj.wallet.Protos.TransactionInput.Builder
-
script witness
- ClientConnectionManager - Interface in org.bitcoinj.net
-
A generic interface for an object which keeps track of a set of open client connections, creates new ones and ensures they are serviced properly.
- clientVersion - Variable in class org.bitcoinj.core.VersionMessage
-
The version number of the protocol spoken.
- clone() - Method in class org.bitcoinj.core.LegacyAddress
- clone() - Method in class org.bitcoinj.core.PrefixedChecksummedBytes
-
This implementation narrows the return type to
PrefixedChecksummedBytes
and allows subclasses to throwCloneNotSupportedException
even though it is never thrown by this implementation. - cloneAsHeader() - Method in class org.bitcoinj.core.Block
-
Returns a copy of the block, but without any transactions.
- cloneContext() - Static method in class org.bitcoin.NativeSecp256k1
-
Clone context
- close() - Method in class org.bitcoinj.core.PeerSocketHandler
-
Closes the connection to the peer if one exists, or immediately closes the connection as soon as it opens
- close() - Method in interface org.bitcoinj.store.BlockStore
-
Closes the store.
- close() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- close() - Method in class org.bitcoinj.store.LevelDBBlockStore
- close() - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- close() - Method in class org.bitcoinj.store.MemoryBlockStore
- close() - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- close() - Method in class org.bitcoinj.store.SPVBlockStore
- closeConnection() - Method in class org.bitcoinj.net.BlockingClient
-
Closes the connection to the server, triggering the
StreamConnection.connectionClosed()
event on the network-handling thread where all callbacks occur. - closeConnection() - Method in interface org.bitcoinj.net.MessageWriteTarget
-
Closes the connection to the server, triggering the
StreamConnection.connectionClosed()
event on the network-handling thread where all callbacks occur. - closeConnection() - Method in class org.bitcoinj.net.NioClient
- closeConnections(int) - Method in class org.bitcoinj.net.BlockingClientManager
- closeConnections(int) - Method in interface org.bitcoinj.net.ClientConnectionManager
-
Closes n peer connections
- closeConnections(int) - Method in class org.bitcoinj.net.NioClientManager
- code - Variable in enum org.bitcoinj.core.InventoryItem.Type
- code() - Method in class org.bitcoinj.utils.BtcFixedFormat
-
Return the currency code that identifies the units in which values formatted and (by-default) parsed by this instance are denominated.
- code() - Method in class org.bitcoinj.utils.MonetaryFormat
-
Get currency code that will be used for current shift.
- code(int, String) - Method in class org.bitcoinj.utils.MonetaryFormat
-
Configure currency code for given decimal separator shift.
- code(String) - Method in class org.bitcoinj.utils.BtcFormat.Builder
-
Specify a custom currency code to be used in the denomination-unit indicators of formatted values.
- CODE - org.bitcoinj.utils.BtcAutoFormat.Style
-
Constant for the formatting style that uses a currency code, e.g., "BTC".
- CODE_BTC - Static variable in class org.bitcoinj.utils.MonetaryFormat
-
Currency code for base 1 Bitcoin.
- CODE_MBTC - Static variable in class org.bitcoinj.utils.MonetaryFormat
-
Currency code for base 1/1000 Bitcoin.
- CODE_SAT - Static variable in class org.bitcoinj.utils.MonetaryFormat
-
Currency code for base 1 satoshi.
- CODE_UBTC - Static variable in class org.bitcoinj.utils.MonetaryFormat
-
Currency code for base 1/1000000 Bitcoin.
- codeSeparator(char) - Method in class org.bitcoinj.utils.MonetaryFormat
-
Separator between currency code and formatted value.
- coin - Variable in class org.bitcoinj.utils.ExchangeRate
- Coin - Class in org.bitcoinj.core
-
Represents a monetary Bitcoin value.
- COIN - Static variable in class org.bitcoinj.core.Coin
-
One Bitcoin.
- COIN_SCALE - Static variable in class org.bitcoinj.utils.BtcFormat
-
A constant useful for specifying a denomination of bitcoins, the
int
value0
. - COIN_SYMBOL_ALT - Static variable in class org.bitcoinj.utils.BtcFormat
-
An alternative currency symbol to use in locales where the default symbol is used for the national currency.
- COIN_VALUE_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.ExchangeRate
- CoinbaseHeightMismatch(String) - Constructor for exception org.bitcoinj.core.VerificationException.CoinbaseHeightMismatch
- CoinbaseScriptSizeOutOfRange() - Constructor for exception org.bitcoinj.core.VerificationException.CoinbaseScriptSizeOutOfRange
- coinCode() - Method in class org.bitcoinj.utils.BtcFormat
-
Return the unprefixed international currency code for bitcoins configured for this object.
- CoinSelection - Class in org.bitcoinj.wallet
-
Represents the results of a
CoinSelector.select(Coin, List)
operation. - CoinSelection(Coin, Collection<TransactionOutput>) - Constructor for class org.bitcoinj.wallet.CoinSelection
- coinSelector - Variable in class org.bitcoinj.wallet.SendRequest
-
If not null, the
CoinSelector
to use instead of the wallets default. - coinSelector - Variable in class org.bitcoinj.wallet.Wallet
- CoinSelector - Interface in org.bitcoinj.wallet
-
A CoinSelector is responsible for picking some outputs to spend, from the list of all possible outputs.
- coinSymbol() - Method in class org.bitcoinj.utils.BtcFormat
-
Return the unprefixed currency symbol for bitcoins configured for this object.
- coinToFiat(Coin) - Method in class org.bitcoinj.utils.ExchangeRate
-
Convert a coin amount to a fiat amount using this exchange rate.
- command - Variable in class org.bitcoinj.core.BitcoinSerializer.BitcoinPacketHeader
- commitDatabaseBatchWrite() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- commitDatabaseBatchWrite() - Method in interface org.bitcoinj.store.FullPrunedBlockStore
- commitDatabaseBatchWrite() - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- commitDatabaseBatchWrite() - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- commitTx(Transaction) - Method in class org.bitcoinj.wallet.Wallet
-
Updates the wallet with the given transaction: puts it into the pending pool, sets the spent flags and runs the onCoinsSent/onCoinsReceived event listener.
- COMPACT_SERIALIZED_SIZE - Static variable in class org.bitcoinj.core.StoredBlock
- compareAddressPartial(Address) - Method in class org.bitcoinj.core.Address
-
Comparator for the first two comparison fields in
Address
comparisons, seeAddress.compareTo(Address)
. - compareTo(Address) - Method in class org.bitcoinj.core.Address
-
Comparison field order for addresses is:
NetworkParameters.getId()
Legacy vs. - compareTo(Address) - Method in class org.bitcoinj.core.LegacyAddress
-
Comparison field order for addresses is:
NetworkParameters.getId()
Legacy vs. - compareTo(Address) - Method in class org.bitcoinj.core.SegwitAddress
-
Comparison field order for addresses is:
NetworkParameters.getId()
Legacy vs. - compareTo(Coin) - Method in class org.bitcoinj.core.Coin
- compareTo(Sha256Hash) - Method in class org.bitcoinj.core.Sha256Hash
- compareTo(ChildNumber) - Method in class org.bitcoinj.crypto.ChildNumber
- compareTo(ExponentialBackoff) - Method in class org.bitcoinj.utils.ExponentialBackoff
- compareTo(Fiat) - Method in class org.bitcoinj.utils.Fiat
- completeTx(SendRequest) - Method in class org.bitcoinj.wallet.Wallet
-
Given a spend request containing an incomplete transaction, makes it valid by adding outputs and signed inputs according to the instructions in the request.
- CompletionException() - Constructor for exception org.bitcoinj.wallet.Wallet.CompletionException
- CompletionException(Throwable) - Constructor for exception org.bitcoinj.wallet.Wallet.CompletionException
- compress() - Method in class org.bitcoinj.crypto.LazyECPoint
-
Returns a compressed version of this elliptic curve point.
- compressed - Variable in class org.bitcoinj.crypto.BIP38PrivateKey
- compressPoint(LazyECPoint) - Static method in class org.bitcoinj.core.ECKey
-
Deprecated.
- computePubkey(byte[]) - Static method in class org.bitcoin.NativeSecp256k1
-
libsecp256k1 Compute Pubkey - computes public key from secret key
- concat(List<ChildNumber>, List<ChildNumber>) - Static method in class org.bitcoinj.crypto.HDUtils
-
Deprecated.Use
HDPath#extend
- CONFIDENCE_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Transaction
- conn - Variable in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- connect(Map<Sha256Hash, Transaction>, TransactionInput.ConnectMode) - Method in class org.bitcoinj.core.TransactionInput
-
Connects this input to the relevant output of the referenced transaction if it's in the given map.
- connect(TransactionOutput) - Method in class org.bitcoinj.core.TransactionInput
-
Internal use only: connects this TransactionInput to the given output (updates pointers and spent flags)
- connect(Transaction, TransactionInput.ConnectMode) - Method in class org.bitcoinj.core.TransactionInput
-
Connects this input to the relevant output of the referenced transaction.
- connectionClosed() - Method in class org.bitcoinj.core.Peer
- connectionClosed() - Method in interface org.bitcoinj.net.StreamConnection
-
Called when the connection socket is closed
- connectionOpened() - Method in class org.bitcoinj.core.Peer
- connectionOpened() - Method in interface org.bitcoinj.net.StreamConnection
-
Called when the connection socket is first opened
- connectionURL - Variable in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- connectTo(InetSocketAddress) - Method in class org.bitcoinj.core.PeerGroup
-
Connect to a peer by creating a channel to the destination address.
- connectTo(PeerAddress, boolean, int) - Method in class org.bitcoinj.core.PeerGroup
-
Creates a version message to send, constructs a Peer object and attempts to connect it.
- connectToLocalHost() - Method in class org.bitcoinj.core.PeerGroup
-
Helper for forcing a connection to localhost.
- connectToLocalHost() - Method in class org.bitcoinj.kits.WalletAppKit
-
Will only connect to localhost.
- connectTransactions(int, Block) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Connect each transaction in block.transactions, verifying them as we go and removing spent outputs If an error is encountered in a transaction, no changes should be made to the underlying BlockStore.
- connectTransactions(int, Block) - Method in class org.bitcoinj.core.BlockChain
- connectTransactions(int, Block) - Method in class org.bitcoinj.core.FullPrunedBlockChain
- connectTransactions(StoredBlock) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Load newBlock from BlockStore and connect its transactions, returning changes to the set of unspent transactions.
- connectTransactions(StoredBlock) - Method in class org.bitcoinj.core.BlockChain
- connectTransactions(StoredBlock) - Method in class org.bitcoinj.core.FullPrunedBlockChain
-
Used during reorgs to connect a block previously on a fork
- contains(byte[]) - Method in class org.bitcoinj.core.BloomFilter
-
Returns true if the given object matches the filter either because it was inserted, or because we have a false-positive.
- content - Variable in class org.bitcoinj.crypto.BIP38PrivateKey
- context - Variable in class org.bitcoinj.kits.WalletAppKit
- context - Variable in class org.bitcoinj.wallet.Wallet
- Context - Class in org.bitcoinj.core
-
The Context object holds various objects and pieces of configuration that are scoped to a specific instantiation of bitcoinj for a specific network.
- Context(NetworkParameters) - Constructor for class org.bitcoinj.core.Context
-
Creates a new context object.
- Context(NetworkParameters, int, Coin, boolean) - Constructor for class org.bitcoinj.core.Context
-
Creates a new custom context object.
- ContextPropagatingThreadFactory - Class in org.bitcoinj.utils
-
A
ThreadFactory
that propagates aContext
from the creating thread into the new thread. - ContextPropagatingThreadFactory(String) - Constructor for class org.bitcoinj.utils.ContextPropagatingThreadFactory
- ContextPropagatingThreadFactory(String, int) - Constructor for class org.bitcoinj.utils.ContextPropagatingThreadFactory
- convertToBitcoinURI(Address, Coin, String, String) - Static method in class org.bitcoinj.uri.BitcoinURI
-
Simple Bitcoin URI builder using known good fields.
- convertToBitcoinURI(NetworkParameters, String, Coin, String, String) - Static method in class org.bitcoinj.uri.BitcoinURI
-
Simple Bitcoin URI builder using known good fields.
- correctlySpends(Transaction, int, TransactionWitness, Coin, Script, Set<Script.VerifyFlag>) - Method in class org.bitcoinj.script.Script
-
Verifies that this script (interpreted as a scriptSig) correctly spends the given scriptPubKey.
- correctlySpends(Transaction, long, Script, Set<Script.VerifyFlag>) - Method in class org.bitcoinj.script.Script
-
Deprecated.
- CouldNotAdjustDownwards() - Constructor for exception org.bitcoinj.wallet.Wallet.CouldNotAdjustDownwards
- create(NetworkParameters, KeyChainGroup) - Method in interface org.bitcoinj.wallet.WalletProtobufSerializer.WalletFactory
- create(Wallet, Transaction, List<Transaction>) - Method in class org.bitcoinj.wallet.DefaultRiskAnalysis.Analyzer
- create(Wallet, Transaction, List<Transaction>) - Method in interface org.bitcoinj.wallet.RiskAnalysis.Analyzer
- createBasic(NetworkParameters) - Static method in class org.bitcoinj.wallet.KeyChainGroup
-
Creates a keychain group with just a basic chain.
- createBasic(NetworkParameters) - Static method in class org.bitcoinj.wallet.Wallet
-
Creates a new, empty wallet with just a basic keychain and no transactions.
- createConfidence(Sha256Hash) - Method in class org.bitcoinj.core.TransactionConfidence.Factory
- createDeterministic(Context, Script.ScriptType) - Static method in class org.bitcoinj.wallet.Wallet
-
Creates a new, empty wallet with a randomly chosen seed and no transactions.
- createDeterministic(NetworkParameters, Script.ScriptType) - Static method in class org.bitcoinj.wallet.Wallet
-
Creates a new, empty wallet with a randomly chosen seed and no transactions.
- createECDHSecret(byte[], byte[]) - Static method in class org.bitcoin.NativeSecp256k1
-
libsecp256k1 create ECDH secret - constant time ECDH calculation
- createEmpty() - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates an empty script.
- createEmptyInputScript(ECKey, Script) - Method in class org.bitcoinj.script.Script
-
Creates an incomplete scriptSig that, once filled with signatures, can redeem output containing this scriptPubKey.
- createEmptyWitness(ECKey) - Method in class org.bitcoinj.script.Script
- createExecutor() - Method in class org.bitcoinj.net.discovery.DnsDiscovery
- createExecutor() - Method in class org.bitcoinj.net.discovery.MultiplexingDiscovery
- createFromBitcoinUri(BitcoinURI) - Static method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns a future that will be notified with a PaymentSession object after it is fetched using the provided uri.
- createFromBitcoinUri(BitcoinURI, boolean) - Static method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns a future that will be notified with a PaymentSession object after it is fetched using the provided uri.
- createFromBitcoinUri(BitcoinURI, boolean, TrustStoreLoader) - Static method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns a future that will be notified with a PaymentSession object after it is fetched using the provided uri.
- createFromUrl(String) - Static method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns a future that will be notified with a PaymentSession object after it is fetched using the provided url.
- createFromUrl(String, boolean) - Static method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns a future that will be notified with a PaymentSession object after it is fetched using the provided url.
- createFromUrl(String, boolean, TrustStoreLoader) - Static method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns a future that will be notified with a PaymentSession object after it is fetched using the provided url.
- createGenesis(NetworkParameters) - Static method in class org.bitcoinj.core.Block
- createInputScript(byte[]) - Static method in class org.bitcoinj.script.Script
- createInputScript(byte[], byte[]) - Static method in class org.bitcoinj.script.Script
- createInputScript(TransactionSignature) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a scriptSig that can redeem a P2PK output.
- createInputScript(TransactionSignature, ECKey) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a scriptSig that can redeem a P2PKH output.
- createMasterPrivateKey(byte[]) - Static method in class org.bitcoinj.crypto.HDKeyDerivation
-
Generates a new deterministic key from the given seed, which can be any arbitrary byte array.
- createMasterPrivKeyFromBytes(byte[], byte[]) - Static method in class org.bitcoinj.crypto.HDKeyDerivation
- createMasterPubKeyFromBytes(byte[], byte[]) - Static method in class org.bitcoinj.crypto.HDKeyDerivation
- createMockBroadcast(Transaction, SettableFuture<Transaction>) - Static method in class org.bitcoinj.core.TransactionBroadcast
- createMultiSigInputScript(List<TransactionSignature>) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Create a program that satisfies an OP_CHECKMULTISIG program.
- createMultiSigInputScript(TransactionSignature...) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Create a program that satisfies an OP_CHECKMULTISIG program.
- createMultiSigInputScriptBytes(List<byte[]>) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Create a program that satisfies an OP_CHECKMULTISIG program, using pre-encoded signatures.
- createMultiSigInputScriptBytes(List<byte[]>, byte[]) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Create a program that satisfies an OP_CHECKMULTISIG program, using pre-encoded signatures.
- createMultiSigOutputScript(int, List<ECKey>) - Static method in class org.bitcoinj.script.Script
-
Creates a program that requires at least N of the given keys to sign, using OP_CHECKMULTISIG.
- createMultiSigOutputScript(int, List<ECKey>) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a program that requires at least N of the given keys to sign, using OP_CHECKMULTISIG.
- createNextBlock(Address) - Method in class org.bitcoinj.core.Block
- createNextBlock(Address, long, long, int) - Method in class org.bitcoinj.core.Block
-
Returns a solved block that builds on top of this one.
- createNextBlock(Address, Coin) - Method in class org.bitcoinj.core.Block
- createNextBlock(Address, TransactionOutPoint) - Method in class org.bitcoinj.core.Block
- createNextBlockWithCoinbase(long, byte[], Coin, int) - Method in class org.bitcoinj.core.Block
- createOpReturnScript(byte[]) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a script of the form OP_RETURN [data].
- createOutputScript(Address) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a scriptPubKey that encodes payment to the given address.
- createP2PKHOutputScript(byte[]) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a scriptPubKey that sends to the given public key hash.
- createP2PKHOutputScript(ECKey) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a scriptPubKey that sends to the given public key.
- createP2PKOutputScript(byte[]) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a scriptPubKey that encodes payment to the given raw public key.
- createP2PKOutputScript(ECKey) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a scriptPubKey that encodes payment to the given raw public key.
- createP2SHMultiSigInputScript(List<TransactionSignature>, Script) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Create a program that satisfies a P2SH OP_CHECKMULTISIG program.
- createP2SHOutputScript(byte[]) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a scriptPubKey that sends to the given script hash.
- createP2SHOutputScript(int, List<ECKey>) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a P2SH output script for n-of-m multisig with given public keys and threshold.
- createP2SHOutputScript(Script) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a scriptPubKey for a given redeem script.
- createP2WPKHOutputScript(byte[]) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a segwit scriptPubKey that sends to the given public key hash.
- createP2WPKHOutputScript(ECKey) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a segwit scriptPubKey that sends to the given public key.
- createP2WSHOutputScript(byte[]) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a segwit scriptPubKey that sends to the given script hash.
- createP2WSHOutputScript(Script) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates a segwit scriptPubKey for the given redeem script.
- createPaymentAck(Protos.Payment, String) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
-
Create a payment ack.
- createPaymentMessage(List<Transaction>, List<Protos.Output>, String, byte[]) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
-
Create a payment message.
- createPaymentMessage(List<Transaction>, Coin, Address, String, byte[]) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
-
Create a payment message with one standard pay to address output.
- createPaymentRequest(NetworkParameters, List<Protos.Output>, String, String, byte[]) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
-
Create a payment request.
- createPaymentRequest(NetworkParameters, Coin, Address, String, String, byte[]) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
-
Create a payment request with one standard pay to address output.
- createPayToAddressOutput(Coin, Address) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
-
Create a standard pay to address output for usage in
PaymentProtocol.createPaymentRequest(org.bitcoinj.core.NetworkParameters, org.bitcoinj.core.Coin, org.bitcoinj.core.Address, java.lang.String, java.lang.String, byte[])
andPaymentProtocol.createPaymentMessage(java.util.List<org.bitcoinj.core.Transaction>, org.bitcoinj.core.Coin, org.bitcoinj.core.Address, java.lang.String, byte[])
. - createPeer(PeerAddress, VersionMessage) - Method in class org.bitcoinj.core.PeerGroup
-
You can override this to customise the creation of
Peer
objects. - createPeerGroup() - Method in class org.bitcoinj.kits.WalletAppKit
- createPrivateExecutor() - Method in class org.bitcoinj.core.PeerGroup
- createRedeemScript(int, List<ECKey>) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Creates an n-of-m multisig redeem script with given public keys and threshold.
- createSend(Address, Coin) - Method in class org.bitcoinj.wallet.Wallet
-
Statelessly creates a transaction that sends the given value to address.
- createSend(Address, Coin, boolean) - Method in class org.bitcoinj.wallet.Wallet
-
Statelessly creates a transaction that sends the given value to address.
- createWallet() - Method in class org.bitcoinj.kits.WalletAppKit
- CREATION_TIMESTAMP_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Key
- CREATION_TIMESTAMP_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Script
- creationTimeSeconds - Variable in class org.bitcoinj.core.ECKey
- creationTimeSecs - Variable in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- currencyCode - Variable in class org.bitcoinj.utils.Fiat
- CURRENT - org.bitcoinj.core.NetworkParameters.ProtocolVersion
- CURRENT_WALLET_VERSION - Static variable in class org.bitcoinj.wallet.WalletProtobufSerializer
-
Current version used for serializing wallets.
- currentAddress(KeyChain.KeyPurpose) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns address for a
KeyChainGroup.currentKey(KeyChain.KeyPurpose)
- currentAddress(KeyChain.KeyPurpose) - Method in class org.bitcoinj.wallet.Wallet
-
Returns address for a
Wallet.currentKey(KeyChain.KeyPurpose)
- currentChangeAddress() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the address used for change outputs.
- currentKey(KeyChain.KeyPurpose) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns a key that hasn't been seen in a transaction yet, and which is suitable for displaying in a wallet user interface as "a convenient key to receive funds on" when the purpose parameter is
KeyChain.KeyPurpose.RECEIVE_FUNDS
. - currentKey(KeyChain.KeyPurpose) - Method in class org.bitcoinj.wallet.Wallet
-
Returns a key that hasn't been seen in a transaction yet, and which is suitable for displaying in a wallet user interface as "a convenient key to receive funds on" when the purpose parameter is
KeyChain.KeyPurpose.RECEIVE_FUNDS
. - CurrentKeyChangeEventListener - Interface in org.bitcoinj.wallet.listeners
- currentReceiveAddress() - Method in class org.bitcoinj.wallet.Wallet
-
An alias for calling
Wallet.currentAddress(KeyChain.KeyPurpose)
withKeyChain.KeyPurpose.RECEIVE_FUNDS
as the parameter. - currentReceiveKey() - Method in class org.bitcoinj.wallet.Wallet
-
An alias for calling
Wallet.currentKey(KeyChain.KeyPurpose)
withKeyChain.KeyPurpose.RECEIVE_FUNDS
as the parameter. - currentTimeMillis() - Static method in class org.bitcoinj.core.Utils
-
Returns the current time in milliseconds since the epoch, or a mocked out equivalent.
- currentTimeSeconds() - Static method in class org.bitcoinj.core.Utils
-
Returns the current time in seconds since the epoch, or a mocked out equivalent.
- cursor - Variable in class org.bitcoinj.core.Message
- CURVE - Static variable in class org.bitcoinj.core.ECKey
-
The parameters of the secp256k1 curve that Bitcoin uses.
- CustomTransactionSigner - Class in org.bitcoinj.signers
-
This signer may be used as a template for creating custom multisig transaction signers.
- CustomTransactionSigner() - Constructor for class org.bitcoinj.signers.CustomTransactionSigner
- CustomTransactionSigner.SignatureAndKey - Class in org.bitcoinj.signers
D
- DaemonThreadFactory - Class in org.bitcoinj.utils
-
Thread factory whose threads are marked as daemon and won't prevent process exit.
- DaemonThreadFactory() - Constructor for class org.bitcoinj.utils.DaemonThreadFactory
- DaemonThreadFactory(String) - Constructor for class org.bitcoinj.utils.DaemonThreadFactory
- data - Variable in class org.bitcoinj.core.Bech32.Bech32Data
- data - Variable in class org.bitcoinj.script.ScriptChunk
-
For push operations, this is the vector to be pushed on the stack.
- data(byte[]) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds a copy of the given byte array as a data element (i.e.
- data(int, byte[]) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds a copy of the given byte array as a data element (i.e.
- DATA_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Extension
- DATA_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.ScriptWitness
- DATA_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Tag
- DatabaseFullPrunedBlockStore - Class in org.bitcoinj.store
-
A generic full pruned block store for a relational database.
- DatabaseFullPrunedBlockStore(NetworkParameters, String, int, String, String, String) - Constructor for class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Create a new DatabaseFullPrunedBlockStore, using the full connection URL instead of a hostname and password, and optionally allowing a schema to be specified.
- dataHash - Variable in class org.bitcoinj.core.CheckpointManager
- dateTimeFormat(long) - Static method in class org.bitcoinj.core.Utils
-
Formats a given date+time value to an ISO 8601 string.
- dateTimeFormat(Date) - Static method in class org.bitcoinj.core.Utils
-
Formats a given date+time value to an ISO 8601 string.
- DEAD - org.bitcoinj.core.TransactionConfidence.ConfidenceType
-
If DEAD, then it means the transaction won't confirm unless there is another re-org, because some other transaction is spending one of its inputs.
- DEAD - org.bitcoinj.wallet.Protos.Transaction.Pool
-
Double-spent by a transaction in the best chain
- DEAD - org.bitcoinj.wallet.Protos.TransactionConfidence.Type
-
Either if overriding_transaction is present or transaction is dead coinbase.
- DEAD - org.bitcoinj.wallet.WalletTransaction.Pool
- DEAD_VALUE - Static variable in enum org.bitcoinj.wallet.Protos.Transaction.Pool
-
Double-spent by a transaction in the best chain
- DEAD_VALUE - Static variable in enum org.bitcoinj.wallet.Protos.TransactionConfidence.Type
-
Either if overriding_transaction is present or transaction is dead coinbase.
- decimalGroups - Variable in class org.bitcoinj.utils.BtcFormat
- decimalMark(char) - Method in class org.bitcoinj.utils.MonetaryFormat
-
Set character to use as the decimal mark.
- decode(String) - Static method in class org.bitcoinj.core.Base58
-
Decodes the given base58 string into the original data bytes.
- decode(String) - Static method in class org.bitcoinj.core.Bech32
-
Decode a Bech32 string.
- decodeChecked(String) - Static method in class org.bitcoinj.core.Base58
-
Decodes the given base58 string into the original data bytes, using the checksum in the last 4 bytes of the decoded data to verify that the rest are correct.
- decodeCompactBits(long) - Static method in class org.bitcoinj.core.Utils
-
The "compact" format is a representation of a whole number N using an unsigned 32 bit number similar to a floating point format.
- decodeFromBitcoin(byte[], boolean, boolean) - Static method in class org.bitcoinj.crypto.TransactionSignature
-
Returns a decoded signature.
- decodeFromDER(byte[]) - Static method in class org.bitcoinj.core.ECKey.ECDSASignature
- decodeFromOpN(int) - Static method in class org.bitcoinj.script.Script
- decodeMPI(byte[], boolean) - Static method in class org.bitcoinj.core.Utils
-
MPI encoded numbers are produced by the OpenSSL BN_bn2mpi function.
- decodeOpN() - Method in class org.bitcoinj.script.ScriptChunk
-
If this chunk is an OP_N opcode returns the equivalent integer value.
- decodeToBigInteger(String) - Static method in class org.bitcoinj.core.Base58
- decompress() - Method in class org.bitcoinj.core.ECKey
-
Returns a copy of this key, but with the public point represented in uncompressed form.
- decompress() - Method in class org.bitcoinj.crypto.LazyECPoint
-
Returns a decompressed version of this elliptic curve point.
- decompressPoint(LazyECPoint) - Static method in class org.bitcoinj.core.ECKey
-
Deprecated.
- decrypt(CharSequence) - Method in class org.bitcoinj.wallet.Wallet
-
Decrypt the wallet with the wallets keyCrypter and password.
- decrypt(String) - Method in class org.bitcoinj.crypto.BIP38PrivateKey
- decrypt(EncryptedData, KeyParameter) - Method in interface org.bitcoinj.crypto.KeyCrypter
-
Decrypt the provided encrypted bytes, converting them into unencrypted bytes.
- decrypt(EncryptedData, KeyParameter) - Method in class org.bitcoinj.crypto.KeyCrypterScrypt
-
Decrypt bytes previously encrypted with this class.
- decrypt(KeyCrypter, String, KeyParameter) - Method in class org.bitcoinj.wallet.DeterministicSeed
- decrypt(KeyCrypter, KeyParameter) - Method in class org.bitcoinj.core.ECKey
-
Create a decrypted private key with the keyCrypter and AES key supplied.
- decrypt(KeyCrypter, KeyParameter) - Method in class org.bitcoinj.crypto.DeterministicKey
- decrypt(KeyParameter) - Method in class org.bitcoinj.core.ECKey
-
Create a decrypted private key with AES key.
- decrypt(KeyParameter) - Method in class org.bitcoinj.crypto.DeterministicKey
- decrypt(KeyParameter) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Decrypt the keys in the group using the previously given key crypter and the AES key.
- decrypt(KeyParameter) - Method in class org.bitcoinj.wallet.Wallet
-
Decrypt the wallet with the wallets keyCrypter and AES key.
- DecryptingKeyBag - Class in org.bitcoinj.wallet
-
A DecryptingKeyBag filters a pre-existing key bag, decrypting keys as they are requested using the provided AES key.
- DecryptingKeyBag(KeyBag, KeyParameter) - Constructor for class org.bitcoinj.wallet.DecryptingKeyBag
- DEFAULT - Static variable in interface org.bitcoinj.wallet.KeyChainGroupStructure
-
Default
KeyChainGroupStructure
implementation. - DEFAULT_BLOOM_FILTER_FP_RATE - Static variable in class org.bitcoinj.core.PeerGroup
-
The default Bloom filter false positive rate, which is selected to be extremely low such that you hardly ever download false positives.
- DEFAULT_CAPACITY - Static variable in class org.bitcoinj.store.SPVBlockStore
-
The default number of headers that will be stored in the ring buffer.
- DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class org.bitcoinj.core.PeerGroup
-
The default timeout between when a connection attempt begins and version message exchange completes
- DEFAULT_CONNECTIONS - Static variable in class org.bitcoinj.core.PeerGroup
-
The default number of connections to the p2p network the library will try to build.
- DEFAULT_EVENT_HORIZON - Static variable in class org.bitcoinj.core.Context
- DEFAULT_INITIAL_MILLIS - Static variable in class org.bitcoinj.utils.ExponentialBackoff
- DEFAULT_KEYSTORE_PASSWORD - Static variable in interface org.bitcoinj.crypto.TrustStoreLoader
- DEFAULT_KEYSTORE_TYPE - Static variable in interface org.bitcoinj.crypto.TrustStoreLoader
- DEFAULT_MAXIMUM_MILLIS - Static variable in class org.bitcoinj.utils.ExponentialBackoff
- DEFAULT_MULTIPLIER - Static variable in class org.bitcoinj.utils.ExponentialBackoff
- DEFAULT_PASSPHRASE_FOR_MNEMONIC - Static variable in class org.bitcoinj.wallet.DeterministicKeyChain
- DEFAULT_PING_INTERVAL_MSEC - Static variable in class org.bitcoinj.core.PeerGroup
-
How many milliseconds to wait after receiving a pong before sending another ping.
- DEFAULT_SEED_ENTROPY_BITS - Static variable in class org.bitcoinj.wallet.DeterministicSeed
- DEFAULT_TX_FEE - Static variable in class org.bitcoinj.core.Transaction
-
If using this feePerKb, transactions will get confirmed within the next couple of blocks.
- defaultBlocksDir() - Static method in class org.bitcoinj.utils.BlockFileLoader
- DefaultCoinSelector - Class in org.bitcoinj.wallet
-
This class implements a
CoinSelector
which attempts to get the highest priority possible. - DefaultCoinSelector() - Constructor for class org.bitcoinj.wallet.DefaultCoinSelector
- DefaultKeyChainFactory - Class in org.bitcoinj.wallet
-
Default factory for creating keychains while de-serializing.
- DefaultKeyChainFactory() - Constructor for class org.bitcoinj.wallet.DefaultKeyChainFactory
- DefaultRiskAnalysis - Class in org.bitcoinj.wallet
-
The default risk analysis.
- DefaultRiskAnalysis.Analyzer - Class in org.bitcoinj.wallet
- DefaultRiskAnalysis.RuleViolation - Enum in org.bitcoinj.wallet
-
The reason a transaction is considered non-standard, returned by
DefaultRiskAnalysis.isStandard(Transaction)
. - defaultSerializer - Variable in class org.bitcoinj.core.NetworkParameters
- DefaultTrustStoreLoader() - Constructor for class org.bitcoinj.crypto.TrustStoreLoader.DefaultTrustStoreLoader
- delegate - Variable in class org.bitcoinj.wallet.FilteringCoinSelector
- deleteStore() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Deletes the store by deleting the tables within the database.
- dependencies - Variable in class org.bitcoinj.wallet.DefaultRiskAnalysis
- DEPTH - org.bitcoinj.core.TransactionConfidence.Listener.ChangeReason
-
Occurs when a transaction that is in the best known block chain gets buried by another block.
- DEPTH_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.TransactionConfidence
- derByteStream() - Method in class org.bitcoinj.core.ECKey.ECDSASignature
- derive(int) - Method in class org.bitcoinj.crypto.DeterministicKey
-
Derives a child at the given index using hardened derivation.
- derive(String, String, int, int) - Static method in class org.bitcoinj.crypto.PBKDF2SHA512
- deriveChild(List<ChildNumber>, boolean, boolean, ChildNumber) - Method in class org.bitcoinj.crypto.DeterministicHierarchy
-
Extends the tree by calculating the requested child for the given path.
- deriveChildKey(DeterministicKey, int) - Static method in class org.bitcoinj.crypto.HDKeyDerivation
-
Derives a key given the "extended" child number, ie.
- deriveChildKey(DeterministicKey, ChildNumber) - Static method in class org.bitcoinj.crypto.HDKeyDerivation
- deriveChildKeyBytesFromPrivate(DeterministicKey, ChildNumber) - Static method in class org.bitcoinj.crypto.HDKeyDerivation
- deriveChildKeyBytesFromPublic(DeterministicKey, ChildNumber, HDKeyDerivation.PublicDeriveMode) - Static method in class org.bitcoinj.crypto.HDKeyDerivation
- deriveChildKeyFromPrivate(DeterministicKey, ChildNumber) - Static method in class org.bitcoinj.crypto.HDKeyDerivation
- deriveChildKeyFromPublic(DeterministicKey, ChildNumber, HDKeyDerivation.PublicDeriveMode) - Static method in class org.bitcoinj.crypto.HDKeyDerivation
- deriveKey(CharSequence) - Method in interface org.bitcoinj.crypto.KeyCrypter
-
Create a KeyParameter (which typically contains an AES key)
- deriveKey(CharSequence) - Method in class org.bitcoinj.crypto.KeyCrypterScrypt
-
Generate AES key.
- deriveNextChild(List<ChildNumber>, boolean, boolean, boolean) - Method in class org.bitcoinj.crypto.DeterministicHierarchy
-
Extends the tree by calculating the next key that hangs off the given parent path.
- deriveThisOrNextChildKey(DeterministicKey, int) - Static method in class org.bitcoinj.crypto.HDKeyDerivation
-
Derives a key of the "extended" child number, ie.
- DERSIG - org.bitcoinj.script.Script.VerifyFlag
- DESCRIPTION_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Wallet
- deserialize(ByteBuffer) - Method in class org.bitcoinj.core.BitcoinSerializer
-
Reads a message from the given ByteBuffer and returns it.
- deserialize(ByteBuffer) - Method in class org.bitcoinj.core.MessageSerializer
-
Reads a message from the given ByteBuffer and returns it.
- deserialize(NetworkParameters, byte[]) - Static method in class org.bitcoinj.crypto.DeterministicKey
-
Deserialize an HD Key with no parent
- deserialize(NetworkParameters, byte[], DeterministicKey) - Static method in class org.bitcoinj.crypto.DeterministicKey
-
Deserialize an HD Key.
- deserializeB58(String, NetworkParameters) - Static method in class org.bitcoinj.crypto.DeterministicKey
-
Deserialize a base-58-encoded HD Key with no parent
- deserializeB58(DeterministicKey, String, NetworkParameters) - Static method in class org.bitcoinj.crypto.DeterministicKey
-
Deserialize a base-58-encoded HD Key.
- deserializeCompact(NetworkParameters, ByteBuffer) - Static method in class org.bitcoinj.core.StoredBlock
-
De-serializes the stored block from a custom packed format.
- deserializeExtension(WalletExtension, byte[]) - Method in class org.bitcoinj.wallet.Wallet
-
Deserialize the wallet extension with the supplied data and then install it, replacing any existing extension that may have existed with the same ID.
- deserializeHeader(ByteBuffer) - Method in class org.bitcoinj.core.BitcoinSerializer
-
Deserializes only the header in case packet meta data is needed before decoding the payload.
- deserializeHeader(ByteBuffer) - Method in class org.bitcoinj.core.MessageSerializer
-
Deserializes only the header in case packet meta data is needed before decoding the payload.
- deserializePayload(BitcoinSerializer.BitcoinPacketHeader, ByteBuffer) - Method in class org.bitcoinj.core.BitcoinSerializer
-
Deserialize payload only.
- deserializePayload(BitcoinSerializer.BitcoinPacketHeader, ByteBuffer) - Method in class org.bitcoinj.core.MessageSerializer
-
Deserialize payload only.
- deserializeWalletExtension(Wallet, byte[]) - Method in interface org.bitcoinj.wallet.WalletExtension
-
Loads the contents of this object from the wallet.
- destroy() - Method in class org.bitcoinj.store.LevelDBBlockStore
- Details(ECKey, URI) - Constructor for class org.bitcoinj.net.discovery.HttpDiscovery.Details
- DETERMINISTIC_KEY - org.bitcoinj.wallet.Protos.Key.Type
-
A key that was derived deterministically.
- DETERMINISTIC_KEY_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Key
- DETERMINISTIC_KEY_VALUE - Static variable in enum org.bitcoinj.wallet.Protos.Key.Type
-
A key that was derived deterministically.
- DETERMINISTIC_MNEMONIC - org.bitcoinj.wallet.Protos.Key.Type
-
Not really a key, but rather contains the mnemonic phrase for a deterministic key hierarchy in the private_key field.
- DETERMINISTIC_MNEMONIC_VALUE - Static variable in enum org.bitcoinj.wallet.Protos.Key.Type
-
Not really a key, but rather contains the mnemonic phrase for a deterministic key hierarchy in the private_key field.
- DETERMINISTIC_SEED_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Key
- DeterministicHierarchy - Class in org.bitcoinj.crypto
-
A DeterministicHierarchy calculates and keeps a whole tree (hierarchy) of keys originating from a single root key.
- DeterministicHierarchy(DeterministicKey) - Constructor for class org.bitcoinj.crypto.DeterministicHierarchy
-
Constructs a new hierarchy rooted at the given key.
- DeterministicKey - Class in org.bitcoinj.crypto
-
A deterministic key is a node in a
DeterministicHierarchy
. - DeterministicKey(List<ChildNumber>, byte[], BigInteger, DeterministicKey, int, int) - Constructor for class org.bitcoinj.crypto.DeterministicKey
-
Constructs a key from its components, including its private key data and possibly-redundant information about its parent key.
- DeterministicKey(List<ChildNumber>, byte[], KeyCrypter, LazyECPoint, EncryptedData, DeterministicKey) - Constructor for class org.bitcoinj.crypto.DeterministicKey
-
Constructs a key from its components.
- DeterministicKey(List<ChildNumber>, byte[], LazyECPoint, BigInteger, DeterministicKey) - Constructor for class org.bitcoinj.crypto.DeterministicKey
-
Constructs a key from its components.
- DeterministicKey(List<ChildNumber>, byte[], LazyECPoint, DeterministicKey, int, int) - Constructor for class org.bitcoinj.crypto.DeterministicKey
-
Constructs a key from its components, including its public key data and possibly-redundant information about its parent key.
- DeterministicKey(List<ChildNumber>, byte[], ECPoint, boolean, BigInteger, DeterministicKey) - Constructor for class org.bitcoinj.crypto.DeterministicKey
- DeterministicKey(DeterministicKey, DeterministicKey) - Constructor for class org.bitcoinj.crypto.DeterministicKey
-
Clones the key
- DeterministicKey(HDPath, byte[], BigInteger, DeterministicKey) - Constructor for class org.bitcoinj.crypto.DeterministicKey
-
Constructs a key from its components.
- DeterministicKeyChain - Class in org.bitcoinj.wallet
-
A deterministic key chain is a
KeyChain
that uses the BIP 32 standard, as implemented byDeterministicHierarchy
, to derive all the keys in the keychain from a master seed. - DeterministicKeyChain(DeterministicKey, boolean, boolean, Script.ScriptType) - Constructor for class org.bitcoinj.wallet.DeterministicKeyChain
-
Creates a deterministic key chain from a watched or spendable account key.
- DeterministicKeyChain(KeyCrypter, KeyParameter, DeterministicKeyChain) - Constructor for class org.bitcoinj.wallet.DeterministicKeyChain
-
For use in encryption when
DeterministicKeyChain.toEncrypted(KeyCrypter, KeyParameter)
is called, so that subclasses can override that method and create an instance of the right class. - DeterministicKeyChain(DeterministicSeed, KeyCrypter, Script.ScriptType, List<ChildNumber>) - Constructor for class org.bitcoinj.wallet.DeterministicKeyChain
-
Creates a deterministic key chain with an encrypted deterministic seed using the provided account path.
- DeterministicKeyChain.Builder<T extends DeterministicKeyChain.Builder<T>> - Class in org.bitcoinj.wallet
- DeterministicSeed - Class in org.bitcoinj.wallet
-
Holds the seed bytes for the BIP32 deterministic wallet algorithm, inside a
DeterministicKeyChain
. - DeterministicSeed(byte[], String, long) - Constructor for class org.bitcoinj.wallet.DeterministicSeed
-
Constructs a seed from a BIP 39 mnemonic code.
- DeterministicSeed(byte[], List<String>, long) - Constructor for class org.bitcoinj.wallet.DeterministicSeed
- DeterministicSeed(String, byte[], String, long) - Constructor for class org.bitcoinj.wallet.DeterministicSeed
- DeterministicSeed(SecureRandom, int, String) - Constructor for class org.bitcoinj.wallet.DeterministicSeed
-
Constructs a seed from a BIP 39 mnemonic code.
- DeterministicSeed(List<String>, byte[], String, long) - Constructor for class org.bitcoinj.wallet.DeterministicSeed
-
Constructs a seed from a BIP 39 mnemonic code.
- DeterministicSeed(EncryptedData, EncryptedData, long) - Constructor for class org.bitcoinj.wallet.DeterministicSeed
- DeterministicUpgradeRequiredException - Exception in org.bitcoinj.wallet
-
Indicates that an attempt was made to use HD wallet features on a wallet that was deserialized from an old, pre-HD random wallet without calling upgradeToDeterministic() beforehand.
- DeterministicUpgradeRequiredException() - Constructor for exception org.bitcoinj.wallet.DeterministicUpgradeRequiredException
- DeterministicUpgradeRequiresPassword - Exception in org.bitcoinj.wallet
-
Indicates that the pre-HD random wallet is encrypted, so you should try the upgrade again after getting the users password.
- DeterministicUpgradeRequiresPassword() - Constructor for exception org.bitcoinj.wallet.DeterministicUpgradeRequiresPassword
- digits(char) - Method in class org.bitcoinj.utils.MonetaryFormat
-
Set character range to use for representing digits.
- directory - Variable in class org.bitcoinj.kits.WalletAppKit
- directory() - Method in class org.bitcoinj.kits.WalletAppKit
- disconnect() - Method in class org.bitcoinj.core.TransactionInput
-
If this input is connected, check the output is connected back to this input and release it if so, making it spendable once again.
- DISCONNECT_ON_CONFLICT - org.bitcoinj.core.TransactionInput.ConnectMode
- disconnectTransactions(StoredBlock) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Disconnect each transaction in the block (after reading it from the block store) Only called if(shouldVerifyTransactions())
- disconnectTransactions(StoredBlock) - Method in class org.bitcoinj.core.BlockChain
- disconnectTransactions(StoredBlock) - Method in class org.bitcoinj.core.FullPrunedBlockChain
-
This is broken for blocks that do not pass BIP30, so all BIP30-failing blocks which are allowed to fail BIP30 must be checkpointed.
- DISCOURAGE_UPGRADABLE_NOPS - org.bitcoinj.script.Script.VerifyFlag
- discoverPeers() - Method in class org.bitcoinj.core.PeerGroup
-
Returns number of discovered peers.
- discovery - Variable in class org.bitcoinj.kits.WalletAppKit
- displayName - Variable in class org.bitcoinj.protocols.payments.PaymentProtocol.PkiVerificationData
-
Display name of the payment requestor, could be a domain name, email address, legal name, etc
- div(int) - Method in class org.bitcoinj.core.Coin
-
Alias for divide
- div(long) - Method in class org.bitcoinj.core.Coin
-
Alias for divide
- divide(long) - Method in class org.bitcoinj.core.Coin
- divide(long) - Method in class org.bitcoinj.utils.Fiat
- divide(Coin) - Method in class org.bitcoinj.core.Coin
- divide(Fiat) - Method in class org.bitcoinj.utils.Fiat
- divideAndRemainder(long) - Method in class org.bitcoinj.core.Coin
- divideAndRemainder(long) - Method in class org.bitcoinj.utils.Fiat
- DnsDiscovery - Class in org.bitcoinj.net.discovery
-
Supports peer discovery through DNS.
- DnsDiscovery(String[], NetworkParameters) - Constructor for class org.bitcoinj.net.discovery.DnsDiscovery
-
Supports finding peers through DNS A records.
- DnsDiscovery(NetworkParameters) - Constructor for class org.bitcoinj.net.discovery.DnsDiscovery
-
Supports finding peers through DNS A records.
- DnsDiscovery.DnsSeedDiscovery - Class in org.bitcoinj.net.discovery
-
Implements discovery from a single DNS host.
- DnsSeedDiscovery(NetworkParameters, String) - Constructor for class org.bitcoinj.net.discovery.DnsDiscovery.DnsSeedDiscovery
- dnsSeeds - Variable in class org.bitcoinj.core.NetworkParameters
- doMaintenance(KeyChainGroupStructure, KeyParameter, boolean) - Method in class org.bitcoinj.wallet.Wallet
-
A wallet app should call this from time to time in order to let the wallet craft and send transactions needed to re-organise coins internally.
- doMaintenance(KeyParameter, boolean) - Method in class org.bitcoinj.wallet.Wallet
-
A wallet app should call this from time to time in order to let the wallet craft and send transactions needed to re-organise coins internally.
- doneDownload() - Method in class org.bitcoinj.core.listeners.DownloadProgressTracker
-
Called when we are done downloading the block chain.
- DONT_SEND - org.bitcoinj.core.PeerGroup.FilterRecalculateMode
- doSetChainHead(StoredBlock) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Called before setting chain head in memory.
- doSetChainHead(StoredBlock) - Method in class org.bitcoinj.core.BlockChain
- doSetChainHead(StoredBlock) - Method in class org.bitcoinj.core.FullPrunedBlockChain
- doSign(Sha256Hash, BigInteger) - Method in class org.bitcoinj.core.ECKey
- downloadBlockChain() - Method in class org.bitcoinj.core.PeerGroup
-
Download the blockchain from peers.
- downloadDependencies(Transaction) - Method in class org.bitcoinj.core.Peer
-
Returns a future that wraps a list of all transactions that the given transaction depends on, recursively.
- downloadDependenciesInternal(int, int, Transaction, Object, List<Transaction>) - Method in class org.bitcoinj.core.Peer
- downloadListener - Variable in class org.bitcoinj.kits.WalletAppKit
- DownloadProgressTracker - Class in org.bitcoinj.core.listeners
-
An implementation of
AbstractPeerDataEventListener
that listens to chain download events and tracks progress as a percentage. - DownloadProgressTracker() - Constructor for class org.bitcoinj.core.listeners.DownloadProgressTracker
- drainOrphanBlocks() - Method in class org.bitcoinj.core.AbstractBlockChain
-
Returns the hashes of the currently stored orphan blocks and then deletes them from this objects storage.
- DRMWorkaround - Class in org.bitcoinj.crypto
- DRMWorkaround() - Constructor for class org.bitcoinj.crypto.DRMWorkaround
- dropAllPeers() - Method in class org.bitcoinj.core.PeerGroup
-
Gracefully drops all connected peers.
- dropParent() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns the same key with the parent pointer removed (it still knows its own path and the parent fingerprint).
- dropPrivateBytes() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns the same key with the private bytes removed.
- dummy() - Static method in class org.bitcoinj.crypto.TransactionSignature
-
Returns a dummy invalid signature whose R/S values are set such that they will take up the same number of encoded bytes as a real signature.
- DumpedPrivateKey - Class in org.bitcoinj.core
-
Parses and generates private keys in the form used by the Bitcoin "dumpprivkey" command.
- dumpedPrivateKeyHeader - Variable in class org.bitcoinj.core.NetworkParameters
- dumpSizes() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Dumps information about the size of actual data in the database to standard output The only truly useless data counted is printed in the form "N in id indexes" This does not take database indexes into account.
- duplicate() - Method in class org.bitcoinj.core.TransactionConfidence
-
Returns a copy of this object.
- duplicate() - Method in class org.bitcoinj.core.VersionMessage
- DUPLICATE - org.bitcoinj.core.RejectMessage.RejectCode
-
The message was relayed multiple times or described an object which is in conflict with another.
- duplicateDetached() - Method in class org.bitcoinj.core.TransactionInput
-
Returns a copy of the input detached from its containing transaction, if need be.
- duplicateDetached() - Method in class org.bitcoinj.core.TransactionOutput
-
Returns a copy of the output detached from its containing transaction, if need be.
- DuplicatedOutPoint() - Constructor for exception org.bitcoinj.core.VerificationException.DuplicatedOutPoint
- DUST - org.bitcoinj.core.RejectMessage.RejectCode
-
This refers to a specific form of NONSTANDARD transactions, which have an output smaller than some constant defining them as dust (this is no longer used).
- DUST - org.bitcoinj.wallet.DefaultRiskAnalysis.RuleViolation
- DustySendRequested() - Constructor for exception org.bitcoinj.wallet.Wallet.DustySendRequested
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeeds
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoin.protocols.payments.Protos.Output
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoin.protocols.payments.Protos.Payment
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoin.protocols.payments.Protos.PaymentACK
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoin.protocols.payments.Protos.X509Certificates
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.DeterministicKey
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.EncryptedData
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.ExchangeRate
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.Extension
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.Key
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.PeerAddress
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.Script
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.ScriptWitness
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.ScryptParameters
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.Tag
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.Transaction
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.TransactionInput
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.TransactionOutput
- dynamicMethod(GeneratedMessageLite.MethodToInvoke, Object, Object) - Method in class org.bitcoinj.wallet.Protos.Wallet
E
- earliestKeyTimeSecs - Variable in class org.bitcoinj.net.FilterMerger.Result
- EASIEST_DIFFICULTY_TARGET - Static variable in class org.bitcoinj.core.Block
-
A value for difficultyTarget (nBits) that allows (slightly less than) half of all possible hash solutions.
- ECDSASignature(BigInteger, BigInteger) - Constructor for class org.bitcoinj.core.ECKey.ECDSASignature
-
Constructs a signature with the given components.
- ECKey - Class in org.bitcoinj.core
-
Represents an elliptic curve public and (optionally) private key, usable for digital signatures but not encryption.
- ECKey() - Constructor for class org.bitcoinj.core.ECKey
-
Generates an entirely new keypair.
- ECKey(byte[], byte[]) - Constructor for class org.bitcoinj.core.ECKey
-
Deprecated.
- ECKey(BigInteger, byte[], boolean) - Constructor for class org.bitcoinj.core.ECKey
-
Deprecated.
- ECKey(BigInteger, LazyECPoint) - Constructor for class org.bitcoinj.core.ECKey
- ECKey(BigInteger, ECPoint, boolean) - Constructor for class org.bitcoinj.core.ECKey
- ECKey(SecureRandom) - Constructor for class org.bitcoinj.core.ECKey
-
Generates an entirely new keypair with the given
SecureRandom
object. - ECKey(EncryptedData, byte[], KeyCrypter) - Constructor for class org.bitcoinj.core.ECKey
-
Deprecated.
- ECKey.ECDSASignature - Class in org.bitcoinj.core
-
Groups the two components that make up a signature, and provides a way to encode to DER form, which is how ECDSA signatures are represented when embedded in other data structures in the Bitcoin protocol.
- ECKey.KeyIsEncryptedException - Exception in org.bitcoinj.core
- ECKey.MissingPrivateKeyException - Exception in org.bitcoinj.core
- ecMultiply - Variable in class org.bitcoinj.crypto.BIP38PrivateKey
- EMPTY - org.bitcoinj.wallet.BasicKeyChain.State
- EMPTY - Static variable in class org.bitcoinj.core.TransactionWitness
- EmptyInputsOrOutputs() - Constructor for exception org.bitcoinj.core.VerificationException.EmptyInputsOrOutputs
- EmptyMessage - Class in org.bitcoinj.core
-
Parent class for header only messages that don't have a payload.
- EmptyMessage() - Constructor for class org.bitcoinj.core.EmptyMessage
- EmptyMessage(NetworkParameters) - Constructor for class org.bitcoinj.core.EmptyMessage
- EmptyMessage(NetworkParameters, byte[], int) - Constructor for class org.bitcoinj.core.EmptyMessage
- emptyWallet - Variable in class org.bitcoinj.wallet.SendRequest
-
When emptyWallet is set, all coins selected by the coin selector are sent to the first output in tx (its value is ignored and set to
Wallet.getBalance()
- the fees required for the transaction). - emptyWallet(Address) - Static method in class org.bitcoinj.wallet.SendRequest
- enableStrictMode() - Static method in class org.bitcoinj.core.Context
-
Require that new threads use
Context.propagate(Context)
orContextPropagatingThreadFactory
, rather than using a heuristic for the desired context. - encode() - Method in class org.bitcoinj.core.VarInt
-
Encodes the value into its minimal representation.
- encode(byte[]) - Static method in class org.bitcoinj.core.Base58
-
Encodes the given bytes as a base58 string (no checksum is appended).
- encode(String, byte[]) - Static method in class org.bitcoinj.core.Bech32
-
Deprecated.
- encode(Bech32.Bech32Data) - Static method in class org.bitcoinj.core.Bech32
-
Encode a Bech32 string.
- encode(Bech32.Encoding, String, byte[]) - Static method in class org.bitcoinj.core.Bech32
-
Encode a Bech32 string.
- encodeChecked(int, byte[]) - Static method in class org.bitcoinj.core.Base58
-
Encodes the given version and bytes as a base58 string.
- encodeCompactBits(BigInteger) - Static method in class org.bitcoinj.core.Utils
- encodeMPI(BigInteger, boolean) - Static method in class org.bitcoinj.core.Utils
-
MPI encoded numbers are produced by the OpenSSL BN_bn2mpi function.
- encodeToBitcoin() - Method in class org.bitcoinj.crypto.TransactionSignature
-
What we get back from the signer are the two components of a signature, r and s.
- encodeToDER() - Method in class org.bitcoinj.core.ECKey.ECDSASignature
-
DER is an international standard for serializing data structures which is widely used in cryptography.
- encodeToOpN(int) - Static method in class org.bitcoinj.script.Script
- encoding - Variable in class org.bitcoinj.core.Bech32.Bech32Data
- encrypt(byte[], KeyParameter) - Method in interface org.bitcoinj.crypto.KeyCrypter
-
Encrypt the supplied bytes, converting them into ciphertext.
- encrypt(byte[], KeyParameter) - Method in class org.bitcoinj.crypto.KeyCrypterScrypt
-
Password based encryption using AES - CBC 256 bits.
- encrypt(CharSequence) - Method in class org.bitcoinj.wallet.Wallet
-
Convenience wrapper around
Wallet.encrypt(KeyCrypter, org.bouncycastle.crypto.params.KeyParameter)
which uses the default Scrypt key derivation algorithm and parameters to derive a key from the given password. - encrypt(KeyCrypter, KeyParameter) - Method in class org.bitcoinj.core.ECKey
-
Create an encrypted private key with the keyCrypter and the AES key supplied.
- encrypt(KeyCrypter, KeyParameter) - Method in class org.bitcoinj.crypto.DeterministicKey
- encrypt(KeyCrypter, KeyParameter) - Method in class org.bitcoinj.wallet.DeterministicSeed
- encrypt(KeyCrypter, KeyParameter) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Encrypt the keys in the group using the KeyCrypter and the AES key.
- encrypt(KeyCrypter, KeyParameter) - Method in class org.bitcoinj.wallet.Wallet
-
Encrypt the wallet using the KeyCrypter and the AES key.
- encrypt(KeyCrypter, KeyParameter, DeterministicKey) - Method in class org.bitcoinj.crypto.DeterministicKey
- EncryptableItem - Interface in org.bitcoinj.crypto
-
Provides a uniform way to access something that can be optionally encrypted with a
KeyCrypter
, yielding anEncryptedData
, and which can have a creation time associated with it. - EncryptableKeyChain - Interface in org.bitcoinj.wallet
-
An encryptable key chain is a key-chain that can be encrypted with a user-provided password or AES key.
- ENCRYPTED_DATA_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Key
- ENCRYPTED_DETERMINISTIC_SEED_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Key
- ENCRYPTED_PRIVATE_KEY_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.EncryptedData
- ENCRYPTED_SCRYPT_AES - org.bitcoinj.wallet.Protos.Key.Type
-
Encrypted with Scrypt and AES - Original bitcoin secp256k1 curve
- ENCRYPTED_SCRYPT_AES - org.bitcoinj.wallet.Protos.Wallet.EncryptionType
-
All keys are encrypted with a passphrase based KDF of scrypt and AES encryption
- ENCRYPTED_SCRYPT_AES_VALUE - Static variable in enum org.bitcoinj.wallet.Protos.Key.Type
-
Encrypted with Scrypt and AES - Original bitcoin secp256k1 curve
- ENCRYPTED_SCRYPT_AES_VALUE - Static variable in enum org.bitcoinj.wallet.Protos.Wallet.EncryptionType
-
All keys are encrypted with a passphrase based KDF of scrypt and AES encryption
- encryptedBytes - Variable in class org.bitcoinj.crypto.EncryptedData
- EncryptedData - Class in org.bitcoinj.crypto
-
An instance of EncryptedData is a holder for an initialization vector and encrypted bytes.
- EncryptedData(byte[], byte[]) - Constructor for class org.bitcoinj.crypto.EncryptedData
- encryptedPrivateKey - Variable in class org.bitcoinj.core.ECKey
- ENCRYPTION_PARAMETERS_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Wallet
- ENCRYPTION_TYPE_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Wallet
- encryptionIsReversible(ECKey, ECKey, KeyCrypter, KeyParameter) - Static method in class org.bitcoinj.core.ECKey
-
Check that it is possible to decrypt the key with the keyCrypter and that the original key is returned.
- endBloomFilterCalculation() - Method in interface org.bitcoinj.core.PeerFilterProvider
- endBloomFilterCalculation() - Method in class org.bitcoinj.wallet.Wallet
- endFilteredBlock(FilteredBlock) - Method in class org.bitcoinj.core.Peer
- engineGenerateSeed(int) - Method in class org.bitcoinj.crypto.LinuxSecureRandom
- engineNextBytes(byte[]) - Method in class org.bitcoinj.crypto.LinuxSecureRandom
- engineSetSeed(byte[]) - Method in class org.bitcoinj.crypto.LinuxSecureRandom
- ensureMinRequiredFee - Variable in class org.bitcoinj.wallet.SendRequest
-
Requires that there be enough fee for a default Bitcoin Core to at least relay the transaction.
- entropy - Variable in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- entropy(byte[], long) - Method in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
-
Creates a deterministic key chain starting from the given entropy.
- equals(Object) - Method in class org.bitcoinj.core.BitcoinSerializer
- equals(Object) - Method in class org.bitcoinj.core.Block
- equals(Object) - Method in class org.bitcoinj.core.BlockLocator
- equals(Object) - Method in class org.bitcoinj.core.BloomFilter
- equals(Object) - Method in class org.bitcoinj.core.Coin
- equals(Object) - Method in class org.bitcoinj.core.ECKey.ECDSASignature
- equals(Object) - Method in class org.bitcoinj.core.ECKey
- equals(Object) - Method in class org.bitcoinj.core.FilteredBlock
- equals(Object) - Method in class org.bitcoinj.core.GetBlocksMessage
- equals(Object) - Method in class org.bitcoinj.core.GetHeadersMessage
-
Compares two getheaders messages.
- equals(Object) - Method in class org.bitcoinj.core.GetUTXOsMessage
- equals(Object) - Method in class org.bitcoinj.core.InventoryItem
- equals(Object) - Method in class org.bitcoinj.core.LegacyAddress
- equals(Object) - Method in class org.bitcoinj.core.ListMessage
- equals(Object) - Method in class org.bitcoinj.core.NetworkParameters
- equals(Object) - Method in class org.bitcoinj.core.PartialMerkleTree
- equals(Object) - Method in class org.bitcoinj.core.PeerAddress
- equals(Object) - Method in class org.bitcoinj.core.PrefixedChecksummedBytes
- equals(Object) - Method in class org.bitcoinj.core.RejectMessage
- equals(Object) - Method in class org.bitcoinj.core.Sha256Hash
- equals(Object) - Method in class org.bitcoinj.core.StoredBlock
- equals(Object) - Method in class org.bitcoinj.core.StoredUndoableBlock
- equals(Object) - Method in class org.bitcoinj.core.Transaction
- equals(Object) - Method in class org.bitcoinj.core.TransactionInput
- equals(Object) - Method in class org.bitcoinj.core.TransactionOutPoint
- equals(Object) - Method in class org.bitcoinj.core.TransactionOutput
- equals(Object) - Method in class org.bitcoinj.core.TransactionWitness
- equals(Object) - Method in class org.bitcoinj.core.UTXO
- equals(Object) - Method in class org.bitcoinj.core.UTXOsMessage
- equals(Object) - Method in class org.bitcoinj.core.VersionMessage
- equals(Object) - Method in class org.bitcoinj.crypto.ChildNumber
- equals(Object) - Method in class org.bitcoinj.crypto.DeterministicKey
-
Verifies equality of all fields but NOT the parent pointer (thus the same key derived in two separate hierarchy objects will equal each other.
- equals(Object) - Method in class org.bitcoinj.crypto.EncryptedData
- equals(Object) - Method in class org.bitcoinj.crypto.KeyCrypterScrypt
- equals(Object) - Method in class org.bitcoinj.crypto.LazyECPoint
- equals(Object) - Method in class org.bitcoinj.script.Script
- equals(Object) - Method in class org.bitcoinj.script.ScriptChunk
- equals(Object) - Method in class org.bitcoinj.utils.BtcAutoFormat
-
Return true if the other instance is equivalent to this one.
- equals(Object) - Method in class org.bitcoinj.utils.BtcFixedFormat
-
Return true if the given object is equivalent to this one.
- equals(Object) - Method in class org.bitcoinj.utils.BtcFormat
-
Return true if the given object is equivalent to this one.
- equals(Object) - Method in class org.bitcoinj.utils.ExchangeRate
- equals(Object) - Method in class org.bitcoinj.utils.Fiat
- equals(Object) - Method in class org.bitcoinj.utils.MonetaryFormat
-
Two formats are equal if they have the same parameters.
- equals(Object) - Method in class org.bitcoinj.wallet.DeterministicSeed
- equals(ECPoint) - Method in class org.bitcoinj.crypto.LazyECPoint
- equalsOpCode(int) - Method in class org.bitcoinj.script.ScriptChunk
- ERROR - org.bitcoinj.core.InventoryItem.Type
- estimateBlockTime(int) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Returns an estimate of when the given block will be reached, assuming a perfect 10 minute average for each block.
- ESTIMATED - org.bitcoinj.wallet.Wallet.BalanceType
-
Balance calculated assuming all pending transactions are in fact included into the best chain by miners.
- ESTIMATED_SPENDABLE - org.bitcoinj.wallet.Wallet.BalanceType
-
Same as ESTIMATED but only for outputs we have the private keys for and can sign ourselves.
- estimateLockTime(AbstractBlockChain) - Method in class org.bitcoinj.core.Transaction
-
Returns either the lock time as a date, if it was specified in seconds, or an estimate based on the time in the current head block if it was specified as a block time.
- ExceededMaxTransactionSize() - Constructor for exception org.bitcoinj.wallet.Wallet.ExceededMaxTransactionSize
- ExcessiveValue() - Constructor for exception org.bitcoinj.core.VerificationException.ExcessiveValue
- EXCHANGE_RATE_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Transaction
- exchangeRate - Variable in class org.bitcoinj.wallet.SendRequest
-
If not null, this exchange rate is recorded with the transaction during completion.
- ExchangeRate - Class in org.bitcoinj.utils
- ExchangeRate(Coin, Fiat) - Constructor for class org.bitcoinj.utils.ExchangeRate
-
Construct exchange rate.
- ExchangeRate(Fiat) - Constructor for class org.bitcoinj.utils.ExchangeRate
-
Construct exchange rate.
- excludeOutputsSpentBy(Transaction) - Method in class org.bitcoinj.wallet.FilteringCoinSelector
- execute(Runnable) - Method in class org.bitcoinj.utils.Threading.UserThread
- executeScript(Transaction, long, Script, LinkedList<byte[]>, boolean) - Static method in class org.bitcoinj.script.Script
-
Deprecated.
- executeScript(Transaction, long, Script, LinkedList<byte[]>, Set<Script.VerifyFlag>) - Static method in class org.bitcoinj.script.Script
-
Exposes the script interpreter.
- executor - Variable in class org.bitcoinj.core.PeerGroup
- executor - Variable in class org.bitcoinj.utils.ListenerRegistration
- executor() - Method in class org.bitcoinj.net.NioClientManager
- Expired(String) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.Expired
- EXPIRES_FIELD_NUMBER - Static variable in class org.bitcoin.protocols.payments.Protos.PaymentDetails
- ExponentialBackoff - Class in org.bitcoinj.utils
-
Tracks successes and failures and calculates a time to retry the operation.
- ExponentialBackoff(ExponentialBackoff.Params) - Constructor for class org.bitcoinj.utils.ExponentialBackoff
- ExponentialBackoff.Params - Class in org.bitcoinj.utils
-
Parameters to configure a particular kind of exponential backoff.
- extend(List<ChildNumber>) - Method in class org.bitcoinj.crypto.HDPath
-
Extend the path by appending a relative path.
- extend(ChildNumber, ChildNumber...) - Method in class org.bitcoinj.crypto.HDPath
-
Extend the path by appending additional ChildNumber objects.
- extend(HDPath) - Method in class org.bitcoinj.crypto.HDPath
-
Extend the path by appending a relative path.
- EXTENSION_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.Wallet
- EXTERNAL_SUBPATH - Static variable in class org.bitcoinj.wallet.DeterministicKeyChain
- extractHashFromP2PKH(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Extract the pubkey hash from a P2PKH scriptPubKey.
- extractHashFromP2SH(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Extract the script hash from a P2SH scriptPubKey.
- extractHashFromP2WH(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Extract the pubkey hash from a P2WPKH or the script hash from a P2WSH scriptPubKey.
- extractKeyFromP2PK(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Extract the pubkey from a P2SH scriptPubKey.
- extractOutputKeyFromP2TR(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Extract the taproot output key from a P2TR scriptPubKey.
- extractWitnessCommitmentHash(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Retrieves the hash from a segwit commitment (in an output of the coinbase transaction).
F
- factory - Static variable in class org.bitcoinj.utils.Threading
- Factory() - Constructor for class org.bitcoinj.core.TransactionConfidence.Factory
- FACTORY - Static variable in class org.bitcoinj.wallet.DefaultRiskAnalysis
- FAKE_SIGNATURES - Static variable in class org.bitcoinj.core.ECKey
-
If this global variable is set to true, sign() creates a dummy signature and verify() always returns true.
- FEEFILTER - org.bitcoinj.core.NetworkParameters.ProtocolVersion
- FeeFilterMessage - Class in org.bitcoinj.core
-
Represents an "feefilter" message on the P2P network, which instructs a peer to filter transaction invs for transactions that fall below the feerate provided.
- FeeFilterMessage(NetworkParameters, byte[], BitcoinSerializer, int) - Constructor for class org.bitcoinj.core.FeeFilterMessage
- feePerKb - Variable in class org.bitcoinj.wallet.SendRequest
-
A transaction can have a fee attached, which is defined as the difference between the input values and output values.
- fiat - Variable in class org.bitcoinj.utils.ExchangeRate
- Fiat - Class in org.bitcoinj.utils
-
Represents a monetary fiat value.
- FIAT - Static variable in class org.bitcoinj.utils.MonetaryFormat
-
Standard format for fiat amounts.
- FIAT_CURRENCY_CODE_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.ExchangeRate
- FIAT_VALUE_FIELD_NUMBER - Static variable in class org.bitcoinj.wallet.Protos.ExchangeRate
- fiatToCoin(Fiat) - Method in class org.bitcoinj.utils.ExchangeRate
-
Convert a fiat amount to a coin amount using this exchange rate.
- FIELD_ADDRESS - Static variable in class org.bitcoinj.uri.BitcoinURI
- FIELD_AMOUNT - Static variable in class org.bitcoinj.uri.BitcoinURI
- FIELD_LABEL - Static variable in class org.bitcoinj.uri.BitcoinURI
- FIELD_MESSAGE - Static variable in class org.bitcoinj.uri.BitcoinURI
- FIELD_PAYMENT_REQUEST_URL - Static variable in class org.bitcoinj.uri.BitcoinURI
- FIFTY_COINS - Static variable in class org.bitcoinj.core.Coin
- FILE_PROLOGUE_BYTES - Static variable in class org.bitcoinj.store.SPVBlockStore
- fileLock - Variable in class org.bitcoinj.store.SPVBlockStore
- filename - Variable in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- filePrefix - Variable in class org.bitcoinj.kits.WalletAppKit
- FileTrustStoreLoader(File) - Constructor for class org.bitcoinj.crypto.TrustStoreLoader.FileTrustStoreLoader
- filter - Variable in class org.bitcoinj.net.FilterMerger.Result
- FILTERED_BLOCK - org.bitcoinj.core.InventoryItem.Type
- FilteredBlock - Class in org.bitcoinj.core
-
A FilteredBlock is used to relay a block with its transactions filtered using a
BloomFilter
. - FilteredBlock(NetworkParameters, byte[]) - Constructor for class org.bitcoinj.core.FilteredBlock
- FilteredBlock(NetworkParameters, Block, PartialMerkleTree) - Constructor for class org.bitcoinj.core.FilteredBlock
- FilteringCoinSelector - Class in org.bitcoinj.wallet
-
A filtering coin selector delegates to another coin selector, but won't select outputs spent by the given transactions.
- FilteringCoinSelector(CoinSelector) - Constructor for class org.bitcoinj.wallet.FilteringCoinSelector
- FilterMerger - Class in org.bitcoinj.net
-
A reusable object that will calculate, given a list of
PeerFilterProvider
s, a mergedBloomFilter
and earliest key time for all of them. - FilterMerger(double) - Constructor for class org.bitcoinj.net.FilterMerger
- FilterMerger.Result - Class in org.bitcoinj.net
- findKeyFromAddress(Address) - Method in class org.bitcoinj.wallet.Wallet
-
Locates a keypair from the wallet given the corresponding address.
- findKeyFromPubHash(byte[]) - Method in class org.bitcoinj.wallet.BasicKeyChain
- findKeyFromPubHash(byte[]) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- findKeyFromPubHash(byte[]) - Method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- findKeyFromPubKey(byte[]) - Method in class org.bitcoinj.wallet.BasicKeyChain
- findKeyFromPubKey(byte[]) - Method in class org.bitcoinj.wallet.DecryptingKeyBag
- findKeyFromPubKey(byte[]) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- findKeyFromPubKey(byte[]) - Method in interface org.bitcoinj.wallet.KeyBag
-
Locates a keypair from the keychain given the raw public key bytes.
- findKeyFromPubKey(byte[]) - Method in class org.bitcoinj.wallet.KeyChainGroup
- findKeyFromPubKey(byte[]) - Method in class org.bitcoinj.wallet.Wallet
-
Locates a keypair from the basicKeyChain given the raw public key bytes.
- findKeyFromPubKeyHash(byte[], Script.ScriptType) - Method in class org.bitcoinj.wallet.DecryptingKeyBag
- findKeyFromPubKeyHash(byte[], Script.ScriptType) - Method in interface org.bitcoinj.wallet.KeyBag
-
Locates a keypair from the keychain given the hash of the public key, and (optionally) by usage for a specific script type.
- findKeyFromPubKeyHash(byte[], Script.ScriptType) - Method in class org.bitcoinj.wallet.KeyChainGroup
- findKeyFromPubKeyHash(byte[], Script.ScriptType) - Method in class org.bitcoinj.wallet.Wallet
-
Locates a keypair from the basicKeyChain given the hash of the public key.
- findKeysBefore(long) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Returns a list of all ECKeys created after the given UNIX time.
- findOldestKeyAfter(long) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Returns the first ECKey created after the given UNIX time, or null if there is none.
- findPeersOfAtLeastVersion(long) - Method in class org.bitcoinj.core.PeerGroup
-
Returns an array list of peers that implement the given protocol version or better.
- findPeersWithServiceMask(int) - Method in class org.bitcoinj.core.PeerGroup
-
Returns an array list of peers that match the requested service bit mask.
- findRecoveryId(Sha256Hash, ECKey.ECDSASignature) - Method in class org.bitcoinj.core.ECKey
-
Returns the recovery ID, a byte with value between 0 and 3, inclusive, that specifies which of 4 possible curve points was used to sign a message.
- findRedeemDataByScriptHash(ByteString) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns the redeem script by its hash or null if this keychain did not generate the script.
- findRedeemDataByScriptHash(ByteString) - Method in class org.bitcoinj.wallet.MarriedKeyChain
- findRedeemDataFromScriptHash(byte[]) - Method in class org.bitcoinj.wallet.DecryptingKeyBag
- findRedeemDataFromScriptHash(byte[]) - Method in interface org.bitcoinj.wallet.KeyBag
-
Locates a redeem data (redeem script and keys) from the keychain given the hash of the script.
- findRedeemDataFromScriptHash(byte[]) - Method in class org.bitcoinj.wallet.KeyChainGroup
- findRedeemDataFromScriptHash(byte[]) - Method in class org.bitcoinj.wallet.Wallet
-
Locates a redeem data (redeem script and keys) from the keyChainGroup given the hash of the script.
- findWitnessCommitment() - Method in class org.bitcoinj.core.Transaction
-
Loops the outputs of a coinbase transaction to locate the witness commitment.
- followingKeys(List<DeterministicKey>) - Method in class org.bitcoinj.wallet.MarriedKeyChain.Builder
- followingKeys(DeterministicKey, DeterministicKey...) - Method in class org.bitcoinj.wallet.MarriedKeyChain.Builder
- FORCE_SEND_FOR_REFRESH - org.bitcoinj.core.PeerGroup.FilterRecalculateMode
- format(Object, int, int...) - Method in class org.bitcoinj.utils.BtcFormat
-
Formats a bitcoin value as a number and possibly a units indicator to a
String
.The type of monetary value argument can be any one of any of the following classes:Coin
,Integer
,Long
,BigInteger
,BigDecimal
. - format(Object, StringBuffer, FieldPosition) - Method in class org.bitcoinj.utils.BtcFormat
-
Formats a bitcoin value as a number and possibly a units indicator and appends the resulting text to the given string buffer.
- format(Object, StringBuffer, FieldPosition, int, int...) - Method in class org.bitcoinj.utils.BtcFormat
-
Formats a bitcoin value as a number and possibly a units indicator and appends the resulting text to the given string buffer.
- format(LogRecord) - Method in class org.bitcoinj.utils.BriefLogFormatter
- format(Monetary) - Method in class org.bitcoinj.utils.MonetaryFormat
-
Format the given monetary value to a human readable form.
- formatAddresses(boolean, boolean, KeyParameter, NetworkParameters, StringBuilder) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- formatAddresses(boolean, boolean, KeyParameter, NetworkParameters, StringBuilder) - Method in class org.bitcoinj.wallet.MarriedKeyChain
- formatKeyWithAddress(boolean, KeyParameter, StringBuilder, NetworkParameters, Script.ScriptType, String) - Method in class org.bitcoinj.core.ECKey
- formatKeyWithAddress(boolean, KeyParameter, StringBuilder, NetworkParameters, Script.ScriptType, String) - Method in class org.bitcoinj.crypto.DeterministicKey
- formatPath(List<ChildNumber>) - Static method in class org.bitcoinj.crypto.HDUtils
-
Deprecated.Use
HDPath#toString
- formatToCharacterIterator(Object) - Method in class org.bitcoinj.utils.BtcFormat
-
Formats a bitcoin monetary value and returns an
AttributedCharacterIterator
. - forNumber(int) - Static method in enum org.bitcoinj.wallet.Protos.Key.OutputScriptType
- forNumber(int) - Static method in enum org.bitcoinj.wallet.Protos.Key.Type
- forNumber(int) - Static method in enum org.bitcoinj.wallet.Protos.Transaction.Pool
- forNumber(int) - Static method in enum org.bitcoinj.wallet.Protos.Transaction.Purpose
- forNumber(int) - Static method in enum org.bitcoinj.wallet.Protos.TransactionConfidence.Source
- forNumber(int) - Static method in enum org.bitcoinj.wallet.Protos.TransactionConfidence.Type
- forNumber(int) - Static method in enum org.bitcoinj.wallet.Protos.Wallet.EncryptionType
- forServices(NetworkParameters, long) - Static method in class org.bitcoinj.net.discovery.MultiplexingDiscovery
-
Builds a suitable set of peer discoveries.
- forServices(NetworkParameters, long, boolean, boolean) - Static method in class org.bitcoinj.net.discovery.MultiplexingDiscovery
-
Builds a suitable set of peer discoveries.
- forTx(Transaction) - Static method in class org.bitcoinj.wallet.SendRequest
-
Simply wraps a pre-built incomplete transaction provided by you.
- FP_ESTIMATOR_ALPHA - Static variable in class org.bitcoinj.core.AbstractBlockChain
-
False positive estimation uses a double exponential moving average.
- FP_ESTIMATOR_BETA - Static variable in class org.bitcoinj.core.AbstractBlockChain
-
False positive estimation uses a double exponential moving average.
- fractionDigits(int) - Method in class org.bitcoinj.utils.BtcFormat.Builder
-
Specify the number of decimal places in the fraction part of formatted numbers.
- fractionGroups(int...) - Method in class org.bitcoinj.utils.BtcFormat.Builder
-
Specify the sizes of a variable number of optional decimal-place groups in the fraction part of formatted values.
- fractionPlaceGroups() - Method in class org.bitcoinj.utils.BtcFixedFormat
-
Return the fractional decimal-placing used when formatting.
- fractionPlaces() - Method in class org.bitcoinj.utils.BtcAutoFormat
-
Return the number of decimal places in the fraction part of numbers formatted by this instance.
- freshAddress(KeyChain.KeyPurpose) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns address for a
KeyChainGroup.freshKey(KeyChain.KeyPurpose)
- freshAddress(KeyChain.KeyPurpose) - Method in class org.bitcoinj.wallet.Wallet
-
Returns address for a
Wallet.freshKey(KeyChain.KeyPurpose)
- freshAddress(KeyChain.KeyPurpose, Script.ScriptType, long) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns a fresh address for a given
KeyChain.KeyPurpose
and of a givenScript.ScriptType
. - freshKey(KeyChain.KeyPurpose) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns a key that has not been returned by this method before (fresh).
- freshKey(KeyChain.KeyPurpose) - Method in class org.bitcoinj.wallet.Wallet
-
Returns a key that has not been returned by this method before (fresh).
- freshKeys(KeyChain.KeyPurpose, int) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns a key/s that have not been returned by this method before (fresh).
- freshKeys(KeyChain.KeyPurpose, int) - Method in class org.bitcoinj.wallet.Wallet
-
Returns a key/s that has not been returned by this method before (fresh).
- freshOutputScript(KeyChain.KeyPurpose) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Create a new key and return the matching output script.
- freshOutputScript(KeyChain.KeyPurpose) - Method in class org.bitcoinj.wallet.MarriedKeyChain
-
Create a new married key and return the matching output script
- freshReceiveAddress() - Method in class org.bitcoinj.wallet.Wallet
-
An alias for calling
Wallet.freshAddress(KeyChain.KeyPurpose)
withKeyChain.KeyPurpose.RECEIVE_FUNDS
as the parameter. - freshReceiveAddress(Script.ScriptType) - Method in class org.bitcoinj.wallet.Wallet
-
Returns a fresh receive address for a given
Script.ScriptType
. - freshReceiveKey() - Method in class org.bitcoinj.wallet.Wallet
-
An alias for calling
Wallet.freshKey(KeyChain.KeyPurpose)
withKeyChain.KeyPurpose.RECEIVE_FUNDS
as the parameter. - fromAddr - Variable in class org.bitcoinj.core.VersionMessage
-
The network address of the node emitting this message.
- fromASN1(byte[]) - Static method in class org.bitcoinj.core.ECKey
-
Construct an ECKey from an ASN.1 encoded private key.
- fromBase58(NetworkParameters, String) - Static method in class org.bitcoinj.core.DumpedPrivateKey
-
Construct a private key from its Base58 representation.
- fromBase58(NetworkParameters, String) - Static method in class org.bitcoinj.core.LegacyAddress
-
Construct a
LegacyAddress
from its base58 form. - fromBase58(NetworkParameters, String) - Static method in class org.bitcoinj.crypto.BIP38PrivateKey
-
Construct a password-protected private key from its Base58 representation.
- fromBech32(NetworkParameters, String) - Static method in class org.bitcoinj.core.SegwitAddress
-
Construct a
SegwitAddress
from its textual form. - fromEncrypted(EncryptedData, KeyCrypter, byte[]) - Static method in class org.bitcoinj.core.ECKey
-
Constructs a key that has an encrypted private component.
- fromHash(NetworkParameters, byte[]) - Static method in class org.bitcoinj.core.SegwitAddress
-
Construct a
SegwitAddress
that represents the given hash, which is either a pubkey hash or a script hash. - fromID(String) - Static method in class org.bitcoinj.core.NetworkParameters
-
Returns the network parameters for the given string ID or NULL if not recognized.
- fromKey(NetworkParameters, ECKey) - Static method in class org.bitcoinj.core.LegacyAddress
-
Construct a
LegacyAddress
that represents the public part of the givenECKey
. - fromKey(NetworkParameters, ECKey) - Static method in class org.bitcoinj.core.SegwitAddress
-
Construct a
SegwitAddress
that represents the public part of the givenECKey
. - fromKey(NetworkParameters, ECKey, Script.ScriptType) - Static method in class org.bitcoinj.core.Address
- fromKey(DeterministicKey, Script.ScriptType) - Method in class org.bitcoinj.wallet.KeyChainGroup.Builder
-
Add chain from a given account key.
- fromKeys(NetworkParameters, List<ECKey>) - Static method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- fromMasterKey(NetworkParameters, DeterministicKey, Script.ScriptType, ChildNumber) - Static method in class org.bitcoinj.wallet.Wallet
-
Creates a wallet that tracks payments to and from the HD key hierarchy rooted by the given spending key.
- fromMnemonic(String) - Static method in enum org.bitcoinj.script.ScriptError
- fromPaymentDetails(Protos.PaymentDetails) - Method in class org.bitcoinj.wallet.SendRequest
-
Copy data from payment request.
- fromPmtProtocolID(String) - Static method in class org.bitcoinj.core.NetworkParameters
-
Returns the network parameters for the given string paymentProtocolID or NULL if not recognized.
- fromPrivate(byte[]) - Static method in class org.bitcoinj.core.ECKey
-
Creates an ECKey given the private key only.
- fromPrivate(byte[], boolean) - Static method in class org.bitcoinj.core.ECKey
-
Creates an ECKey given the private key only.
- fromPrivate(BigInteger) - Static method in class org.bitcoinj.core.ECKey
-
Creates an ECKey given the private key only.
- fromPrivate(BigInteger, boolean) - Static method in class org.bitcoinj.core.ECKey
-
Creates an ECKey given the private key only.
- fromPrivateAndPrecalculatedPublic(byte[], byte[]) - Static method in class org.bitcoinj.core.ECKey
-
Creates an ECKey that simply trusts the caller to ensure that point is really the result of multiplying the generator point by the private key.
- fromPrivateAndPrecalculatedPublic(BigInteger, ECPoint, boolean) - Static method in class org.bitcoinj.core.ECKey
-
Creates an ECKey that simply trusts the caller to ensure that point is really the result of multiplying the generator point by the private key.
- fromProgram(NetworkParameters, int, byte[]) - Static method in class org.bitcoinj.core.SegwitAddress
-
Construct a
SegwitAddress
that represents the given program, which is either a pubkey, a pubkey hash or a script hash – depending on the script version. - fromProtobuf(List<Protos.Key>, KeyCrypter, KeyChainFactory) - Static method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns all the key chains found in the given list of keys.
- fromProtobufEncrypted(List<Protos.Key>, KeyCrypter) - Static method in class org.bitcoinj.wallet.BasicKeyChain
-
Returns a new BasicKeyChain that contains all basic, ORIGINAL type keys and also any encrypted keys extracted from the list.
- fromProtobufEncrypted(NetworkParameters, List<Protos.Key>, KeyCrypter, KeyChainFactory) - Static method in class org.bitcoinj.wallet.KeyChainGroup
- fromProtobufUnencrypted(List<Protos.Key>) - Static method in class org.bitcoinj.wallet.BasicKeyChain
-
Returns a new BasicKeyChain that contains all basic, ORIGINAL type keys extracted from the list.
- fromProtobufUnencrypted(NetworkParameters, List<Protos.Key>, KeyChainFactory) - Static method in class org.bitcoinj.wallet.KeyChainGroup
- fromPubKeyHash(NetworkParameters, byte[]) - Static method in class org.bitcoinj.core.LegacyAddress
-
Construct a
LegacyAddress
that represents the given pubkey hash. - fromPublicOnly(byte[]) - Static method in class org.bitcoinj.core.ECKey
-
Creates an ECKey that cannot be used for signing, only verifying signatures, from the given encoded point.
- fromPublicOnly(ECKey) - Static method in class org.bitcoinj.core.ECKey
- fromPublicOnly(ECPoint, boolean) - Static method in class org.bitcoinj.core.ECKey
-
Creates an ECKey that cannot be used for signing, only verifying signatures, from the given point.
- fromRandom(Script.ScriptType) - Method in class org.bitcoinj.wallet.KeyChainGroup.Builder
-
Add chain from a random source.
- fromScriptHash(NetworkParameters, byte[]) - Static method in class org.bitcoinj.core.LegacyAddress
-
Construct a
LegacyAddress
that represents the given P2SH script hash. - fromSeed(NetworkParameters, DeterministicSeed) - Static method in class org.bitcoinj.wallet.Wallet
- fromSeed(NetworkParameters, DeterministicSeed, List<ChildNumber>) - Static method in class org.bitcoinj.wallet.Wallet
- fromSeed(NetworkParameters, DeterministicSeed, Script.ScriptType) - Static method in class org.bitcoinj.wallet.Wallet
- fromSeed(NetworkParameters, DeterministicSeed, Script.ScriptType, List<ChildNumber>) - Static method in class org.bitcoinj.wallet.Wallet
- fromSeed(NetworkParameters, DeterministicSeed, Script.ScriptType, KeyChainGroupStructure) - Static method in class org.bitcoinj.wallet.Wallet
- fromSeed(DeterministicSeed, Script.ScriptType) - Method in class org.bitcoinj.wallet.KeyChainGroup.Builder
-
Add chain from a given seed.
- fromSpendingKey(NetworkParameters, DeterministicKey) - Static method in class org.bitcoinj.wallet.Wallet
- fromSpendingKey(NetworkParameters, DeterministicKey, Script.ScriptType) - Static method in class org.bitcoinj.wallet.Wallet
-
Creates a wallet that tracks payments to and from the HD key hierarchy rooted by the given spending key.
- fromSpendingKeyB58(NetworkParameters, String, long) - Static method in class org.bitcoinj.wallet.Wallet
-
Creates a wallet that tracks payments to and from the HD key hierarchy rooted by the given spending key.
- fromStream(InputStream) - Static method in class org.bitcoinj.core.UTXO
- fromString(NetworkParameters, String) - Static method in class org.bitcoinj.core.Address
-
Construct an address from its textual form.
- fromWatchingKey(NetworkParameters, DeterministicKey) - Static method in class org.bitcoinj.wallet.Wallet
- fromWatchingKey(NetworkParameters, DeterministicKey, Script.ScriptType) - Static method in class org.bitcoinj.wallet.Wallet
-
Creates a wallet that tracks payments to and from the HD key hierarchy rooted by the given watching key.
- fromWatchingKeyB58(NetworkParameters, String, long) - Static method in class org.bitcoinj.wallet.Wallet
-
Creates a wallet that tracks payments to and from the HD key hierarchy rooted by the given watching key.
- FullPrunedBlockChain - Class in org.bitcoinj.core
-
A FullPrunedBlockChain works in conjunction with a
FullPrunedBlockStore
to verify all the rules of the Bitcoin system, with the downside being a large cost in system resources. - FullPrunedBlockChain(Context, List<Wallet>, FullPrunedBlockStore) - Constructor for class org.bitcoinj.core.FullPrunedBlockChain
-
Constructs a block chain connected to the given list of wallets and a store.
- FullPrunedBlockChain(Context, FullPrunedBlockStore) - Constructor for class org.bitcoinj.core.FullPrunedBlockChain
-
Constructs a block chain connected to the given store.
- FullPrunedBlockChain(Context, Wallet, FullPrunedBlockStore) - Constructor for class org.bitcoinj.core.FullPrunedBlockChain
-
Constructs a block chain connected to the given wallet and store.
- FullPrunedBlockChain(NetworkParameters, List<Wallet>, FullPrunedBlockStore) - Constructor for class org.bitcoinj.core.FullPrunedBlockChain
- FullPrunedBlockChain(NetworkParameters, FullPrunedBlockStore) - Constructor for class org.bitcoinj.core.FullPrunedBlockChain
- FullPrunedBlockChain(NetworkParameters, Wallet, FullPrunedBlockStore) - Constructor for class org.bitcoinj.core.FullPrunedBlockChain
-
Constructs a block chain connected to the given wallet and store.
- FullPrunedBlockStore - Interface in org.bitcoinj.store
-
An implementor of FullPrunedBlockStore saves StoredBlock objects to some storage mechanism.
- fullStoreDepth - Variable in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- fullStoreDepth - Variable in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- future() - Method in class org.bitcoinj.core.TransactionBroadcast
- FutureVersion() - Constructor for exception org.bitcoinj.wallet.UnreadableWalletException.FutureVersion
G
- gathered - Variable in class org.bitcoinj.wallet.CoinSelection
- genesisBlock - Variable in class org.bitcoinj.params.AbstractBitcoinNetParams
-
lazy-initialized by the first call to
NetworkParameters.getGenesisBlock()
- get() - Static method in class org.bitcoinj.core.Context
-
Returns the current context that is associated with the calling thread.
- get() - Method in class org.bitcoinj.crypto.LazyECPoint
- get() - Static method in class org.bitcoinj.params.MainNetParams
- get() - Static method in class org.bitcoinj.params.Networks
- get() - Static method in class org.bitcoinj.params.RegTestParams
- get() - Static method in class org.bitcoinj.params.TestNet3Params
- get() - Static method in class org.bitcoinj.params.UnitTestParams
- get() - Static method in class org.bitcoinj.wallet.AllowUnconfirmedCoinSelector
-
Returns a global static instance of the selector.
- get() - Static method in class org.bitcoinj.wallet.DefaultCoinSelector
-
Returns a global static instance of the selector.
- get(int) - Method in class org.bitcoinj.core.BlockLocator
-
Get hash by index from this block locator.
- get(int) - Method in class org.bitcoinj.crypto.HDPath
- get(String) - Static method in class org.bitcoinj.utils.AppDataDirectory
-
Get and create if necessary the Path to the application data directory.
- get(List<ChildNumber>, boolean, boolean) - Method in class org.bitcoinj.crypto.DeterministicHierarchy
-
Returns a key for the given path, optionally creating it.
- get(Sha256Hash) - Method in class org.bitcoinj.core.TxConfidenceTable
-
Returns the
TransactionConfidence
for the given hash if we have downloaded it, or null if that tx hash is unknown to the system at this time. - get(Sha256Hash) - Method in interface org.bitcoinj.store.BlockStore
-
Returns the StoredBlock given a hash.
- get(Sha256Hash) - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- get(Sha256Hash) - Method in class org.bitcoinj.store.LevelDBBlockStore
- get(Sha256Hash) - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- get(Sha256Hash) - Method in class org.bitcoinj.store.MemoryBlockStore
- get(Sha256Hash) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- get(Sha256Hash) - Method in class org.bitcoinj.store.SPVBlockStore
- get(Sha256Hash, boolean) - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- get(Sha256Hash, boolean) - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- getAccountPath() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- getAccountPath(int) - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
The path to the root.
- getAccountPath(int) - Method in class org.bitcoinj.wallet.Protos.Key
-
The path to the root.
- getAccountPath(int) - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
The path to the root.
- getAccountPathCount() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
The path to the root.
- getAccountPathCount() - Method in class org.bitcoinj.wallet.Protos.Key
-
The path to the root.
- getAccountPathCount() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
The path to the root.
- getAccountPathList() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
The path to the root.
- getAccountPathList() - Method in class org.bitcoinj.wallet.Protos.Key
-
The path to the root.
- getAccountPathList() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
The path to the root.
- getActiveKeyChain() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns the key chain that's used for generation of default fresh/current keys.
- getActiveKeyChain() - Method in class org.bitcoinj.wallet.Wallet
-
Gets the default active keychain via
KeyChainGroup.getActiveKeyChain()
. - getActiveKeyChain(Script.ScriptType, long) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns the key chain that's used for generation of fresh/current keys of the given type.
- getActiveKeyChains() - Method in class org.bitcoinj.wallet.Wallet
-
Gets the active keychains via
KeyChainGroup.getActiveKeyChains(long)
. - getActiveKeyChains(long) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns the key chains that are used for generation of fresh/current keys, in the order of how they were added.
- getAddr() - Method in class org.bitcoinj.core.Peer
-
Sends a getaddr request to the peer and returns a future that completes with the answer once the peer has replied.
- getAddr() - Method in class org.bitcoinj.core.PeerAddress
- getAddress() - Method in class org.bitcoinj.core.PeerSocketHandler
- getAddress() - Method in class org.bitcoinj.core.UTXO
-
The address of this output, can be the empty string if none was provided at construction time or was deserialized
- getAddress() - Method in class org.bitcoinj.uri.BitcoinURI
-
The Bitcoin address from the URI, if one was present.
- getAddresses() - Method in class org.bitcoinj.core.AddressMessage
- getAddressFromP2PKHScript(NetworkParameters) - Method in class org.bitcoinj.core.TransactionOutput
-
Deprecated.
- getAddressFromP2SH(NetworkParameters) - Method in class org.bitcoinj.core.TransactionOutput
-
Deprecated.
- getAddressHeader() - Method in class org.bitcoinj.core.NetworkParameters
-
First byte of a base58 encoded address.
- GetAddrMessage - Class in org.bitcoinj.core
-
Represents the "getaddr" P2P protocol message, which requests network
AddressMessage
s from a peer. - GetAddrMessage(NetworkParameters) - Constructor for class org.bitcoinj.core.GetAddrMessage
- getAddrSeeds() - Method in class org.bitcoinj.core.NetworkParameters
-
Returns IP address of active peers.
- getAffineXCoord() - Method in class org.bitcoinj.crypto.LazyECPoint
- getAffineYCoord() - Method in class org.bitcoinj.crypto.LazyECPoint
- getAmount() - Method in class org.bitcoin.protocols.payments.Protos.Output.Builder
-
amount is integer-number-of-satoshis
- getAmount() - Method in class org.bitcoin.protocols.payments.Protos.Output
-
amount is integer-number-of-satoshis
- getAmount() - Method in interface org.bitcoin.protocols.payments.Protos.OutputOrBuilder
-
amount is integer-number-of-satoshis
- getAmount() - Method in class org.bitcoinj.uri.BitcoinURI
- getAppearedAtChainHeight() - Method in class org.bitcoinj.core.TransactionConfidence
-
Returns the chain height at which the transaction appeared if confidence type is BUILDING.
- getAppearedAtHeight() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
If type == BUILDING then this is the chain height at which the transaction was included.
- getAppearedAtHeight() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence
-
If type == BUILDING then this is the chain height at which the transaction was included.
- getAppearedAtHeight() - Method in interface org.bitcoinj.wallet.Protos.TransactionConfidenceOrBuilder
-
If type == BUILDING then this is the chain height at which the transaction was included.
- getAppearsInHashes() - Method in class org.bitcoinj.core.Transaction
-
Returns a map of block [hashes] which contain the transaction mapped to relativity counters, or null if this transaction doesn't have that data because it's not stored in the wallet or because it has never appeared in a block.
- getAssociatedTransactions() - Method in class org.bitcoinj.core.FilteredBlock
-
Gets the set of transactions which were provided using provideTransaction() which match in getTransactionHashes()
- getAvailableLocales() - Static method in class org.bitcoinj.utils.BtcFormat
-
Return an array of all locales for which the getInstance() method of this class can return localized instances.
- getBalance() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the AVAILABLE balance of this wallet.
- getBalance(CoinSelector) - Method in class org.bitcoinj.wallet.Wallet
-
Returns the balance that would be considered spendable by the given coin selector, including watched outputs (i.e.
- getBalance(Wallet.BalanceType) - Method in class org.bitcoinj.wallet.Wallet
-
Returns the balance of this wallet as calculated by the provided balanceType.
- getBalanceFuture(Coin, Wallet.BalanceType) - Method in class org.bitcoinj.wallet.Wallet
-
Returns a future that will complete when the balance of the given type has becom equal or larger to the given value.
- getBalanceSelectSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to select the total balance for a given address.
- getBestChainHeight() - Method in class org.bitcoinj.core.AbstractBlockChain
- getBestHeight() - Method in class org.bitcoinj.core.Peer
- getBip32HeaderP2PKHpriv() - Method in class org.bitcoinj.core.NetworkParameters
-
Returns the 4 byte header for BIP32 wallet P2PKH - private key part.
- getBip32HeaderP2PKHpub() - Method in class org.bitcoinj.core.NetworkParameters
-
Returns the 4 byte header for BIP32 wallet P2PKH - public key part.
- getBip32HeaderP2WPKHpriv() - Method in class org.bitcoinj.core.NetworkParameters
-
Returns the 4 byte header for BIP32 wallet P2WPKH - private key part.
- getBip32HeaderP2WPKHpub() - Method in class org.bitcoinj.core.NetworkParameters
-
Returns the 4 byte header for BIP32 wallet P2WPKH - public key part.
- getBitcoinProtocolVersion() - Method in enum org.bitcoinj.core.NetworkParameters.ProtocolVersion
- getBlock(Sha256Hash) - Method in class org.bitcoinj.core.Peer
-
Asks the connected peer for the block of the given hash, and returns a future representing the answer.
- getBlockHash(int) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
A list of blocks in which the transaction has been observed (on any chain).
- getBlockHash(int) - Method in class org.bitcoinj.wallet.Protos.Transaction
-
A list of blocks in which the transaction has been observed (on any chain).
- getBlockHash(int) - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
A list of blocks in which the transaction has been observed (on any chain).
- getBlockHashCount() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
A list of blocks in which the transaction has been observed (on any chain).
- getBlockHashCount() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
A list of blocks in which the transaction has been observed (on any chain).
- getBlockHashCount() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
A list of blocks in which the transaction has been observed (on any chain).
- getBlockHashList() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
A list of blocks in which the transaction has been observed (on any chain).
- getBlockHashList() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
A list of blocks in which the transaction has been observed (on any chain).
- getBlockHashList() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
A list of blocks in which the transaction has been observed (on any chain).
- getBlockHeader() - Method in class org.bitcoinj.core.FilteredBlock
-
Gets a copy of the block header
- getBlockHeaders() - Method in class org.bitcoinj.core.HeadersMessage
- getBlockInflation(int) - Method in class org.bitcoinj.core.Block
-
Deprecated.
- getBlockInflation(int) - Method in class org.bitcoinj.params.AbstractBitcoinNetParams
-
A utility method that calculates how much new Bitcoin would be created by the block at the given height.
- getBlockRelativityOffsets(int) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated int32 block_relativity_offsets = 11;
- getBlockRelativityOffsets(int) - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated int32 block_relativity_offsets = 11;
- getBlockRelativityOffsets(int) - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
repeated int32 block_relativity_offsets = 11;
- getBlockRelativityOffsetsCount() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated int32 block_relativity_offsets = 11;
- getBlockRelativityOffsetsCount() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated int32 block_relativity_offsets = 11;
- getBlockRelativityOffsetsCount() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
repeated int32 block_relativity_offsets = 11;
- getBlockRelativityOffsetsList() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated int32 block_relativity_offsets = 11;
- getBlockRelativityOffsetsList() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated int32 block_relativity_offsets = 11;
- getBlockRelativityOffsetsList() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
repeated int32 block_relativity_offsets = 11;
- GetBlocksMessage - Class in org.bitcoinj.core
-
Represents the "getblocks" P2P network message, which requests the hashes of the parts of the block chain we're missing.
- GetBlocksMessage(NetworkParameters, byte[]) - Constructor for class org.bitcoinj.core.GetBlocksMessage
- GetBlocksMessage(NetworkParameters, BlockLocator, Sha256Hash) - Constructor for class org.bitcoinj.core.GetBlocksMessage
- getBlockStore() - Method in class org.bitcoinj.core.AbstractBlockChain
-
Returns the
BlockStore
the chain was constructed with. - getBlockVerificationFlags(Block, VersionTally, Integer) - Method in class org.bitcoinj.core.NetworkParameters
-
The flags indicating which block validation tests should be applied to the given block.
- getBloomFilter() - Method in class org.bitcoinj.core.Peer
-
Returns the last
BloomFilter
set byPeer.setBloomFilter(BloomFilter)
. - getBloomFilter(double) - Method in class org.bitcoinj.wallet.Wallet
-
Gets a bloom filter that contains all of the public keys from this wallet, and which will provide the given false-positive rate.
- getBloomFilter(int, double, long) - Method in interface org.bitcoinj.core.PeerFilterProvider
-
Gets a bloom filter that contains all the necessary elements for the listener to receive relevant transactions.
- getBloomFilter(int, double, long) - Method in class org.bitcoinj.wallet.KeyChainGroup
- getBloomFilter(int, double, long) - Method in class org.bitcoinj.wallet.Wallet
-
Gets a bloom filter that contains all of the public keys from this wallet, and which will provide the given false-positive rate if it has size elements.
- getBloomFilterElementCount() - Method in interface org.bitcoinj.core.PeerFilterProvider
-
Gets the number of elements that will be added to a bloom filter returned by
PeerFilterProvider.getBloomFilter(int, double, long)
- getBloomFilterElementCount() - Method in class org.bitcoinj.wallet.KeyChainGroup
- getBloomFilterElementCount() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the number of distinct data items (note: NOT keys) that will be inserted into a bloom filter, when it is constructed.
- getBloomFilterFPRate() - Method in class org.bitcoinj.net.FilterMerger
- getBroadcastBy() - Method in class org.bitcoinj.core.TransactionConfidence
-
Returns a snapshot of
PeerAddress
es that announced the transaction. - getBroadcastBy(int) - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
repeated .wallet.PeerAddress broadcast_by = 6;
- getBroadcastBy(int) - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence
-
repeated .wallet.PeerAddress broadcast_by = 6;
- getBroadcastBy(int) - Method in interface org.bitcoinj.wallet.Protos.TransactionConfidenceOrBuilder
-
repeated .wallet.PeerAddress broadcast_by = 6;
- getBroadcastByCount() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
repeated .wallet.PeerAddress broadcast_by = 6;
- getBroadcastByCount() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence
-
repeated .wallet.PeerAddress broadcast_by = 6;
- getBroadcastByCount() - Method in interface org.bitcoinj.wallet.Protos.TransactionConfidenceOrBuilder
-
repeated .wallet.PeerAddress broadcast_by = 6;
- getBroadcastByList() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
repeated .wallet.PeerAddress broadcast_by = 6;
- getBroadcastByList() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence
-
repeated .wallet.PeerAddress broadcast_by = 6;
- getBroadcastByList() - Method in interface org.bitcoinj.wallet.Protos.TransactionConfidenceOrBuilder
-
repeated .wallet.PeerAddress broadcast_by = 6;
- getBroadcastByOrBuilder(int) - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence
-
repeated .wallet.PeerAddress broadcast_by = 6;
- getBroadcastByOrBuilderList() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence
-
repeated .wallet.PeerAddress broadcast_by = 6;
- getBytes() - Method in class org.bitcoinj.core.Sha256Hash
-
Returns the internal byte array, without defensively copying.
- getCertificate(int) - Method in class org.bitcoin.protocols.payments.Protos.X509Certificates.Builder
-
DER-encoded X.509 certificate chain
- getCertificate(int) - Method in class org.bitcoin.protocols.payments.Protos.X509Certificates
-
DER-encoded X.509 certificate chain
- getCertificate(int) - Method in interface org.bitcoin.protocols.payments.Protos.X509CertificatesOrBuilder
-
DER-encoded X.509 certificate chain
- getCertificateCount() - Method in class org.bitcoin.protocols.payments.Protos.X509Certificates.Builder
-
DER-encoded X.509 certificate chain
- getCertificateCount() - Method in class org.bitcoin.protocols.payments.Protos.X509Certificates
-
DER-encoded X.509 certificate chain
- getCertificateCount() - Method in interface org.bitcoin.protocols.payments.Protos.X509CertificatesOrBuilder
-
DER-encoded X.509 certificate chain
- getCertificateList() - Method in class org.bitcoin.protocols.payments.Protos.X509Certificates.Builder
-
DER-encoded X.509 certificate chain
- getCertificateList() - Method in class org.bitcoin.protocols.payments.Protos.X509Certificates
-
DER-encoded X.509 certificate chain
- getCertificateList() - Method in interface org.bitcoin.protocols.payments.Protos.X509CertificatesOrBuilder
-
DER-encoded X.509 certificate chain
- getChainCode() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns the chain code associated with this key.
- getChainCode() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
Random data that allows us to extend a key.
- getChainCode() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey
-
Random data that allows us to extend a key.
- getChainCode() - Method in interface org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder
-
Random data that allows us to extend a key.
- getChainHead() - Method in class org.bitcoinj.core.AbstractBlockChain
-
Returns the block at the head of the current best chain.
- getChainHead() - Method in interface org.bitcoinj.store.BlockStore
-
Returns the
StoredBlock
that represents the top of the chain of greatest total work. - getChainHead() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- getChainHead() - Method in class org.bitcoinj.store.LevelDBBlockStore
- getChainHead() - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- getChainHead() - Method in class org.bitcoinj.store.MemoryBlockStore
- getChainHead() - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- getChainHead() - Method in class org.bitcoinj.store.SPVBlockStore
- getChainHeadHeight() - Method in interface org.bitcoinj.core.UTXOProvider
-
Get the height of the chain head.
- getChainHeadHeight() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- getChainHeadHeight() - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- getChainHeadHeight() - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- getChainWork() - Method in class org.bitcoinj.core.StoredBlock
-
The total sum of work done in this block, and all the blocks below it in the chain.
- getCheckpointBefore(long) - Method in class org.bitcoinj.core.CheckpointManager
-
Returns a
StoredBlock
representing the last checkpoint before the given time, for example, normally you would want to know the checkpoint before the earliest wallet birthday. - getChildNumber() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns the last element of the path returned by
DeterministicKey.getPath()
- getChunks() - Method in class org.bitcoinj.script.Script
-
Returns an immutable list of the scripts parsed form.
- getCodeInstance() - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new auto-denominating instance that will indicate units using a currency code, for example,
"BTC"
. - getCodeInstance(int) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new code-style auto-formatter with the given number of fractional decimal places.
- getCodeInstance(Locale) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new code-style auto-formatter for the given locale.
- getCodeInstance(Locale, int) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new code-style auto-formatter for the given locale with the given number of fraction places.
- getCoinInstance() - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new coin-denominated formatter.
- getCoinInstance(int, int...) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new coin-denominated formatter with the specified fraction-places.
- getCoinInstance(Locale) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new coin-denominated formatter for the given locale.
- getCoinInstance(Locale, int, int...) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a newly-constructed instance for the given locale that will format values in terms of bitcoins, with the given minimum number of fractional decimal places.
- getCoinSelector() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the default
CoinSelector
object that is used by this wallet if no custom selector is specified. - getCoinValue() - Method in class org.bitcoinj.wallet.Protos.ExchangeRate.Builder
-
This much of satoshis (1E-8 fractions)…
- getCoinValue() - Method in class org.bitcoinj.wallet.Protos.ExchangeRate
-
This much of satoshis (1E-8 fractions)…
- getCoinValue() - Method in interface org.bitcoinj.wallet.Protos.ExchangeRateOrBuilder
-
This much of satoshis (1E-8 fractions)…
- getCombinedKeyLookaheadEpochs() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns a counter that increases (by an arbitrary amount) each time new keys have been calculated due to lookahead and thus the Bloom filter that was previously calculated has become stale.
- getCompatibilitySQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL statements to check if the database is compatible.
- getConfidence() - Method in class org.bitcoinj.core.Transaction
-
Returns the confidence object for this transaction from the
TxConfidenceTable
referenced by the implicitContext
. - getConfidence() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
Data describing where the transaction is in the chain.
- getConfidence() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
Data describing where the transaction is in the chain.
- getConfidence() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
Data describing where the transaction is in the chain.
- getConfidence(Context) - Method in class org.bitcoinj.core.Transaction
-
Returns the confidence object for this transaction from the
TxConfidenceTable
referenced by the givenContext
. - getConfidence(TxConfidenceTable) - Method in class org.bitcoinj.core.Transaction
-
Returns the confidence object for this transaction from the
TxConfidenceTable
- getConfidenceTable() - Method in class org.bitcoinj.core.Context
-
Returns the
TxConfidenceTable
created by this context. - getConfidenceType() - Method in class org.bitcoinj.core.TransactionConfidence
-
Returns a general statement of the level of confidence you can have in this transaction.
- getConnectedClientCount() - Method in class org.bitcoinj.net.BlockingClientManager
- getConnectedClientCount() - Method in interface org.bitcoinj.net.ClientConnectionManager
-
Gets the number of connected peers
- getConnectedClientCount() - Method in class org.bitcoinj.net.NioClientManager
- getConnectedKey(KeyBag) - Method in class org.bitcoinj.core.TransactionOutPoint
-
Returns the ECKey identified in the connected output, for either P2PKH, P2WPKH or P2PK scripts.
- getConnectedOutput() - Method in class org.bitcoinj.core.TransactionInput
-
Returns the connected output, assuming the input was connected with
TransactionInput.connect(TransactionOutput)
or variants at some point. - getConnectedOutput() - Method in class org.bitcoinj.core.TransactionOutPoint
-
An outpoint is a part of a transaction input that points to the output of another transaction.
- getConnectedPeers() - Method in class org.bitcoinj.core.PeerGroup
-
Returns a newly allocated list containing the currently connected peers.
- getConnectedPubKeyScript() - Method in class org.bitcoinj.core.TransactionOutPoint
-
Returns the pubkey script from the connected output.
- getConnectedRedeemData(KeyBag) - Method in class org.bitcoinj.core.TransactionInput
-
Alias for getOutpoint().getConnectedRedeemData(keyBag)
- getConnectedRedeemData(KeyBag) - Method in class org.bitcoinj.core.TransactionOutPoint
-
Returns the RedeemData identified in the connected output, for either P2PKH, P2WPKH, P2PK or P2SH scripts.
- getConnectedTransaction() - Method in class org.bitcoinj.core.TransactionInput
-
Returns the connected transaction, assuming the input was connected with
TransactionInput.connect(TransactionOutput)
or variants at some point. - getConnectFuture() - Method in class org.bitcoinj.net.BlockingClient
-
Returns a future that completes once connection has occurred at the socket level or with an exception if failed to connect.
- getConnectionOpenFuture() - Method in class org.bitcoinj.core.Peer
-
Provides a ListenableFuture that can be used to wait for the socket to connect.
- getContext() - Static method in class org.bitcoin.Secp256k1Context
- getContext() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the API context that this wallet was created with.
- getCountAtOrAbove(long) - Method in class org.bitcoinj.utils.VersionTally
-
Get the count of blocks at or above the given version, within the window.
- getCreateIndexesSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL statements that create the indexes (DDL).
- getCreateIndexesSQL() - Method in class org.bitcoinj.store.H2FullPrunedBlockStore
- getCreateIndexesSQL() - Method in class org.bitcoinj.store.MySQLFullPrunedBlockStore
- getCreateIndexesSQL() - Method in class org.bitcoinj.store.PostgresFullPrunedBlockStore
- getCreateSchemeSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL statements that create the schema (DDL).
- getCreateSchemeSQL() - Method in class org.bitcoinj.store.H2FullPrunedBlockStore
- getCreateSchemeSQL() - Method in class org.bitcoinj.store.MySQLFullPrunedBlockStore
- getCreateSchemeSQL() - Method in class org.bitcoinj.store.PostgresFullPrunedBlockStore
- getCreateTablesSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL statements that create the tables (DDL).
- getCreateTablesSQL() - Method in class org.bitcoinj.store.H2FullPrunedBlockStore
- getCreateTablesSQL() - Method in class org.bitcoinj.store.MySQLFullPrunedBlockStore
- getCreateTablesSQL() - Method in class org.bitcoinj.store.PostgresFullPrunedBlockStore
- getCreationTimeSeconds() - Method in class org.bitcoinj.core.ECKey
-
Returns the creation time of this key or zero if the key was deserialized from a version that did not store that data.
- getCreationTimeSeconds() - Method in class org.bitcoinj.crypto.DeterministicKey
-
The creation time of a deterministic key is equal to that of its parent, unless this key is the root of a tree in which case the time is stored alongside the key as per normal, see
ECKey.getCreationTimeSeconds()
. - getCreationTimeSeconds() - Method in interface org.bitcoinj.crypto.EncryptableItem
-
Returns the time in seconds since the UNIX epoch at which this encryptable item was first created/derived.
- getCreationTimeSeconds() - Method in class org.bitcoinj.script.Script
- getCreationTimeSeconds() - Method in class org.bitcoinj.wallet.DeterministicSeed
- getCreationTimestamp() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
Timestamp stored as millis since epoch.
- getCreationTimestamp() - Method in class org.bitcoinj.wallet.Protos.Key
-
Timestamp stored as millis since epoch.
- getCreationTimestamp() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
Timestamp stored as millis since epoch.
- getCreationTimestamp() - Method in class org.bitcoinj.wallet.Protos.Script.Builder
-
Timestamp stored as millis since epoch.
- getCreationTimestamp() - Method in class org.bitcoinj.wallet.Protos.Script
-
Timestamp stored as millis since epoch.
- getCreationTimestamp() - Method in interface org.bitcoinj.wallet.Protos.ScriptOrBuilder
-
Timestamp stored as millis since epoch.
- getCurrencyCode() - Method in class org.bitcoinj.utils.Fiat
- getCurve() - Method in class org.bitcoinj.crypto.LazyECPoint
- getData() - Method in class org.bitcoinj.wallet.Protos.Extension.Builder
-
required bytes data = 2;
- getData() - Method in class org.bitcoinj.wallet.Protos.Extension
-
required bytes data = 2;
- getData() - Method in interface org.bitcoinj.wallet.Protos.ExtensionOrBuilder
-
required bytes data = 2;
- getData() - Method in class org.bitcoinj.wallet.Protos.Tag.Builder
-
required bytes data = 2;
- getData() - Method in class org.bitcoinj.wallet.Protos.Tag
-
required bytes data = 2;
- getData() - Method in interface org.bitcoinj.wallet.Protos.TagOrBuilder
-
required bytes data = 2;
- getData(int) - Method in class org.bitcoinj.wallet.Protos.ScriptWitness.Builder
-
repeated bytes data = 1;
- getData(int) - Method in class org.bitcoinj.wallet.Protos.ScriptWitness
-
repeated bytes data = 1;
- getData(int) - Method in interface org.bitcoinj.wallet.Protos.ScriptWitnessOrBuilder
-
repeated bytes data = 1;
- getData(Peer, GetDataMessage) - Method in class org.bitcoinj.core.listeners.AbstractPeerDataEventListener
-
Deprecated.
- getData(Peer, GetDataMessage) - Method in interface org.bitcoinj.core.listeners.GetDataEventListener
-
Called when a peer receives a getdata message, usually in response to an "inv" being broadcast.
- getDatabaseDriverClass() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the database driver class,
- getDatabaseDriverClass() - Method in class org.bitcoinj.store.H2FullPrunedBlockStore
- getDatabaseDriverClass() - Method in class org.bitcoinj.store.MySQLFullPrunedBlockStore
- getDatabaseDriverClass() - Method in class org.bitcoinj.store.PostgresFullPrunedBlockStore
- getDataCount() - Method in class org.bitcoinj.wallet.Protos.ScriptWitness.Builder
-
repeated bytes data = 1;
- getDataCount() - Method in class org.bitcoinj.wallet.Protos.ScriptWitness
-
repeated bytes data = 1;
- getDataCount() - Method in interface org.bitcoinj.wallet.Protos.ScriptWitnessOrBuilder
-
repeated bytes data = 1;
- GetDataEventListener - Interface in org.bitcoinj.core.listeners
- getDataHash() - Method in class org.bitcoinj.core.CheckpointManager
-
Returns a hash of the concatenated checkpoint data.
- getDataList() - Method in class org.bitcoinj.wallet.Protos.ScriptWitness.Builder
-
repeated bytes data = 1;
- getDataList() - Method in class org.bitcoinj.wallet.Protos.ScriptWitness
-
repeated bytes data = 1;
- getDataList() - Method in interface org.bitcoinj.wallet.Protos.ScriptWitnessOrBuilder
-
repeated bytes data = 1;
- GetDataMessage - Class in org.bitcoinj.core
-
Represents the "getdata" P2P network message, which requests the contents of blocks or transactions given their hashes.
- GetDataMessage(NetworkParameters) - Constructor for class org.bitcoinj.core.GetDataMessage
- GetDataMessage(NetworkParameters, byte[]) - Constructor for class org.bitcoinj.core.GetDataMessage
- GetDataMessage(NetworkParameters, byte[], MessageSerializer, int) - Constructor for class org.bitcoinj.core.GetDataMessage
-
Deserializes a 'getdata' message.
- getDate() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the date that the payment request was generated.
- getDefaultInstance() - Static method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData
- getDefaultInstance() - Static method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds
- getDefaultInstance() - Static method in class org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeeds
- getDefaultInstance() - Static method in class org.bitcoin.protocols.payments.Protos.Output
- getDefaultInstance() - Static method in class org.bitcoin.protocols.payments.Protos.Payment
- getDefaultInstance() - Static method in class org.bitcoin.protocols.payments.Protos.PaymentACK
- getDefaultInstance() - Static method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
- getDefaultInstance() - Static method in class org.bitcoin.protocols.payments.Protos.PaymentRequest
- getDefaultInstance() - Static method in class org.bitcoin.protocols.payments.Protos.X509Certificates
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.DeterministicKey
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.EncryptedData
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.ExchangeRate
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.Extension
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.Key
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.PeerAddress
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.Script
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.ScriptWitness
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.ScryptParameters
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.Tag
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.Transaction
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.TransactionConfidence
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.TransactionInput
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.TransactionOutput
- getDefaultInstance() - Static method in class org.bitcoinj.wallet.Protos.Wallet
- getDefaultSerializer() - Method in class org.bitcoinj.core.NetworkParameters
-
Return the default serializer for this network.
- getDeleteOpenoutputsSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to delete a openoutputs record.
- getDeleteOpenoutputsSQL() - Method in class org.bitcoinj.store.MySQLFullPrunedBlockStore
- getDeleteUndoableBlocksSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to delete a undoableblocks record.
- getDepth() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Return this key's depth in the hierarchy, where the root node is at depth zero.
- getDepth() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
If type == BUILDING then this is the depth of the transaction in the blockchain.
- getDepth() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence
-
If type == BUILDING then this is the depth of the transaction in the blockchain.
- getDepth() - Method in interface org.bitcoinj.wallet.Protos.TransactionConfidenceOrBuilder
-
If type == BUILDING then this is the depth of the transaction in the blockchain.
- getDepthFuture(int) - Method in class org.bitcoinj.core.TransactionConfidence
- getDepthFuture(int, Executor) - Method in class org.bitcoinj.core.TransactionConfidence
-
Returns a future that completes when the transaction has been confirmed by "depth" blocks.
- getDepthInBlocks() - Method in class org.bitcoinj.core.TransactionConfidence
-
Depth in the chain is an approximation of how much time has elapsed since the transaction has been confirmed.
- getDescription() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
A UTF8 encoded text description of the wallet that is intended for end user provided text.
- getDescription() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
A UTF8 encoded text description of the wallet that is intended for end user provided text.
- getDescription() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
A UTF8 encoded text description of the wallet that is intended for end user provided text.
- getDescription() - Method in class org.bitcoinj.wallet.Wallet
-
Get the description of the wallet.
- getDescriptionBytes() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
A UTF8 encoded text description of the wallet that is intended for end user provided text.
- getDescriptionBytes() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
A UTF8 encoded text description of the wallet that is intended for end user provided text.
- getDescriptionBytes() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
A UTF8 encoded text description of the wallet that is intended for end user provided text.
- getDetachedPoint() - Method in class org.bitcoinj.crypto.LazyECPoint
- getDeterministicKey() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
optional .wallet.DeterministicKey deterministic_key = 7;
- getDeterministicKey() - Method in class org.bitcoinj.wallet.Protos.Key
-
optional .wallet.DeterministicKey deterministic_key = 7;
- getDeterministicKey() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
optional .wallet.DeterministicKey deterministic_key = 7;
- getDeterministicKeyChains() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns a copy of the current list of chains.
- getDeterministicSeed() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
The seed for a deterministic key hierarchy.
- getDeterministicSeed() - Method in class org.bitcoinj.wallet.Protos.Key
-
The seed for a deterministic key hierarchy.
- getDeterministicSeed() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
The seed for a deterministic key hierarchy.
- getDifficultyTarget() - Method in class org.bitcoinj.core.Block
-
Returns the difficulty of the proof of work that this block should meet encoded in compact form.
- getDifficultyTargetAsInteger() - Method in class org.bitcoinj.core.Block
-
Returns the difficulty target as a 256 bit value that can be compared to a SHA-256 hash.
- getDisplayNameFromCertificate(X509Certificate, boolean) - Static method in class org.bitcoinj.crypto.X509Utils
-
Returns either a string that "sums up" the certificate for humans, in a similar manner to what you might see in a web browser, or null if one cannot be extracted.
- getDnsSeeds() - Method in class org.bitcoinj.core.NetworkParameters
-
Returns DNS names that when resolved, give IP addresses of active peers.
- getDownloadPeer() - Method in class org.bitcoinj.core.PeerGroup
-
Returns the currently selected download peer.
- getDropTablesSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to drop all the tables (DDL).
- getDumpedPrivateKeyHeader() - Method in class org.bitcoinj.core.NetworkParameters
-
First byte of a base58 encoded dumped private key.
- getDuplicateKeyErrorCode() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the database specific error code that indicated a duplicate key error when inserting a record.
- getDuplicateKeyErrorCode() - Method in class org.bitcoinj.store.H2FullPrunedBlockStore
- getDuplicateKeyErrorCode() - Method in class org.bitcoinj.store.MySQLFullPrunedBlockStore
- getDuplicateKeyErrorCode() - Method in class org.bitcoinj.store.PostgresFullPrunedBlockStore
- getEarliestKeyCreationTime() - Method in interface org.bitcoinj.core.PeerFilterProvider
-
Returns the earliest timestamp (seconds since epoch) for which full/bloom-filtered blocks must be downloaded.
- getEarliestKeyCreationTime() - Method in class org.bitcoinj.wallet.BasicKeyChain
- getEarliestKeyCreationTime() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- getEarliestKeyCreationTime() - Method in interface org.bitcoinj.wallet.KeyChain
-
Returns the earliest creation time of keys in this chain, in seconds since the epoch.
- getEarliestKeyCreationTime() - Method in class org.bitcoinj.wallet.KeyChainGroup
- getEarliestKeyCreationTime() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the earliest creation time of keys or watched scripts in this wallet, in seconds since the epoch, ie the min of
ECKey.getCreationTimeSeconds()
. - getEncoded() - Method in class org.bitcoinj.crypto.LazyECPoint
- getEncoded(boolean) - Method in class org.bitcoinj.crypto.LazyECPoint
- getEncryptedData() - Method in class org.bitcoinj.core.ECKey
-
An alias for
ECKey.getEncryptedPrivateKey()
- getEncryptedData() - Method in interface org.bitcoinj.crypto.EncryptableItem
-
Returns the initialization vector and encrypted secret bytes, or null if not encrypted.
- getEncryptedData() - Method in class org.bitcoinj.wallet.DeterministicSeed
- getEncryptedData() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
If the secret data is encrypted, then secret_bytes is missing and this field is set.
- getEncryptedData() - Method in class org.bitcoinj.wallet.Protos.Key
-
If the secret data is encrypted, then secret_bytes is missing and this field is set.
- getEncryptedData() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
If the secret data is encrypted, then secret_bytes is missing and this field is set.
- getEncryptedDeterministicSeed() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
Encrypted version of the seed
- getEncryptedDeterministicSeed() - Method in class org.bitcoinj.wallet.Protos.Key
-
Encrypted version of the seed
- getEncryptedDeterministicSeed() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
Encrypted version of the seed
- getEncryptedPrivateKey() - Method in class org.bitcoinj.core.ECKey
-
Returns the the encrypted private key bytes and initialisation vector for this ECKey, or null if the ECKey is not encrypted.
- getEncryptedPrivateKey() - Method in class org.bitcoinj.wallet.Protos.EncryptedData.Builder
-
The encrypted private key
- getEncryptedPrivateKey() - Method in class org.bitcoinj.wallet.Protos.EncryptedData
-
The encrypted private key
- getEncryptedPrivateKey() - Method in interface org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder
-
The encrypted private key
- getEncryptedSeedData() - Method in class org.bitcoinj.wallet.DeterministicSeed
- getEncryptionParameters() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
optional .wallet.ScryptParameters encryption_parameters = 6;
- getEncryptionParameters() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
optional .wallet.ScryptParameters encryption_parameters = 6;
- getEncryptionParameters() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
optional .wallet.ScryptParameters encryption_parameters = 6;
- getEncryptionType() - Method in class org.bitcoinj.core.ECKey
- getEncryptionType() - Method in interface org.bitcoinj.crypto.EncryptableItem
-
Returns an enum constant describing what algorithm was used to encrypt the key or UNENCRYPTED.
- getEncryptionType() - Method in class org.bitcoinj.wallet.DeterministicSeed
- getEncryptionType() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
- getEncryptionType() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
- getEncryptionType() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
optional .wallet.Wallet.EncryptionType encryption_type = 5 [default = UNENCRYPTED];
- getEncryptionType() - Method in class org.bitcoinj.wallet.Wallet
-
Get the type of encryption used for this wallet.
- getError() - Method in exception org.bitcoinj.script.ScriptException
- getEventHorizon() - Method in class org.bitcoinj.core.Context
-
The event horizon is the number of blocks after which various bits of the library consider a transaction to be so confirmed that it's safe to delete data.
- getExchangeRate() - Method in class org.bitcoinj.core.Transaction
-
Getter for
Transaction.exchangeRate
. - getExchangeRate() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
Exchange rate that was valid when the transaction was sent.
- getExchangeRate() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
Exchange rate that was valid when the transaction was sent.
- getExchangeRate() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
Exchange rate that was valid when the transaction was sent.
- getExpires() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Timestamp; when this request should be considered invalid
- getExpires() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
Timestamp; when this request should be considered invalid
- getExpires() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentDetailsOrBuilder
-
Timestamp; when this request should be considered invalid
- getExpires() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the expires time of the payment request, or null if none.
- getExtension(int) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Extension extension = 10;
- getExtension(int) - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Extension extension = 10;
- getExtension(int) - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Extension extension = 10;
- getExtensionCount() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Extension extension = 10;
- getExtensionCount() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Extension extension = 10;
- getExtensionCount() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Extension extension = 10;
- getExtensionList() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Extension extension = 10;
- getExtensionList() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Extension extension = 10;
- getExtensionList() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Extension extension = 10;
- getExtensionOrBuilder(int) - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Extension extension = 10;
- getExtensionOrBuilderList() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Extension extension = 10;
- getExtensions() - Method in class org.bitcoinj.wallet.Wallet
-
Returns a snapshot of all registered extension objects.
- getFalsePositiveRate() - Method in class org.bitcoinj.core.AbstractBlockChain
-
The false positive rate is the average over all blockchain transactions of: - 1.0 if the transaction was false-positive (was irrelevant to all listeners) - 0.0 if the transaction was relevant or filtered out
- getFalsePositiveRate(int) - Method in class org.bitcoinj.core.BloomFilter
-
Returns the theoretical false positive rate of this filter if were to contain the given number of elements.
- getFastCatchupTimeSecs() - Method in class org.bitcoinj.core.PeerGroup
-
Returns the current fast catchup time.
- getFee() - Method in class org.bitcoinj.core.Transaction
-
The transaction fee is the difference of the value of all inputs and the value of all outputs.
- getFeeFilter() - Method in class org.bitcoinj.core.Peer
-
Returns the fee filter announced by the remote peer, interpreted as satoshis per kB.
- getFeePerKb() - Method in class org.bitcoinj.core.Context
-
The default fee per 1000 virtual bytes of transaction data to pay when completing transactions.
- getFeeRate() - Method in class org.bitcoinj.core.FeeFilterMessage
- getFiatCurrencyCode() - Method in class org.bitcoinj.wallet.Protos.ExchangeRate.Builder
-
ISO 4217 currency code (if available) of the fiat currency.
- getFiatCurrencyCode() - Method in class org.bitcoinj.wallet.Protos.ExchangeRate
-
ISO 4217 currency code (if available) of the fiat currency.
- getFiatCurrencyCode() - Method in interface org.bitcoinj.wallet.Protos.ExchangeRateOrBuilder
-
ISO 4217 currency code (if available) of the fiat currency.
- getFiatCurrencyCodeBytes() - Method in class org.bitcoinj.wallet.Protos.ExchangeRate.Builder
-
ISO 4217 currency code (if available) of the fiat currency.
- getFiatCurrencyCodeBytes() - Method in class org.bitcoinj.wallet.Protos.ExchangeRate
-
ISO 4217 currency code (if available) of the fiat currency.
- getFiatCurrencyCodeBytes() - Method in interface org.bitcoinj.wallet.Protos.ExchangeRateOrBuilder
-
ISO 4217 currency code (if available) of the fiat currency.
- getFiatValue() - Method in class org.bitcoinj.wallet.Protos.ExchangeRate.Builder
-
…is worth this much of fiat (1E-4 fractions).
- getFiatValue() - Method in class org.bitcoinj.wallet.Protos.ExchangeRate
-
…is worth this much of fiat (1E-4 fractions).
- getFiatValue() - Method in interface org.bitcoinj.wallet.Protos.ExchangeRateOrBuilder
-
…is worth this much of fiat (1E-4 fractions).
- getFileSize(int) - Static method in class org.bitcoinj.store.SPVBlockStore
-
Returns the size in bytes of the file that is used to store the chain with the current parameters.
- getFilter(int, double, long) - Method in class org.bitcoinj.wallet.BasicKeyChain
- getFilter(int, double, long) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- getFilter(int, double, long) - Method in interface org.bitcoinj.wallet.KeyChain
-
Gets a bloom filter that contains all of the public keys from this chain, and which will provide the given false-positive rate if it has size elements.
- getFilter(int, double, long) - Method in class org.bitcoinj.wallet.MarriedKeyChain
- getFingerprint() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns the first 32 bits of the result of
DeterministicKey.getIdentifier()
. - getFullKey() - Method in class org.bitcoinj.wallet.RedeemData
-
Returns the first key that has private bytes
- getFuture() - Method in class org.bitcoinj.core.listeners.DownloadProgressTracker
-
Returns a listenable future that completes with the height of the best chain (as reported by the peer) once chain download seems to be finished.
- getGenesisBlock() - Method in class org.bitcoinj.core.NetworkParameters
-
Genesis block for this chain.
- getGenesisBlock() - Method in class org.bitcoinj.params.MainNetParams
- getGenesisBlock() - Method in class org.bitcoinj.params.RegTestParams
- getGenesisBlock() - Method in class org.bitcoinj.params.TestNet3Params
- getGenesisBlock() - Method in class org.bitcoinj.params.UnitTestParams
- getHash() - Method in class org.bitcoinj.core.Address
-
Get either the public key hash or script hash that is encoded in the address.
- getHash() - Method in class org.bitcoinj.core.Block
-
Returns the hash of the block (which for a valid, solved block should be below the target).
- getHash() - Method in class org.bitcoinj.core.FilteredBlock
-
Gets the hash of the block represented in this Filtered Block
- getHash() - Method in class org.bitcoinj.core.LegacyAddress
-
The (big endian) 20 byte hash that is the core of a Bitcoin address.
- getHash() - Method in class org.bitcoinj.core.Message
-
This method is a NOP for all classes except Block and Transaction.
- getHash() - Method in exception org.bitcoinj.core.PrunedException
- getHash() - Method in class org.bitcoinj.core.SegwitAddress
- getHash() - Method in class org.bitcoinj.core.StoredUndoableBlock
-
Get the hash of the represented block
- getHash() - Method in class org.bitcoinj.core.Transaction
-
Deprecated.
- getHash() - Method in class org.bitcoinj.core.TransactionOutPoint
-
Returns the hash of the transaction this outpoint references/spends/is connected to.
- getHash() - Method in class org.bitcoinj.core.UTXO
-
The hash of the transaction which holds this output.
- getHash() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
required bytes hash = 2;
- getHash() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
required bytes hash = 2;
- getHash() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
required bytes hash = 2;
- getHashAsString() - Method in class org.bitcoinj.core.Block
-
Returns the hash of the block (which for a valid, solved block should be below the target) in the form seen on the block explorer.
- getHashAsString() - Method in class org.bitcoinj.core.Transaction
-
Deprecated.use
Transaction.getTxId()
.toString() - getHashes() - Method in class org.bitcoinj.core.BlockLocator
-
Returns List of Block locator hashes.
- getHashOf(int) - Method in class org.bitcoinj.core.GetDataMessage
- getHeader() - Method in class org.bitcoinj.core.StoredBlock
-
The block header this object wraps.
- GetHeadersMessage - Class in org.bitcoinj.core
-
The "getheaders" command is structurally identical to "getblocks", but has different meaning.
- GetHeadersMessage(NetworkParameters, byte[]) - Constructor for class org.bitcoinj.core.GetHeadersMessage
- GetHeadersMessage(NetworkParameters, BlockLocator, Sha256Hash) - Constructor for class org.bitcoinj.core.GetHeadersMessage
- getHeight() - Method in class org.bitcoinj.core.StoredBlock
-
Position in the chain for this block.
- getHeight() - Method in class org.bitcoinj.core.UTXO
-
Gets the height of the block that created this output.
- getHeightFuture(int) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Returns a future that completes when the block chain has reached the given height.
- getHeights() - Method in class org.bitcoinj.core.UTXOsMessage
-
Returns the block heights of each output returned in getOutputs(), or MEMPOOL_HEIGHT if not confirmed yet.
- getHitMap() - Method in class org.bitcoinj.core.UTXOsMessage
-
Returns a bit map indicating which of the queried outputs were found in the UTXO set.
- getHostname() - Method in class org.bitcoinj.core.PeerAddress
- getHttpSeeds() - Method in class org.bitcoinj.core.NetworkParameters
-
Returns discovery objects for seeds implementing the Cartographer protocol.
- getI() - Method in class org.bitcoinj.crypto.ChildNumber
-
Returns the uint32 encoded form of the path element, including the most significant bit.
- getId() - Method in class org.bitcoinj.core.NetworkParameters
-
A Java package style string acting as unique ID for these parameters
- getId() - Method in class org.bitcoinj.wallet.Protos.Extension.Builder
-
like org.whatever.foo.bar
- getId() - Method in class org.bitcoinj.wallet.Protos.Extension
-
like org.whatever.foo.bar
- getId() - Method in interface org.bitcoinj.wallet.Protos.ExtensionOrBuilder
-
like org.whatever.foo.bar
- getIdBytes() - Method in class org.bitcoinj.wallet.Protos.Extension.Builder
-
like org.whatever.foo.bar
- getIdBytes() - Method in class org.bitcoinj.wallet.Protos.Extension
-
like org.whatever.foo.bar
- getIdBytes() - Method in interface org.bitcoinj.wallet.Protos.ExtensionOrBuilder
-
like org.whatever.foo.bar
- getIdentifier() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns RIPE-MD160(SHA256(pub key bytes)).
- getImportedKeys() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns a list of the non-deterministic keys that have been imported into the wallet, or the empty list if none.
- getImportedKeys() - Method in class org.bitcoinj.wallet.Wallet
-
Returns a list of the non-deterministic keys that have been imported into the wallet, or the empty list if none.
- getIncludeMempool() - Method in class org.bitcoinj.core.GetUTXOsMessage
- getIndex() - Method in class org.bitcoinj.core.TransactionInput
-
Gets the index of this input in the parent transaction, or throws if this input is free standing.
- getIndex() - Method in class org.bitcoinj.core.TransactionOutPoint
- getIndex() - Method in class org.bitcoinj.core.TransactionOutput
-
Gets the index of this output in the parent transaction, or throws if this output is free standing.
- getIndex() - Method in class org.bitcoinj.core.UTXO
-
The index of this output in the transaction which holds it.
- getInitialisationVector() - Method in class org.bitcoinj.wallet.Protos.EncryptedData.Builder
-
The initialisation vector for the AES encryption (16 bytes)
- getInitialisationVector() - Method in class org.bitcoinj.wallet.Protos.EncryptedData
-
The initialisation vector for the AES encryption (16 bytes)
- getInitialisationVector() - Method in interface org.bitcoinj.wallet.Protos.EncryptedDataOrBuilder
-
The initialisation vector for the AES encryption (16 bytes)
- getInput(long) - Method in class org.bitcoinj.core.Transaction
-
Same as getInputs().get(index).
- getInputs() - Method in class org.bitcoinj.core.Transaction
-
Returns an unmodifiable view of all inputs.
- getInputSum() - Method in class org.bitcoinj.core.Transaction
-
Gets the sum of the inputs, regardless of who owns them.
- getInsertHeadersSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to insert a headers record.
- getInsertOpenoutputsSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to insert a openoutputs record.
- getInsertOpenoutputsSQL() - Method in class org.bitcoinj.store.MySQLFullPrunedBlockStore
- getInsertSettingsSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to insert a settings record.
- getInsertUndoableBlocksSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to insert a undoableblocks record.
- getInstance() - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new instance of this class using all defaults.
- getInstance(int) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new fixed-denomination formatter.
- getInstance(int, int, int...) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new fixed-denomination formatter with the specified fractional decimal placing.
- getInstance(int, Locale) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new fixed-denomination formatter for the given locale.
- getInstance(int, Locale, int, int...) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new fixed-denomination formatter for the given locale, with the specified fractional decimal placing.
- getInstance(int, Locale, int, List<Integer>) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new fixed-denomination formatter for the given locale, with the specified fractional decimal placing.
- getInstance(Locale) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new code-style auto-formatter for the given locale.
- getInstance(Locale, int) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new code-style auto-formatter for the given locale with the given number of fraction places.
- getInstance(BtcAutoFormat.Style) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new auto-denominating formatter.
- getInstance(BtcAutoFormat.Style, int) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new auto-denominating formatter with the given number of fractional decimal places.
- getInstance(BtcAutoFormat.Style, Locale) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new auto-formatter with the given style for the given locale.
- getInstance(BtcAutoFormat.Style, Locale, int) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new auto-formatter for the given locale with the given number of fraction places.
- getInterval() - Method in class org.bitcoinj.core.NetworkParameters
-
How many blocks pass between difficulty adjustment periods.
- getIpAddress() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData.Builder
-
required string ip_address = 1;
- getIpAddress() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData
-
required string ip_address = 1;
- getIpAddress() - Method in interface org.bitcoin.crawler.PeerSeedProtos.PeerSeedDataOrBuilder
-
required string ip_address = 1;
- getIpAddress() - Method in class org.bitcoinj.wallet.Protos.PeerAddress.Builder
-
required bytes ip_address = 1;
- getIpAddress() - Method in class org.bitcoinj.wallet.Protos.PeerAddress
-
required bytes ip_address = 1;
- getIpAddress() - Method in interface org.bitcoinj.wallet.Protos.PeerAddressOrBuilder
-
required bytes ip_address = 1;
- getIpAddressBytes() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData.Builder
-
required string ip_address = 1;
- getIpAddressBytes() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData
-
required string ip_address = 1;
- getIpAddressBytes() - Method in interface org.bitcoin.crawler.PeerSeedProtos.PeerSeedDataOrBuilder
-
required string ip_address = 1;
- getIsFollowing() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
Flag indicating that this key is a root of a following chain.
- getIsFollowing() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey
-
Flag indicating that this key is a root of a following chain.
- getIsFollowing() - Method in interface org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder
-
Flag indicating that this key is a root of a following chain.
- getIssuedExternalKeys() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns number of keys used on external path.
- getIssuedInternalKeys() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns number of keys used on internal path.
- getIssuedReceiveAddresses() - Method in class org.bitcoinj.wallet.Wallet
-
Returns only the addresses that have been issued by
Wallet.freshReceiveKey()
,Wallet.freshReceiveAddress()
,Wallet.currentReceiveKey()
orWallet.currentReceiveAddress()
. - getIssuedReceiveKeys() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns only the external keys that have been issued by this chain, lookahead not included.
- getIssuedReceiveKeys() - Method in class org.bitcoinj.wallet.Wallet
-
Returns only the keys that have been issued by
Wallet.freshReceiveKey()
,Wallet.freshReceiveAddress()
,Wallet.currentReceiveKey()
orWallet.currentReceiveAddress()
. - getIssuedSubkeys() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
How many children of this key have been issued, that is, given to the user when they requested a fresh key? For the parents of keys being handed out, this is always less than the true number of children: the difference is called the lookahead zone.
- getIssuedSubkeys() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey
-
How many children of this key have been issued, that is, given to the user when they requested a fresh key? For the parents of keys being handed out, this is always less than the true number of children: the difference is called the lookahead zone.
- getIssuedSubkeys() - Method in interface org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder
-
How many children of this key have been issued, that is, given to the user when they requested a fresh key? For the parents of keys being handed out, this is always less than the true number of children: the difference is called the lookahead zone.
- getItems() - Method in class org.bitcoinj.core.ListMessage
- getKey() - Method in class org.bitcoinj.core.DumpedPrivateKey
-
Returns an ECKey created from this encoded private key.
- getKey(int) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Key key = 3;
- getKey(int) - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Key key = 3;
- getKey(int) - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Key key = 3;
- getKey(KeyChain.KeyPurpose) - Method in class org.bitcoinj.wallet.BasicKeyChain
- getKey(KeyChain.KeyPurpose) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns a freshly derived key that has not been returned by this method before.
- getKey(KeyChain.KeyPurpose) - Method in interface org.bitcoinj.wallet.KeyChain
-
Obtains a key intended for the given purpose.
- getKeyByPath(List<ChildNumber>) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns the deterministic key for the given absolute path in the hierarchy.
- getKeyByPath(List<ChildNumber>) - Method in class org.bitcoinj.wallet.Wallet
-
Returns a key for the given HD path, assuming it's already been derived.
- getKeyByPath(List<ChildNumber>, boolean) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns the deterministic key for the given absolute path in the hierarchy, optionally creating it
- getKeyByPath(ChildNumber...) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns the deterministic key for the given absolute path in the hierarchy.
- getKeyChainGroupCombinedKeyLookaheadEpochs() - Method in class org.bitcoinj.wallet.Wallet
- getKeyChainGroupLookaheadSize() - Method in class org.bitcoinj.wallet.Wallet
-
See
DeterministicKeyChain.setLookaheadSize(int)
for more info on this. - getKeyChainGroupLookaheadThreshold() - Method in class org.bitcoinj.wallet.Wallet
-
See
DeterministicKeyChain.setLookaheadThreshold(int)
for more info on this. - getKeyChainGroupSize() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the number of keys in the key chain group, including lookahead keys.
- getKeyChainSeed() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the immutable seed for the current active HD chain.
- getKeyCount() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Key key = 3;
- getKeyCount() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Key key = 3;
- getKeyCount() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Key key = 3;
- getKeyCrypter() - Method in class org.bitcoinj.core.ECKey
-
Returns the KeyCrypter that was used to encrypt to encrypt this ECKey.
- getKeyCrypter() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns this keys
KeyCrypter
or the keycrypter of its parent key. - getKeyCrypter() - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Returns the
KeyCrypter
in use or null if the key chain is not encrypted. - getKeyCrypter() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- getKeyCrypter() - Method in interface org.bitcoinj.wallet.EncryptableKeyChain
-
Returns the key crypter used by this key chain, or null if it's not encrypted.
- getKeyCrypter() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns the key crypter or null if the group is not encrypted.
- getKeyCrypter() - Method in class org.bitcoinj.wallet.Wallet
-
Get the wallet's KeyCrypter, or null if the wallet is not encrypted.
- getKeyList() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Key key = 3;
- getKeyList() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Key key = 3;
- getKeyList() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Key key = 3;
- getKeyLookaheadEpoch() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns a counter that is incremented each time new keys are generated due to lookahead.
- getKeyOrBuilder(int) - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Key key = 3;
- getKeyOrBuilderList() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Key key = 3;
- getKeyRotationTime() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
UNIX time in seconds since the epoch.
- getKeyRotationTime() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
UNIX time in seconds since the epoch.
- getKeyRotationTime() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
UNIX time in seconds since the epoch.
- getKeyRotationTime() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the key rotation time, or null if unconfigured.
- getKeys() - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Returns a copy of the list of keys that this chain is managing.
- getKeys(KeyChain.KeyPurpose, int) - Method in class org.bitcoinj.wallet.BasicKeyChain
- getKeys(KeyChain.KeyPurpose, int) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns freshly derived key/s that have not been returned by this method before.
- getKeys(KeyChain.KeyPurpose, int) - Method in interface org.bitcoinj.wallet.KeyChain
-
Obtains a number of key/s intended for the given purpose.
- getKeyStore() - Method in class org.bitcoinj.crypto.TrustStoreLoader.DefaultTrustStoreLoader
- getKeyStore() - Method in class org.bitcoinj.crypto.TrustStoreLoader.FileTrustStoreLoader
- getKeyStore() - Method in interface org.bitcoinj.crypto.TrustStoreLoader
- getLabel() - Method in class org.bitcoinj.uri.BitcoinURI
- getLabel() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
User-provided label associated with the key.
- getLabel() - Method in class org.bitcoinj.wallet.Protos.Key
-
User-provided label associated with the key.
- getLabel() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
User-provided label associated with the key.
- getLabelBytes() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
User-provided label associated with the key.
- getLabelBytes() - Method in class org.bitcoinj.wallet.Protos.Key
-
User-provided label associated with the key.
- getLabelBytes() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
User-provided label associated with the key.
- getLastBlockSeenHash() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the hash of the last seen best-chain block, or null if the wallet is too old to store this data.
- getLastBlockSeenHeight() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the height of the last seen best-chain block.
- getLastBlockSeenTime() - Method in class org.bitcoinj.wallet.Wallet
-
Returns a
Date
representing the time extracted from the last best seen block header. - getLastBlockSeenTimeSecs() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the UNIX time in seconds since the epoch extracted from the last best seen block header.
- getLastBroadcastedAt() - Method in class org.bitcoinj.core.TransactionConfidence
-
Return the time the transaction was last announced to us.
- getLastBroadcastedAt() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
Millis since epoch the transaction was last announced to us.
- getLastBroadcastedAt() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence
-
Millis since epoch the transaction was last announced to us.
- getLastBroadcastedAt() - Method in interface org.bitcoinj.wallet.Protos.TransactionConfidenceOrBuilder
-
Millis since epoch the transaction was last announced to us.
- getLastFilter() - Method in class org.bitcoinj.net.FilterMerger
- getLastPingTime() - Method in class org.bitcoinj.core.Peer
-
Returns the elapsed time of the last ping/pong cycle.
- getLastSeenBlockHash() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
The SHA256 hash of the head of the best chain seen by this wallet.
- getLastSeenBlockHash() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
The SHA256 hash of the head of the best chain seen by this wallet.
- getLastSeenBlockHash() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
The SHA256 hash of the head of the best chain seen by this wallet.
- getLastSeenBlockHeight() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
The height in the chain of the last seen block.
- getLastSeenBlockHeight() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
The height in the chain of the last seen block.
- getLastSeenBlockHeight() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
The height in the chain of the last seen block.
- getLastSeenBlockTimeSecs() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
optional int64 last_seen_block_time_secs = 14;
- getLastSeenBlockTimeSecs() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
optional int64 last_seen_block_time_secs = 14;
- getLastSeenBlockTimeSecs() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
optional int64 last_seen_block_time_secs = 14;
- getLeafKeys() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns leaf keys issued by this chain (including lookahead zone)
- getListeners() - Method in class org.bitcoinj.wallet.BasicKeyChain
- getLocator() - Method in class org.bitcoinj.core.GetBlocksMessage
- getLockTime() - Method in class org.bitcoinj.core.Transaction
-
Transactions can have an associated lock time, specified either as a block height or in seconds since the UNIX epoch.
- getLockTime() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
The nLockTime field is useful for contracts.
- getLockTime() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
The nLockTime field is useful for contracts.
- getLockTime() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
The nLockTime field is useful for contracts.
- getLookaheadSize() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
The number of public keys we should pre-generate on each path before they are requested by the app.
- getLookaheadSize() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Gets the current lookahead size being used for ALL deterministic key chains.
- getLookaheadSize() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
optional uint32 lookahead_size = 4;
- getLookaheadSize() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey
-
optional uint32 lookahead_size = 4;
- getLookaheadSize() - Method in interface org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder
-
optional uint32 lookahead_size = 4;
- getLookaheadThreshold() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Gets the threshold for the key pre-generation.
- getLookaheadThreshold() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Gets the current lookahead threshold being used for ALL deterministic key chains.
- getMajorityEnforceBlockUpgrade() - Method in class org.bitcoinj.core.NetworkParameters
-
The number of blocks in the last
NetworkParameters.getMajorityWindow()
blocks at which to trigger a notice to the user to upgrade their client, where the client does not understand those blocks. - getMajorityRejectBlockOutdated() - Method in class org.bitcoinj.core.NetworkParameters
-
The number of blocks in the last
NetworkParameters.getMajorityWindow()
blocks at which to enforce the requirement that all new blocks are of the newer type (i.e. - getMajorityWindow() - Method in class org.bitcoinj.core.NetworkParameters
-
The sampling window from which the version numbers of blocks are taken in order to determine if a new block version is now the majority.
- getMandatory() - Method in class org.bitcoinj.wallet.Protos.Extension.Builder
-
If we do not understand a mandatory extension, abort to prevent data loss.
- getMandatory() - Method in class org.bitcoinj.wallet.Protos.Extension
-
If we do not understand a mandatory extension, abort to prevent data loss.
- getMandatory() - Method in interface org.bitcoinj.wallet.Protos.ExtensionOrBuilder
-
If we do not understand a mandatory extension, abort to prevent data loss.
- getMaxConnections() - Method in class org.bitcoinj.core.PeerGroup
-
The maximum number of connections that we will create to peers.
- getMaxMessageSize() - Method in class org.bitcoinj.core.PeerSocketHandler
- getMaxMessageSize() - Method in interface org.bitcoinj.net.StreamConnection
-
Returns the maximum message size of a message on the socket.
- getMaxMoney() - Method in class org.bitcoinj.core.NetworkParameters
-
Returns the number of coins that will be produced in total, on this network.
- getMaxMoney() - Method in class org.bitcoinj.params.AbstractBitcoinNetParams
- getMaxPeersToDiscoverCount() - Method in class org.bitcoinj.core.PeerGroup
-
Returns the maximum number of
Peer
s to discover. - getMaxTarget() - Method in class org.bitcoinj.core.NetworkParameters
-
Maximum target represents the easiest allowable proof of work.
- getMemo() - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Human-readable message for the merchant
- getMemo() - Method in class org.bitcoin.protocols.payments.Protos.Payment
-
Human-readable message for the merchant
- getMemo() - Method in class org.bitcoin.protocols.payments.Protos.PaymentACK.Builder
-
human-readable message for customer
- getMemo() - Method in class org.bitcoin.protocols.payments.Protos.PaymentACK
-
human-readable message for customer
- getMemo() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentACKOrBuilder
-
human-readable message for customer
- getMemo() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Human-readable description of request for the customer
- getMemo() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
Human-readable description of request for the customer
- getMemo() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentDetailsOrBuilder
-
Human-readable description of request for the customer
- getMemo() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentOrBuilder
-
Human-readable message for the merchant
- getMemo() - Method in class org.bitcoinj.core.Transaction
-
Returns the transaction
Transaction.memo
. - getMemo() - Method in class org.bitcoinj.protocols.payments.PaymentProtocol.Ack
-
Returns the memo included by the merchant in the payment ack.
- getMemo() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the memo included by the merchant in the payment request, or null if not found.
- getMemo() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
Memo of the transaction.
- getMemo() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
Memo of the transaction.
- getMemo() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
Memo of the transaction.
- getMemoBytes() - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Human-readable message for the merchant
- getMemoBytes() - Method in class org.bitcoin.protocols.payments.Protos.Payment
-
Human-readable message for the merchant
- getMemoBytes() - Method in class org.bitcoin.protocols.payments.Protos.PaymentACK.Builder
-
human-readable message for customer
- getMemoBytes() - Method in class org.bitcoin.protocols.payments.Protos.PaymentACK
-
human-readable message for customer
- getMemoBytes() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentACKOrBuilder
-
human-readable message for customer
- getMemoBytes() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Human-readable description of request for the customer
- getMemoBytes() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
Human-readable description of request for the customer
- getMemoBytes() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentDetailsOrBuilder
-
Human-readable description of request for the customer
- getMemoBytes() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentOrBuilder
-
Human-readable message for the merchant
- getMemoBytes() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
Memo of the transaction.
- getMemoBytes() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
Memo of the transaction.
- getMemoBytes() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
Memo of the transaction.
- getMemoryPool() - Method in class org.bitcoinj.core.PeerGroup
-
Deprecated.
- getMerchantData() - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
From PaymentDetails.merchant_data
- getMerchantData() - Method in class org.bitcoin.protocols.payments.Protos.Payment
-
From PaymentDetails.merchant_data
- getMerchantData() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Arbitrary data to include in the Payment message
- getMerchantData() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
Arbitrary data to include in the Payment message
- getMerchantData() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentDetailsOrBuilder
-
Arbitrary data to include in the Payment message
- getMerchantData() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentOrBuilder
-
From PaymentDetails.merchant_data
- getMerchantData() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the merchant data included by the merchant in the payment request, or null if none.
- getMerkleRoot() - Method in class org.bitcoinj.core.Block
-
Returns the merkle root in big endian form, calculating it from transactions if necessary.
- getMessage() - Method in class org.bitcoinj.uri.BitcoinURI
- getMessageSize() - Method in class org.bitcoinj.core.Message
-
This returns a correct value by parsing the message.
- getMessageSizeForPriorityCalc() - Method in class org.bitcoinj.core.Transaction
-
The priority (coin age) calculation doesn't use the regular message size, but rather one adjusted downwards for the number of inputs.
- getMicroInstance() - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new microcoin-denominated formatter for the default locale.
- getMicroInstance(int, int...) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new microcoin-denominated formatter with the specified fractional decimal placing.
- getMicroInstance(Locale) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new microcoin-denominated formatter for the given locale.
- getMicroInstance(Locale, int, int...) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new microcoin-denominated formatter for the given locale with the specified fractional decimal placing.
- getMilliInstance() - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new millicoin-denominated formatter.
- getMilliInstance(int, int...) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new millicoin-denominated formatter with the specified fractional decimal placing.
- getMilliInstance(Locale) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new millicoin-denominated formatter for the given locale.
- getMilliInstance(Locale, int, int...) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new millicoin-denominated formatter for the given locale with the specified fractional decimal placing.
- getMinBroadcastConnections() - Method in class org.bitcoinj.core.PeerGroup
-
Returns the number of connections that are required before transactions will be broadcast.
- getMinNonDustOutput() - Method in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- getMinNonDustOutput() - Method in class org.bitcoinj.params.AbstractBitcoinNetParams
-
Deprecated.
- getMinNonDustValue() - Method in class org.bitcoinj.core.TransactionOutput
-
Returns the minimum value for this output to be considered "not dust", i.e.
- getMinNonDustValue(Coin) - Method in class org.bitcoinj.core.TransactionOutput
-
Gets the minimum value for a txout of this size to be considered non-dust by Bitcoin Core (and thus relayed).
- getMinRequiredProtocolVersion() - Method in class org.bitcoinj.core.PeerGroup
-
The minimum protocol version required: defaults to the version required for Bloom filtering.
- getMnemonic() - Method in enum org.bitcoinj.script.ScriptError
- getMnemonicCode() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns a list of words that represent the seed or null if this chain is a watching chain.
- getMnemonicCode() - Method in class org.bitcoinj.wallet.DeterministicSeed
-
Get the mnemonic code, or null if unknown.
- getMnemonicString() - Method in class org.bitcoinj.wallet.DeterministicSeed
-
Get the mnemonic code as string, or null if unknown.
- getMonetaryFormat() - Method in class org.bitcoinj.core.NetworkParameters
-
The monetary object for this currency.
- getMonetaryFormat() - Method in class org.bitcoinj.params.AbstractBitcoinNetParams
- getMostCommonChainHeight() - Method in class org.bitcoinj.core.PeerGroup
-
Returns our peers most commonly reported chain height.
- getMostCommonChainHeight(List<Peer>) - Static method in class org.bitcoinj.core.PeerGroup
-
Returns most commonly reported chain height from the given list of
Peer
s. - getN() - Method in class org.bitcoinj.wallet.Protos.ScryptParameters.Builder
-
CPU/ memory cost parameter
- getN() - Method in class org.bitcoinj.wallet.Protos.ScryptParameters
-
CPU/ memory cost parameter
- getN() - Method in interface org.bitcoinj.wallet.Protos.ScryptParametersOrBuilder
-
CPU/ memory cost parameter
- getNet() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
required string net = 3;
- getNet() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds
-
required string net = 3;
- getNet() - Method in interface org.bitcoin.crawler.PeerSeedProtos.PeerSeedsOrBuilder
-
required string net = 3;
- getNetBytes() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
required string net = 3;
- getNetBytes() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds
-
required string net = 3;
- getNetBytes() - Method in interface org.bitcoin.crawler.PeerSeedProtos.PeerSeedsOrBuilder
-
required string net = 3;
- getNetwork() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
"main" or "test"
- getNetwork() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
"main" or "test"
- getNetwork() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentDetailsOrBuilder
-
"main" or "test"
- getNetworkBytes() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
"main" or "test"
- getNetworkBytes() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
"main" or "test"
- getNetworkBytes() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentDetailsOrBuilder
-
"main" or "test"
- getNetworkIdentifier() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
the network used by this wallet
- getNetworkIdentifier() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
the network used by this wallet
- getNetworkIdentifier() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
the network used by this wallet
- getNetworkIdentifierBytes() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
the network used by this wallet
- getNetworkIdentifierBytes() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
the network used by this wallet
- getNetworkIdentifierBytes() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
the network used by this wallet
- getNetworkParameters() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Gets the params as read from the PaymentRequest.network field: main is the default if missing.
- getNetworkParameters() - Method in class org.bitcoinj.wallet.Wallet
- getNewConnection(InetAddress, int) - Method in interface org.bitcoinj.net.StreamConnectionFactory
-
Returns a new handler or null to have the connection close.
- getNonce() - Method in class org.bitcoinj.core.Block
-
Returns the nonce, an arbitrary value that exists only to make the hash of the block header fall below the difficulty target.
- getNonce() - Method in class org.bitcoinj.core.Ping
- getNonce() - Method in class org.bitcoinj.core.Pong
-
Returns the nonce sent by the remote peer.
- getNonFinal() - Method in class org.bitcoinj.wallet.DefaultRiskAnalysis
-
Returns the transaction that was found to be non-final, or null.
- getNonStandard() - Method in class org.bitcoinj.wallet.DefaultRiskAnalysis
-
Returns the transaction that was found to be non-standard, or null.
- getNumber() - Method in enum org.bitcoinj.wallet.Protos.Key.OutputScriptType
- getNumber() - Method in enum org.bitcoinj.wallet.Protos.Key.Type
- getNumber() - Method in enum org.bitcoinj.wallet.Protos.Transaction.Pool
- getNumber() - Method in enum org.bitcoinj.wallet.Protos.Transaction.Purpose
- getNumber() - Method in enum org.bitcoinj.wallet.Protos.TransactionConfidence.Source
- getNumber() - Method in enum org.bitcoinj.wallet.Protos.TransactionConfidence.Type
- getNumber() - Method in enum org.bitcoinj.wallet.Protos.Wallet.EncryptionType
- getNumberOfBytesRequiredToSpend(ECKey, Script) - Method in class org.bitcoinj.script.Script
-
Returns number of bytes required to spend this script.
- getNumberOfSignaturesRequiredToSpend() - Method in class org.bitcoinj.script.Script
-
Returns number of signatures required to satisfy this script.
- getNumChildren(HDPath) - Method in class org.bitcoinj.crypto.DeterministicHierarchy
- getOnceUndoableStoredBlock(Sha256Hash) - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- getOnceUndoableStoredBlock(Sha256Hash) - Method in interface org.bitcoinj.store.FullPrunedBlockStore
-
Returns the StoredBlock that was added as a StoredUndoableBlock given a hash.
- getOnceUndoableStoredBlock(Sha256Hash) - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- getOnceUndoableStoredBlock(Sha256Hash) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- getOpCode(String) - Static method in class org.bitcoinj.script.ScriptOpCodes
-
Converts the given OpCodeName into an int
- getOpCodeName(int) - Static method in class org.bitcoinj.script.ScriptOpCodes
-
Converts the given OpCode into a string (eg "0", "PUSHDATA", or "NON_OP(10)")
- getOpenTransactionOutputs(List<ECKey>) - Method in interface org.bitcoinj.core.UTXOProvider
-
Get the list of
UTXO
's for given keys. - getOpenTransactionOutputs(List<ECKey>) - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- getOpenTransactionOutputs(List<ECKey>) - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- getOpenTransactionOutputs(List<ECKey>) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- getOptimalEncodingMessageSize() - Method in class org.bitcoinj.core.Block
- getOptimalEncodingMessageSize() - Method in class org.bitcoinj.core.Transaction
- getOrCreate(NetworkParameters) - Static method in class org.bitcoinj.core.Context
- getOrCreate(Sha256Hash) - Method in class org.bitcoinj.core.TxConfidenceTable
-
Returns the
TransactionConfidence
for the given hash if we have downloaded it, or null if that tx hash is unknown to the system at this time. - getOriginalSizeInBytes() - Method in class org.bitcoinj.core.VarInt
-
Returns the original number of bytes used to encode the value if it was deserialized from a byte array, or the minimum encoded size if it was not.
- getOrphanRoot(Sha256Hash) - Method in class org.bitcoinj.core.AbstractBlockChain
-
An orphan block is one that does not connect to the chain anywhere (ie we can't find its parent, therefore it's an orphan).
- getOutpoint() - Method in class org.bitcoinj.core.TransactionInput
- getOutPointFor() - Method in class org.bitcoinj.core.TransactionOutput
-
Returns a new
TransactionOutPoint
, which is essentially a structure pointing to this output. - getOutPoints() - Method in class org.bitcoinj.core.GetUTXOsMessage
- getOutput(long) - Method in class org.bitcoinj.core.Transaction
-
Same as getOutputs().get(index)
- getOutputs() - Method in class org.bitcoinj.core.Transaction
-
Returns an unmodifiable view of all outputs.
- getOutputs() - Method in class org.bitcoinj.core.UTXOsMessage
-
Returns the list of outputs that matched the query.
- getOutputs() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the outputs of the payment request.
- getOutputs(int) - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Where payment should be sent
- getOutputs(int) - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
Where payment should be sent
- getOutputs(int) - Method in interface org.bitcoin.protocols.payments.Protos.PaymentDetailsOrBuilder
-
Where payment should be sent
- getOutputsCount() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Where payment should be sent
- getOutputsCount() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
Where payment should be sent
- getOutputsCount() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentDetailsOrBuilder
-
Where payment should be sent
- getOutputScriptType() - Method in class org.bitcoinj.core.Address
-
Get the type of output script that will be used for sending to the address.
- getOutputScriptType() - Method in class org.bitcoinj.core.LegacyAddress
-
Get the type of output script that will be used for sending to the address.
- getOutputScriptType() - Method in class org.bitcoinj.core.SegwitAddress
-
Get the type of output script that will be used for sending to the address.
- getOutputScriptType() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- getOutputScriptType() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
Type of addresses (aka output scripts) to generate for receiving.
- getOutputScriptType() - Method in class org.bitcoinj.wallet.Protos.Key
-
Type of addresses (aka output scripts) to generate for receiving.
- getOutputScriptType() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
Type of addresses (aka output scripts) to generate for receiving.
- getOutputsList() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Where payment should be sent
- getOutputsList() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
Where payment should be sent
- getOutputsList() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentDetailsOrBuilder
-
Where payment should be sent
- getOutputsOrBuilder(int) - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
Where payment should be sent
- getOutputsOrBuilderList() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
Where payment should be sent
- getOutputSum() - Method in class org.bitcoinj.core.Transaction
-
Gets the sum of the outputs of the transaction.
- getOverridingTransaction() - Method in class org.bitcoinj.core.TransactionConfidence
-
If this transaction has been overridden by a double spend (is dead), this call returns the overriding transaction.
- getOverridingTransaction() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
If set, hash of the transaction that double spent this one into oblivion.
- getOverridingTransaction() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence
-
If set, hash of the transaction that double spent this one into oblivion.
- getOverridingTransaction() - Method in interface org.bitcoinj.wallet.Protos.TransactionConfidenceOrBuilder
-
If set, hash of the transaction that double spent this one into oblivion.
- getP() - Method in class org.bitcoinj.wallet.Protos.ScryptParameters.Builder
-
Parallelisation parameter
- getP() - Method in class org.bitcoinj.wallet.Protos.ScryptParameters
-
Parallelisation parameter
- getP() - Method in interface org.bitcoinj.wallet.Protos.ScryptParametersOrBuilder
-
Parallelisation parameter
- getP2SHHeader() - Method in class org.bitcoinj.core.NetworkParameters
-
First byte of a base58 encoded P2SH address.
- getP2SHSigOpCount(byte[]) - Static method in class org.bitcoinj.script.Script
-
Gets the count of P2SH Sig Ops in the Script scriptSig
- getPacketMagic() - Method in class org.bitcoinj.core.NetworkParameters
-
The header bytes that identify the start of a packet on this network.
- getParameterByName(String) - Method in class org.bitcoinj.uri.BitcoinURI
- getParameters() - Method in class org.bitcoinj.core.BitcoinSerializer
-
Get the network parameters for this serializer.
- getParameters() - Method in class org.bitcoinj.core.PrefixedChecksummedBytes
- getParametersFromAddress(String) - Static method in class org.bitcoinj.core.LegacyAddress
-
Given an address, examines the version byte and attempts to find a matching NetworkParameters.
- getParams() - Method in class org.bitcoinj.core.Context
-
Returns the
NetworkParameters
specified when this context was (auto) created. - getParams() - Method in class org.bitcoinj.core.Message
-
Network parameters this message was created with.
- getParams() - Method in interface org.bitcoinj.core.UTXOProvider
-
The
NetworkParameters
of this provider. - getParams() - Method in interface org.bitcoinj.store.BlockStore
-
Get the
NetworkParameters
of this store. - getParams() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- getParams() - Method in class org.bitcoinj.store.LevelDBBlockStore
- getParams() - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- getParams() - Method in class org.bitcoinj.store.MemoryBlockStore
- getParams() - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- getParams() - Method in class org.bitcoinj.store.SPVBlockStore
- getParams() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the parameters this wallet was created with.
- getParent() - Method in class org.bitcoinj.crypto.DeterministicKey
- getParentFingerprint() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Return the fingerprint of the key from which this key was derived, if this is a child key, or else an array of four zero-value bytes.
- getParentTransaction() - Method in class org.bitcoinj.core.TransactionInput
- getParentTransaction() - Method in class org.bitcoinj.core.TransactionOutput
-
Returns the transaction that owns this output.
- getParentTransactionDepthInBlocks() - Method in class org.bitcoinj.core.TransactionOutput
-
Returns the depth in blocks of the parent tx.
- getParentTransactionHash() - Method in class org.bitcoinj.core.TransactionOutput
-
Returns the transaction hash that owns this output.
- getPartialMerkleTree() - Method in class org.bitcoinj.core.FilteredBlock
-
Returns the
PartialMerkleTree
object that provides the mathematical proof of transaction inclusion in the block. - getPassphrase() - Method in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- getPath() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns the path through some
DeterministicHierarchy
which reaches this keys position in the tree. - getPath(int) - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
The path through the key tree.
- getPath(int) - Method in class org.bitcoinj.wallet.Protos.DeterministicKey
-
The path through the key tree.
- getPath(int) - Method in interface org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder
-
The path through the key tree.
- getPath(String) - Static method in class org.bitcoinj.utils.AppDataDirectory
-
Return the Path to the application data directory without making sure it exists or creating it.
- getPathAsString() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns the path of this key as a human readable string starting with M or m to indicate the master key.
- getPathCount() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
The path through the key tree.
- getPathCount() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey
-
The path through the key tree.
- getPathCount() - Method in interface org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder
-
The path through the key tree.
- getPathList() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
The path through the key tree.
- getPathList() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey
-
The path through the key tree.
- getPathList() - Method in interface org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder
-
The path through the key tree.
- getPayment() - Method in class org.bitcoin.protocols.payments.Protos.PaymentACK.Builder
-
Payment message that triggered this ACK
- getPayment() - Method in class org.bitcoin.protocols.payments.Protos.PaymentACK
-
Payment message that triggered this ACK
- getPayment() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentACKOrBuilder
-
Payment message that triggered this ACK
- getPayment(List<Transaction>, Address, String) - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Generates a Payment message based on the information in the PaymentRequest.
- getPaymentDetails() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the protobuf that describes the payment to be made.
- getPaymentDetailsVersion() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest.Builder
-
optional uint32 payment_details_version = 1 [default = 1];
- getPaymentDetailsVersion() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest
-
optional uint32 payment_details_version = 1 [default = 1];
- getPaymentDetailsVersion() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentRequestOrBuilder
-
optional uint32 payment_details_version = 1 [default = 1];
- getPaymentProtocolId() - Method in class org.bitcoinj.core.NetworkParameters
- getPaymentProtocolId() - Method in class org.bitcoinj.params.MainNetParams
- getPaymentProtocolId() - Method in class org.bitcoinj.params.RegTestParams
- getPaymentProtocolId() - Method in class org.bitcoinj.params.TestNet3Params
- getPaymentProtocolId() - Method in class org.bitcoinj.params.UnitTestParams
- getPaymentRequest() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the protobuf that this object was instantiated with.
- getPaymentRequestUrl() - Method in class org.bitcoinj.uri.BitcoinURI
- getPaymentRequestUrls() - Method in class org.bitcoinj.uri.BitcoinURI
-
Returns the URLs where a payment request (as specified in BIP 70) may be fetched.
- getPaymentUrl() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
URL to send Payment and get PaymentACK
- getPaymentUrl() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
URL to send Payment and get PaymentACK
- getPaymentUrl() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentDetailsOrBuilder
-
URL to send Payment and get PaymentACK
- getPaymentUrl() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the payment url where the Payment message should be sent.
- getPaymentUrlBytes() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
URL to send Payment and get PaymentACK
- getPaymentUrlBytes() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
URL to send Payment and get PaymentACK
- getPaymentUrlBytes() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentDetailsOrBuilder
-
URL to send Payment and get PaymentACK
- getPeer() - Method in class org.bitcoinj.net.discovery.SeedPeers
-
Acts as an iterator, returning the address of each node in the list sequentially.
- getPeerBlockHeightDifference() - Method in class org.bitcoinj.core.Peer
-
Returns the difference between our best chain height and the peers, which can either be positive if we are behind the peer, or negative if the peer is ahead of us.
- getPeerMempoolTransaction(Sha256Hash) - Method in class org.bitcoinj.core.Peer
-
Asks the connected peer for the given transaction from its memory pool.
- getPeers(long, long, TimeUnit) - Method in class org.bitcoinj.net.discovery.DnsDiscovery.DnsSeedDiscovery
- getPeers(long, long, TimeUnit) - Method in class org.bitcoinj.net.discovery.HttpDiscovery
- getPeers(long, long, TimeUnit) - Method in class org.bitcoinj.net.discovery.MultiplexingDiscovery
- getPeers(long, long, TimeUnit) - Method in interface org.bitcoinj.net.discovery.PeerDiscovery
-
Queries the addresses.
- getPeers(long, long, TimeUnit) - Method in class org.bitcoinj.net.discovery.SeedPeers
-
Returns all the Bitcoin nodes within the list.
- getPeerSeeds() - Method in class org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeeds.Builder
-
required bytes peer_seeds = 1;
- getPeerSeeds() - Method in class org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeeds
-
required bytes peer_seeds = 1;
- getPeerSeeds() - Method in interface org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeedsOrBuilder
-
required bytes peer_seeds = 1;
- getPeerVersionMessage() - Method in class org.bitcoinj.core.Peer
-
Returns version data announced by the remote peer.
- getPendingPeers() - Method in class org.bitcoinj.core.PeerGroup
-
Returns a list containing Peers that did not complete connection yet.
- getPendingTransactions() - Method in class org.bitcoinj.wallet.Wallet
-
Returns an immutable view of the transactions currently waiting for network confirmations.
- getPingIntervalMsec() - Method in class org.bitcoinj.core.PeerGroup
-
Returns the period between pings for an individual peer.
- getPingTime() - Method in class org.bitcoinj.core.Peer
-
Returns a moving average of the last N ping/pong cycles.
- getPkiData() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest.Builder
-
depends on pki_type
- getPkiData() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest
-
depends on pki_type
- getPkiData() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentRequestOrBuilder
-
depends on pki_type
- getPkiType() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest.Builder
-
none / x509+sha256 / x509+sha1
- getPkiType() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest
-
none / x509+sha256 / x509+sha1
- getPkiType() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentRequestOrBuilder
-
none / x509+sha256 / x509+sha1
- getPkiTypeBytes() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest.Builder
-
none / x509+sha256 / x509+sha1
- getPkiTypeBytes() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest
-
none / x509+sha256 / x509+sha1
- getPkiTypeBytes() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentRequestOrBuilder
-
none / x509+sha256 / x509+sha1
- getPolicy() - Static method in class org.bitcoinj.utils.Threading
- getPool() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
If pool is not present, that means either: - This Transaction is either not in a wallet at all (the proto is re-used elsewhere) - Or it is stored but for other purposes, for example, because it is the overriding transaction of a double spend.
- getPool() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
If pool is not present, that means either: - This Transaction is either not in a wallet at all (the proto is re-used elsewhere) - Or it is stored but for other purposes, for example, because it is the overriding transaction of a double spend.
- getPool() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
If pool is not present, that means either: - This Transaction is either not in a wallet at all (the proto is re-used elsewhere) - Or it is stored but for other purposes, for example, because it is the overriding transaction of a double spend.
- getPool() - Method in class org.bitcoinj.wallet.WalletTransaction
- getPoolSize(WalletTransaction.Pool) - Method in class org.bitcoinj.wallet.Wallet
- getPort() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData.Builder
-
required uint32 port = 2;
- getPort() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData
-
required uint32 port = 2;
- getPort() - Method in interface org.bitcoin.crawler.PeerSeedProtos.PeerSeedDataOrBuilder
-
required uint32 port = 2;
- getPort() - Method in class org.bitcoinj.core.NetworkParameters
-
Default TCP port on which to connect to nodes.
- getPort() - Method in class org.bitcoinj.core.PeerAddress
- getPort() - Method in class org.bitcoinj.wallet.Protos.PeerAddress.Builder
-
required uint32 port = 2;
- getPort() - Method in class org.bitcoinj.wallet.Protos.PeerAddress
-
required uint32 port = 2;
- getPort() - Method in interface org.bitcoinj.wallet.Protos.PeerAddressOrBuilder
-
required uint32 port = 2;
- getPrev(BlockStore) - Method in class org.bitcoinj.core.StoredBlock
-
Given a block store, looks up the previous block in this chain.
- getPrevBlockHash() - Method in class org.bitcoinj.core.Block
-
Returns the hash of the previous block in the chain, as defined by the block header.
- getPrivateKeyAsHex() - Method in class org.bitcoinj.core.ECKey
- getPrivateKeyAsWiF(NetworkParameters) - Method in class org.bitcoinj.core.ECKey
- getPrivateKeyEncoded(NetworkParameters) - Method in class org.bitcoinj.core.ECKey
-
Exports the private key in the form used by Bitcoin Core's "dumpprivkey" and "importprivkey" commands.
- getPrivKey() - Method in class org.bitcoinj.core.ECKey
-
Gets the private key in the form of an integer field element.
- getPrivKey() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns the private key of this deterministic key.
- getPrivKeyBytes() - Method in class org.bitcoinj.core.ECKey
-
Returns a 32 byte array containing the private key.
- getPrivKeyBytes33() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns private key bytes, padded with zeros to 33 bytes.
- getProgram() - Method in class org.bitcoinj.script.Script
-
Returns the serialized program as a newly created byte array.
- getProgram() - Method in class org.bitcoinj.wallet.Protos.Script.Builder
-
required bytes program = 1;
- getProgram() - Method in class org.bitcoinj.wallet.Protos.Script
-
required bytes program = 1;
- getProgram() - Method in interface org.bitcoinj.wallet.Protos.ScriptOrBuilder
-
required bytes program = 1;
- getProtocolVersion() - Method in class org.bitcoinj.core.BitcoinSerializer
- getProtocolVersion() - Method in class org.bitcoinj.core.MessageSerializer
-
Get the protocol version of this serializer.
- getProtocolVersionNum(NetworkParameters.ProtocolVersion) - Method in class org.bitcoinj.core.NetworkParameters
- getProtocolVersionNum(NetworkParameters.ProtocolVersion) - Method in class org.bitcoinj.params.AbstractBitcoinNetParams
- getPubkey() - Method in class org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeeds.Builder
-
required bytes pubkey = 3;
- getPubkey() - Method in class org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeeds
-
required bytes pubkey = 3;
- getPubkey() - Method in interface org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeedsOrBuilder
-
required bytes pubkey = 3;
- getPubKey() - Method in class org.bitcoinj.core.ECKey
-
Gets the raw public key value.
- getPubKeyHash() - Method in class org.bitcoinj.core.ECKey
-
Gets the hash160 form of the public key (as seen in addresses).
- getPubKeyHash() - Method in class org.bitcoinj.script.Script
-
If the program somehow pays to a hash, returns the hash.
- getPubKeyPoint() - Method in class org.bitcoinj.core.ECKey
-
Gets the public key in the form of an elliptic curve point object from Bouncy Castle.
- getPubKeys() - Method in class org.bitcoinj.script.Script
-
Returns a list of the keys required by this script, assuming a multi-sig script.
- getPublicKey() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
The public EC key derived from the private key.
- getPublicKey() - Method in class org.bitcoinj.wallet.Protos.Key
-
The public EC key derived from the private key.
- getPublicKey() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
The public EC key derived from the private key.
- getPublicKeyAsHex() - Method in class org.bitcoinj.core.ECKey
- getPurpose() - Method in class org.bitcoinj.core.Transaction
-
Returns the purpose for which this transaction was created.
- getPurpose() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
- getPurpose() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
- getPurpose() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
- getPush(int) - Method in class org.bitcoinj.core.TransactionWitness
- getPushCount() - Method in class org.bitcoinj.core.TransactionWitness
- getPushDataName(int) - Static method in class org.bitcoinj.script.ScriptOpCodes
-
Converts the given pushdata OpCode into a string (eg "PUSHDATA2", or "PUSHDATA(23)")
- getR() - Method in class org.bitcoinj.wallet.Protos.ScryptParameters.Builder
-
Block size parameter
- getR() - Method in class org.bitcoinj.wallet.Protos.ScryptParameters
-
Block size parameter
- getR() - Method in interface org.bitcoinj.wallet.Protos.ScryptParametersOrBuilder
-
Block size parameter
- getReasonCode() - Method in class org.bitcoinj.core.RejectMessage
-
The reason code given for why the peer rejected the message.
- getReasonString() - Method in class org.bitcoinj.core.RejectMessage
-
The reason message given for rejection.
- getRecentTransactions(int, boolean) - Method in class org.bitcoinj.wallet.Wallet
-
Returns an list of N transactions, ordered by increasing age.
- getRedeemData(DeterministicKey) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Get redeem data for a key.
- getRedeemData(DeterministicKey) - Method in class org.bitcoinj.wallet.MarriedKeyChain
-
Get the redeem data for a key in this married chain
- getReferenceClientBlockFileList() - Static method in class org.bitcoinj.utils.BlockFileLoader
- getReferenceClientBlockFileList(File) - Static method in class org.bitcoinj.utils.BlockFileLoader
-
Gets the list of files which contain blocks from Bitcoin Core.
- getRefundTo(int) - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Where to send refunds, if a refund is necessary
- getRefundTo(int) - Method in class org.bitcoin.protocols.payments.Protos.Payment
-
Where to send refunds, if a refund is necessary
- getRefundTo(int) - Method in interface org.bitcoin.protocols.payments.Protos.PaymentOrBuilder
-
Where to send refunds, if a refund is necessary
- getRefundToCount() - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Where to send refunds, if a refund is necessary
- getRefundToCount() - Method in class org.bitcoin.protocols.payments.Protos.Payment
-
Where to send refunds, if a refund is necessary
- getRefundToCount() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentOrBuilder
-
Where to send refunds, if a refund is necessary
- getRefundToList() - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Where to send refunds, if a refund is necessary
- getRefundToList() - Method in class org.bitcoin.protocols.payments.Protos.Payment
-
Where to send refunds, if a refund is necessary
- getRefundToList() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentOrBuilder
-
Where to send refunds, if a refund is necessary
- getRefundToOrBuilder(int) - Method in class org.bitcoin.protocols.payments.Protos.Payment
-
Where to send refunds, if a refund is necessary
- getRefundToOrBuilderList() - Method in class org.bitcoin.protocols.payments.Protos.Payment
-
Where to send refunds, if a refund is necessary
- getRejectedMessage() - Method in class org.bitcoinj.core.RejectMessage
-
Provides the type of message which was rejected by the peer.
- getRejectedObjectHash() - Method in class org.bitcoinj.core.RejectMessage
-
Provides the hash of the rejected object (if getRejectedMessage() is either "tx" or "block"), otherwise null.
- getRejectMessage() - Method in exception org.bitcoinj.core.RejectedTransactionException
-
Return the RejectMessage object representing the broadcast rejection.
- getRetryTime() - Method in class org.bitcoinj.utils.ExponentialBackoff
-
Get the next time to retry, in milliseconds since the epoch
- getReversedBytes() - Method in class org.bitcoinj.core.Sha256Hash
-
Returns a reversed copy of the internal byte array.
- getRiskAnalyzer() - Method in class org.bitcoinj.wallet.Wallet
-
Gets the current
RiskAnalysis
implementation. - getRootKey() - Method in class org.bitcoinj.crypto.DeterministicHierarchy
-
Returns the root key that the
DeterministicHierarchy
was created with. - getRootKey() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- getSalt() - Method in class org.bitcoinj.wallet.Protos.ScryptParameters.Builder
-
Salt to use in generation of the wallet password (8 bytes)
- getSalt() - Method in class org.bitcoinj.wallet.Protos.ScryptParameters
-
Salt to use in generation of the wallet password (8 bytes)
- getSalt() - Method in interface org.bitcoinj.wallet.Protos.ScryptParametersOrBuilder
-
Salt to use in generation of the wallet password (8 bytes)
- getScript() - Method in class org.bitcoin.protocols.payments.Protos.Output.Builder
-
usually one of the standard Script forms
- getScript() - Method in class org.bitcoin.protocols.payments.Protos.Output
-
usually one of the standard Script forms
- getScript() - Method in interface org.bitcoin.protocols.payments.Protos.OutputOrBuilder
-
usually one of the standard Script forms
- getScript() - Method in class org.bitcoinj.core.UTXO
-
The Script object which you can use to get address, script bytes or script type.
- getScriptBytes() - Method in class org.bitcoinj.core.TransactionInput
-
The "script bytes" might not actually be a script.
- getScriptBytes() - Method in class org.bitcoinj.core.TransactionOutput
-
The backing script bytes which can be turned into a Script object.
- getScriptBytes() - Method in class org.bitcoinj.wallet.Protos.TransactionInput.Builder
-
Script that contains the signatures/pubkeys.
- getScriptBytes() - Method in class org.bitcoinj.wallet.Protos.TransactionInput
-
Script that contains the signatures/pubkeys.
- getScriptBytes() - Method in interface org.bitcoinj.wallet.Protos.TransactionInputOrBuilder
-
Script that contains the signatures/pubkeys.
- getScriptBytes() - Method in class org.bitcoinj.wallet.Protos.TransactionOutput.Builder
-
script of transaction output
- getScriptBytes() - Method in class org.bitcoinj.wallet.Protos.TransactionOutput
-
script of transaction output
- getScriptBytes() - Method in interface org.bitcoinj.wallet.Protos.TransactionOutputOrBuilder
-
script of transaction output
- getScriptPubKey() - Method in class org.bitcoinj.core.TransactionOutput
- getScriptSig() - Method in class org.bitcoinj.core.TransactionInput
-
Returns the script that is fed to the referenced output (scriptPubKey) script in order to satisfy it: usually contains signatures and maybe keys, but can contain arbitrary data if the output script accepts it.
- getScriptSigWithSignature(Script, byte[], int) - Method in class org.bitcoinj.script.Script
-
Returns a copy of the given scriptSig with the signature inserted in the given position.
- getScriptType() - Method in class org.bitcoinj.script.Script
-
Get the
Script.ScriptType
. - getScryptParameters() - Method in class org.bitcoinj.crypto.KeyCrypterScrypt
- getSecretBytes() - Method in class org.bitcoinj.core.ECKey
-
A wrapper for
ECKey.getPrivKeyBytes()
that returns null if the private key bytes are missing or would have to be derived (for the HD key case). - getSecretBytes() - Method in class org.bitcoinj.crypto.DeterministicKey
- getSecretBytes() - Method in interface org.bitcoinj.crypto.EncryptableItem
-
Returns the raw bytes of the item, if not encrypted, or null if encrypted or the secret is missing.
- getSecretBytes() - Method in class org.bitcoinj.wallet.DeterministicSeed
- getSecretBytes() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed.
- getSecretBytes() - Method in class org.bitcoinj.wallet.Protos.Key
-
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed.
- getSecretBytes() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed.
- getSeed() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns the seed or null if this chain is a watching chain.
- getSeed(int) - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- getSeed(int) - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- getSeed(int) - Method in interface org.bitcoin.crawler.PeerSeedProtos.PeerSeedsOrBuilder
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- getSeedBytes() - Method in class org.bitcoinj.wallet.DeterministicSeed
- getSeedCount() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- getSeedCount() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- getSeedCount() - Method in interface org.bitcoin.crawler.PeerSeedProtos.PeerSeedsOrBuilder
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- getSeedList() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- getSeedList() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- getSeedList() - Method in interface org.bitcoin.crawler.PeerSeedProtos.PeerSeedsOrBuilder
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- getSeedOrBuilder(int) - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- getSeedOrBuilderList() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds
-
repeated .org.bitcoin.crawler.PeerSeedData seed = 1;
- getSegwitAddressHrp() - Method in class org.bitcoinj.core.NetworkParameters
-
Human readable part of bech32 encoded segwit address.
- getSelectHeadersDumpSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to select the headers dump fields for sizing/statistics.
- getSelectHeadersSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to select a headers record.
- getSelectOpenoutputsCountSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to select count of openoutputs.
- getSelectopenoutputsDumpSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to select the openoutouts dump fields for sizing/statistics.
- getSelectOpenoutputsSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to select a openoutputs record.
- getSelectOpenoutputsSQL() - Method in class org.bitcoinj.store.MySQLFullPrunedBlockStore
- getSelectSettingsDumpSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to select the setting dump fields for sizing/statistics.
- getSelectSettingsSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to select a setting value.
- getSelectUndoableblocksDumpSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to select the undoableblocks dump fields for sizing/statistics.
- getSelectUndoableBlocksSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to select an undoableblocks record.
- getSendRequest() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns a
SendRequest
suitable for broadcasting to the network. - getSequence() - Method in class org.bitcoinj.wallet.Protos.TransactionInput.Builder
-
Sequence number.
- getSequence() - Method in class org.bitcoinj.wallet.Protos.TransactionInput
-
Sequence number.
- getSequence() - Method in interface org.bitcoinj.wallet.Protos.TransactionInputOrBuilder
-
Sequence number.
- getSequenceNumber() - Method in class org.bitcoinj.core.TransactionInput
-
Sequence numbers allow participants in a multi-party transaction signing protocol to create new versions of the transaction independently of each other.
- getSerializedPaymentDetails() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest.Builder
-
PaymentDetails
- getSerializedPaymentDetails() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest
-
PaymentDetails
- getSerializedPaymentDetails() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentRequestOrBuilder
-
PaymentDetails
- getSerializer(boolean) - Method in class org.bitcoinj.core.NetworkParameters
-
Construct and return a custom serializer.
- getSerializer(boolean) - Method in class org.bitcoinj.params.AbstractBitcoinNetParams
- getServices() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData.Builder
-
required uint32 services = 3;
- getServices() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeedData
-
required uint32 services = 3;
- getServices() - Method in interface org.bitcoin.crawler.PeerSeedProtos.PeerSeedDataOrBuilder
-
required uint32 services = 3;
- getServices() - Method in class org.bitcoinj.core.PeerAddress
- getServices() - Method in class org.bitcoinj.wallet.Protos.PeerAddress.Builder
-
required uint64 services = 3;
- getServices() - Method in class org.bitcoinj.wallet.Protos.PeerAddress
-
required uint64 services = 3;
- getServices() - Method in interface org.bitcoinj.wallet.Protos.PeerAddressOrBuilder
-
required uint64 services = 3;
- getSigInsertionIndex(Sha256Hash, ECKey) - Method in class org.bitcoinj.script.Script
-
Returns the index where a signature by the key should be inserted.
- getSignature() - Method in class org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeeds.Builder
-
required bytes signature = 2;
- getSignature() - Method in class org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeeds
-
required bytes signature = 2;
- getSignature() - Method in interface org.bitcoin.crawler.PeerSeedProtos.SignedPeerSeedsOrBuilder
-
required bytes signature = 2;
- getSignature() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest.Builder
-
pki-dependent signature
- getSignature() - Method in class org.bitcoin.protocols.payments.Protos.PaymentRequest
-
pki-dependent signature
- getSignature() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentRequestOrBuilder
-
pki-dependent signature
- getSignature(Sha256Hash, List<ChildNumber>) - Method in class org.bitcoinj.signers.CustomTransactionSigner
- getSigOpCount() - Method in class org.bitcoinj.core.Transaction
-
Gets the count of regular SigOps in this transactions
- getSigOpCount(byte[]) - Static method in class org.bitcoinj.script.Script
-
Gets the count of regular SigOps in the script program (counting multisig ops as 20)
- getSigsRequiredToSpend() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns the number of signatures required to spend transactions for this KeyChain.
- getSigsRequiredToSpend() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey.Builder
-
Number of signatures required to spend.
- getSigsRequiredToSpend() - Method in class org.bitcoinj.wallet.Protos.DeterministicKey
-
Number of signatures required to spend.
- getSigsRequiredToSpend() - Method in interface org.bitcoinj.wallet.Protos.DeterministicKeyOrBuilder
-
Number of signatures required to spend.
- getSizeInBytes() - Method in class org.bitcoinj.core.VarInt
-
Returns the minimum encoded size of the value.
- getSocketAddress() - Method in class org.bitcoinj.core.PeerAddress
- getSource() - Method in class org.bitcoinj.core.TransactionConfidence
-
The source of a transaction tries to identify where it came from originally.
- getSource() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
optional .wallet.TransactionConfidence.Source source = 7;
- getSource() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence
-
optional .wallet.TransactionConfidence.Source source = 7;
- getSource() - Method in interface org.bitcoinj.wallet.Protos.TransactionConfidenceOrBuilder
-
optional .wallet.TransactionConfidence.Source source = 7;
- getSpendableCoinbaseDepth() - Method in class org.bitcoinj.core.NetworkParameters
- getSpentBy() - Method in class org.bitcoinj.core.TransactionOutput
-
Returns the connected input.
- getSpentByTransactionHash() - Method in class org.bitcoinj.wallet.Protos.TransactionOutput.Builder
-
If spent, the hash of the transaction doing the spend.
- getSpentByTransactionHash() - Method in class org.bitcoinj.wallet.Protos.TransactionOutput
-
If spent, the hash of the transaction doing the spend.
- getSpentByTransactionHash() - Method in interface org.bitcoinj.wallet.Protos.TransactionOutputOrBuilder
-
If spent, the hash of the transaction doing the spend.
- getSpentByTransactionIndex() - Method in class org.bitcoinj.wallet.Protos.TransactionOutput.Builder
-
If spent, the index of the transaction input of the transaction doing the spend.
- getSpentByTransactionIndex() - Method in class org.bitcoinj.wallet.Protos.TransactionOutput
-
If spent, the index of the transaction input of the transaction doing the spend.
- getSpentByTransactionIndex() - Method in interface org.bitcoinj.wallet.Protos.TransactionOutputOrBuilder
-
If spent, the index of the transaction input of the transaction doing the spend.
- getStopHash() - Method in class org.bitcoinj.core.GetBlocksMessage
- getStoredBlockInCurrentScope(Sha256Hash) - Method in class org.bitcoinj.core.AbstractBlockChain
-
For a standard BlockChain, this should return blockStore.get(hash), for a FullPrunedBlockChain blockStore.getOnceUndoableStoredBlock(hash)
- getStoredBlockInCurrentScope(Sha256Hash) - Method in class org.bitcoinj.core.BlockChain
- getStoredBlockInCurrentScope(Sha256Hash) - Method in class org.bitcoinj.core.FullPrunedBlockChain
- getStoredOutputsFromUTXOProvider() - Method in class org.bitcoinj.wallet.Wallet
-
Get all the
UTXO
's from theUTXOProvider
based on keys that the wallet contains. - getSubsidyDecreaseBlockCount() - Method in class org.bitcoinj.core.NetworkParameters
- getSymbolInstance() - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new auto-denominating instance that will indicate units using a currency symbol, for example,
"฿"
. - getSymbolInstance(int) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new symbol-style auto-formatter with the given number of fractional decimal places.
- getSymbolInstance(Locale) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new symbol-style auto-formatter for the given locale.
- getSymbolInstance(Locale, int) - Static method in class org.bitcoinj.utils.BtcFormat
-
Return a new symbol-style auto-formatter for the given locale with the given number of fraction places.
- getTablesExistSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL statement that checks if tables exist.
- getTag() - Method in class org.bitcoinj.wallet.Protos.Tag.Builder
-
required string tag = 1;
- getTag() - Method in class org.bitcoinj.wallet.Protos.Tag
-
required string tag = 1;
- getTag() - Method in interface org.bitcoinj.wallet.Protos.TagOrBuilder
-
required string tag = 1;
- getTag(String) - Method in class org.bitcoinj.utils.BaseTaggableObject
- getTag(String) - Method in interface org.bitcoinj.utils.TaggableObject
-
Returns the immutable byte array associated with the given tag name, or throws
IllegalArgumentException
if that tag wasn't set yet. - getTagBytes() - Method in class org.bitcoinj.wallet.Protos.Tag.Builder
-
required string tag = 1;
- getTagBytes() - Method in class org.bitcoinj.wallet.Protos.Tag
-
required string tag = 1;
- getTagBytes() - Method in interface org.bitcoinj.wallet.Protos.TagOrBuilder
-
required string tag = 1;
- getTags() - Method in class org.bitcoinj.utils.BaseTaggableObject
- getTags() - Method in interface org.bitcoinj.utils.TaggableObject
-
Returns a copy of all the tags held by this object.
- getTags(int) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Tag tags = 16;
- getTags(int) - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Tag tags = 16;
- getTags(int) - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Tag tags = 16;
- getTagsCount() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Tag tags = 16;
- getTagsCount() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Tag tags = 16;
- getTagsCount() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Tag tags = 16;
- getTagsList() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Tag tags = 16;
- getTagsList() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Tag tags = 16;
- getTagsList() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Tag tags = 16;
- getTagsOrBuilder(int) - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Tag tags = 16;
- getTagsOrBuilderList() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Tag tags = 16;
- getTargetTimespan() - Method in class org.bitcoinj.core.NetworkParameters
-
How much time in seconds is supposed to pass between "interval" blocks.
- getTime() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails.Builder
-
Timestamp; when payment request created
- getTime() - Method in class org.bitcoin.protocols.payments.Protos.PaymentDetails
-
Timestamp; when payment request created
- getTime() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentDetailsOrBuilder
-
Timestamp; when payment request created
- getTime() - Method in class org.bitcoinj.core.Block
-
Returns the time at which the block was solved and broadcast, according to the clock of the solving node.
- getTime() - Method in class org.bitcoinj.core.PeerAddress
- getTimeSeconds() - Method in class org.bitcoinj.core.Block
-
Returns the time at which the block was solved and broadcast, according to the clock of the solving node.
- getTimestamp() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds.Builder
-
seconds since UNIX epoch
- getTimestamp() - Method in class org.bitcoin.crawler.PeerSeedProtos.PeerSeeds
-
seconds since UNIX epoch
- getTimestamp() - Method in interface org.bitcoin.crawler.PeerSeedProtos.PeerSeedsOrBuilder
-
seconds since UNIX epoch
- getToAddress(NetworkParameters) - Method in class org.bitcoinj.script.Script
-
Gets the destination address from this script, if it's in the required form.
- getToAddress(NetworkParameters, boolean) - Method in class org.bitcoinj.script.Script
-
Gets the destination address from this script, if it's in the required form.
- getTotalReceived() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the amount of bitcoin ever received via output.
- getTotalSent() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the amount of bitcoin ever sent via output.
- getTransaction() - Method in exception org.bitcoinj.core.RejectedTransactionException
-
Return the original Transaction object whose broadcast was rejected.
- getTransaction() - Method in class org.bitcoinj.wallet.WalletTransaction
- getTransaction(int) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Transaction transaction = 4;
- getTransaction(int) - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Transaction transaction = 4;
- getTransaction(int) - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Transaction transaction = 4;
- getTransaction(Sha256Hash) - Method in class org.bitcoinj.wallet.Wallet
-
Returns a transaction object given its hash, if it exists in this wallet, or null otherwise.
- getTransactionCount() - Method in class org.bitcoinj.core.FilteredBlock
-
Number of transactions in this block, before it was filtered
- getTransactionCount() - Method in class org.bitcoinj.core.PartialMerkleTree
- getTransactionCount() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Transaction transaction = 4;
- getTransactionCount() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Transaction transaction = 4;
- getTransactionCount() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Transaction transaction = 4;
- getTransactionHash() - Method in class org.bitcoinj.core.TransactionConfidence
- getTransactionHashes() - Method in class org.bitcoinj.core.FilteredBlock
-
Gets a list of leaf hashes which are contained in the partial merkle tree in this filtered block
- getTransactionInput(int) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionInput transaction_input = 6;
- getTransactionInput(int) - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated .wallet.TransactionInput transaction_input = 6;
- getTransactionInput(int) - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
repeated .wallet.TransactionInput transaction_input = 6;
- getTransactionInputCount() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionInput transaction_input = 6;
- getTransactionInputCount() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated .wallet.TransactionInput transaction_input = 6;
- getTransactionInputCount() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
repeated .wallet.TransactionInput transaction_input = 6;
- getTransactionInputList() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionInput transaction_input = 6;
- getTransactionInputList() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated .wallet.TransactionInput transaction_input = 6;
- getTransactionInputList() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
repeated .wallet.TransactionInput transaction_input = 6;
- getTransactionInputOrBuilder(int) - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated .wallet.TransactionInput transaction_input = 6;
- getTransactionInputOrBuilderList() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated .wallet.TransactionInput transaction_input = 6;
- getTransactionList() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Transaction transaction = 4;
- getTransactionList() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Transaction transaction = 4;
- getTransactionList() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Transaction transaction = 4;
- getTransactionOrBuilder(int) - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Transaction transaction = 4;
- getTransactionOrBuilderList() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Transaction transaction = 4;
- getTransactionOutPointHash() - Method in class org.bitcoinj.wallet.Protos.TransactionInput.Builder
-
Hash of the transaction this input is using.
- getTransactionOutPointHash() - Method in class org.bitcoinj.wallet.Protos.TransactionInput
-
Hash of the transaction this input is using.
- getTransactionOutPointHash() - Method in interface org.bitcoinj.wallet.Protos.TransactionInputOrBuilder
-
Hash of the transaction this input is using.
- getTransactionOutPointIndex() - Method in class org.bitcoinj.wallet.Protos.TransactionInput.Builder
-
Index of transaction output used by this input.
- getTransactionOutPointIndex() - Method in class org.bitcoinj.wallet.Protos.TransactionInput
-
Index of transaction output used by this input.
- getTransactionOutPointIndex() - Method in interface org.bitcoinj.wallet.Protos.TransactionInputOrBuilder
-
Index of transaction output used by this input.
- getTransactionOutput(int) - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionOutput transaction_output = 7;
- getTransactionOutput(int) - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated .wallet.TransactionOutput transaction_output = 7;
- getTransactionOutput(int) - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
repeated .wallet.TransactionOutput transaction_output = 7;
- getTransactionOutput(Sha256Hash, long) - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- getTransactionOutput(Sha256Hash, long) - Method in interface org.bitcoinj.store.FullPrunedBlockStore
-
Gets a
UTXO
with the given hash and index, or null if none is found - getTransactionOutput(Sha256Hash, long) - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- getTransactionOutput(Sha256Hash, long) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- getTransactionOutputCount() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionOutput transaction_output = 7;
- getTransactionOutputCount() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated .wallet.TransactionOutput transaction_output = 7;
- getTransactionOutputCount() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
repeated .wallet.TransactionOutput transaction_output = 7;
- getTransactionOutputList() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
repeated .wallet.TransactionOutput transaction_output = 7;
- getTransactionOutputList() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated .wallet.TransactionOutput transaction_output = 7;
- getTransactionOutputList() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
repeated .wallet.TransactionOutput transaction_output = 7;
- getTransactionOutputOrBuilder(int) - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated .wallet.TransactionOutput transaction_output = 7;
- getTransactionOutputOrBuilderList() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
repeated .wallet.TransactionOutput transaction_output = 7;
- getTransactionOutputSelectSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to select the transaction outputs for a given address.
- getTransactionOutputSelectSQL() - Method in class org.bitcoinj.store.MySQLFullPrunedBlockStore
- getTransactionPool(WalletTransaction.Pool) - Method in interface org.bitcoinj.core.TransactionBag
-
Returns transactions from a specific pool.
- getTransactionPool(WalletTransaction.Pool) - Method in class org.bitcoinj.wallet.Wallet
- getTransactions() - Method in class org.bitcoinj.core.Block
-
Returns an immutable list of transactions held in this block, or null if this object represents just a header.
- getTransactions() - Method in class org.bitcoinj.core.StoredUndoableBlock
-
Get the full list of transactions if it is stored, otherwise null.
- getTransactions(boolean) - Method in class org.bitcoinj.wallet.Wallet
-
Returns a set of all transactions in the wallet.
- getTransactions(int) - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Signed transactions that satisfy PaymentDetails.outputs
- getTransactions(int) - Method in class org.bitcoin.protocols.payments.Protos.Payment
-
Signed transactions that satisfy PaymentDetails.outputs
- getTransactions(int) - Method in interface org.bitcoin.protocols.payments.Protos.PaymentOrBuilder
-
Signed transactions that satisfy PaymentDetails.outputs
- getTransactionsByTime() - Method in class org.bitcoinj.wallet.Wallet
-
Returns all non-dead, active transactions ordered by recency.
- getTransactionsCount() - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Signed transactions that satisfy PaymentDetails.outputs
- getTransactionsCount() - Method in class org.bitcoin.protocols.payments.Protos.Payment
-
Signed transactions that satisfy PaymentDetails.outputs
- getTransactionsCount() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentOrBuilder
-
Signed transactions that satisfy PaymentDetails.outputs
- getTransactionSigners() - Method in class org.bitcoinj.wallet.Wallet
- getTransactionsList() - Method in class org.bitcoin.protocols.payments.Protos.Payment.Builder
-
Signed transactions that satisfy PaymentDetails.outputs
- getTransactionsList() - Method in class org.bitcoin.protocols.payments.Protos.Payment
-
Signed transactions that satisfy PaymentDetails.outputs
- getTransactionsList() - Method in interface org.bitcoin.protocols.payments.Protos.PaymentOrBuilder
-
Signed transactions that satisfy PaymentDetails.outputs
- getTransactionVerificationFlags(Block, Transaction, VersionTally, Integer) - Method in class org.bitcoinj.core.NetworkParameters
-
The flags indicating which script validation tests should be applied to the given transaction.
- getTxId() - Method in class org.bitcoinj.core.Transaction
-
Returns the transaction id as you see them in block explorers.
- getTxnHashAndMerkleRoot(List<Sha256Hash>) - Method in class org.bitcoinj.core.PartialMerkleTree
-
Extracts tx hashes that are in this merkle tree and returns the merkle root of this tree.
- getTxOutChanges() - Method in class org.bitcoinj.core.StoredUndoableBlock
-
Get the transaction output changes if they have been calculated, otherwise null.
- getType() - Method in class org.bitcoinj.wallet.Protos.Key.Builder
-
required .wallet.Key.Type type = 1;
- getType() - Method in class org.bitcoinj.wallet.Protos.Key
-
required .wallet.Key.Type type = 1;
- getType() - Method in interface org.bitcoinj.wallet.Protos.KeyOrBuilder
-
required .wallet.Key.Type type = 1;
- getType() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence.Builder
-
This is optional in case we add confidence types to prevent parse errors - backwards compatible.
- getType() - Method in class org.bitcoinj.wallet.Protos.TransactionConfidence
-
This is optional in case we add confidence types to prevent parse errors - backwards compatible.
- getType() - Method in interface org.bitcoinj.wallet.Protos.TransactionConfidenceOrBuilder
-
This is optional in case we add confidence types to prevent parse errors - backwards compatible.
- getUnderstoodEncryptionType() - Method in interface org.bitcoinj.crypto.KeyCrypter
-
Return the EncryptionType enum value which denotes the type of encryption/ decryption that this KeyCrypter can understand.
- getUnderstoodEncryptionType() - Method in class org.bitcoinj.crypto.KeyCrypterScrypt
-
Return the EncryptionType enum value which denotes the type of encryption/ decryption that this KeyCrypter can understand.
- getUndoBlock(Sha256Hash) - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- getUndoBlock(Sha256Hash) - Method in interface org.bitcoinj.store.FullPrunedBlockStore
-
Returns a
StoredUndoableBlock
whose block.getHash() method will be equal to the parameter. - getUndoBlock(Sha256Hash) - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- getUndoBlock(Sha256Hash) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- getUnspents() - Method in class org.bitcoinj.wallet.Wallet
-
Returns a copy of the internal unspent outputs list
- getUpdatedAt() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
millis since epoch the transaction was last updated
- getUpdatedAt() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
millis since epoch the transaction was last updated
- getUpdatedAt() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
millis since epoch the transaction was last updated
- getUpdateFlag() - Method in class org.bitcoinj.core.BloomFilter
-
The update flag controls how application of the filter to a block modifies the filter.
- getUpdateHeadersSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to update a headers record.
- getUpdateSettingsSLQ() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to update a setting value.
- getUpdateTime() - Method in class org.bitcoinj.core.Transaction
-
Returns the earliest time at which the transaction was seen (broadcast or included into the chain), or the epoch if that information isn't available.
- getUpdateUndoableBlocksSQL() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
-
Get the SQL to update a undoableblocks record.
- getUriScheme() - Method in class org.bitcoinj.core.NetworkParameters
-
Scheme part for URIs, for example "bitcoin".
- getUriScheme() - Method in class org.bitcoinj.params.AbstractBitcoinNetParams
- getUseLocalhostPeerWhenPossible() - Method in class org.bitcoinj.core.PeerGroup
- getUTXOProvider() - Method in class org.bitcoinj.wallet.Wallet
-
Get the
UTXOProvider
. - getUTXOs(List<TransactionOutPoint>) - Method in class org.bitcoinj.core.Peer
-
Sends a query to the remote peer asking for the unspent transaction outputs (UTXOs) for the given outpoints, with the memory pool included.
- getUTXOs(List<TransactionOutPoint>, boolean) - Method in class org.bitcoinj.core.Peer
-
Sends a query to the remote peer asking for the unspent transaction outputs (UTXOs) for the given outpoints.
- GetUTXOsMessage - Class in org.bitcoinj.core
-
This command is supported only by Bitcoin XT nodes, which advertise themselves using the second service bit flag.
- GetUTXOsMessage(NetworkParameters, byte[]) - Constructor for class org.bitcoinj.core.GetUTXOsMessage
- GetUTXOsMessage(NetworkParameters, List<TransactionOutPoint>, boolean) - Constructor for class org.bitcoinj.core.GetUTXOsMessage
- getValue() - Method in class org.bitcoinj.core.Coin
-
Returns the number of satoshis of this monetary value.
- getValue() - Method in interface org.bitcoinj.core.Monetary
-
Returns the number of "smallest units" of this monetary value.
- getValue() - Method in enum org.bitcoinj.core.TransactionConfidence.ConfidenceType
- getValue() - Method in class org.bitcoinj.core.TransactionInput
- getValue() - Method in class org.bitcoinj.core.TransactionOutput
-
Returns the value of this output.
- getValue() - Method in class org.bitcoinj.core.UTXO
-
The value which this Transaction output holds.
- getValue() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the total amount of bitcoins requested.
- getValue() - Method in class org.bitcoinj.utils.Fiat
-
Returns the number of "smallest units" of this monetary value.
- getValue() - Method in class org.bitcoinj.wallet.Protos.TransactionInput.Builder
-
Value of connected output, if known
- getValue() - Method in class org.bitcoinj.wallet.Protos.TransactionInput
-
Value of connected output, if known
- getValue() - Method in interface org.bitcoinj.wallet.Protos.TransactionInputOrBuilder
-
Value of connected output, if known
- getValue() - Method in class org.bitcoinj.wallet.Protos.TransactionOutput.Builder
-
required int64 value = 1;
- getValue() - Method in class org.bitcoinj.wallet.Protos.TransactionOutput
-
required int64 value = 1;
- getValue() - Method in interface org.bitcoinj.wallet.Protos.TransactionOutputOrBuilder
-
required int64 value = 1;
- getValue(TransactionBag) - Method in class org.bitcoinj.core.Transaction
-
Returns the difference of
Transaction.getValueSentToMe(TransactionBag)
andTransaction.getValueSentFromMe(TransactionBag)
. - getValueSentFromMe(TransactionBag) - Method in class org.bitcoinj.core.Transaction
-
Calculates the sum of the inputs that are spending coins with keys in the wallet.
- getValueSentToMe(TransactionBag) - Method in class org.bitcoinj.core.Transaction
-
Calculates the sum of the outputs that are sending coins to a key in the wallet.
- getVerifiedChainHead() - Method in class org.bitcoinj.store.DatabaseFullPrunedBlockStore
- getVerifiedChainHead() - Method in interface org.bitcoinj.store.FullPrunedBlockStore
-
Returns the
StoredBlock
that represents the top of the chain of greatest total work that has been fully verified and the point in the chain at which the unspent transaction output set in this store represents. - getVerifiedChainHead() - Method in class org.bitcoinj.store.LevelDBFullPrunedBlockStore
- getVerifiedChainHead() - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- getVersion() - Method in class org.bitcoinj.core.Block
-
Returns the version of the block data structure as defined by the Bitcoin protocol.
- getVersion() - Method in class org.bitcoinj.core.LegacyAddress
-
Get the version header of an address.
- getVersion() - Method in class org.bitcoinj.core.Transaction
- getVersion() - Method in class org.bitcoinj.wallet.Protos.Transaction.Builder
-
See Wallet.java for detailed description of pool semantics
- getVersion() - Method in class org.bitcoinj.wallet.Protos.Transaction
-
See Wallet.java for detailed description of pool semantics
- getVersion() - Method in interface org.bitcoinj.wallet.Protos.TransactionOrBuilder
-
See Wallet.java for detailed description of pool semantics
- getVersion() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
The version number of the wallet - used to detect wallets that were produced in the future (i.e.
- getVersion() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
The version number of the wallet - used to detect wallets that were produced in the future (i.e.
- getVersion() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
The version number of the wallet - used to detect wallets that were produced in the future (i.e.
- getVersion() - Method in class org.bitcoinj.wallet.Wallet
-
Get the version of the Wallet.
- getVersionHandshakeFuture() - Method in class org.bitcoinj.core.Peer
- getVersionMessage() - Method in class org.bitcoinj.core.Peer
-
Returns version data we announce to our remote peers.
- getVersionMessage() - Method in class org.bitcoinj.core.PeerGroup
-
Returns the version message provided by setVersionMessage or a default if none was given.
- getVersionTally() - Method in class org.bitcoinj.core.AbstractBlockChain
- getVsize() - Method in class org.bitcoinj.core.Transaction
-
Gets the virtual transaction size as defined in BIP141.
- getWallet() - Method in class org.bitcoinj.wallet.WalletFiles
-
Get the
Wallet
thisWalletFiles
is managing. - getWalletExtensionID() - Method in interface org.bitcoinj.wallet.WalletExtension
-
Returns a Java package/class style name used to disambiguate this extension from others.
- getWalletOutputs(TransactionBag) - Method in class org.bitcoinj.core.Transaction
-
Returns the list of transacion outputs, whether spent or unspent, that match a wallet by address or that are watched by a wallet, i.e., transaction outputs whose script's address is controlled by the wallet and transaction outputs whose script is watched by the wallet.
- getWalletTransactions() - Method in class org.bitcoinj.wallet.Wallet
-
Returns a set of all WalletTransactions in the wallet.
- getWatchedAddresses() - Method in class org.bitcoinj.wallet.Wallet
-
Returns all addresses watched by this wallet.
- getWatchedOutputs(boolean) - Method in class org.bitcoinj.wallet.Wallet
-
Returns all the outputs that match addresses or scripts added via
Wallet.addWatchedAddress(Address)
orWallet.addWatchedScripts(java.util.List)
. - getWatchedScript(int) - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Script watched_script = 15;
- getWatchedScript(int) - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Script watched_script = 15;
- getWatchedScript(int) - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Script watched_script = 15;
- getWatchedScriptCount() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Script watched_script = 15;
- getWatchedScriptCount() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Script watched_script = 15;
- getWatchedScriptCount() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Script watched_script = 15;
- getWatchedScriptList() - Method in class org.bitcoinj.wallet.Protos.Wallet.Builder
-
repeated .wallet.Script watched_script = 15;
- getWatchedScriptList() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Script watched_script = 15;
- getWatchedScriptList() - Method in interface org.bitcoinj.wallet.Protos.WalletOrBuilder
-
repeated .wallet.Script watched_script = 15;
- getWatchedScriptOrBuilder(int) - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Script watched_script = 15;
- getWatchedScriptOrBuilderList() - Method in class org.bitcoinj.wallet.Protos.Wallet
-
repeated .wallet.Script watched_script = 15;
- getWatchedScripts() - Method in class org.bitcoinj.wallet.Wallet
-
Returns a snapshot of the watched scripts.
- getWatchingKey() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
An alias for
getKeyByPath(getAccountPath())
. - getWatchingKey() - Method in class org.bitcoinj.wallet.Wallet
-
Returns a public-only DeterministicKey that can be used to set up a watching wallet: that is, a wallet that can import transactions from the block chain just as the normal wallet can, but which cannot spend.
- getWeight() - Method in class org.bitcoinj.core.Transaction
-
Gets the transaction weight as defined in BIP141.
- getWitness() - Method in class org.bitcoinj.core.