A B C D E F G H I J K L M N O P Q R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABORT_ON_CONFLICT - org.bitcoinj.core.TransactionInput.ConnectMode
- abortDatabaseBatchWrite() - Method in interface org.bitcoinj.store.FullPrunedBlockStore
- abortDatabaseBatchWrite() - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- 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(Network, 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
- AbstractTimeoutHandler - Class in org.bitcoinj.net
-
Deprecated.Don't extend this class, implement
TimeoutHandler
usingSocketTimeoutTask
instead - AbstractTimeoutHandler() - Constructor for class org.bitcoinj.net.AbstractTimeoutHandler
-
Deprecated.
- account(int) - Static method in interface org.bitcoinj.wallet.KeyChainGroupStructure
-
Return path component for an account
- ACCOUNT_ONE_PATH - Static variable in class org.bitcoinj.wallet.DeterministicKeyChain
- 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(ScriptType) - Method in interface org.bitcoinj.wallet.KeyChainGroupStructure
- accountPathFor(ScriptType, Network) - Method in interface org.bitcoinj.wallet.KeyChainGroupStructure
-
Map desired output script type and network to an account path
- accountPathFor(ScriptType, NetworkParameters) - Method in interface org.bitcoinj.wallet.KeyChainGroupStructure
-
Deprecated.
- 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(Coin) - Method in class org.bitcoinj.base.Coin
- add(Sha256Hash) - Method in class org.bitcoinj.core.BlockLocator
-
Deprecated.
- add(Fiat) - Method in class org.bitcoinj.base.utils.Fiat
- add(Block) - 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.AbstractBlockChain
-
Processes a received block and tries to add it to the chain.
- add(FilteredBlock) - Method in class org.bitcoinj.core.BlockChain
- add(ECPoint) - Method in class org.bitcoinj.crypto.LazyECPoint
- 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.
- addAddressEventListener(Executor, AddressEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is called when addr or addrv2 messages are received.
- addAddressEventListener(AddressEventListener) - Method in class org.bitcoinj.core.Peer
-
Registers a listener that is called when addr or addrv2 messages are received.
- 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(Sha256Hash, boolean) - Method in class org.bitcoinj.core.GetDataMessage
-
Deprecated.
- addBlock(Block) - Method in class org.bitcoinj.core.InventoryMessage
-
Deprecated.Use a constructor or factoring
- addBlockAppearance(Sha256Hash, int) - Method in class org.bitcoinj.core.Transaction
- 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
- 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.
- 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(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
-
Deprecated.
- 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
-
Deprecated.
- 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.
- addListener(Runnable, Executor) - Method in interface org.bitcoinj.utils.ListenableCompletionStage
-
Deprecated.Use
CompletableFuture
andCompletableFuture.thenRunAsync(Runnable, Executor)
- 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.
- 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
- 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 - Interface in org.bitcoinj.base
-
Interface for addresses, e.g.
- addresses - Variable in class org.bitcoinj.core.AddressMessage
- AddressEventListener - Interface in org.bitcoinj.core.listeners
-
Implementors can listen to addresses being received from remote peers.
- AddressFormatException - Exception in org.bitcoinj.base.exceptions
- AddressFormatException() - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException
- AddressFormatException(String) - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException
- AddressFormatException.InvalidCharacter - Exception in org.bitcoinj.base.exceptions
- AddressFormatException.InvalidChecksum - Exception in org.bitcoinj.base.exceptions
- AddressFormatException.InvalidDataLength - Exception in org.bitcoinj.base.exceptions
- AddressFormatException.InvalidPrefix - Exception in org.bitcoinj.base.exceptions
-
This exception is thrown by the
EncodedPrivateKey
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.base.exceptions
-
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.base.exceptions
-
This exception is thrown by the
EncodedPrivateKey
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
-
Abstract superclass for address messages on the P2P network, which contain network addresses of other peers.
- AddressMessage(List<PeerAddress>) - Constructor for class org.bitcoinj.core.AddressMessage
- AddressParser - Interface in org.bitcoinj.base
-
Functional interface for parsing an
Address
. - AddressParser.AddressParserProvider - Interface in org.bitcoinj.base
-
Interface implemented by custom address parser providers.
- 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 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.
- 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.
- addTo(Temporal) - Method in class org.bitcoinj.base.internal.Stopwatch
- 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(Sha256Hash, boolean) - Method in class org.bitcoinj.core.GetDataMessage
-
Deprecated.
- addTransaction(Transaction) - Method in class org.bitcoinj.core.Block
-
Adds a transaction to this block.
- addTransaction(Transaction) - Method in class org.bitcoinj.core.InventoryMessage
-
Deprecated.Use a constructor or factoring
- 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.
- 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. - addTransactionSigner(TransactionSigner) - Method in class org.bitcoinj.wallet.Wallet
-
Adds given transaction signer to the list of signers.
- 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.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
-
Deprecated.
- addWatchedAddress(Address, Instant) - Method in class org.bitcoinj.wallet.Wallet
-
Adds the given address to the wallet to be watched.
- addWatchedAddresses(List<Address>) - Method in class org.bitcoinj.wallet.Wallet
-
Adds the given addresses to the wallet to be watched.
- addWatchedAddresses(List<Address>, long) - Method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- addWatchedAddresses(List<Address>, Instant) - Method in class org.bitcoinj.wallet.Wallet
-
Adds the given addresses to the wallet to be watched.
- addWatchedScripts(List<Script>) - Method in class org.bitcoinj.wallet.Wallet
-
Adds the given output scripts to the wallet to be watched.
- 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.
- AesKey - Class in org.bitcoinj.crypto
-
Wrapper for a
byte[]
containing an AES Key. - AesKey(byte[]) - Constructor for class org.bitcoinj.crypto.AesKey
-
Wrapper for a
byte[]
containing an AES Key - AGE_COMPARATOR - Static variable in class org.bitcoinj.crypto.ECKey
-
Sorts oldest keys first, newest last.
- ALL - org.bitcoinj.core.Transaction.SigHash
- ALL_VERIFY_FLAGS - Static variable in class org.bitcoinj.script.Script
- allAsList(List<? extends CompletionStage<? extends T>>) - Static method in class org.bitcoinj.base.internal.FutureUtils
-
Note: When the migration to
CompletableFuture
is complete this routine will either be removed or changed to return a genericCompletableFuture
. - 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.base.Base58
- ALREADY_SPENT - org.bitcoinj.core.TransactionInput.ConnectionResult
- amount - Variable in class org.bitcoinj.protocols.payments.PaymentProtocol.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
- ancestors() - Method in class org.bitcoinj.crypto.HDPath
-
Return a list of all ancestors of this path
- ancestors(boolean) - Method in class org.bitcoinj.crypto.HDPath
-
Return a list of all ancestors of this path
- ANDROID - org.bitcoinj.base.internal.PlatformUtils.Runtime
- anyOf(long) - Method in class org.bitcoinj.core.Services
-
Checks if at least one of the given node services is signaled by this bitfield.
- 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
- 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
- arrayUnsignedComparator() - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Provides a byte array comparator.
- ASSURANCE_CONTRACT_CLAIM - org.bitcoinj.core.Transaction.Purpose
-
Transaction that uses up pledges to an assurance contract
- ASSURANCE_CONTRACT_PLEDGE - org.bitcoinj.core.Transaction.Purpose
-
Transaction that makes a pledge to an assurance contract.
- 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.
- AUTHENTICATION - org.bitcoinj.wallet.KeyChain.KeyPurpose
- autosaveToFile(File, long, TimeUnit, WalletFiles.Listener) - Method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- autosaveToFile(File, Duration, 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.
- awaitRelayed() - Method in class org.bitcoinj.core.TransactionBroadcast
-
Wait for confirmation the transaction has been relayed.
- awaitRelayed() - Method in class org.bitcoinj.wallet.Wallet.SendResult
- awaitSent() - Method in class org.bitcoinj.core.TransactionBroadcast
-
Wait for confirmation the transaction has been sent to a remote peer.
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.base
-
Base58 is a way to encode Bitcoin addresses (or arbitrary data) as alphanumeric strings.
- Base58() - Constructor for class org.bitcoinj.base.Base58
- BASE64 - Static variable in class org.bitcoinj.core.CheckpointManager
- BaseMessage - Class in org.bitcoinj.core
-
A Message is a data structure that can be serialized/deserialized using the Bitcoin serialization format.
- BaseMessage() - Constructor for class org.bitcoinj.core.BaseMessage
- BaseTaggableObject - Class in org.bitcoinj.utils
-
Deprecated.Applications should use another mechanism to persist application state data
- BaseTaggableObject() - Constructor for class org.bitcoinj.utils.BaseTaggableObject
-
Deprecated.
- 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.
- BC - org.bitcoinj.base.SegwitAddress.SegwitHrp
- BCRT - org.bitcoinj.base.SegwitAddress.SegwitHrp
- Bech32 - Class in org.bitcoinj.base
-
Implementation of the Bech32 encoding.
- Bech32() - Constructor for class org.bitcoinj.base.Bech32
- BECH32 - org.bitcoinj.base.Bech32.Encoding
- Bech32.Bech32Bytes - Class in org.bitcoinj.base
-
Binary data in 5-bits-per-byte format as used in Bech32 encoding/decoding.
- Bech32.Bech32Data - Class in org.bitcoinj.base
-
Bech32 data in 5-bit byte format with
Bech32.Encoding
and human-readable part (HRP) information. - Bech32.Encoding - Enum in org.bitcoinj.base
-
Enumeration of known Bech32 encoding format types: Bech32 and Bech32m.
- Bech32Bytes(byte[]) - Constructor for class org.bitcoinj.base.Bech32.Bech32Bytes
-
Wrapper for a
byte[]
array. - BECH32M - org.bitcoinj.base.Bech32.Encoding
- beginBloomFilterCalculation() - Method in interface org.bitcoinj.core.PeerFilterProvider
-
Called on all registered filter providers before
PeerFilterProvider.getBloomFilterElementCount()
andPeerFilterProvider.getBloomFilter(int, double, int)
are called. - beginBloomFilterCalculation() - Method in class org.bitcoinj.wallet.Wallet
- beginDatabaseBatchWrite() - Method in interface org.bitcoinj.store.FullPrunedBlockStore
-
Begins/Commits/Aborts a database transaction.
- 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.base.internal.ByteUtils
-
The built-in
BigInteger.toByteArray()
includes the sign bit of the number and may result in an extra byte in cases of unsigned data. - 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 - Static variable in interface org.bitcoinj.wallet.KeyChainGroupStructure
-
Original bitcoinj
KeyChainGroupStructure
implementation. - BIP32_STANDARDISATION_TIME - Static variable in class org.bitcoinj.crypto.DeterministicHierarchy
- BIP32_STANDARDISATION_TIME_SECS - Static variable in class org.bitcoinj.crypto.DeterministicHierarchy
-
Deprecated.
- 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 - Static variable in class org.bitcoinj.crypto.MnemonicCode
-
UNIX time for when the BIP39 standard was finalised.
- BIP39_STANDARDISATION_TIME_SECS - Static variable in class org.bitcoinj.crypto.MnemonicCode
-
Deprecated.
- BIP43 - Static variable in interface org.bitcoinj.wallet.KeyChainGroupStructure
-
KeyChainGroupStructure
implementation for BIP-43 family structures. - BIP44_ACCOUNT_ZERO_PATH - Static variable in class org.bitcoinj.wallet.DeterministicKeyChain
- BIP44_PARENT - Static variable in class org.bitcoinj.crypto.HDPath
-
Partial path with BIP44 purpose
- BIP84_PARENT - Static variable in class org.bitcoinj.crypto.HDPath
-
Partial path with BIP84 purpose
- BIP86_PARENT - Static variable in class org.bitcoinj.crypto.HDPath
-
Partial path with BIP86 purpose
- BITCOIN_SCHEME - Static variable in enum org.bitcoinj.base.BitcoinNetwork
-
Scheme part for Bitcoin URIs.
- BITCOIN_SCHEME - Static variable in class org.bitcoinj.params.BitcoinNetworkParams
-
Deprecated.
- 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.
- BitcoinNetwork - Enum in org.bitcoinj.base
-
A convenient
enum
representation of a Bitcoin network. - BitcoinNetworkParams - Class in org.bitcoinj.params
-
Parameters for Bitcoin-like networks.
- BitcoinNetworkParams(BitcoinNetwork) - Constructor for class org.bitcoinj.params.BitcoinNetworkParams
-
No-args constructor
- BitcoinPacketHeader(ByteBuffer) - Constructor for class org.bitcoinj.core.BitcoinSerializer.BitcoinPacketHeader
- bitcoinSerialize() - Method in interface org.bitcoinj.core.Message
-
Deprecated.
- bitcoinSerialize() - Method in class org.bitcoinj.core.TransactionInput
-
Deprecated.
- bitcoinSerialize() - Method in class org.bitcoinj.core.TransactionOutPoint
-
Deprecated.
- bitcoinSerialize() - Method in class org.bitcoinj.core.TransactionOutput
-
Deprecated.
- 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(Network) - Constructor for class org.bitcoinj.core.BitcoinSerializer
-
Constructs a BitcoinSerializer with the given behavior.
- BitcoinSerializer(Network, int) - Constructor for class org.bitcoinj.core.BitcoinSerializer
-
Constructs a BitcoinSerializer with the given behavior.
- BitcoinSerializer(NetworkParameters) - Constructor for class org.bitcoinj.core.BitcoinSerializer
-
Deprecated.
- BitcoinSerializer(NetworkParameters, int) - Constructor for class org.bitcoinj.core.BitcoinSerializer
-
Deprecated.
- BitcoinSerializer.BitcoinPacketHeader - Class in org.bitcoinj.core
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.AddressV1Message
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.AddressV2Message
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.BaseMessage
-
Serializes this message to the provided stream.
- 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.HeadersMessage
- bitcoinSerializeToStream(OutputStream) - Method in class org.bitcoinj.core.ListMessage
- 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.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(NetworkParameters, String) - Constructor for class org.bitcoinj.uri.BitcoinURI
-
Deprecated.
- 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
- bits() - Method in class org.bitcoinj.core.Services
-
Gets the 64 bits of this bitfield, each representing a node service.
- block - Variable in class org.bitcoinj.store.MemoryFullPrunedBlockStore.StoredBlockAndWasUndoableFlag
- block - Variable in class org.bitcoinj.testing.FakeTxBuilder.BlockPair
- 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(long, Sha256Hash, Sha256Hash, long, long, long, List<Transaction>) - Constructor for class org.bitcoinj.core.Block
-
Deprecated.
- Block(long, Sha256Hash, Sha256Hash, Instant, 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_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_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(Network, 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(Network, BlockStore) - Constructor for class org.bitcoinj.core.BlockChain
-
Constructs a BlockChain that has no wallet at all.
- BlockChain(Network, Wallet, BlockStore) - Constructor for class org.bitcoinj.core.BlockChain
-
Constructs a BlockChain connected to the given wallet and store.
- BlockChain(NetworkParameters, Wallet, BlockStore) - Constructor for class org.bitcoinj.core.BlockChain
- BlockchainDownloadEventListener - Interface in org.bitcoinj.core.listeners
-
Event Listener for blockchain download.
- BlockFileIterator(File) - Constructor for class org.bitcoinj.utils.BlockFileLoader.BlockFileIterator
- BlockFileLoader - Class in org.bitcoinj.utils
-
This class reads block files stored in the Bitcoin Core format.
- BlockFileLoader(Network, File) - Constructor for class org.bitcoinj.utils.BlockFileLoader
- BlockFileLoader(Network, List<File>) - Constructor for class org.bitcoinj.utils.BlockFileLoader
- BlockFileLoader(NetworkParameters, File) - Constructor for class org.bitcoinj.utils.BlockFileLoader
-
Deprecated.
- BlockFileLoader(NetworkParameters, List<File>) - Constructor for class org.bitcoinj.utils.BlockFileLoader
-
Deprecated.
- BlockFileLoader.BlockFileIterator - Class in org.bitcoinj.utils
-
Iterates all the blocks in a single block file.
- blockHeight() - Method in class org.bitcoinj.core.LockTime.HeightLock
- BlockingClient - Class in org.bitcoinj.net
-
Creates a simple connection to a server using a
StreamConnection
to process data. - BlockingClient(SocketAddress, StreamConnection, Duration, 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
-
Deprecated.
- BlockLocator(List<Sha256Hash>) - Constructor for class org.bitcoinj.core.BlockLocator
-
Creates a Block locator with defined list of hashes.
- BlockPair(Block, StoredBlock) - Constructor for class org.bitcoinj.testing.FakeTxBuilder.BlockPair
- 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_FILTER - org.bitcoinj.core.ProtocolVersion
- BLOOM_FILTER_BIP111 - org.bitcoinj.core.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, int) - Constructor for class org.bitcoinj.core.BloomFilter
-
Constructs a filter with the given parameters which is updated on P2PK outputs only.
- BloomFilter(int, double, int, 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.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
-
Deprecated.
- broadcast() - Method in class org.bitcoinj.core.TransactionBroadcast
-
Deprecated.Use
TransactionBroadcast.broadcastAndAwaitRelay()
orTransactionBroadcast.broadcastOnly()
as appropriate - broadcastAndAwaitRelay() - Method in class org.bitcoinj.core.TransactionBroadcast
-
Broadcast the transaction and wait for confirmation that the transaction has been received by the appropriate number of Peers before completing.
- broadcastComplete - Variable in class org.bitcoinj.wallet.Wallet.SendResult
-
Deprecated.
- broadcastOnly() - Method in class org.bitcoinj.core.TransactionBroadcast
-
Broadcast this transaction to the proper calculated number of peers.
- 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.base.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.base.Coin
-
Convert a decimal amount of BTC into satoshis.
- buffer - Variable in class org.bitcoinj.store.SPVBlockStore
- Buffers - Class in org.bitcoinj.base.internal
-
Utility methods for common operations on Bitcoin P2P message buffers.
- Buffers() - Constructor for class org.bitcoinj.base.internal.Buffers
- 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(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(Network) - Static method in class org.bitcoinj.wallet.KeyChainGroup
- builder(Network, KeyChainGroupStructure) - Static method in class org.bitcoinj.wallet.KeyChainGroup
- builder(NetworkParameters) - Static method in class org.bitcoinj.wallet.KeyChainGroup
-
Deprecated.
- builder(NetworkParameters, KeyChainGroupStructure) - Static method in class org.bitcoinj.wallet.KeyChainGroup
-
Deprecated.
- Builder() - Constructor for class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- buildFromLeaves(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.
- ByteArray - Class in org.bitcoinj.base.internal
-
An effectively-immutable byte array.
- ByteArray(byte[]) - Constructor for class org.bitcoinj.base.internal.ByteArray
-
Wrapper for a
byte[]
- bytes - Variable in class org.bitcoinj.base.internal.ByteArray
- bytes - Variable in class org.bitcoinj.base.LegacyAddress
- bytes - Variable in class org.bitcoinj.crypto.EncodedPrivateKey
- bytes() - Method in class org.bitcoinj.base.internal.ByteArray
- BYTES - Static variable in class org.bitcoinj.base.Coin
-
Number of bytes to store this amount.
- BYTES - Static variable in class org.bitcoinj.core.Services
-
Number of bytes of this bitfield.
- BYTES - Static variable in class org.bitcoinj.core.TransactionOutPoint
- bytesToBigInteger(byte[]) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Converts an array of bytes into a positive BigInteger.
- byteStringToHash(ByteString) - Static method in class org.bitcoinj.wallet.WalletProtobufSerializer
- ByteUtils - Class in org.bitcoinj.base.internal
-
Utility methods for bit, byte, and integer manipulation and conversion.
- ByteUtils() - Constructor for class org.bitcoinj.base.internal.ByteUtils
- byteValue() - Method in enum org.bitcoinj.core.Transaction.SigHash
C
- 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(List<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. - 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, AesKey, 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, AesKey, 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, 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, AesKey, byte[], Coin, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
- calculateWitnessSignature(int, ECKey, AesKey, Script, 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
- 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.base.Coin
-
0.01 Bitcoins.
- 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
- 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.
- 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
- CHANGE_CHANGE - Static variable in class org.bitcoinj.crypto.ChildNumber
- CHANGE_RECEIVING - Static variable in class org.bitcoinj.crypto.ChildNumber
- 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, AesKey, AesKey) - 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.base.exceptions.AddressFormatException.InvalidCharacter
- check() - Method in class org.bitcoinj.wallet.DeterministicSeed
-
Check if our mnemonic is a valid mnemonic phrase for our word list.
- check(boolean, Supplier<? extends X>) - Static method in class org.bitcoinj.base.internal.Preconditions
-
Ensures the truth of an expression, throwing a custom exception if untrue.
- check(List<String>) - Method in class org.bitcoinj.crypto.MnemonicCode
-
Check to see if a mnemonic word list is valid.
- checkAddress(Address) - Method in enum org.bitcoinj.base.BitcoinNetwork
-
Check if an address is valid on this network.
- checkAESKey(AesKey) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Check whether the AES key can decrypt the first encrypted key in the wallet.
- checkAESKey(AesKey) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- checkAESKey(AesKey) - Method in interface org.bitcoinj.wallet.EncryptableKeyChain
- checkAESKey(AesKey) - Method in class org.bitcoinj.wallet.KeyChainGroup
- checkAESKey(AesKey) - Method in class org.bitcoinj.wallet.Wallet
-
Check whether the AES key can decrypt the first encrypted key in the wallet.
- checkArgument(boolean) - Static method in class org.bitcoinj.base.internal.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, Supplier<String>) - Static method in class org.bitcoinj.base.internal.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkBitLE(byte[], int) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
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.BitcoinNetworkParams
- checkDifficultyTransitions(StoredBlock, Block, BlockStore) - Method in class org.bitcoinj.params.TestNet3Params
- checkDifficultyTransitions(StoredBlock, Block, BlockStore) - Method in class org.bitcoinj.testing.MockAltNetworkParams
- 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
- checkpoint(NetworkParameters, InputStream, BlockStore, Instant) - 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(NetworkParameters) - 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
- checkState(boolean) - Static method in class org.bitcoinj.base.internal.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checkState(boolean, Supplier<String>) - Static method in class org.bitcoinj.base.internal.Preconditions
-
Ensures the truth of an expression involving the state of the calling instance, but not involving any parameters to the calling method.
- checksum - Variable in class org.bitcoinj.core.BitcoinSerializer.BitcoinPacketHeader
- 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() - Method in class org.bitcoinj.script.Script
-
Gets an immutable list of the scripts parsed form.
- CLEANSTACK - org.bitcoinj.script.Script.VerifyFlag
- cleanup() - Method in class org.bitcoinj.wallet.Wallet
-
Clean up the wallet.
- clear() - Method in class org.bitcoinj.store.SPVBlockStore
- clearBroadcastBy() - Method in class org.bitcoinj.core.TransactionConfidence
-
Erases the set of broadcast/seen peers.
- clearCreationTime() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Clears the creation time of this key.
- clearCreationTime() - Method in class org.bitcoinj.crypto.ECKey
-
Clears the creation time of this key.
- clearCreationTime() - Method in class org.bitcoinj.wallet.DeterministicSeed
-
Clears the creation time of this seed.
- clearInputs() - Method in class org.bitcoinj.core.Transaction
-
Removes all the inputs from this transaction.
- clearLastBlockSeenTime() - Method in class org.bitcoinj.wallet.Wallet
- clearMockClock() - Static method in class org.bitcoinj.base.internal.TimeUtils
-
Clears the mock clock and causes time to tick again.
- clearOutputs() - Method in class org.bitcoinj.core.Transaction
-
Removes all the outputs from this transaction.
- clearScriptBytes() - Method in class org.bitcoinj.core.TransactionInput
-
Clear input scripts, e.g.
- 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.
- clearUpdateTime() - Method in class org.bitcoinj.core.Transaction
-
Clears the update time of this transaction.
- 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.
- clientVersion() - Method in class org.bitcoinj.core.VersionMessage
-
Gets the client version.
- cloneAsHeader() - Method in class org.bitcoinj.core.Block
-
Returns a copy of the block, but without any transactions.
- 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 class org.bitcoinj.kits.WalletAppKit
-
Close and release resources.
- close() - Method in interface org.bitcoinj.store.BlockStore
-
Closes the store.
- 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.base.utils.MonetaryFormat
-
Get currency code that will be used for current shift.
- code() - Method in class org.bitcoinj.core.RejectMessage
-
The reason code given for why the peer rejected the message.
- 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(int, String) - Method in class org.bitcoinj.base.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.base.utils.MonetaryFormat
-
Currency code for base 1 Bitcoin.
- CODE_MBTC - Static variable in class org.bitcoinj.base.utils.MonetaryFormat
-
Currency code for base 1/1000 Bitcoin.
- CODE_SAT - Static variable in class org.bitcoinj.base.utils.MonetaryFormat
-
Currency code for base 1 satoshi.
- CODE_UBTC - Static variable in class org.bitcoinj.base.utils.MonetaryFormat
-
Currency code for base 1/1000000 Bitcoin.
- codeSeparator(char) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Separator between currency code and formatted value.
- coin - Variable in class org.bitcoinj.utils.ExchangeRate
- Coin - Class in org.bitcoinj.base
-
Represents a monetary Bitcoin value.
- COIN - Static variable in class org.bitcoinj.base.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.
- coinbase() - Static method in class org.bitcoinj.core.Transaction
-
Constructs an incomplete coinbase transaction with a minimal input script and no outputs.
- coinbase(byte[]) - Static method in class org.bitcoinj.core.Transaction
-
Constructs an incomplete coinbase transaction with given bytes for the input script and no outputs.
- CoinbaseHeightMismatch(String) - Constructor for exception org.bitcoinj.core.VerificationException.CoinbaseHeightMismatch
- coinbaseInput(Transaction, byte[]) - Static method in class org.bitcoinj.core.TransactionInput
-
Creates an input that connects to nothing - used only in creation of coinbase transactions.
- 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(List<TransactionOutput>) - Constructor for class org.bitcoinj.wallet.CoinSelection
- CoinSelection(Coin, Collection<TransactionOutput>) - Constructor for class org.bitcoinj.wallet.CoinSelection
-
Deprecated.
- 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.
- coinType(Network) - Static method in interface org.bitcoinj.wallet.KeyChainGroupStructure
-
Return coin type path component for a network id
- COINTYPE_BTC - Static variable in class org.bitcoinj.crypto.ChildNumber
- COINTYPE_TBTC - Static variable in class org.bitcoinj.crypto.ChildNumber
- commaJoin(String...) - Static method in class org.bitcoinj.base.internal.InternalUtils
-
Join strings with ", " skipping nulls
- command - Variable in class org.bitcoinj.core.BitcoinSerializer.BitcoinPacketHeader
- commitDatabaseBatchWrite() - Method in interface org.bitcoinj.store.FullPrunedBlockStore
- 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
-
Number of bytes serialized by
StoredBlock.serializeCompact(ByteBuffer)
- COMPACT_SERIALIZED_SIZE_V2 - Static variable in class org.bitcoinj.core.StoredBlock
-
Number of bytes serialized by
StoredBlock.serializeCompactV2(ByteBuffer)
- compareByDepth(TransactionOutput, TransactionOutput) - Static method in class org.bitcoinj.wallet.DefaultCoinSelector
-
Comparator for sorting
TransactionOutput
by coin depth, value, and then hash. - compareTo(Address) - Method in interface org.bitcoinj.base.Address
-
Comparison field order for addresses is:
Network.id()
Legacy vs. - compareTo(Address) - Method in class org.bitcoinj.base.LegacyAddress
-
Comparison field order for addresses is:
Network.id()
Legacy vs. - compareTo(Address) - Method in class org.bitcoinj.base.SegwitAddress
-
Comparison field order for addresses is:
Network.id()
Legacy vs. - compareTo(Coin) - Method in class org.bitcoinj.base.Coin
- compareTo(ByteArray) - Method in class org.bitcoinj.base.internal.ByteArray
- compareTo(Sha256Hash) - Method in class org.bitcoinj.base.Sha256Hash
- compareTo(Fiat) - Method in class org.bitcoinj.base.utils.Fiat
- compareTo(ChildNumber) - Method in class org.bitcoinj.crypto.ChildNumber
- compareTo(ExponentialBackoff) - Method in class org.bitcoinj.utils.ExponentialBackoff
- compareTypes(Address, Address) - Static method in interface org.bitcoinj.base.Address
- completedFuture(T) - Static method in class org.bitcoinj.utils.ListenableCompletableFuture
-
Returns a new
CompletableFuture
that is already completed with the given value. - 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(String) - 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
- concat(byte[], byte[]) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Concatenate two byte arrays
- 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
- connectTo(InetSocketAddress) - Method in class org.bitcoinj.core.PeerGroup
-
Connect to a peer by creating a channel to the destination address.
- connectTo(PeerAddress, boolean, Duration) - 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.
- connectTransaction(Transaction) - Method in class org.bitcoinj.core.TransactionOutPoint
-
Returns a copy of this outpoint, but with the provided transaction as fromTx.
- 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 - 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() - Constructor for class org.bitcoinj.core.Context
-
Creates a new context object.
- Context(int, Coin, boolean, boolean) - Constructor for class org.bitcoinj.core.Context
-
Creates a new custom context object.
- Context(NetworkParameters) - Constructor for class org.bitcoinj.core.Context
-
Deprecated.Use
Context()
- Context(NetworkParameters, int, Coin, boolean) - Constructor for class org.bitcoinj.core.Context
-
Deprecated.
- 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(Network, String, 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
- 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.
- create(Network, KeyChainGroup) - Method in interface org.bitcoinj.wallet.WalletProtobufSerializer.WalletFactory
- create(NetworkParameters, KeyChainGroup) - Method in interface org.bitcoinj.wallet.WalletProtobufSerializer.WalletFactory
-
Deprecated.
- 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(Network) - Static method in class org.bitcoinj.wallet.KeyChainGroup
-
Creates a keychain group with just a basic chain.
- createBasic(Network) - Static method in class org.bitcoinj.wallet.Wallet
-
Creates a new, empty wallet with just a basic keychain and no transactions.
- createBasic(NetworkParameters) - Static method in class org.bitcoinj.wallet.KeyChainGroup
-
Deprecated.
- createBasic(NetworkParameters) - Static method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- createDeterministic(Network, ScriptType) - Static method in class org.bitcoinj.wallet.Wallet
-
Creates a new, empty wallet with a randomly chosen seed and no transactions.
- createDeterministic(Network, ScriptType, KeyChainGroupStructure) - Static method in class org.bitcoinj.wallet.Wallet
-
Creates a new, empty wallet with a randomly chosen seed and no transactions.
- createDeterministic(NetworkParameters, ScriptType) - Static method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- createDeterministic(NetworkParameters, ScriptType, KeyChainGroupStructure) - Static method in class org.bitcoinj.wallet.Wallet
- 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.
- createExecutor() - Method in class org.bitcoinj.net.discovery.DnsDiscovery
- createExecutor() - Method in class org.bitcoinj.net.discovery.MultiplexingDiscovery
- createFakeBlock(BlockStore, int, Transaction...) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Emulates receiving a valid block that builds on top of the chain.
- createFakeBlock(BlockStore, long, long, int, Transaction...) - Static method in class org.bitcoinj.testing.FakeTxBuilder
- createFakeBlock(BlockStore, long, long, Transaction...) - Static method in class org.bitcoinj.testing.FakeTxBuilder
- createFakeBlock(BlockStore, long, Instant, int, Transaction...) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Emulates receiving a valid block that builds on top of the chain.
- createFakeBlock(BlockStore, long, Instant, Transaction...) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Emulates receiving a valid block that builds on top of the chain.
- createFakeBlock(BlockStore, StoredBlock, int, Transaction...) - Static method in class org.bitcoinj.testing.FakeTxBuilder
- createFakeBlock(BlockStore, StoredBlock, long, long, int, Transaction...) - Static method in class org.bitcoinj.testing.FakeTxBuilder
- createFakeBlock(BlockStore, StoredBlock, long, Instant, int, Transaction...) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Emulates receiving a valid block
- createFakeBlock(BlockStore, Transaction...) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Emulates receiving a valid block that builds on top of the chain.
- createFakeCoinbaseTx() - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Create a fake coinbase transaction.
- createFakeDoubleSpendTxns(Address) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Creates two transactions that spend the same (fake) output.
- createFakeTx(Coin, Address, Address) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Transaction[0] is a feeder transaction, supplying BTC to Transaction[1]
- createFakeTx(Coin, ECKey) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Create a fake TX of sufficient realism to exercise the unit tests.
- createFakeTx(Network) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Create a fake transaction, without change.
- createFakeTx(Network, Coin, Address) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Create a fake TX of sufficient realism to exercise the unit tests.
- createFakeTx(NetworkParameters) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Deprecated.
- createFakeTx(NetworkParameters, Coin, Address) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Deprecated.
- createFakeTxWithChangeAddress(Coin, Address, Address) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Create a fake TX of sufficient realism to exercise the unit tests.
- createFakeTxWithoutChange(TransactionOutput) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Create a fake transaction, without change.
- createFakeTxWithoutChangeAddress(Coin, Address) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Create a fake TX for unit tests, for use with unit tests that need greater control.
- 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(Instant, long) - Static method in class org.bitcoinj.core.Block
- createGenesis(Instant, long, long) - 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, CompletableFuture<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
-
This method is intended for test use only.
- createNextBlock(Address, long, Instant, 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
-
This method is intended for test use only.
- createNextBlock(Address, TransactionOutPoint) - Method in class org.bitcoinj.core.Block
-
This method is intended for test use only.
- createNextBlockWithCoinbase(long, byte[], Coin, int) - Method in class org.bitcoinj.core.Block
-
This method is intended for test use only.
- 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.
- createOutputScript(Address, Instant) - 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.base.Coin, org.bitcoinj.base.Address, java.lang.String, java.lang.String, byte[])
andPaymentProtocol.createPaymentMessage(java.util.List<org.bitcoinj.core.Transaction>, org.bitcoinj.base.Coin, org.bitcoinj.base.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
- creationTime - Variable in class org.bitcoinj.crypto.ECKey
- creationTime - Variable in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- creationTime() - Method in class org.bitcoinj.script.Script
-
Gets the creation time of this script, or empty if unknown.
- creationTime(Instant) - Method in class org.bitcoinj.script.ScriptBuilder
-
Sets the creation time to build the script with.
- CryptoUtils - Class in org.bitcoinj.crypto.internal
-
Utilities for the crypto module (e.g.
- CryptoUtils() - Constructor for class org.bitcoinj.crypto.internal.CryptoUtils
- currencyCode - Variable in class org.bitcoinj.base.utils.Fiat
- CURRENT - org.bitcoinj.core.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. - currentTime() - Static method in class org.bitcoinj.base.internal.TimeUtils
-
Returns the current time as an Instant, or a mocked out equivalent.
- 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.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.
- dataHash - Variable in class org.bitcoinj.core.CheckpointManager
- dateTimeFormat(Instant) - Static method in class org.bitcoinj.base.internal.TimeUtils
-
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.WalletTransaction.Pool
- decimalGroups - Variable in class org.bitcoinj.utils.BtcFormat
- decimalMark(char) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Set character to use as the decimal mark.
- decode(String) - Static method in class org.bitcoinj.base.Base58
-
Decodes the given base58 string into the original data bytes.
- decode(String) - Static method in class org.bitcoinj.base.Bech32
-
Decode a Bech32 string.
- decode5to8() - Method in class org.bitcoinj.base.Bech32.Bech32Bytes
-
Return the data, fully-decoded with 8-bits per byte.
- decodeBytes(String, String, Bech32.Encoding) - Static method in class org.bitcoinj.base.Bech32
-
Decode a Bech32 string to a byte array.
- decodeChecked(String) - Static method in class org.bitcoinj.base.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.base.internal.ByteUtils
-
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.crypto.ECKey.ECDSASignature
- decodeFromOpN(int) - Static method in class org.bitcoinj.script.Script
- decodeMPI(byte[], boolean) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
MPI encoded numbers are produced by the OpenSSL BN_bn2mpi function.
- decodeOnionUrl(String) - Static method in class org.bitcoinj.crypto.internal.TorUtils
-
Decode an Onion URL into a Tor V2 or V3 address.
- 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.base.Base58
- decompress() - Method in class org.bitcoinj.crypto.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.
- 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(AesKey) - Method in class org.bitcoinj.crypto.DeterministicKey
- decrypt(AesKey) - Method in class org.bitcoinj.crypto.ECKey
-
Create a decrypted private key with AES key.
- decrypt(AesKey) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Decrypt the keys in the group using the previously given key crypter and the AES key.
- decrypt(AesKey) - Method in class org.bitcoinj.wallet.Wallet
-
Decrypt the wallet with the wallets keyCrypter and AES key.
- decrypt(EncryptedData, AesKey) - Method in interface org.bitcoinj.crypto.KeyCrypter
-
Decrypt the provided encrypted bytes, converting them into unencrypted bytes.
- decrypt(EncryptedData, AesKey) - Method in class org.bitcoinj.crypto.KeyCrypterScrypt
-
Decrypt bytes previously encrypted with this class.
- decrypt(KeyCrypter, String, AesKey) - Method in class org.bitcoinj.wallet.DeterministicSeed
- decrypt(KeyCrypter, AesKey) - Method in class org.bitcoinj.crypto.DeterministicKey
- decrypt(KeyCrypter, AesKey) - Method in class org.bitcoinj.crypto.ECKey
-
Create a decrypted private key with the keyCrypter and AES key supplied.
- 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, AesKey) - Constructor for class org.bitcoinj.wallet.DecryptingKeyBag
- DEFAULT - Static variable in interface org.bitcoinj.wallet.KeyChainGroupStructure
-
Deprecated.Use
KeyChainGroupStructure.BIP32
for BIP-32 - DEFAULT - Static variable in interface org.bitcoinj.wallet.WalletProtobufSerializer.WalletFactory
- 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 - 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_INTERVAL - 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_INTERVAL - 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
- 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.
- derByteStream() - Method in class org.bitcoinj.crypto.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
-
Derive a key using PBKDF2-SHA512
- 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 an AESKey (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
- 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(List<Integer>) - Static method in class org.bitcoinj.crypto.HDPath
-
Deserialize a list of integers into an HDPath (internal use only)
- deserialize(Network, byte[]) - Static method in class org.bitcoinj.crypto.DeterministicKey
-
Deserialize an HD Key with no parent
- deserialize(Network, byte[], DeterministicKey) - Static method in class org.bitcoinj.crypto.DeterministicKey
-
Deserialize an HD Key.
- deserialize(NetworkParameters, byte[]) - Static method in class org.bitcoinj.crypto.DeterministicKey
-
Deprecated.
- deserialize(NetworkParameters, byte[], DeterministicKey) - Static method in class org.bitcoinj.crypto.DeterministicKey
-
Deprecated.
- deserializeB58(String, Network) - Static method in class org.bitcoinj.crypto.DeterministicKey
-
Deserialize a base-58-encoded HD Key with no parent
- deserializeB58(String, NetworkParameters) - Static method in class org.bitcoinj.crypto.DeterministicKey
-
Deprecated.
- deserializeB58(DeterministicKey, String, Network) - Static method in class org.bitcoinj.crypto.DeterministicKey
-
Deserialize a base-58-encoded HD Key.
- deserializeB58(DeterministicKey, String, NetworkParameters) - Static method in class org.bitcoinj.crypto.DeterministicKey
- deserializeCompact(ByteBuffer) - Static method in class org.bitcoinj.core.StoredBlock
-
Deserializes the stored block from a custom packed format.
- deserializeCompact(MessageSerializer, ByteBuffer) - Static method in class org.bitcoinj.core.StoredBlock
-
Deprecated.
- deserializeCompactV2(ByteBuffer) - Static method in class org.bitcoinj.core.StoredBlock
-
Deserializes 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.
- 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, ScriptType) - Constructor for class org.bitcoinj.wallet.DeterministicKeyChain
-
Creates a deterministic key chain from a watched or spendable account key.
- DeterministicKeyChain(KeyCrypter, AesKey, DeterministicKeyChain) - Constructor for class org.bitcoinj.wallet.DeterministicKeyChain
-
For use in encryption when
DeterministicKeyChain.toEncrypted(KeyCrypter, AesKey)
is called, so that subclasses can override that method and create an instance of the right class. - DeterministicKeyChain(DeterministicSeed, KeyCrypter, 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
- DeterministicSeed(String, byte[], String, long) - Constructor for class org.bitcoinj.wallet.DeterministicSeed
- DeterministicSeed(SecureRandom, int, String) - Constructor for class org.bitcoinj.wallet.DeterministicSeed
-
Deprecated.
- DeterministicSeed(List<String>, byte[], String, long) - Constructor for class org.bitcoinj.wallet.DeterministicSeed
- DeterministicSeed(EncryptedData, EncryptedData, long) - Constructor for class org.bitcoinj.wallet.DeterministicSeed
-
Deprecated.will be removed in a future release
- 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
- digestRipeMd160(byte[]) - Static method in class org.bitcoinj.crypto.internal.CryptoUtils
-
Calculate RIPEMD160(input).
- digits(char) - Method in class org.bitcoinj.base.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
- disconnectOutput() - Method in class org.bitcoinj.core.TransactionOutPoint
-
Returns a copy of this outpoint, but with the connectedOutput removed.
- disconnectTransaction() - Method in class org.bitcoinj.core.TransactionOutPoint
-
Returns a copy of this outpoint, but with fromTx removed.
- 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.base.Coin
-
Alias for divide
- div(long) - Method in class org.bitcoinj.base.Coin
-
Alias for divide
- divide(long) - Method in class org.bitcoinj.base.Coin
- divide(long) - Method in class org.bitcoinj.base.utils.Fiat
- divide(Coin) - Method in class org.bitcoinj.base.Coin
- divide(Fiat) - Method in class org.bitcoinj.base.utils.Fiat
- divideAndRemainder(long) - Method in class org.bitcoinj.base.Coin
- divideAndRemainder(long) - Method in class org.bitcoinj.base.utils.Fiat
- DnsDiscovery - Class in org.bitcoinj.net.discovery
-
Supports peer discovery through DNS.
- DnsDiscovery(String[], Network) - Constructor for class org.bitcoinj.net.discovery.DnsDiscovery
-
Supports finding peers through DNS A records.
- DnsDiscovery(String[], NetworkParameters) - Constructor for class org.bitcoinj.net.discovery.DnsDiscovery
-
Deprecated.
- DnsDiscovery(Network) - 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
-
Deprecated.
- DnsDiscovery.DnsSeedDiscovery - Class in org.bitcoinj.net.discovery
-
Implements discovery from a single DNS host.
- DnsSeedDiscovery(Network, String) - Constructor for class org.bitcoinj.net.discovery.DnsDiscovery.DnsSeedDiscovery
- DnsSeedDiscovery(NetworkParameters, String) - Constructor for class org.bitcoinj.net.discovery.DnsDiscovery.DnsSeedDiscovery
-
Deprecated.
- dnsSeeds - Variable in class org.bitcoinj.core.NetworkParameters
- doMaintenance(AesKey, 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(KeyChainGroupStructure, AesKey, 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.crypto.ECKey
- DoubleSpends() - Constructor for class org.bitcoinj.testing.FakeTxBuilder.DoubleSpends
- 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(Transaction, int, int) - Method in class org.bitcoinj.core.Peer
-
Internal, recursive dependency downloader
- downloadListener - Variable in class org.bitcoinj.kits.WalletAppKit
- DownloadProgressTracker - Class in org.bitcoinj.core.listeners
-
An implementation of
BlockchainDownloadEventListener
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.
- 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.crypto
-
Parses and generates private keys in the form used by the Bitcoin "dumpprivkey" command.
- dumpedPrivateKeyHeader - Variable in class org.bitcoinj.core.NetworkParameters
- 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.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
E
- earlier(Instant, Instant) - Static method in class org.bitcoinj.base.internal.TimeUtils
-
Determines the earlier of two instants.
- earliestKeyCreationTime() - Method in interface org.bitcoinj.core.PeerFilterProvider
-
Returns the earliest time for which full/bloom-filtered blocks must be downloaded.
- earliestKeyCreationTime() - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Returns the earliest creation time of keys in this chain.
- earliestKeyCreationTime() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- earliestKeyCreationTime() - Method in interface org.bitcoinj.wallet.KeyChain
-
Returns the earliest creation time of keys in this chain.
- earliestKeyCreationTime() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Gets the earliest time for which full block must be downloaded.
- earliestKeyCreationTime() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the earliest creation time of keys or watched scripts in this wallet, ie the min of
ECKey.getCreationTime()
. - earliestKeyTime - 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.
- ecDomainParameters() - Static method in class org.bitcoinj.crypto.ECKey
-
Return EC parameters for the SECP256K1 curve, in a Bouncy Castle type.
- ECDSASignature(BigInteger, BigInteger) - Constructor for class org.bitcoinj.crypto.ECKey.ECDSASignature
-
Constructs a signature with the given components.
- ECKey - Class in org.bitcoinj.crypto
-
Represents an elliptic curve public and (optionally) private key, usable for digital signatures but not encryption.
- ECKey() - Constructor for class org.bitcoinj.crypto.ECKey
-
Generates an entirely new keypair.
- ECKey(BigInteger, LazyECPoint) - Constructor for class org.bitcoinj.crypto.ECKey
- ECKey(BigInteger, ECPoint, boolean) - Constructor for class org.bitcoinj.crypto.ECKey
- ECKey(SecureRandom) - Constructor for class org.bitcoinj.crypto.ECKey
-
Generates an entirely new keypair with the given
SecureRandom
object. - ECKey.ECDSASignature - Class in org.bitcoinj.crypto
-
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.crypto
- ECKey.MissingPrivateKeyException - Exception in org.bitcoinj.crypto
- ecMultiply - Variable in class org.bitcoinj.crypto.BIP38PrivateKey
- elapsed() - Method in class org.bitcoinj.base.internal.Stopwatch
-
Gets the elapsed time on the watch.
- elapsedTime(Instant) - Static method in class org.bitcoinj.base.internal.TimeUtils
-
Returns elapsed time between given start and current time as a Duration.
- 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
- 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(byte[]) - Static method in class org.bitcoinj.base.Base58
-
Encodes the given bytes as a base58 string (no checksum is appended).
- encode(Bech32.Bech32Data) - Static method in class org.bitcoinj.base.Bech32
-
Encode a Bech32 string.
- encode(Bech32.Encoding, String, Bech32.Bech32Bytes) - Static method in class org.bitcoinj.base.Bech32
-
Encode a Bech32 string.
- encodeBytes(Bech32.Encoding, String, byte[]) - Static method in class org.bitcoinj.base.Bech32
-
Encode a byte array to a Bech32 string
- encodeChecked(int, byte[]) - Static method in class org.bitcoinj.base.Base58
-
Encodes the given version and bytes as a base58 string.
- encodeCompactBits(BigInteger) - Static method in class org.bitcoinj.base.internal.ByteUtils
- EncodedPrivateKey - Class in org.bitcoinj.crypto
-
Some form of string-encoded private key.
- EncodedPrivateKey(Network, byte[]) - Constructor for class org.bitcoinj.crypto.EncodedPrivateKey
- EncodedPrivateKey(NetworkParameters, byte[]) - Constructor for class org.bitcoinj.crypto.EncodedPrivateKey
-
Deprecated.
- encodeMPI(BigInteger, boolean) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
MPI encoded numbers are produced by the OpenSSL BN_bn2mpi function.
- encodeOnionUrlV2(byte[]) - Static method in class org.bitcoinj.crypto.internal.TorUtils
-
Encode an Onion URL from a Tor V2 address.
- encodeOnionUrlV3(byte[]) - Static method in class org.bitcoinj.crypto.internal.TorUtils
-
Encode an Onion URL from a Tor V3 address (pubkey).
- 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.crypto.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.base.Bech32.Bech32Data
- encrypt(byte[], AesKey) - Method in interface org.bitcoinj.crypto.KeyCrypter
-
Encrypt the supplied bytes, converting them into ciphertext.
- encrypt(byte[], AesKey) - 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, AesKey)
which uses the default Scrypt key derivation algorithm and parameters to derive a key from the given password. - encrypt(KeyCrypter, AesKey) - Method in class org.bitcoinj.crypto.DeterministicKey
- encrypt(KeyCrypter, AesKey) - Method in class org.bitcoinj.crypto.ECKey
-
Create an encrypted private key with the keyCrypter and the AES key supplied.
- encrypt(KeyCrypter, AesKey) - Method in class org.bitcoinj.wallet.DeterministicSeed
- encrypt(KeyCrypter, AesKey) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Encrypt the keys in the group using the KeyCrypter and the AES key.
- encrypt(KeyCrypter, AesKey) - Method in class org.bitcoinj.wallet.Wallet
-
Encrypt the wallet using the KeyCrypter and the AES key.
- encrypt(KeyCrypter, AesKey, 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.
- 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.crypto.ECKey
- encryptionIsReversible(ECKey, ECKey, KeyCrypter, AesKey) - Static method in class org.bitcoinj.crypto.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
-
Deprecated.
- entropy(byte[], Instant) - 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.base.Coin
- equals(Object) - Method in class org.bitcoinj.base.internal.ByteArray
- equals(Object) - Method in class org.bitcoinj.base.LegacyAddress
- equals(Object) - Method in class org.bitcoinj.base.SegwitAddress
- equals(Object) - Method in class org.bitcoinj.base.Sha256Hash
- equals(Object) - Method in class org.bitcoinj.base.utils.Fiat
- equals(Object) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Two formats are equal if they have the same parameters.
- equals(Object) - Method in class org.bitcoinj.base.VarInt
- 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.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.InventoryItem
- equals(Object) - Method in class org.bitcoinj.core.ListMessage
- equals(Object) - Method in class org.bitcoinj.core.LockTime
- 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.RejectMessage
- equals(Object) - Method in class org.bitcoinj.core.Services
- 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.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.ECKey.ECDSASignature
- equals(Object) - Method in class org.bitcoinj.crypto.ECKey
- equals(Object) - Method in class org.bitcoinj.crypto.EncodedPrivateKey
- 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.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
-
Deprecated.
- estimateBlockTimeInstant(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
-
Deprecated.
- estimateUnlockTime(AbstractBlockChain) - Method in class org.bitcoinj.core.Transaction
-
Returns either the lock time, if it was specified as a timestamp, or an estimate based on the time in the current head block if it was specified as a block height.
- ExceededMaxTransactionSize() - Constructor for exception org.bitcoinj.wallet.Wallet.ExceededMaxTransactionSize
- exceedsMaxMoney(Monetary) - Method in enum org.bitcoinj.base.BitcoinNetwork
- exceedsMaxMoney(Monetary) - Method in interface org.bitcoinj.base.Network
-
Check if an amount exceeds the maximum allowed for a network (if the network has one)
- exceedsMaxMoney(Monetary) - Method in class org.bitcoinj.testing.MockAltNetwork
- ExcessiveValue() - Constructor for exception org.bitcoinj.core.VerificationException.ExcessiveValue
- 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.
- execute(Runnable) - Method in class org.bitcoinj.utils.Threading.UserThread
- 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() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the expires time of the payment request, or empty if none.
- 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.
- 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 - Static variable in class org.bitcoinj.wallet.DefaultRiskAnalysis
- failedFuture(Throwable) - Static method in class org.bitcoinj.base.internal.FutureUtils
-
Can be replaced with
CompletableFuture.failedFuture(Throwable)
in Java 9+. - failedFuture(Throwable) - Static method in class org.bitcoinj.utils.ListenableCompletableFuture
-
Returns a new
ListenableCompletableFuture
that is already completed exceptionally with the given throwable. - FakeTxBuilder - Class in org.bitcoinj.testing
-
Methods for building fake transactions for unit tests.
- FakeTxBuilder() - Constructor for class org.bitcoinj.testing.FakeTxBuilder
- FakeTxBuilder.BlockPair - Class in org.bitcoinj.testing
- FakeTxBuilder.DoubleSpends - Class in org.bitcoinj.testing
- FEEFILTER - org.bitcoinj.core.ProtocolVersion
- FeeFilterMessage - Class in org.bitcoinj.core
-
Represents a "feefilter" message on the P2P network, which instructs a peer to filter transaction invs for transactions that fall below the feerate provided.
- 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.
- feeRate() - Method in class org.bitcoinj.core.FeeFilterMessage
-
Gets the fee rate.
- fiat - Variable in class org.bitcoinj.utils.ExchangeRate
- Fiat - Class in org.bitcoinj.base.utils
-
Represents a monetary fiat value.
- FIAT - Static variable in class org.bitcoinj.base.utils.MonetaryFormat
-
Standard format for fiat amounts.
- 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.base.Coin
- FILE_PROLOGUE_BYTES - Static variable in class org.bitcoinj.store.SPVBlockStore
- fileBlockSpliterator(File) - Method in class org.bitcoinj.utils.BlockFileLoader
- fileBlockStream(File) - Method in class org.bitcoinj.utils.BlockFileLoader
- fileLock - Variable in class org.bitcoinj.store.SPVBlockStore
- 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(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, List<TransactionOutPoint>) - 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
- find(String) - Static method in enum org.bitcoinj.base.ScriptType
-
Use this method to create a
ScriptType
from a script identifier string that should be validated. - find(String) - Static method in enum org.bitcoinj.base.SegwitAddress.SegwitHrp
- find(Network) - Static method in class org.bitcoinj.params.Networks
-
Find a
NetworkParameters
for aNetwork
- 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
- 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[], ScriptType) - Method in class org.bitcoinj.wallet.DecryptingKeyBag
- findKeyFromPubKeyHash(byte[], 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[], ScriptType) - Method in class org.bitcoinj.wallet.KeyChainGroup
- findKeyFromPubKeyHash(byte[], 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
-
Deprecated.
- findKeysBefore(Instant) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Returns a list of all ECKeys created after the given time.
- findOldestKeyAfter(long) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Deprecated.
- findOldestKeyAfter(Instant) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Returns the first ECKey created after the given time, or empty 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.crypto.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.
- 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.
- fitsInt() - Method in class org.bitcoinj.base.VarInt
-
Determine if the value would fit an int, i.e.
- FORCE_SEND_FOR_REFRESH - org.bitcoinj.core.PeerGroup.FilterRecalculateMode
- forKnownNetworks() - Method in interface org.bitcoinj.base.AddressParser.AddressParserProvider
-
Return a parser that will parse valid addresses for all networks (
Network
) known by this provider. - 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.base.utils.MonetaryFormat
-
Format the given monetary value to a human-readable form.
- formatAddresses(boolean, boolean, AesKey, Network, StringBuilder) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- formatHex() - Method in class org.bitcoinj.base.internal.ByteArray
- formatHex(byte[]) - Static method in class org.bitcoinj.base.internal.ByteUtils
- formatHex(byte[]) - Method in class org.bitcoinj.base.internal.HexFormat
- formatKeyWithAddress(boolean, AesKey, StringBuilder, Network, ScriptType, String) - Method in class org.bitcoinj.crypto.DeterministicKey
- formatKeyWithAddress(boolean, AesKey, StringBuilder, Network, ScriptType, String) - Method in class org.bitcoinj.crypto.ECKey
- formatKeyWithAddress(boolean, AesKey, StringBuilder, NetworkParameters, ScriptType, String) - Method in class org.bitcoinj.crypto.DeterministicKey
- formatKeyWithAddress(boolean, AesKey, StringBuilder, NetworkParameters, ScriptType, String) - Method in class org.bitcoinj.crypto.ECKey
- formatToCharacterIterator(Object) - Method in class org.bitcoinj.utils.BtcFormat
-
Formats a bitcoin monetary value and returns an
AttributedCharacterIterator
. - forNetwork(Network) - Method in interface org.bitcoinj.base.AddressParser.AddressParserProvider
-
Return a parser that will parse valid addresses for a given
Network
. - forServices(Network, long) - Static method in class org.bitcoinj.net.discovery.MultiplexingDiscovery
-
Builds a suitable set of peer discoveries.
- forServices(Network, long, boolean, boolean) - Static method in class org.bitcoinj.net.discovery.MultiplexingDiscovery
-
Builds a suitable set of peer discoveries.
- forServices(NetworkParameters, long) - Static method in class org.bitcoinj.net.discovery.MultiplexingDiscovery
-
Deprecated.
- forServices(NetworkParameters, long, boolean, boolean) - Static method in class org.bitcoinj.net.discovery.MultiplexingDiscovery
- 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, ScriptType, long) - Method in class org.bitcoinj.wallet.KeyChainGroup
- freshAddress(KeyChain.KeyPurpose, ScriptType, Instant) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns a fresh address for a given
KeyChain.KeyPurpose
and of a givenScriptType
. - 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.
- freshReceiveAddress() - Method in class org.bitcoinj.wallet.Wallet
-
An alias for calling
Wallet.freshAddress(KeyChain.KeyPurpose)
withKeyChain.KeyPurpose.RECEIVE_FUNDS
as the parameter. - freshReceiveAddress(ScriptType) - Method in class org.bitcoinj.wallet.Wallet
-
Returns a fresh receive address for a given
ScriptType
. - freshReceiveKey() - Method in class org.bitcoinj.wallet.Wallet
-
An alias for calling
Wallet.freshKey(KeyChain.KeyPurpose)
withKeyChain.KeyPurpose.RECEIVE_FUNDS
as the parameter. - fromAddress(Address) - Static method in class org.bitcoinj.core.NetworkParameters
-
Deprecated.You should be using
Address.network()
instead - fromASN1(byte[]) - Static method in class org.bitcoinj.crypto.ECKey
-
Construct an ECKey from an ASN.1 encoded private key.
- fromBase58(String, Network) - Static method in class org.bitcoinj.base.LegacyAddress
-
Construct a
LegacyAddress
from its base58 form. - fromBase58(Network, String) - Static method in class org.bitcoinj.crypto.BIP38PrivateKey
-
Construct a password-protected private key from its Base58 representation.
- fromBase58(Network, String) - Static method in class org.bitcoinj.crypto.DumpedPrivateKey
-
Construct a private key from its Base58 representation.
- fromBase58(NetworkParameters, String) - Static method in class org.bitcoinj.base.LegacyAddress
-
Deprecated.
- fromBase58(NetworkParameters, String) - Static method in class org.bitcoinj.crypto.BIP38PrivateKey
-
Deprecated.
- fromBase58(NetworkParameters, String) - Static method in class org.bitcoinj.crypto.DumpedPrivateKey
-
Deprecated.
- fromBech32(String, Network) - Static method in class org.bitcoinj.base.SegwitAddress
-
Construct a
SegwitAddress
from its textual form. - fromBech32(NetworkParameters, String) - Static method in class org.bitcoinj.base.SegwitAddress
-
Deprecated.Use
AddressParser
- fromEncrypted(EncryptedData, KeyCrypter, byte[]) - Static method in class org.bitcoinj.crypto.ECKey
-
Constructs a key that has an encrypted private component.
- fromHash(Network, byte[]) - Static method in class org.bitcoinj.base.SegwitAddress
-
Construct a
SegwitAddress
that represents the given hash, which is either a pubkey hash or a script hash. - fromHash(NetworkParameters, byte[]) - Static method in class org.bitcoinj.base.SegwitAddress
-
Deprecated.
- fromID(String) - Static method in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- fromID(String) - Static method in class org.bitcoinj.params.BitcoinNetworkParams
-
Return network parameters for a network id
- fromIdString(String) - Static method in enum org.bitcoinj.base.BitcoinNetwork
-
Find the
BitcoinNetwork
from an ID String - fromKey(NetworkParameters, ECKey) - Static method in class org.bitcoinj.base.LegacyAddress
-
Deprecated.
- fromKey(NetworkParameters, ECKey) - Static method in class org.bitcoinj.base.SegwitAddress
-
Deprecated.
- fromKey(NetworkParameters, ECKey, ScriptType) - Static method in interface org.bitcoinj.base.Address
-
Deprecated.
- fromKey(DeterministicKey, ScriptType) - Method in class org.bitcoinj.wallet.KeyChainGroup.Builder
-
Add chain from a given account key.
- fromMasterKey(Network, DeterministicKey, ScriptType, ChildNumber) - Static method in class org.bitcoinj.wallet.Wallet
-
Creates a spending wallet that tracks payments to and from a BIP32-style HD key hierarchy rooted by
masterKey
andaccountNumber
. - fromMasterKey(NetworkParameters, DeterministicKey, ScriptType, ChildNumber) - Static method in class org.bitcoinj.wallet.Wallet
- 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
-
Deprecated.Use
PaymentProtocol.paramsFromPmtProtocolID(String)
(String)} - fromPredicate(Predicate<TransactionOutput>) - Static method in interface org.bitcoinj.wallet.CoinSelector
-
Create a
CoinSelector
from a predicate function that filters a singleTransactionOutput
- fromPrivate(byte[]) - Static method in class org.bitcoinj.crypto.ECKey
-
Creates an ECKey given the private key only.
- fromPrivate(byte[], boolean) - Static method in class org.bitcoinj.crypto.ECKey
-
Creates an ECKey given the private key only.
- fromPrivate(BigInteger) - Static method in class org.bitcoinj.crypto.ECKey
-
Creates an ECKey given the private key only.
- fromPrivate(BigInteger, boolean) - Static method in class org.bitcoinj.crypto.ECKey
-
Creates an ECKey given the private key only.
- fromPrivateAndPrecalculatedPublic(byte[], byte[]) - Static method in class org.bitcoinj.crypto.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.crypto.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(Network, int, byte[]) - Static method in class org.bitcoinj.base.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. - fromProgram(NetworkParameters, int, byte[]) - Static method in class org.bitcoinj.base.SegwitAddress
-
Deprecated.
- 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(Network, 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(Network, List<Protos.Key>, KeyChainFactory) - Static method in class org.bitcoinj.wallet.KeyChainGroup
- fromPubKeyHash(Network, byte[]) - Static method in class org.bitcoinj.base.LegacyAddress
-
Construct a
LegacyAddress
that represents the given pubkey hash. - fromPubKeyHash(NetworkParameters, byte[]) - Static method in class org.bitcoinj.base.LegacyAddress
-
Deprecated.
- fromPublicOnly(byte[]) - Static method in class org.bitcoinj.crypto.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.crypto.ECKey
- fromPublicOnly(ECPoint, boolean) - Static method in class org.bitcoinj.crypto.ECKey
-
Creates an ECKey that cannot be used for signing, only verifying signatures, from the given point.
- fromRandom(ScriptType) - Method in class org.bitcoinj.wallet.KeyChainGroup.Builder
-
Add chain from a random source.
- fromScriptHash(Network, byte[]) - Static method in class org.bitcoinj.base.LegacyAddress
-
Construct a
LegacyAddress
that represents the given P2SH script hash. - fromScriptHash(NetworkParameters, byte[]) - Static method in class org.bitcoinj.base.LegacyAddress
-
Deprecated.
- fromSeed(Network, DeterministicSeed, ScriptType) - Static method in class org.bitcoinj.wallet.Wallet
- fromSeed(Network, DeterministicSeed, ScriptType, List<ChildNumber>) - Static method in class org.bitcoinj.wallet.Wallet
- fromSeed(Network, DeterministicSeed, ScriptType, KeyChainGroupStructure) - Static method in class org.bitcoinj.wallet.Wallet
- fromSeed(NetworkParameters, DeterministicSeed, ScriptType) - Static method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- fromSeed(NetworkParameters, DeterministicSeed, ScriptType, List<ChildNumber>) - Static method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- fromSeed(NetworkParameters, DeterministicSeed, ScriptType, KeyChainGroupStructure) - Static method in class org.bitcoinj.wallet.Wallet
- fromSeed(DeterministicSeed, ScriptType) - Method in class org.bitcoinj.wallet.KeyChainGroup.Builder
-
Add chain from a given seed.
- fromSpendingKey(Network, DeterministicKey, 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.
- fromSpendingKey(NetworkParameters, DeterministicKey, ScriptType) - Static method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- fromSpendingKeyB58(Network, String) - 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(Network, String, Instant) - 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) - Static method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- fromSpendingKeyB58(NetworkParameters, String, long) - Static method in class org.bitcoinj.wallet.Wallet
- fromSpendingKeyB58(NetworkParameters, String, Instant) - Static method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- fromString(String) - Static method in enum org.bitcoinj.base.BitcoinNetwork
-
Find the
BitcoinNetwork
from a name string, e.g. - fromString(NetworkParameters, String) - Static method in interface org.bitcoinj.base.Address
-
Deprecated.
- fromWatchingKey(Network, DeterministicKey, 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.
- fromWatchingKey(NetworkParameters, DeterministicKey, ScriptType) - Static method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- fromWatchingKeyB58(Network, String) - 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(Network, String, Instant) - 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) - Static method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- fromWatchingKeyB58(NetworkParameters, String, long) - Static method in class org.bitcoinj.wallet.Wallet
- fromWatchingKeyB58(NetworkParameters, String, Instant) - Static method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- 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(NetworkParameters, 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(NetworkParameters, FullPrunedBlockStore) - Constructor for class org.bitcoinj.core.FullPrunedBlockChain
-
Constructs a block chain connected to the given store.
- 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.
- future() - Method in class org.bitcoinj.core.TransactionBroadcast
-
Deprecated.Use
TransactionBroadcast.awaitRelayed()
(and maybeCompletableFuture.thenApply(Function)
) - FutureUtils - Class in org.bitcoinj.base.internal
-
Utilities for
CompletableFuture
. - FutureUtils() - Constructor for class org.bitcoinj.base.internal.FutureUtils
- FutureUtils.ThrowingSupplier<T> - Interface in org.bitcoinj.base.internal
-
Subinterface of
Supplier
for Lambdas which throw exceptions. - FutureVersion() - Constructor for exception org.bitcoinj.wallet.UnreadableWalletException.FutureVersion
G
- gathered - Variable in class org.bitcoinj.wallet.CoinSelection
-
Deprecated.
- generate(DeterministicKey, int) - Static method in class org.bitcoinj.crypto.HDKeyDerivation
-
Generate an infinite stream of
DeterministicKey
s from the given parent and index. - genesisBlock - Variable in class org.bitcoinj.params.BitcoinNetworkParams
-
lazy-initialized by the first call to
NetworkParameters.getGenesisBlock()
- get() - Method in interface org.bitcoinj.base.internal.FutureUtils.ThrowingSupplier
-
Gets a result wrapping checked Exceptions with
RuntimeException
- 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.SigNetParams
- 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
- 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(TemporalUnit) - Method in class org.bitcoinj.base.internal.Stopwatch
- get(List<ChildNumber>, boolean, boolean) - Method in class org.bitcoinj.crypto.DeterministicHierarchy
-
Returns a key for the given path, optionally creating it.
- get(Network) - Static method in class org.bitcoinj.wallet.DefaultCoinSelector
- 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.MemoryBlockStore
- get(Sha256Hash) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- get(Sha256Hash) - Method in class org.bitcoinj.store.SPVBlockStore
- getAccountPath() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- 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(ScriptType, long) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Deprecated.
- getActiveKeyChain(ScriptType, Instant) - 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(Instant)
. - getActiveKeyChains(long) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Deprecated.
- getActiveKeyChains(Instant) - 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
- getAddressHeader() - Method in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- GetAddrMessage - Class in org.bitcoinj.core
-
Represents the "getaddr" P2P protocol message, which requests network
AddressMessage
s from a peer. - GetAddrMessage() - Constructor for class org.bitcoinj.core.GetAddrMessage
- getAddrSeeds() - Method in class org.bitcoinj.core.NetworkParameters
-
Return IP addresses of active peers
- getAffineXCoord() - Method in class org.bitcoinj.crypto.LazyECPoint
- getAffineYCoord() - Method in class org.bitcoinj.crypto.LazyECPoint
- 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.
- 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.
- 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.ProtocolVersion
-
Deprecated.
- 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.
- 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.params.BitcoinNetworkParams
-
A utility method that calculates how much new Bitcoin would be created by the block at the given height.
- 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(long, 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, int) - 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, int) - Method in class org.bitcoinj.wallet.KeyChainGroup
- getBloomFilter(int, double, int) - 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, int)
- 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
- getBroadcast() - Method in class org.bitcoinj.wallet.Wallet.SendResult
- getBroadcastBy() - Method in class org.bitcoinj.core.TransactionConfidence
-
Returns a snapshot of
PeerAddress
es that announced the transaction. - getByAddress(byte[]) - Static method in class org.bitcoinj.core.PeerAddress
- getBytes() - Method in class org.bitcoinj.base.Sha256Hash
-
Returns the internal byte array, without defensively copying.
- getChainCode() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns the chain code associated with this 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.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.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
-
Deprecated.
- getCheckpointBefore(Instant) - 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
-
Deprecated.use
Script.chunks()
- 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. - 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.
- getConfidence() - Method in class org.bitcoinj.core.Transaction
-
Returns the confidence object for this transaction from the
TxConfidenceTable
referenced by the implicitContext
. - getConfidence(Transaction) - Method in class org.bitcoinj.core.TxConfidenceTable
-
Get the confidence object for a transaction
- 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 ListenableCompletableFuture that can be used to wait for the socket to connect.
- getCountAtOrAbove(long) - Method in class org.bitcoinj.utils.VersionTally
-
Get the count of blocks at or above the given version, within the window.
- getCreationTime() - 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.getCreationTime()
. - getCreationTime() - Method in class org.bitcoinj.crypto.ECKey
-
Returns the creation time of this key, or empty if the key was deserialized from a version that did not store that data.
- getCreationTime() - Method in interface org.bitcoinj.crypto.EncryptableItem
-
Returns the time at which this encryptable item was first created/derived, or empty of unknown.
- getCreationTime() - Method in class org.bitcoinj.wallet.DeterministicSeed
- getCreationTimeSeconds() - Method in interface org.bitcoinj.crypto.EncryptableItem
-
Deprecated.
- getCreationTimeSeconds() - Method in class org.bitcoinj.script.Script
-
Deprecated.
- getCurrencyCode() - Method in class org.bitcoinj.base.utils.Fiat
- getCurve() - Method in class org.bitcoinj.crypto.LazyECPoint
- 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.
- GetDataEventListener - Interface in org.bitcoinj.core.listeners
- getDataHash() - Method in class org.bitcoinj.core.CheckpointManager
-
Returns a hash of the concatenated checkpoint data.
- GetDataMessage - Class in org.bitcoinj.core
-
Represents the "getdata" P2P network message, which requests the contents of blocks or transactions given their hashes.
- GetDataMessage() - Constructor for class org.bitcoinj.core.GetDataMessage
-
Deprecated.
- getDate() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Deprecated.
- getDefault() - Static method in interface org.bitcoinj.base.AddressParser
- getDefault(Network) - Static method in interface org.bitcoinj.base.AddressParser
- getDefaultSerializer() - Method in class org.bitcoinj.core.NetworkParameters
-
Return the default serializer for this network.
- getDepth() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Return this key's depth in the hierarchy, where the root node is at depth zero.
- getDepthFuture(int) - Method in class org.bitcoinj.core.TransactionConfidence
- 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.Wallet
-
Get the description of the wallet.
- getDetachedPoint() - Method in class org.bitcoinj.crypto.LazyECPoint
- getDeterministicKeyChains() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns a copy of the current list of chains.
- 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
-
Return 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.
- getDumpedPrivateKeyHeader() - Method in class org.bitcoinj.core.NetworkParameters
-
First byte of a base58 encoded dumped private key.
- getEarliestKeyCreationTime() - Method in interface org.bitcoinj.core.PeerFilterProvider
-
Deprecated.
- getEarliestKeyCreationTime() - Method in interface org.bitcoinj.wallet.KeyChain
-
Deprecated.
- getEarliestKeyCreationTime() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Deprecated.
- getEncoded() - Method in class org.bitcoinj.crypto.LazyECPoint
- getEncoded(boolean) - Method in class org.bitcoinj.crypto.LazyECPoint
- getEncryptedData() - Method in class org.bitcoinj.crypto.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
- getEncryptedPrivateKey() - Method in class org.bitcoinj.crypto.ECKey
-
Returns the encrypted private key bytes and initialisation vector for this ECKey, or null if the ECKey is not encrypted.
- getEncryptedSeedData() - Method in class org.bitcoinj.wallet.DeterministicSeed
- getEncryptionType() - Method in class org.bitcoinj.crypto.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.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
. - getExpires() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Deprecated.
- 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.
- getFastCatchupTime() - Method in class org.bitcoinj.core.PeerGroup
-
Returns the current fast catchup time.
- getFastCatchupTimeSecs() - Method in class org.bitcoinj.core.PeerGroup
-
Deprecated.
- 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
-
Deprecated.
- 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, int) - Method in class org.bitcoinj.wallet.BasicKeyChain
- getFilter(int, double, int) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- getFilter(int, double, int) - 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.
- 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.SigNetParams
- getGenesisBlock() - Method in class org.bitcoinj.params.TestNet3Params
- getGenesisBlock() - Method in class org.bitcoinj.params.UnitTestParams
- getGenesisBlock() - Method in class org.bitcoinj.testing.MockAltNetworkParams
- getHash() - Method in interface org.bitcoinj.base.Address
-
Get either the public key hash or script hash that is encoded in the address.
- getHash() - Method in class org.bitcoinj.base.LegacyAddress
-
The (big endian) 20 byte hash that is the core of a Bitcoin address.
- getHash() - Method in class org.bitcoinj.base.SegwitAddress
- 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 exception org.bitcoinj.core.PrunedException
- getHash() - Method in class org.bitcoinj.core.StoredUndoableBlock
-
Get the hash of the represented block
- getHash() - Method in class org.bitcoinj.core.TransactionOutPoint
-
Deprecated.
- getHash() - Method in class org.bitcoinj.core.UTXO
-
The hash of the transaction which holds this output.
- 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.
- 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(long, 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.
- getHostname() - Method in class org.bitcoinj.core.PeerAddress
- 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
- 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.
- getIndex() - Method in class org.bitcoinj.core.TransactionInput
-
Gets the index of this input in the parent transaction, or throws if this input is freestanding.
- getIndex() - Method in class org.bitcoinj.core.TransactionOutPoint
-
Deprecated.
- getIndex() - Method in class org.bitcoinj.core.TransactionOutput
-
Gets the index of this output in the parent transaction, or throws if this output is freestanding.
- getIndex() - Method in class org.bitcoinj.core.UTXO
-
The index of this output in the transaction which holds it.
- 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 all transaction inputs, regardless of who owns them.
- 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.
- 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()
. - getItems() - Method in class org.bitcoinj.core.ListMessage
- getKey() - Method in class org.bitcoinj.crypto.AesKey
-
Deprecated.
- getKey() - Method in class org.bitcoinj.crypto.DumpedPrivateKey
-
Returns an ECKey created from this encoded private key.
- 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.
- 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.crypto.ECKey
-
Returns the KeyCrypter that was used to encrypt to encrypt this ECKey.
- 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.
- getKeyLookaheadEpoch() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns a counter that is incremented each time new keys are generated due to lookahead.
- getKeyRotationTime() - Method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- 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
- 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
-
Deprecated.
- getLastBlockSeenTimeSecs() - Method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- getLastBroadcastedAt() - Method in class org.bitcoinj.core.TransactionConfidence
-
Deprecated.
- getLastBroadcastTime() - Method in class org.bitcoinj.core.TransactionConfidence
-
Return the time the transaction was last announced to us, or empty if unknown.
- getLastFilter() - Method in class org.bitcoinj.net.FilterMerger
- getLastPingTime() - Method in class org.bitcoinj.core.Peer
-
Deprecated.
- getLeafKeys() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns leaf keys issued by this chain (including lookahead zone)
- getLegacy() - Static method in interface org.bitcoinj.base.AddressParser
-
Deprecated.
- getLegacy(Network) - Static method in interface org.bitcoinj.base.AddressParser
-
Deprecated.
- getLegacy(NetworkParameters) - Static method in interface org.bitcoinj.base.AddressParser
-
Deprecated.
- getListeners() - Method in class org.bitcoinj.wallet.BasicKeyChain
- getLocator() - Method in class org.bitcoinj.core.GetBlocksMessage
- getLockTime() - Method in class org.bitcoinj.core.Transaction
-
Deprecated.
- 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.
- 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.
- 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
-
Deprecated.
- getMaxMoney() - Method in class org.bitcoinj.params.BitcoinNetworkParams
-
Deprecated.
- getMaxMoney() - Method in class org.bitcoinj.testing.MockAltNetworkParams
- 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.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.
- getMemoryPool() - Method in class org.bitcoinj.core.PeerGroup
-
Deprecated.
- 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 interface org.bitcoinj.core.Message
-
Deprecated.
- getMessageSize() - Method in class org.bitcoinj.core.PartialMerkleTree
-
Deprecated.
- getMessageSize() - Method in class org.bitcoinj.core.TransactionInput
-
Deprecated.
- getMessageSize() - Method in class org.bitcoinj.core.TransactionOutPoint
-
Deprecated.
- getMessageSize() - Method in class org.bitcoinj.core.TransactionOutput
-
Deprecated.
- getMessageSize() - Method in class org.bitcoinj.core.TransactionWitness
-
Deprecated.
- getMessageSize(int) - Method in class org.bitcoinj.core.PeerAddress
-
Return the size of the serialized message, using a given protocol variant.
- 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.
- 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
-
Deprecated.Get one another way or construct your own
MonetaryFormat
as needed. - getMonetaryFormat() - Method in class org.bitcoinj.params.BitcoinNetworkParams
-
Deprecated.Get one another way or construct your own
MonetaryFormat
as needed. - getMonetaryFormat() - Method in class org.bitcoinj.testing.MockAltNetworkParams
- 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. - 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
-
Deprecated.Use
Wallet.network()
- 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.
- 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.
- 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 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.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 (e.g.
- 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.MemoryFullPrunedBlockStore
- getOrCreate() - 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. - getOrCreate(NetworkParameters) - Static method in class org.bitcoinj.core.Context
-
Deprecated.
- getOriginalSizeInBytes() - Method in class org.bitcoinj.base.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. - getOutput(long) - Method in class org.bitcoinj.core.Transaction
-
Same as getOutputs().get(index)
- getOutput(TransactionOutPoint) - Method in class org.bitcoinj.core.Transaction
-
Gets the output the gihven outpoint is referring to.
- getOutputs() - Method in class org.bitcoinj.core.Transaction
-
Returns an unmodifiable view of all outputs.
- getOutputs() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the outputs of the payment request.
- getOutputScriptType() - Method in interface org.bitcoinj.base.Address
-
Get the type of output script that will be used for sending to the address.
- getOutputScriptType() - Method in class org.bitcoinj.base.LegacyAddress
-
Get the type of output script that will be used for sending to the address.
- getOutputScriptType() - Method in class org.bitcoinj.base.SegwitAddress
-
Get the type of output script that will be used for sending to the address.
- getOutputScriptType() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- getOutputSum() - Method in class org.bitcoinj.core.Transaction
-
Gets the sum of the outputs of the transaction.
- getOverridingTxId() - 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 ID.
- getP2SHHeader() - Method in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- 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 interface org.bitcoinj.base.Address
-
Deprecated.
- getParameters() - Method in class org.bitcoinj.core.BitcoinSerializer
-
Deprecated.
- getParameters() - Method in class org.bitcoinj.crypto.EncodedPrivateKey
-
Deprecated.
- getParametersFromAddress(String) - Static method in class org.bitcoinj.base.LegacyAddress
-
Deprecated.
- getParams() - Method in class org.bitcoinj.wallet.Wallet
-
Deprecated.Use
Wallet.network()
- 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(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.
- 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.
- getPaymentProtocolId() - Method in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- getPaymentProtocolId() - Method in class org.bitcoinj.params.BitcoinNetworkParams
-
Deprecated.
- getPaymentProtocolId() - Method in class org.bitcoinj.testing.MockAltNetworkParams
- 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.bitcoinj.protocols.payments.PaymentSession
-
Returns the payment url where the Payment message should be sent.
- 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 interface org.bitcoinj.net.discovery.PeerDiscovery
-
Deprecated.
- getPeers(long, Duration) - Method in class org.bitcoinj.net.discovery.DnsDiscovery.DnsSeedDiscovery
- getPeers(long, Duration) - Method in class org.bitcoinj.net.discovery.MultiplexingDiscovery
- getPeers(long, Duration) - Method in interface org.bitcoinj.net.discovery.PeerDiscovery
-
Queries for addresses.
- getPeers(long, Duration) - Method in class org.bitcoinj.net.discovery.SeedPeers
-
Returns all the Bitcoin nodes within the list.
- 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
-
Deprecated.
- getPolicy() - Static method in class org.bitcoinj.utils.Threading
- getPool() - Method in class org.bitcoinj.wallet.WalletTransaction
- getPoolSize(WalletTransaction.Pool) - Method in class org.bitcoinj.wallet.Wallet
- 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
- 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.crypto.ECKey
- getPrivateKeyAsWiF(Network) - Method in class org.bitcoinj.crypto.ECKey
- getPrivateKeyAsWiF(NetworkParameters) - Method in class org.bitcoinj.crypto.ECKey
-
Deprecated.
- getPrivateKeyEncoded(Network) - Method in class org.bitcoinj.crypto.ECKey
-
Exports the private key in the form used by Bitcoin Core's "dumpprivkey" and "importprivkey" commands.
- getPrivateKeyEncoded(NetworkParameters) - Method in class org.bitcoinj.crypto.ECKey
-
Deprecated.
- getPrivKey() - Method in class org.bitcoinj.crypto.DeterministicKey
-
Returns the private key of this deterministic key.
- getPrivKey() - Method in class org.bitcoinj.crypto.ECKey
-
Gets the private key in the form of an integer field element.
- getPrivKeyBytes() - Method in class org.bitcoinj.crypto.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
-
Deprecated.use
Script.program()
- getProtocolVersion() - Method in class org.bitcoinj.core.BitcoinSerializer
- getProtocolVersion() - Method in class org.bitcoinj.core.MessageSerializer
-
Get the protocol version of this serializer.
- getProtocolVersionNum(ProtocolVersion) - Method in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- getPubKey() - Method in class org.bitcoinj.crypto.ECKey
-
Gets the raw public key value.
- getPubKeyHash() - Method in class org.bitcoinj.crypto.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.crypto.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.
- getPublicKeyAsHex() - Method in class org.bitcoinj.crypto.ECKey
- getPurpose() - Method in class org.bitcoinj.core.Transaction
-
Returns the purpose for which this transaction was created.
- 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 (e.g.
- getReasonCode() - Method in class org.bitcoinj.core.RejectMessage
-
Deprecated.
- getReasonString() - Method in class org.bitcoinj.core.RejectMessage
-
Deprecated.
- 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.
- 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.
- getRejectedMessage() - Method in class org.bitcoinj.core.RejectMessage
-
Deprecated.
- getRejectedObjectHash() - Method in class org.bitcoinj.core.RejectMessage
-
Deprecated.
- getRejectMessage() - Method in exception org.bitcoinj.core.RejectedTransactionException
-
Return the RejectMessage object representing the broadcast rejection.
- getRetryTime() - Method in class org.bitcoinj.utils.ExponentialBackoff
-
Deprecated.
- getReversedBytes() - Method in class org.bitcoinj.base.Sha256Hash
-
Deprecated.
- 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
- 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.
- 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
ScriptType
. - getScryptParameters() - Method in class org.bitcoinj.crypto.KeyCrypterScrypt
- getSecretBytes() - Method in class org.bitcoinj.crypto.DeterministicKey
- getSecretBytes() - Method in class org.bitcoinj.crypto.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 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
- getSeed() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns the seed or null if this chain is a watching chain.
- getSeedBytes() - Method in class org.bitcoinj.wallet.DeterministicSeed
- getSegwitAddressHrp() - Method in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- getSendRequest() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns a
SendRequest
suitable for broadcasting to the network. - 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.
- getSerializer() - Method in class org.bitcoinj.core.NetworkParameters
-
Construct and return a custom serializer.
- getSerializer() - Method in class org.bitcoinj.params.BitcoinNetworkParams
- getSerializer() - Method in class org.bitcoinj.testing.MockAltNetworkParams
- getServices() - Method in class org.bitcoinj.core.PeerAddress
- getSigInsertionIndex(Sha256Hash, ECKey) - Method in class org.bitcoinj.script.Script
-
Returns the index where a signature by the key should be inserted.
- 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.
- getSizeInBytes() - Method in class org.bitcoinj.base.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.
- getSpendableCoinbaseDepth() - Method in class org.bitcoinj.core.NetworkParameters
- getSpentBy() - Method in class org.bitcoinj.core.TransactionOutput
-
Returns the connected input.
- 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.
- getTag(String) - Method in class org.bitcoinj.utils.BaseTaggableObject
-
Deprecated.
- getTag(String) - Method in interface org.bitcoinj.utils.TaggableObject
-
Deprecated.
- getTags() - Method in class org.bitcoinj.utils.BaseTaggableObject
-
Deprecated.
- getTags() - Method in interface org.bitcoinj.utils.TaggableObject
-
Deprecated.
- getTargetTimespan() - Method in class org.bitcoinj.core.NetworkParameters
-
How much time in seconds is supposed to pass between "interval" blocks.
- getThrows() - Method in interface org.bitcoinj.base.internal.FutureUtils.ThrowingSupplier
-
Gets a result.
- getTime() - Method in class org.bitcoinj.core.Block
-
Deprecated.use
Block.time()
- getTime() - Method in class org.bitcoinj.core.PeerAddress
-
Deprecated.
- getTimeSeconds() - Method in class org.bitcoinj.core.Block
-
Deprecated.use
Block.time()
- getToAddress(Network) - Method in class org.bitcoinj.script.Script
-
Gets the destination address from this script, if it's in the required form.
- getToAddress(Network, boolean) - Method in class org.bitcoinj.script.Script
-
Gets the destination address from this script, if it's in the required form.
- getToAddress(NetworkParameters) - Method in class org.bitcoinj.script.Script
-
Deprecated.
- getToAddress(NetworkParameters, boolean) - Method in class org.bitcoinj.script.Script
-
Deprecated.
- 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(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
- 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
- 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.MemoryFullPrunedBlockStore
- 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 unmodifiable 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.
- getTransactionsByTime() - Method in class org.bitcoinj.wallet.Wallet
-
Returns all non-dead, active transactions ordered by recency.
- getTransactionSigners() - Method in class org.bitcoinj.wallet.Wallet
- 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.
- 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 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.MemoryFullPrunedBlockStore
- getUninterruptibly(Future<V>) - Static method in class org.bitcoinj.base.internal.InternalUtils
-
Get a future's value
uninterruptibly
by temporarily ignoringInterruptedException
, but making sure we re-set the thread's interrupt status, so higher-level code on the thread can handle the interruption properly. - getUnits() - Method in class org.bitcoinj.base.internal.Stopwatch
- getUnspents() - Method in class org.bitcoinj.wallet.Wallet
-
Returns a copy of the internal unspent outputs list
- getUpdateFlag() - Method in class org.bitcoinj.core.BloomFilter
-
The update flag controls how application of the filter to a block modifies the filter.
- getUpdateTime() - Method in class org.bitcoinj.core.Transaction
-
Deprecated.
- getUriScheme() - Method in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- getUriScheme() - Method in class org.bitcoinj.params.BitcoinNetworkParams
-
Deprecated.
- getUriScheme() - Method in class org.bitcoinj.testing.MockAltNetworkParams
- getUseLocalhostPeerWhenPossible() - Method in class org.bitcoinj.core.PeerGroup
- getUTXOProvider() - Method in class org.bitcoinj.wallet.Wallet
-
Get the
UTXOProvider
. - getValue() - Method in class org.bitcoinj.base.Coin
-
Returns the number of satoshis of this monetary value.
- getValue() - Method in interface org.bitcoinj.base.Monetary
-
Returns the number of "smallest units" of this monetary value.
- getValue() - Method in class org.bitcoinj.base.utils.Fiat
-
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(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 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.MemoryFullPrunedBlockStore
- getVersion() - Method in class org.bitcoinj.base.LegacyAddress
-
Get the version header of an address.
- 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.Transaction
- 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)
. - 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.TransactionInput
-
Get the transaction witness of this input.
- getWitnessProgram() - Method in class org.bitcoinj.base.SegwitAddress
-
Returns the witness program in decoded form.
- getWitnessRoot() - Method in class org.bitcoinj.core.Block
-
Returns the witness root in big endian form, calculating it from transactions if necessary.
- getWitnessVersion() - Method in class org.bitcoinj.base.SegwitAddress
-
Returns the witness version in decoded form.
- getWordList() - Method in class org.bitcoinj.crypto.MnemonicCode
-
Gets the word list this code uses.
- getWork() - Method in class org.bitcoinj.core.Block
-
Returns the work represented by this block.
- getWTxId() - Method in class org.bitcoinj.core.Transaction
-
Returns the witness transaction id (aka witness id) as per BIP144.
- getX() - Method in class org.bitcoinj.crypto.LazyECPoint
- getXCoord() - Method in class org.bitcoinj.crypto.LazyECPoint
- getY() - Method in class org.bitcoinj.crypto.LazyECPoint
- getYCoord() - Method in class org.bitcoinj.crypto.LazyECPoint
- getZCoord(int) - Method in class org.bitcoinj.crypto.LazyECPoint
- getZCoords() - Method in class org.bitcoinj.crypto.LazyECPoint
H
- handleNewPeer(Peer) - Method in class org.bitcoinj.core.PeerGroup
- handlePeerDeath(Peer, Throwable) - Method in class org.bitcoinj.core.PeerGroup
- HARDENED_BIT - Static variable in class org.bitcoinj.crypto.ChildNumber
-
The bit that's set in the child number to indicate whether this key is "hardened".
- has(long) - Method in class org.bitcoinj.core.Services
-
Checks if given specific node services are signaled by this bitfield.
- hasAny() - Method in class org.bitcoinj.core.Services
-
Checks if this bitfield signals any node services at all.
- hasConfidence() - Method in class org.bitcoinj.core.Transaction
-
Check if the transaction has a known confidence
- hash - Variable in class org.bitcoinj.core.InventoryItem
- hash() - Method in class org.bitcoinj.core.TransactionOutPoint
-
Returns the hash of the transaction this outpoint references/spends/is connected to.
- hash(byte[]) - Static method in class org.bitcoinj.base.Sha256Hash
-
Calculates the SHA-256 hash of the given bytes.
- hash(byte[], int, int) - Static method in class org.bitcoinj.base.Sha256Hash
-
Calculates the SHA-256 hash of the given byte range.
- hashCode() - Method in class org.bitcoinj.base.Coin
- hashCode() - Method in class org.bitcoinj.base.internal.ByteArray
- hashCode() - Method in class org.bitcoinj.base.LegacyAddress
- hashCode() - Method in class org.bitcoinj.base.SegwitAddress
- hashCode() - Method in class org.bitcoinj.base.Sha256Hash
-
Returns the last four bytes of the wrapped hash.
- hashCode() - Method in class org.bitcoinj.base.utils.Fiat
- hashCode() - Method in class org.bitcoinj.base.utils.MonetaryFormat
- hashCode() - Method in class org.bitcoinj.base.VarInt
- hashCode() - Method in class org.bitcoinj.core.Block
- hashCode() - Method in class org.bitcoinj.core.BlockLocator
- hashCode() - Method in class org.bitcoinj.core.BloomFilter
- hashCode() - Method in class org.bitcoinj.core.FilteredBlock
- hashCode() - Method in class org.bitcoinj.core.GetBlocksMessage
- hashCode() - Method in class org.bitcoinj.core.GetHeadersMessage
- hashCode() - Method in class org.bitcoinj.core.InventoryItem
- hashCode() - Method in class org.bitcoinj.core.ListMessage
- hashCode() - Method in class org.bitcoinj.core.LockTime
- hashCode() - Method in class org.bitcoinj.core.NetworkParameters
- hashCode() - Method in class org.bitcoinj.core.PartialMerkleTree
- hashCode() - Method in class org.bitcoinj.core.PeerAddress
- hashCode() - Method in class org.bitcoinj.core.RejectMessage
- hashCode() - Method in class org.bitcoinj.core.Services
- hashCode() - Method in class org.bitcoinj.core.StoredBlock
- hashCode() - Method in class org.bitcoinj.core.StoredUndoableBlock
- hashCode() - Method in class org.bitcoinj.core.Transaction
- hashCode() - Method in class org.bitcoinj.core.TransactionInput
- hashCode() - Method in class org.bitcoinj.core.TransactionOutPoint
- hashCode() - Method in class org.bitcoinj.core.TransactionOutput
- hashCode() - Method in class org.bitcoinj.core.TransactionWitness
- hashCode() - Method in class org.bitcoinj.core.UTXO
- hashCode() - Method in class org.bitcoinj.core.VersionMessage
- hashCode() - Method in class org.bitcoinj.crypto.ChildNumber
- hashCode() - Method in class org.bitcoinj.crypto.DeterministicKey
- hashCode() - Method in class org.bitcoinj.crypto.ECKey.ECDSASignature
- hashCode() - Method in class org.bitcoinj.crypto.ECKey
- hashCode() - Method in class org.bitcoinj.crypto.EncodedPrivateKey
- hashCode() - Method in class org.bitcoinj.crypto.EncryptedData
- hashCode() - Method in class org.bitcoinj.crypto.KeyCrypterScrypt
- hashCode() - Method in class org.bitcoinj.crypto.LazyECPoint
- hashCode() - Method in class org.bitcoinj.script.Script
- hashCode() - Method in class org.bitcoinj.script.ScriptChunk
- hashCode() - Method in class org.bitcoinj.utils.BtcFixedFormat
-
Return a hash code value for this instance.
- hashCode() - Method in class org.bitcoinj.utils.BtcFormat
-
Return a hash code value for this instance.
- hashCode() - Method in class org.bitcoinj.utils.ExchangeRate
- hashCode() - Method in class org.bitcoinj.wallet.DeterministicSeed
- hashForSignature(int, byte[], byte) - Method in class org.bitcoinj.core.Transaction
-
This is required for signatures which use a sigHashType which cannot be represented using SigHash and anyoneCanPay See transaction c99c49da4c38af669dea436d3e73780dfdb6c1ecf9958baa52960e8baee30e73, which has sigHashType 0
- hashForSignature(int, byte[], Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
-
Calculates a signature hash, that is, a hash of a simplified form of the transaction.
- hashForSignature(int, Script, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
-
Calculates a signature hash, that is, a hash of a simplified form of the transaction.
- hashForWitnessSignature(int, byte[], Coin, byte) - Method in class org.bitcoinj.core.Transaction
- hashForWitnessSignature(int, byte[], Coin, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
- hashForWitnessSignature(int, Script, Coin, Transaction.SigHash, boolean) - Method in class org.bitcoinj.core.Transaction
-
Calculates a signature hash, that is, a hash of a simplified form of the transaction.
- hashToByteString(Sha256Hash) - Static method in class org.bitcoinj.wallet.WalletProtobufSerializer
- hashTwice(byte[]) - Static method in class org.bitcoinj.base.Sha256Hash
-
Calculates the SHA-256 hash of the given bytes, and then hashes the resulting hash again.
- hashTwice(byte[], byte[]) - Static method in class org.bitcoinj.base.Sha256Hash
-
Calculates the hash of hash on the given chunks of bytes.
- hashTwice(byte[], int, int) - Static method in class org.bitcoinj.base.Sha256Hash
-
Calculates the SHA-256 hash of the given byte range, and then hashes the resulting hash again.
- hashTwice(byte[], int, int, byte[], int, int) - Static method in class org.bitcoinj.base.Sha256Hash
-
Calculates the hash of hash on the given byte ranges.
- hasKey(ECKey) - Method in class org.bitcoinj.wallet.BasicKeyChain
- hasKey(ECKey) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- hasKey(ECKey) - Method in interface org.bitcoinj.wallet.KeyChain
-
Returns true if the given key is in the chain.
- hasKey(ECKey) - Method in class org.bitcoinj.wallet.KeyChainGroup
- hasKey(ECKey) - Method in class org.bitcoinj.wallet.Wallet
-
Returns true if the given key is in the wallet, false otherwise.
- hasLotAndSequence - Variable in class org.bitcoinj.crypto.BIP38PrivateKey
- hasMaxMoney() - Method in enum org.bitcoinj.base.BitcoinNetwork
- hasMaxMoney() - Method in interface org.bitcoinj.base.Network
-
Does this network have a fixed maximum number of coins
- hasMaxMoney() - Method in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- hasMaxMoney() - Method in class org.bitcoinj.params.BitcoinNetworkParams
-
Deprecated.
- hasMaxMoney() - Method in class org.bitcoinj.testing.MockAltNetwork
- hasMaxMoney() - Method in class org.bitcoinj.testing.MockAltNetworkParams
- hasNext() - Method in class org.bitcoinj.utils.BlockFileLoader.BlockFileIterator
- hasNonce() - Method in class org.bitcoinj.core.Ping
-
Deprecated.returns true
- hasPrivateKey - Variable in class org.bitcoinj.crypto.HDPath
- hasPrivateKey() - Method in class org.bitcoinj.crypto.HDPath
-
Is this a path to a private key?
- hasPrivKey() - Method in class org.bitcoinj.crypto.DeterministicKey
- hasPrivKey() - Method in class org.bitcoinj.crypto.ECKey
-
Returns true if this key has unencrypted access to private key bytes.
- hasRelativeLockTime() - Method in class org.bitcoinj.core.Transaction
-
A transaction has a relative lock time (BIP 68) if it is version 2 or higher and at least one of its inputs has its
TransactionInput.SEQUENCE_LOCKTIME_DISABLE_FLAG
cleared. - hasRelativeLockTime() - Method in class org.bitcoinj.core.TransactionInput
-
Returns whether this input, if it belongs to a version 2 (or higher) transaction, has relative lock-time enabled.
- hasSequence() - Method in class org.bitcoinj.core.TransactionInput
- hasTransactions() - Method in class org.bitcoinj.core.Block
-
Return whether this block contains any transactions.
- hasUnspentOutputs(Sha256Hash, int) - Method in interface org.bitcoinj.store.FullPrunedBlockStore
-
True if this store has any unspent outputs from a transaction with a hash equal to the first parameter
- hasUnspentOutputs(Sha256Hash, int) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- hasWitness() - Method in class org.bitcoinj.core.TransactionInput
-
Determine if the transaction has witnesses.
- hasWitnesses() - Method in class org.bitcoinj.core.Transaction
- HDDerivationException - Exception in org.bitcoinj.crypto
- HDDerivationException(String) - Constructor for exception org.bitcoinj.crypto.HDDerivationException
- HDKeyDerivation - Class in org.bitcoinj.crypto
-
Implementation of the BIP 32 deterministic wallet child key generation algorithm.
- HDKeyDerivation.PublicDeriveMode - Enum in org.bitcoinj.crypto
- HDKeyDerivation.RawKeyBytes - Class in org.bitcoinj.crypto
- HDPath - Class in org.bitcoinj.crypto
-
HD Key derivation path.
- HDPath(boolean, List<ChildNumber>) - Constructor for class org.bitcoinj.crypto.HDPath
-
Constructs a path for a public or private key.
- HDPath(List<ChildNumber>) - Constructor for class org.bitcoinj.crypto.HDPath
-
Deprecated.Use
HDPath.M(List)
orHDPath.m(List)
instead - HDUtils - Class in org.bitcoinj.crypto
-
Static utilities used in BIP 32 Hierarchical Deterministic Wallets (HDW).
- HDUtils() - Constructor for class org.bitcoinj.crypto.HDUtils
- header - Variable in class org.bitcoinj.core.BitcoinSerializer.BitcoinPacketHeader
- HEADER_LENGTH - Static variable in class org.bitcoinj.core.BitcoinSerializer.BitcoinPacketHeader
-
The largest number of bytes that a header can represent
- HEADER_MAGIC - Static variable in class org.bitcoinj.store.SPVBlockStore
-
Deprecated.
- HEADER_SIZE - Static variable in class org.bitcoinj.core.Block
-
How many bytes are required to represent a block header WITHOUT the trailing 00 length byte.
- headerByte() - Method in enum org.bitcoinj.base.LegacyAddress.AddressHeader
- headerByte() - Method in enum org.bitcoinj.base.LegacyAddress.P2SHHeader
- HeadersMessage - Class in org.bitcoinj.core
-
A protocol message that contains a repeated series of block headers, sent in response to the "getheaders" command.
- HeadersMessage(List<Block>) - Constructor for class org.bitcoinj.core.HeadersMessage
- HeadersMessage(Block...) - Constructor for class org.bitcoinj.core.HeadersMessage
- HEIGHT_IN_COINBASE - org.bitcoinj.core.Block.VerifyFlag
-
Check that block height is in coinbase transaction (BIP 34).
- HEX - Static variable in class org.bitcoinj.base.internal.ByteUtils
-
Deprecated.Use
ByteUtils.hexFormat
orByteUtils.parseHex(String)
or other available options. - HexFormat - Class in org.bitcoinj.base.internal
-
This class implements a subset of the functionality of the
HexFormat
class available in Java 17 and later. - HexFormat() - Constructor for class org.bitcoinj.base.internal.HexFormat
- hmacSha512(byte[], byte[]) - Static method in class org.bitcoinj.crypto.HDUtils
- hrp - Variable in class org.bitcoinj.base.Bech32.Bech32Data
I
- i() - Method in class org.bitcoinj.crypto.ChildNumber
-
Returns the uint32 encoded form of the path element, including the most significant bit.
- id - Variable in enum org.bitcoinj.base.ScriptType
-
Deprecated.Use
ScriptType.numericId()
or better yet useScriptType.id()
to get a script identifier string - id - Variable in class org.bitcoinj.core.NetworkParameters
-
See getId()
- id() - Method in enum org.bitcoinj.base.BitcoinNetwork
-
Return the network ID string as defined by (these were previously defined in
NetworkParameters
)BitcoinNetwork.MAINNET
org.bitcoin.production
BitcoinNetwork.TESTNET
org.bitcoin.test
BitcoinNetwork.SIGNET
org.bitcoin.signet
BitcoinNetwork.REGTEST
org.bitcoin.regtest
- id() - Method in interface org.bitcoinj.base.Network
-
The dot-seperated string id for this network.
- id() - Method in enum org.bitcoinj.base.ScriptType
-
Return the script identifier string for this
ScriptType
. - id() - Method in class org.bitcoinj.testing.MockAltNetwork
- ID_MAINNET - Static variable in enum org.bitcoinj.base.BitcoinNetwork
-
The ID string for the main, production network where people trade things.
- ID_REGTEST - Static variable in enum org.bitcoinj.base.BitcoinNetwork
-
The ID string for regtest mode.
- ID_SIGNET - Static variable in enum org.bitcoinj.base.BitcoinNetwork
-
The ID string for the signet.
- ID_TESTNET - Static variable in enum org.bitcoinj.base.BitcoinNetwork
-
The ID string for the testnet.
- ignoreLockCycles() - Static method in class org.bitcoinj.utils.Threading
- importKey(ECKey) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Imports a key to the key chain.
- importKey(ECKey) - Method in class org.bitcoinj.wallet.Wallet
-
Imports the given ECKey to the wallet.
- importKeys(List<? extends ECKey>) - Method in class org.bitcoinj.wallet.BasicKeyChain
- importKeys(List<ECKey>) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Imports the given keys into the basic chain, creating it if necessary.
- importKeys(List<ECKey>) - Method in class org.bitcoinj.wallet.Wallet
-
Imports the given keys to the wallet.
- importKeys(ECKey...) - Method in class org.bitcoinj.wallet.BasicKeyChain
- importKeys(ECKey...) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Imports the given keys into the basic chain, creating it if necessary.
- importKeysAndEncrypt(List<ECKey>, CharSequence) - Method in class org.bitcoinj.wallet.Wallet
-
Takes a list of keys and a password, then encrypts and imports them in one step using the current keycrypter.
- importKeysAndEncrypt(List<ECKey>, AesKey) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Imports the given unencrypted keys into the basic chain, encrypting them along the way with the given key.
- importKeysAndEncrypt(List<ECKey>, AesKey) - Method in class org.bitcoinj.wallet.Wallet
-
Takes a list of keys and an AES key, then encrypts and imports them in one step using the current keycrypter.
- IN_CONFLICT - org.bitcoinj.core.TransactionConfidence.ConfidenceType
-
If IN_CONFLICT, then it means there is another transaction (or several other transactions) spending one (or several) of its inputs but nor this transaction nor the other/s transaction/s are included in the best chain.
- incrementDepthInBlocks() - Method in class org.bitcoinj.core.TransactionConfidence
-
Called by the wallet when the tx appears on the best chain and a new block is added to the top.
- index() - Method in class org.bitcoinj.core.TransactionOutPoint
- inet(InetAddress, int, Services, Instant) - Static method in class org.bitcoinj.core.PeerAddress
-
Constructs a peer address from the given IP address, port, services and time.
- inet(InetSocketAddress, Services, Instant) - Static method in class org.bitcoinj.core.PeerAddress
-
Constructs a peer address from the given IP address, port, services and time.
- init() - Static method in class org.bitcoinj.utils.BriefLogFormatter
- init(Level) - Static method in class org.bitcoinj.utils.BriefLogFormatter
-
Configures JDK logging to use this class for everything.
- initialisationVector - Variable in class org.bitcoinj.crypto.EncryptedData
- initialize(BlockStore, StoredBlock) - Method in class org.bitcoinj.utils.VersionTally
-
Initialize the version tally from the block store.
- initVerbose() - Static method in class org.bitcoinj.utils.BriefLogFormatter
- initWithSilentBitcoinJ() - Static method in class org.bitcoinj.utils.BriefLogFormatter
- insert(byte[]) - Method in class org.bitcoinj.core.BloomFilter
-
Insert the given arbitrary data into the filter
- insert(TransactionOutPoint) - Method in class org.bitcoinj.core.BloomFilter
-
Inserts the given transaction outpoint.
- insert(ECKey) - Method in class org.bitcoinj.core.BloomFilter
-
Inserts the given key and equivalent hashed form (for the address).
- INSTANCE - Static variable in class org.bitcoinj.crypto.MnemonicCode
- INSUFFICIENTFEE - org.bitcoinj.core.RejectMessage.RejectCode
-
The messages described an object which did not have sufficient fee to be relayed further.
- InsufficientMoneyException - Exception in org.bitcoinj.core
-
Thrown to indicate that you don't have enough money available to perform the requested operation.
- InsufficientMoneyException() - Constructor for exception org.bitcoinj.core.InsufficientMoneyException
- InsufficientMoneyException(Coin) - Constructor for exception org.bitcoinj.core.InsufficientMoneyException
- InsufficientMoneyException(Coin, String) - Constructor for exception org.bitcoinj.core.InsufficientMoneyException
- InsufficientMoneyException(Coin, Coin, Coin, Coin) - Constructor for exception org.bitcoinj.core.InsufficientMoneyException
- INTERNAL_SUBPATH - Static variable in class org.bitcoinj.wallet.DeterministicKeyChain
- InternalUtils - Class in org.bitcoinj.base.internal
-
Utilities for internal use only.
- InternalUtils() - Constructor for class org.bitcoinj.base.internal.InternalUtils
- InternalUtils.Joiner - Interface in org.bitcoinj.base.internal
-
A functional interface for joining
String
s orObject
s viaObject.toString()
using a pre-configured delimiter. - InternalUtils.Splitter - Interface in org.bitcoinj.base.internal
-
A functional interface for splitting
String
s using a pre-configured regular expression. - interval - Variable in class org.bitcoinj.core.NetworkParameters
- INTERVAL - Static variable in class org.bitcoinj.core.NetworkParameters
- intValue() - Method in class org.bitcoinj.base.VarInt
-
Gets the value as an unsigned int in the range of
0
toInteger.MAX_VALUE
. - intValue() - Method in enum org.bitcoinj.core.ProtocolVersion
- INVALID - org.bitcoinj.core.RejectMessage.RejectCode
-
The message described an invalid object
- InvalidCharacter(char, int) - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException.InvalidCharacter
- InvalidChecksum() - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException.InvalidChecksum
- InvalidChecksum(String) - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException.InvalidChecksum
- InvalidCipherText(String) - Constructor for exception org.bitcoinj.crypto.KeyCrypterException.InvalidCipherText
- InvalidCipherText(String, Throwable) - Constructor for exception org.bitcoinj.crypto.KeyCrypterException.InvalidCipherText
- InvalidDataLength() - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException.InvalidDataLength
- InvalidDataLength(String) - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException.InvalidDataLength
- InvalidNetwork(String) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.InvalidNetwork
- InvalidOutputs(String) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.InvalidOutputs
- InvalidPaymentRequestURL(Exception) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.InvalidPaymentRequestURL
- InvalidPaymentRequestURL(String) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.InvalidPaymentRequestURL
- InvalidPaymentURL(Exception) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.InvalidPaymentURL
- InvalidPaymentURL(String) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.InvalidPaymentURL
- InvalidPkiData(Exception) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.InvalidPkiData
- InvalidPkiData(String) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.InvalidPkiData
- InvalidPkiType(String) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.InvalidPkiType
- InvalidPrefix() - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException.InvalidPrefix
- InvalidPrefix(String) - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException.InvalidPrefix
- InvalidVersion(String) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.InvalidVersion
- InventoryItem - Class in org.bitcoinj.core
- InventoryItem(Block) - Constructor for class org.bitcoinj.core.InventoryItem
- InventoryItem(InventoryItem.Type, Sha256Hash) - Constructor for class org.bitcoinj.core.InventoryItem
- InventoryItem(Transaction) - Constructor for class org.bitcoinj.core.InventoryItem
- InventoryItem.Type - Enum in org.bitcoinj.core
- InventoryMessage - Class in org.bitcoinj.core
-
Represents the "inv" P2P network message.
- InventoryMessage() - Constructor for class org.bitcoinj.core.InventoryMessage
-
Deprecated.
- InventoryMessage(List<InventoryItem>) - Constructor for class org.bitcoinj.core.InventoryMessage
- isAcceptRiskyTransactions() - Method in class org.bitcoinj.wallet.Wallet
-
See
Wallet.setAcceptRiskyTransactions(boolean)
for an explanation of this property. - isAddressMine(Address) - Method in class org.bitcoinj.wallet.Wallet
-
Returns true if the address is belongs to this wallet.
- isAddressWatched(Address) - Method in class org.bitcoinj.wallet.Wallet
-
Return true if we are watching this address.
- isAndroidRuntime() - Static method in class org.bitcoinj.base.internal.PlatformUtils
- isAnyOutputSpent() - Method in class org.bitcoinj.core.Transaction
-
Returns true if any of the outputs is marked as spent.
- isAvailableForSpending() - Method in class org.bitcoinj.core.TransactionOutput
-
Returns whether
TransactionOutput.markAsSpent(TransactionInput)
has been called on this class. - isBIP34() - Method in class org.bitcoinj.core.Block
-
Returns whether this block conforms to BIP34: Height in Coinbase.
- isBIP65() - Method in class org.bitcoinj.core.Block
-
Returns whether this block conforms to BIP65: OP_CHECKLOCKTIMEVERIFY.
- isBIP66() - Method in class org.bitcoinj.core.Block
-
Returns whether this block conforms to BIP66: Strict DER signatures.
- isBloomFilteringEnabled() - Method in class org.bitcoinj.core.PeerGroup
-
Returns whether the Bloom filtering protocol optimisation is in use: defaults to true.
- isCanonical() - Method in class org.bitcoinj.crypto.ECKey.ECDSASignature
-
Returns true if the S component is "low", that means it is below
ECKey.HALF_CURVE_ORDER
. - isChainFileLocked() - Method in class org.bitcoinj.kits.WalletAppKit
-
Tests to see if the spvchain file has an operating system file lock on it.
- isCheckpoint(int) - Method in class org.bitcoinj.core.NetworkParameters
-
Is height a checkpoint
- isCoinbase() - Method in class org.bitcoinj.core.UTXO
-
Gets the flag of whether this was created by a coinbase tx.
- isCoinBase() - Method in class org.bitcoinj.core.Transaction
-
A coinbase transaction is one that creates a new coin.
- isCoinBase() - Method in class org.bitcoinj.core.TransactionInput
-
Coinbase transactions have special inputs with hashes of zero.
- isCompressed() - Method in class org.bitcoinj.crypto.ECKey
-
Returns whether this key is using the compressed form or not.
- isCompressed() - Method in class org.bitcoinj.crypto.LazyECPoint
- isConsistent() - Method in class org.bitcoinj.wallet.Wallet
-
Returns if this wallet is structurally consistent, so e.g.
- isConsistentOrThrow() - Method in class org.bitcoinj.wallet.Wallet
-
Variant of
Wallet.isConsistent()
that throws anIllegalStateException
describing the first inconsistency. - isDeterministicUpgradeRequired(ScriptType) - Method in class org.bitcoinj.wallet.Wallet
-
Returns true if the wallet contains random keys and no HD chains, in which case you should call
Wallet.upgradeToDeterministic(ScriptType, AesKey)
before attempting to do anything that would require a new address or key. - isDeterministicUpgradeRequired(ScriptType, long) - Method in class org.bitcoinj.wallet.KeyChainGroup
- isDeterministicUpgradeRequired(ScriptType, Instant) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns true if a call to
KeyChainGroup.upgradeToDeterministic(ScriptType, KeyChainGroupStructure, long, AesKey)
is required in order to have an active deterministic keychain of the desired script type. - isDifficultyTransitionPoint(int) - Method in class org.bitcoinj.params.BitcoinNetworkParams
-
Checks if we are at a difficulty transition point.
- isDownloadData() - Method in class org.bitcoinj.core.Peer
-
Returns true if this peer will try and download things it is sent in "inv" messages.
- isDownloadTxDependencies() - Method in class org.bitcoinj.core.Peer
-
Returns true if this peer will use getdata/notfound messages to walk backwards through transaction dependencies before handing the transaction off to the wallet.
- isDust() - Method in class org.bitcoinj.core.TransactionOutput
-
Will this transaction be considered dust and not be relayable and mined by default miners?
- isEncodingCanonical(byte[]) - Static method in class org.bitcoinj.crypto.TransactionSignature
-
Returns true if the given signature is has canonical encoding, and will thus be accepted as standard by Bitcoin Core.
- isEncrypted() - Method in class org.bitcoinj.crypto.DeterministicKey
-
A deterministic key is considered to be encrypted if it has access to encrypted private key bytes, OR if its parent does.
- isEncrypted() - Method in class org.bitcoinj.crypto.ECKey
-
Indicates whether the private key is encrypted (true) or not (false).
- isEncrypted() - Method in interface org.bitcoinj.crypto.EncryptableItem
-
Returns whether the item is encrypted or not.
- isEncrypted() - Method in class org.bitcoinj.wallet.DeterministicSeed
- isEncrypted() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns true if the group is encrypted.
- isEncrypted() - Method in class org.bitcoinj.wallet.Wallet
-
Returns true if the wallet is encrypted using any scheme, false if not.
- isEnsureMinRequiredFee() - Method in class org.bitcoinj.core.Context
-
Whether to ensure the minimum required fee by default when completing transactions.
- isEveryOwnedOutputSpent(TransactionBag) - Method in class org.bitcoinj.core.Transaction
-
Returns false if this transaction has at least one output that is owned by the given wallet and unspent, true otherwise.
- isExpired() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
This should always be called before attempting to call sendPayment.
- isFinal(int, long) - Method in class org.bitcoinj.core.Transaction
-
Returns true if this transaction is considered finalized and can be placed in a block.
- isFollowing() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Return true if this keychain is following another keychain
- isGreaterThan(Coin) - Method in class org.bitcoinj.base.Coin
-
Returns true if the monetary value represented by this instance is greater than that of the given other Coin, otherwise false.
- isGreaterThan(Fiat) - Method in class org.bitcoinj.base.utils.Fiat
-
Returns true if the monetary value represented by this instance is greater than that of the given other Fiat, otherwise false.
- isHardened() - Method in class org.bitcoinj.crypto.ChildNumber
- isInfinity() - Method in class org.bitcoinj.crypto.LazyECPoint
- isInputStandard(TransactionInput) - Static method in class org.bitcoinj.wallet.DefaultRiskAnalysis
-
Checks if the given input passes some of the AreInputsStandard checks.
- isKeyRotating(ECKey) - Method in class org.bitcoinj.wallet.Wallet
-
Returns whether the keys creation time is before the key rotation time, if one was set.
- isLessThan(Coin) - Method in class org.bitcoinj.base.Coin
-
Returns true if the monetary value represented by this instance is less than that of the given other Coin, otherwise false.
- isLessThan(Fiat) - Method in class org.bitcoinj.base.utils.Fiat
-
Returns true if the monetary value represented by this instance is less than that of the given other Fiat, otherwise false.
- isLinux() - Static method in class org.bitcoinj.base.internal.PlatformUtils
- isMac() - Static method in class org.bitcoinj.base.internal.PlatformUtils
- isMine(TransactionBag) - Method in class org.bitcoinj.core.TransactionOutput
-
Returns true if this output is to a key, or an address we have the keys for, in the wallet.
- isMineOrWatched(TransactionBag) - Method in class org.bitcoinj.core.TransactionOutput
-
Returns true if this output is to a key in the wallet or to an address/script we are watching.
- isNegative() - Method in class org.bitcoinj.base.Coin
-
Returns true if and only if this instance represents a monetary value less than zero, otherwise false.
- isNegative() - Method in class org.bitcoinj.base.utils.Fiat
-
Returns true if and only if this instance represents a monetary value less than zero, otherwise false.
- isNormalized() - Method in class org.bitcoinj.crypto.LazyECPoint
- isOpCode() - Method in class org.bitcoinj.script.ScriptChunk
-
If this chunk is a single byte of non-pushdata content (could be OP_RESERVED or some invalid Opcode)
- isOpenJDKRuntime() - Static method in class org.bitcoinj.base.internal.PlatformUtils
- isOpReturn(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Returns whether this script is using OP_RETURN to store arbitrary data.
- isOptInFullRBF() - Method in class org.bitcoinj.core.Transaction
-
Returns whether this transaction will opt into the full replace-by-fee semantics.
- isOptInFullRBF() - Method in class org.bitcoinj.core.TransactionInput
-
Returns whether this input will cause a transaction to opt into the full replace-by-fee semantics.
- isOracleJavaRuntime() - Static method in class org.bitcoinj.base.internal.PlatformUtils
- isOrphan(Sha256Hash) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Returns true if the given block is currently in the orphan blocks list.
- isOutputStandard(TransactionOutput) - Static method in class org.bitcoinj.wallet.DefaultRiskAnalysis
-
Checks the output to see if the script violates a standardness rule.
- isP2PK(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Returns true if this script is of the form
<pubkey> OP_CHECKSIG
. - isP2PKH(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Returns true if this script is of the form
DUP HASH160 <pubkey hash> EQUALVERIFY CHECKSIG
, ie, payment to an address like1VayNert3x1KzbpzMGt2qdqrAThiRovi8
. - isP2SH(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Whether or not this is a scriptPubKey representing a P2SH output.
- isP2TR(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Returns true if this script is of the form
OP_1 <pubkey>
. - isP2WH(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Returns true if this script is of the form
OP_0 <hash>
. - isP2WPKH(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Returns true if this script is of the form
OP_0 <hash>
and hash is 20 bytes long. - isP2WSH(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Returns true if this script is of the form
OP_0 <hash>
and hash is 32 bytes long. - isPayToScriptHashMine(byte[]) - Method in interface org.bitcoinj.core.TransactionBag
-
Returns true if this wallet knows the script corresponding to the given hash.
- isPayToScriptHashMine(byte[]) - Method in class org.bitcoinj.wallet.Wallet
- isPending() - Method in class org.bitcoinj.core.Transaction
-
Convenience wrapper around getConfidence().getConfidenceType()
- isPendingTransactionRelevant(Transaction) - Method in class org.bitcoinj.wallet.Wallet
-
This method is used by a
Peer
to find out if a transaction that has been announced is interesting, that is, whether we should bother downloading its dependencies and exploring the transaction to decide how risky it is. - isPingPongSupported() - Method in class org.bitcoinj.core.VersionMessage
- isPositive() - Method in class org.bitcoinj.base.Coin
-
Returns true if and only if this instance represents a monetary value greater than zero, otherwise false.
- isPositive() - Method in class org.bitcoinj.base.utils.Fiat
-
Returns true if and only if this instance represents a monetary value greater than zero, otherwise false.
- isPubKeyCanonical(byte[]) - Static method in class org.bitcoinj.crypto.ECKey
-
Returns true if the given pubkey is canonical, i.e.
- isPubKeyCompressed() - Method in class org.bitcoinj.crypto.DumpedPrivateKey
-
Returns true if the public key corresponding to this private key is compressed.
- isPubKeyCompressed(byte[]) - Static method in class org.bitcoinj.crypto.ECKey
-
Returns true if the given pubkey is in its compressed form.
- isPubKeyHashMine(byte[], ScriptType) - Method in interface org.bitcoinj.core.TransactionBag
-
Look for a public key which hashes to the given hash and (optionally) is used for a specific script type.
- isPubKeyHashMine(byte[], ScriptType) - Method in class org.bitcoinj.wallet.Wallet
- isPubKeyMine(byte[]) - Method in interface org.bitcoinj.core.TransactionBag
-
Returns true if this wallet contains a keypair with the given public key.
- isPubKeyMine(byte[]) - Method in class org.bitcoinj.wallet.Wallet
- isPubKeyOnly() - Method in class org.bitcoinj.crypto.DeterministicKey
-
A deterministic key is considered to be 'public key only' if it hasn't got a private key part and it cannot be rederived.
- isPubKeyOnly() - Method in class org.bitcoinj.crypto.ECKey
-
Returns true if this key doesn't have unencrypted access to private key bytes.
- isPushData() - Method in class org.bitcoinj.script.ScriptChunk
-
Returns true if this chunk is pushdata content, including the single-byte pushdatas.
- isReady() - Method in class org.bitcoinj.signers.CustomTransactionSigner
- isReady() - Method in class org.bitcoinj.signers.LocalTransactionSigner
- isReady() - Method in class org.bitcoinj.signers.MissingSigResolutionSigner
- isReady() - Method in interface org.bitcoinj.signers.TransactionSigner
-
Returns true if this signer is ready to be used.
- isRelaxProofOfWork() - Method in class org.bitcoinj.core.Context
-
If this is set to true, proof of work is not enforced.
- isRequiringUpdateAllBloomFilter() - Method in class org.bitcoinj.wallet.KeyChainGroup
- isRewardHalvingPoint(int) - Method in class org.bitcoinj.params.BitcoinNetworkParams
-
Checks if we are at a reward halving point.
- isRunning() - Method in class org.bitcoinj.base.internal.Stopwatch
-
Returns true if the stopwatch is running.
- isRunning() - Method in class org.bitcoinj.core.PeerGroup
- isSelectable(Transaction, Network) - Static method in class org.bitcoinj.wallet.DefaultCoinSelector
-
Helper to determine if this selector would select a given transaction.
- isSentToMultisig(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Returns whether this script matches the format used for m-of-n multisig outputs:
[m] [keys...] [n] CHECKMULTISIG
- isSet() - Method in class org.bitcoinj.core.LockTime
-
The lock time is considered to be set only if its raw value is greater than zero.
- isShortestPossiblePushData() - Method in class org.bitcoinj.script.ScriptChunk
-
Called on a pushdata chunk, returns true if it uses the smallest possible way (according to BIP62) to push the data.
- isStandard() - Method in class org.bitcoinj.core.TransactionInput
-
Returns either RuleViolation.NONE if the input is standard, or which rule makes it non-standard if so.
- isStandard(Transaction) - Static method in class org.bitcoinj.wallet.DefaultRiskAnalysis
-
Checks if a transaction is considered "standard" by Bitcoin Core's IsStandardTx and AreInputsStandard functions.
- isSupportsDeterministicChains() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Deprecated.
- isTimeLocked() - Method in class org.bitcoinj.core.Transaction
-
A transaction is time-locked if at least one of its inputs is non-final and it has a lock time.
- isTransactionMature(Transaction) - Method in class org.bitcoinj.wallet.Wallet
-
Determine if a transaction is mature.
- isTransactionRelevant(Transaction) - Method in class org.bitcoinj.wallet.Wallet
-
Returns true if the given transaction sends coins to any of our keys, or has inputs spending any of our outputs, and also returns true if tx has inputs that are spending outputs which are not ours but which are spent by pending transactions.
- isTransactionRisky(Transaction, List<Transaction>) - Method in class org.bitcoinj.wallet.Wallet
-
Given a transaction and an optional list of dependencies (recursive/flattened), returns true if the given transaction would be rejected by the analyzer, or false otherwise.
- isValid() - Method in class org.bitcoinj.crypto.LazyECPoint
- isValidAddress(Address) - Method in enum org.bitcoinj.base.BitcoinNetwork
-
Is address valid for this network.
- isWallet(InputStream) - Static method in class org.bitcoinj.wallet.WalletProtobufSerializer
-
Cheap test to see if input stream is a wallet.
- isWalletExtensionMandatory() - Method in interface org.bitcoinj.wallet.WalletExtension
-
If this returns true, the mandatory flag is set when the wallet is serialized and attempts to load it without the extension being in the wallet will throw an exception.
- isWatched(TransactionBag) - Method in class org.bitcoinj.core.TransactionOutput
-
Returns true if this output is to a key, or an address we have the keys for, in the wallet.
- isWatchedScript(Script) - Method in interface org.bitcoinj.core.TransactionBag
-
Returns true if this wallet is watching transactions for outputs with the script.
- isWatchedScript(Script) - Method in class org.bitcoinj.wallet.Wallet
- isWatching() - Method in class org.bitcoinj.crypto.ECKey
-
Returns true if this key is watch only, meaning it has a public key but no private key.
- isWatching() - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Returns whether this chain consists of pubkey only (watching) keys, regular keys (usable for signing), or has no keys in it yet at all (thus we cannot tell).
- isWatching() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns true if this chain is watch only, meaning it has public keys but no private key.
- isWatching() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns whether this chain has only watching keys (unencrypted keys with no private part).
- isWatching() - Method in class org.bitcoinj.wallet.Wallet
-
Returns whether this wallet consists entirely of watching keys (unencrypted keys with no private part).
- isWindows() - Static method in class org.bitcoinj.base.internal.PlatformUtils
- isWitnessCommitment(Script) - Static method in class org.bitcoinj.script.ScriptPattern
-
Returns whether this script matches the pattern for a segwit commitment (in an output of the coinbase transaction).
- isZero() - Method in class org.bitcoinj.base.Coin
-
Returns true if and only if this instance represents zero monetary value, otherwise false.
- isZero() - Method in class org.bitcoinj.base.utils.Fiat
-
Returns true if and only if this instance represents zero monetary value, otherwise false.
- items - Variable in class org.bitcoinj.core.ListMessage
- iterator() - Method in class org.bitcoinj.utils.BlockFileLoader
J
- join(List<?>) - Method in interface org.bitcoinj.base.internal.InternalUtils.Joiner
- joiner(String) - Static method in class org.bitcoinj.base.internal.InternalUtils
-
Return a lambda for joining
String
s orObject
s viaObject.toString()
.
K
- KEY_LENGTH - Static variable in class org.bitcoinj.crypto.KeyCrypterScrypt
-
Key length in bytes.
- KEY_ROTATION - org.bitcoinj.core.Transaction.Purpose
-
Transaction automatically created and broadcast in order to reallocate money from old to new keys.
- KeyBag - Interface in org.bitcoinj.wallet
-
A KeyBag is simply an object that can map public keys, their 160-bit hashes and script hashes to ECKey and
RedeemData
objects. - keyBytes - Variable in class org.bitcoinj.crypto.HDKeyDerivation.RawKeyBytes
- KeyChain - Interface in org.bitcoinj.wallet
-
A KeyChain is a class that stores a collection of keys for a
Wallet
. - KeyChain.KeyPurpose - Enum in org.bitcoinj.wallet
- KeyChainEventListener - Interface in org.bitcoinj.wallet.listeners
- KeyChainFactory - Interface in org.bitcoinj.wallet
-
Factory interface for creation keychains while de-serializing a wallet.
- KeyChainGroup - Class in org.bitcoinj.wallet
-
A KeyChainGroup is used by the
Wallet
and manages: aBasicKeyChain
object (which will normally be empty), and zero or moreDeterministicKeyChain
s. - KeyChainGroup.Builder - Class in org.bitcoinj.wallet
-
Builder for
KeyChainGroup
. - keyChainGroupLock - Variable in class org.bitcoinj.wallet.Wallet
- KeyChainGroupStructure - Interface in org.bitcoinj.wallet
-
Defines a structure for hierarchical deterministic wallets.
- keyCrypter - Variable in class org.bitcoinj.crypto.ECKey
- KeyCrypter - Interface in org.bitcoinj.crypto
-
A KeyCrypter can be used to encrypt and decrypt a message.
- KeyCrypterException - Exception in org.bitcoinj.crypto
-
Exception to provide the following:
- KeyCrypterException(String) - Constructor for exception org.bitcoinj.crypto.KeyCrypterException
- KeyCrypterException(String, Throwable) - Constructor for exception org.bitcoinj.crypto.KeyCrypterException
- KeyCrypterException.InvalidCipherText - Exception in org.bitcoinj.crypto
-
This exception is thrown when a private key or seed is decrypted, the decrypted message is damaged (e.g.
- KeyCrypterException.PublicPrivateMismatch - Exception in org.bitcoinj.crypto
-
This exception is thrown when a private key or seed is decrypted, it doesn't match its public key any more.
- KeyCrypterScrypt - Class in org.bitcoinj.crypto
-
This class encrypts and decrypts byte arrays and strings using scrypt as the key derivation function and AES for the encryption.
- KeyCrypterScrypt() - Constructor for class org.bitcoinj.crypto.KeyCrypterScrypt
-
Encryption/Decryption using default parameters and a random salt.
- KeyCrypterScrypt(int) - Constructor for class org.bitcoinj.crypto.KeyCrypterScrypt
-
Encryption/Decryption using custom number of iterations parameters and a random salt.
- KeyCrypterScrypt(Protos.ScryptParameters) - Constructor for class org.bitcoinj.crypto.KeyCrypterScrypt
-
Encryption/ Decryption using specified Scrypt parameters.
- KeyIsEncryptedException() - Constructor for exception org.bitcoinj.crypto.ECKey.KeyIsEncryptedException
- keyPaths - Variable in class org.bitcoinj.signers.TransactionSigner.ProposedTransaction
-
HD key paths used for each input to derive a signing key.
- keyRotationTime() - Method in class org.bitcoinj.wallet.Wallet
-
Returns the key rotation time, or empty if unconfigured.
- keys - Variable in class org.bitcoinj.wallet.RedeemData
- KeyTimeCoinSelector - Class in org.bitcoinj.wallet
-
A coin selector that takes all coins assigned to keys created before the given timestamp.
- KeyTimeCoinSelector(Wallet, long, boolean) - Constructor for class org.bitcoinj.wallet.KeyTimeCoinSelector
-
Deprecated.
- KeyTimeCoinSelector(Wallet, Instant, boolean) - Constructor for class org.bitcoinj.wallet.KeyTimeCoinSelector
L
- LargerThanMaxBlockSize() - Constructor for exception org.bitcoinj.core.VerificationException.LargerThanMaxBlockSize
- lastBlockSeenTime() - Method in class org.bitcoinj.wallet.Wallet
-
Returns time extracted from the last best seen block header, or empty.
- lastChainHead - Variable in class org.bitcoinj.store.SPVBlockStore
- lastPingInterval() - Method in class org.bitcoinj.core.Peer
-
Returns the elapsed time of the last ping/pong cycle.
- later(Instant, Instant) - Static method in class org.bitcoinj.base.internal.TimeUtils
-
Determines the later of two instants.
- launch(BitcoinNetwork, File, String) - Static method in class org.bitcoinj.kits.WalletAppKit
-
Launch an instance of WalletAppKit with asynchronous startup.
- launch(BitcoinNetwork, File, String, int) - Static method in class org.bitcoinj.kits.WalletAppKit
-
Launch an instance of WalletAppKit with asynchronous startup.
- launch(BitcoinNetwork, File, String, Consumer<WalletAppKit>) - Static method in class org.bitcoinj.kits.WalletAppKit
-
Launch an instance of WalletAppKit with asynchronous startup.
- launch(BitcoinNetwork, File, String, Consumer<WalletAppKit>, int) - Static method in class org.bitcoinj.kits.WalletAppKit
-
Launch an instance of WalletAppKit with asynchronous startup.
- LazyECPoint - Class in org.bitcoinj.crypto
-
A wrapper around a SECP256K1 ECPoint that delays decoding of the point for as long as possible.
- LazyECPoint(byte[]) - Constructor for class org.bitcoinj.crypto.LazyECPoint
-
Construct a LazyECPoint from a public key.
- LazyECPoint(ECCurve, byte[]) - Constructor for class org.bitcoinj.crypto.LazyECPoint
-
Deprecated.
- LazyECPoint(ECPoint, boolean) - Constructor for class org.bitcoinj.crypto.LazyECPoint
-
Construct a LazyECPoint from an already decoded point.
- LegacyAddress - Class in org.bitcoinj.base
-
A Bitcoin address looks like 1MsScoe2fTJoq4ZPdQgqyhgWeoNamYPevy and is derived from an elliptic curve public key plus a set of network parameters.
- LegacyAddress.AddressHeader - Enum in org.bitcoinj.base
-
Address header of legacy P2PKH addresses for standard Bitcoin networks.
- LegacyAddress.P2SHHeader - Enum in org.bitcoinj.base
-
Address header of legacy P2SH addresses for standard Bitcoin networks.
- legacyAddressHeader() - Method in enum org.bitcoinj.base.BitcoinNetwork
-
Header byte of base58 encoded legacy P2PKH addresses for this network.
- legacyAddressHeader() - Method in interface org.bitcoinj.base.Network
-
Header byte of base58 encoded legacy P2PKH addresses for this network.
- legacyAddressHeader() - Method in class org.bitcoinj.testing.MockAltNetwork
- legacyP2SHHeader() - Method in enum org.bitcoinj.base.BitcoinNetwork
-
Header byte of base58 encoded legacy P2SH addresses for this network.
- legacyP2SHHeader() - Method in interface org.bitcoinj.base.Network
-
Header byte of base58 encoded legacy P2SH addresses for this network.
- legacyP2SHHeader() - Method in class org.bitcoinj.testing.MockAltNetwork
- LENGTH - Static variable in class org.bitcoinj.base.LegacyAddress
-
An address is a RIPEMD160 hash of a public key, therefore is always 160 bits or 20 bytes.
- LENGTH - Static variable in class org.bitcoinj.base.Sha256Hash
- LIBRARY_SUBVER - Static variable in class org.bitcoinj.core.VersionMessage
-
The value that is prepended to the subVer field of this application.
- LINUX - org.bitcoinj.base.internal.PlatformUtils.OS
- LinuxSecureRandom - Class in org.bitcoinj.crypto
-
A SecureRandom implementation that is able to override the standard JVM provided implementation, and which simply serves random numbers by reading /dev/urandom.
- LinuxSecureRandom() - Constructor for class org.bitcoinj.crypto.LinuxSecureRandom
- list() - Method in class org.bitcoinj.crypto.HDPath
-
Return a simple list of
ChildNumber
- ListenableCompletableFuture<V> - Class in org.bitcoinj.utils
-
A
CompletableFuture
that is also aListenableFuture
for migration from GuavaListenableFuture
toCompletableFuture
. - ListenableCompletableFuture() - Constructor for class org.bitcoinj.utils.ListenableCompletableFuture
- ListenableCompletionStage<V> - Interface in org.bitcoinj.utils
-
A
CompletionStage
with aListenableFuture
-compatible interface to smooth migration from GuavaListenableFuture
toCompletableFuture
/CompletionStage
. - listener - Variable in class org.bitcoinj.utils.ListenerRegistration
- ListenerRegistration<T> - Class in org.bitcoinj.utils
-
A simple wrapper around a listener and an executor, with some utility methods.
- ListenerRegistration(T, Executor) - Constructor for class org.bitcoinj.utils.ListenerRegistration
- ListMessage - Class in org.bitcoinj.core
-
Abstract superclass of classes with list based payload, ie InventoryMessage and GetDataMessage.
- ListMessage() - Constructor for class org.bitcoinj.core.ListMessage
-
Deprecated.
- ListMessage(List<InventoryItem>) - Constructor for class org.bitcoinj.core.ListMessage
- loadFromFile(File, WalletExtension...) - Static method in class org.bitcoinj.wallet.Wallet
-
Returns a wallet deserialized from the given file.
- loadFromFile(File, WalletProtobufSerializer.WalletFactory, boolean, boolean, WalletExtension...) - Static method in class org.bitcoinj.wallet.Wallet
-
Returns a wallet deserialized from the given file.
- loadFromFileStream(InputStream, WalletExtension...) - Static method in class org.bitcoinj.wallet.Wallet
-
Returns a wallet deserialized from the given input stream and wallet extensions.
- loadFromFileStream(InputStream, WalletProtobufSerializer.WalletFactory, boolean, boolean, WalletExtension...) - Static method in class org.bitcoinj.wallet.Wallet
-
Returns a wallet deserialized from the given input stream and wallet extensions.
- loadKeyStore(String, String, InputStream) - Static method in class org.bitcoinj.crypto.X509Utils
-
Returns a key store loaded from the given stream.
- locale(Locale) - Method in class org.bitcoinj.utils.BtcFormat.Builder
-
Specify the
Locale
for formatting and parsing. - localhost(NetworkParameters) - Static method in class org.bitcoinj.core.PeerAddress
- localizedPattern(String) - Method in class org.bitcoinj.utils.BtcFormat.Builder
-
Use the given localized-pattern for formatting and parsing.
- localServices - Variable in class org.bitcoinj.core.VersionMessage
-
Flags defining what optional services are supported.
- LocalTransactionSigner - Class in org.bitcoinj.signers
-
TransactionSigner
implementation for signing inputs using keys from providedKeyBag
. - LocalTransactionSigner() - Constructor for class org.bitcoinj.signers.LocalTransactionSigner
- locator - Variable in class org.bitcoinj.core.GetBlocksMessage
- lock - Variable in class org.bitcoinj.core.AbstractBlockChain
-
synchronization lock
- lock - Variable in class org.bitcoinj.core.Peer
- lock - Variable in class org.bitcoinj.core.PeerGroup
- lock - Variable in class org.bitcoinj.core.TxConfidenceTable
- lock - Variable in class org.bitcoinj.store.SPVBlockStore
- lock - Variable in class org.bitcoinj.wallet.DeterministicKeyChain
- lock - Variable in class org.bitcoinj.wallet.Wallet
- lock(Class) - Static method in class org.bitcoinj.utils.Threading
- lock(String) - Static method in class org.bitcoinj.utils.Threading
- lockTime() - Method in class org.bitcoinj.core.Transaction
-
Transactions can have an associated lock time, specified either as a block height or as a timestamp (in seconds since epoch).
- LockTime - Class in org.bitcoinj.core
-
Wrapper for transaction lock time, specified either as a block height
LockTime.HeightLock
or as a timestampLockTime.TimeLock
(in seconds since epoch). - LOCKTIME_THRESHOLD - Static variable in class org.bitcoinj.core.Transaction
-
Deprecated.
- LockTime.HeightLock - Class in org.bitcoinj.core
-
A
LockTime
instance that contains a block height. - LockTime.TimeLock - Class in org.bitcoinj.core
-
A
LockTime
instance that contains a timestamp. - log - Static variable in class org.bitcoinj.kits.WalletAppKit
- longest(Duration, Duration) - Static method in class org.bitcoinj.base.internal.TimeUtils
-
Determines the longest of two durations.
- longValue() - Method in class org.bitcoinj.base.Coin
-
Returns the number of satoshis of this monetary value.
- longValue() - Method in class org.bitcoinj.base.utils.Fiat
-
Returns the number of "smallest units" of this monetary value.
- longValue() - Method in class org.bitcoinj.base.VarInt
-
Gets the value as a long.
- lookaheadSize - Variable in class org.bitcoinj.wallet.DeterministicKeyChain
- lookaheadSize(int) - Method in class org.bitcoinj.wallet.KeyChainGroup.Builder
-
Set a custom lookahead size for all deterministic chains
- lookaheadThreshold - Variable in class org.bitcoinj.wallet.DeterministicKeyChain
- lookaheadThreshold(int) - Method in class org.bitcoinj.wallet.KeyChainGroup.Builder
-
Set a custom lookahead threshold for all deterministic chains
- LOW_S - org.bitcoinj.script.Script.VerifyFlag
M
- m() - Static method in class org.bitcoinj.crypto.HDPath
-
Returns an empty path for a private key.
- m(List<ChildNumber>) - Static method in class org.bitcoinj.crypto.HDPath
-
Returns a path for a private key.
- m(ChildNumber) - Static method in class org.bitcoinj.crypto.HDPath
-
Returns a path for a private key.
- m(ChildNumber...) - Static method in class org.bitcoinj.crypto.HDPath
-
Returns a path for a private key.
- M() - Static method in class org.bitcoinj.crypto.HDPath
-
Returns an empty path for a public key.
- M(List<ChildNumber>) - Static method in class org.bitcoinj.crypto.HDPath
-
Returns a path for a public key.
- M(ChildNumber) - Static method in class org.bitcoinj.crypto.HDPath
-
Returns a path for a public key.
- M(ChildNumber...) - Static method in class org.bitcoinj.crypto.HDPath
-
Returns a path for a public key.
- MAC_OS - org.bitcoinj.base.internal.PlatformUtils.OS
- MAINNET - org.bitcoinj.base.BitcoinNetwork
-
The main Bitcoin network, known as
"mainnet"
, withid
string"org.bitcoin.production"
- MAINNET_MAJORITY_ENFORCE_BLOCK_UPGRADE - Static variable in class org.bitcoinj.params.MainNetParams
- MAINNET_MAJORITY_REJECT_BLOCK_OUTDATED - Static variable in class org.bitcoinj.params.MainNetParams
- MAINNET_MAJORITY_WINDOW - Static variable in class org.bitcoinj.params.MainNetParams
- MainNetParams - Class in org.bitcoinj.params
-
Parameters for the main production network on which people trade goods and services.
- MainNetParams() - Constructor for class org.bitcoinj.params.MainNetParams
- majorityEnforceBlockUpgrade - Variable in class org.bitcoinj.core.NetworkParameters
-
Used to check majorities for block version upgrade
- majorityRejectBlockOutdated - Variable in class org.bitcoinj.core.NetworkParameters
- majorityWindow - Variable in class org.bitcoinj.core.NetworkParameters
- makeAddressV1Message(ByteBuffer) - Method in class org.bitcoinj.core.BitcoinSerializer
-
Make an address message from the payload.
- makeAddressV1Message(ByteBuffer) - Method in class org.bitcoinj.core.MessageSerializer
-
Make an address message from the payload.
- makeAddressV2Message(ByteBuffer) - Method in class org.bitcoinj.core.BitcoinSerializer
-
Make an address message from the payload.
- makeAddressV2Message(ByteBuffer) - Method in class org.bitcoinj.core.MessageSerializer
-
Make an address message from the payload.
- makeBlock(ByteBuffer) - Method in class org.bitcoinj.core.BitcoinSerializer
-
Make a block from the payload.
- makeBlock(ByteBuffer) - Method in class org.bitcoinj.core.MessageSerializer
-
Make a block from the payload.
- makeBloomFilter(ByteBuffer) - Method in class org.bitcoinj.core.BitcoinSerializer
-
Make an filter message from the payload.
- makeBloomFilter(ByteBuffer) - Method in class org.bitcoinj.core.MessageSerializer
-
Make an filter message from the payload.
- makeFilteredBlock(ByteBuffer) - Method in class org.bitcoinj.core.BitcoinSerializer
-
Make a filtered block from the payload.
- makeFilteredBlock(ByteBuffer) - Method in class org.bitcoinj.core.MessageSerializer
-
Make a filtered block from the payload.
- makeInventoryMessage(ByteBuffer) - Method in class org.bitcoinj.core.BitcoinSerializer
-
Make an inventory message from the payload.
- makeInventoryMessage(ByteBuffer) - Method in class org.bitcoinj.core.MessageSerializer
-
Make an inventory message from the payload.
- makeKeyChain(DeterministicSeed, KeyCrypter, boolean, ScriptType, List<ChildNumber>) - Method in interface org.bitcoinj.wallet.KeyChainFactory
- makeKeyChain(DeterministicSeed, KeyCrypter, ScriptType, List<ChildNumber>) - Method in class org.bitcoinj.wallet.DefaultKeyChainFactory
- makeKeyChain(DeterministicSeed, KeyCrypter, ScriptType, List<ChildNumber>) - Method in interface org.bitcoinj.wallet.KeyChainFactory
-
Make a keychain (but not a watching one) with the specified account path
- makeKeyChainFromSeed(DeterministicSeed, List<ChildNumber>, ScriptType) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Factory method to create a key chain from a seed.
- makeSolvedTestBlock(Block, Address, Transaction...) - Static method in class org.bitcoinj.testing.FakeTxBuilder
- makeSolvedTestBlock(Block, Transaction...) - Static method in class org.bitcoinj.testing.FakeTxBuilder
- makeSolvedTestBlock(BlockStore, Address) - Static method in class org.bitcoinj.testing.FakeTxBuilder
- makeSpendingKeyChain(DeterministicKey, boolean, ScriptType) - Method in interface org.bitcoinj.wallet.KeyChainFactory
- makeSpendingKeyChain(DeterministicKey, ScriptType) - Method in class org.bitcoinj.wallet.DefaultKeyChainFactory
- makeSpendingKeyChain(DeterministicKey, ScriptType) - Method in interface org.bitcoinj.wallet.KeyChainFactory
-
Make a spending keychain.
- makeTransaction(ByteBuffer) - Method in class org.bitcoinj.core.BitcoinSerializer
-
Make a transaction from the payload.
- makeTransaction(ByteBuffer) - Method in class org.bitcoinj.core.MessageSerializer
-
Make a transaction from the payload.
- makeWatchingKeyChain(DeterministicKey, boolean, boolean, ScriptType) - Method in interface org.bitcoinj.wallet.KeyChainFactory
- makeWatchingKeyChain(DeterministicKey, ScriptType) - Method in class org.bitcoinj.wallet.DefaultKeyChainFactory
- makeWatchingKeyChain(DeterministicKey, ScriptType) - Method in interface org.bitcoinj.wallet.KeyChainFactory
-
Make a watching keychain.
- MALFORMED - org.bitcoinj.core.RejectMessage.RejectCode
-
The message was not able to be parsed
- mapIntoIPv6(byte[]) - Static method in class org.bitcoinj.core.PeerAddress
-
Map given IPv4 address into IPv6 space.
- markAsSpent(TransactionInput) - Method in class org.bitcoinj.core.TransactionOutput
-
Sets this objects availableForSpending flag to false and the spentBy pointer to the given input.
- markAsUnspent() - Method in class org.bitcoinj.core.TransactionOutput
-
Resets the spent pointer / availableForSpending flag to null.
- markBroadcastBy(PeerAddress) - Method in class org.bitcoinj.core.TransactionConfidence
-
Called by a
Peer
when a transaction is pending and announced by a peer. - markKeyAsUsed(DeterministicKey) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Mark the DeterministicKey as used.
- markP2SHAddressAsUsed(LegacyAddress) - Method in class org.bitcoinj.wallet.KeyChainGroup
- markPubHashAsUsed(byte[]) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Mark the DeterministicKeys as used, if they match the pubkeyHash See
DeterministicKeyChain.markKeyAsUsed(DeterministicKey)
for more info on this. - markPubKeyAsUsed(byte[]) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Mark the DeterministicKeys as used, if they match the pubkey See
DeterministicKeyChain.markKeyAsUsed(DeterministicKey)
for more info on this. - markPubKeyAsUsed(byte[]) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Mark the DeterministicKeys as used, if they match the pubkey See
DeterministicKeyChain.markKeyAsUsed(DeterministicKey)
for more info on this. - markPubKeyHashAsUsed(byte[]) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Mark the DeterministicKeys as used, if they match the pubKeyHash See
DeterministicKeyChain.markKeyAsUsed(DeterministicKey)
for more info on this. - matchesAll() - Method in class org.bitcoinj.core.BloomFilter
-
Returns true if this filter will match anything.
- MAX_ADDRESSES - Static variable in class org.bitcoinj.core.AddressMessage
- MAX_ADDRESSES_PER_ADDR_MESSAGE - Static variable in class org.bitcoinj.core.PeerGroup
- MAX_BLOCK_SIGOPS - Static variable in class org.bitcoinj.core.Block
-
A "sigop" is a signature verification operation.
- MAX_BLOCK_SIZE - Static variable in class org.bitcoinj.core.Block
-
A constant shared by the entire network: how large in bytes a block is allowed to be.
- MAX_CHILD_DERIVATION_ATTEMPTS - Static variable in class org.bitcoinj.crypto.HDKeyDerivation
-
Child derivation may fail (although with extremely low probability); in such case it is re-attempted.
- MAX_COINS - Static variable in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- MAX_DECIMALS - Static variable in class org.bitcoinj.base.utils.MonetaryFormat
- MAX_FP_RATE_INCREASE - Static variable in class org.bitcoinj.core.PeerGroup
-
Maximum increase in FP rate before forced refresh of the bloom filter
- MAX_HEADERS - Static variable in class org.bitcoinj.core.HeadersMessage
- MAX_INITIAL_ARRAY_LENGTH - Static variable in class org.bitcoinj.core.Utils
-
Max initial size of variable length arrays and ArrayLists that could be attacked.
- MAX_INV_SIZE - Static variable in class org.bitcoinj.core.InventoryMessage
-
A hard coded constant in the protocol.
- MAX_INVENTORY_ITEMS - Static variable in class org.bitcoinj.core.ListMessage
- MAX_MONEY - Static variable in enum org.bitcoinj.base.BitcoinNetwork
-
The maximum money to be generated
- MAX_MONEY - Static variable in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- MAX_P2SH_SIGOPS - Static variable in class org.bitcoinj.script.Script
-
Max number of sigops allowed in a standard p2sh redeem script
- MAX_SCRIPT_ELEMENT_SIZE - Static variable in class org.bitcoinj.script.Script
- MAX_SEED_ENTROPY_BITS - Static variable in class org.bitcoinj.wallet.DeterministicSeed
- MAX_SIMULTANEOUS_INPUTS - Static variable in class org.bitcoinj.wallet.KeyTimeCoinSelector
-
A number of inputs chosen to avoid hitting
Transaction.MAX_STANDARD_TX_SIZE
- MAX_SIZE - Static variable in interface org.bitcoinj.core.Message
-
Maximum size of a Bitcoin P2P Message (32 MB)
- MAX_SIZE - Static variable in class org.bitcoinj.core.TxConfidenceTable
-
The max size of a table created with the no-args constructor.
- MAX_STANDARD_TX_SIZE - Static variable in class org.bitcoinj.core.Transaction
-
How many bytes a transaction can be before it won't be relayed anymore.
- MAX_UNSIGNED_INTEGER - Static variable in class org.bitcoinj.base.internal.ByteUtils
-
Maximum unsigned value that can be expressed by 32 bits.
- MAX_UNSIGNED_SHORT - Static variable in class org.bitcoinj.base.internal.ByteUtils
-
Maximum unsigned value that can be expressed by 16 bits.
- maxMoney() - Method in enum org.bitcoinj.base.BitcoinNetwork
- maxMoney() - Method in interface org.bitcoinj.base.Network
-
Maximum number of coins for this network as a
Monetary
value. - maxMoney() - Method in class org.bitcoinj.testing.MockAltNetwork
- maxTarget - Variable in class org.bitcoinj.core.NetworkParameters
- maybeCommitTx(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.
- maybeDecrypt(AesKey) - Method in class org.bitcoinj.crypto.ECKey
-
Creates decrypted private key if needed.
- maybeGetTag(String) - Method in class org.bitcoinj.utils.BaseTaggableObject
-
Deprecated.
- maybeGetTag(String) - Method in interface org.bitcoinj.utils.TaggableObject
-
Deprecated.
- maybeLookAhead() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Pre-generate enough keys to reach the lookahead size.
- maybeLookAheadScripts() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Housekeeping call to call when lookahead might be needed.
- maybeQueueOnWalletChanged() - Method in class org.bitcoinj.wallet.Wallet
- maybeSetSourceToNetwork() - Method in class org.bitcoinj.core.TransactionConfidence
-
Called when we receive a transaction from the network.
- MBTC - Static variable in class org.bitcoinj.base.utils.MonetaryFormat
-
Standard format for the mBTC denomination.
- memo - Variable in class org.bitcoinj.wallet.SendRequest
-
If not null, this memo is recorded with the transaction during completion.
- MemoryBlockStore - Class in org.bitcoinj.store
-
Keeps
StoredBlock
s in memory. - MemoryBlockStore(Block) - Constructor for class org.bitcoinj.store.MemoryBlockStore
- MemoryFullPrunedBlockStore - Class in org.bitcoinj.store
- MemoryFullPrunedBlockStore(NetworkParameters, int) - Constructor for class org.bitcoinj.store.MemoryFullPrunedBlockStore
-
Set up the MemoryFullPrunedBlockStore
- MemoryFullPrunedBlockStore.StoredBlockAndWasUndoableFlag - Class in org.bitcoinj.store
- MemoryPoolMessage - Class in org.bitcoinj.core
-
The "mempool" message asks a remote peer to announce all transactions in its memory pool, possibly restricted by any Bloom filter set on the connection.
- MemoryPoolMessage() - Constructor for class org.bitcoinj.core.MemoryPoolMessage
- merchantSigningKey - Variable in class org.bitcoinj.protocols.payments.PaymentProtocol.PkiVerificationData
-
SSL public key that was used to sign.
- merge(BloomFilter) - Method in class org.bitcoinj.core.BloomFilter
-
Copies filter into this.
- mergeActiveKeyChains(KeyChainGroup, long) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Deprecated.
- mergeActiveKeyChains(KeyChainGroup, Instant) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Merge all active chains from the given keychain group into this keychain group.
- Message - Interface in org.bitcoinj.core
-
A Message is a data structure that can be serialized/deserialized using the Bitcoin serialization format.
- MessageSerializer - Class in org.bitcoinj.core
-
Generic interface for classes which serialize/deserialize messages.
- MessageSerializer() - Constructor for class org.bitcoinj.core.MessageSerializer
- messageSize() - Method in class org.bitcoinj.core.BaseMessage
-
Return the size of the serialized message.
- messageSize() - Method in class org.bitcoinj.core.Block
- messageSize() - Method in class org.bitcoinj.core.EmptyMessage
- messageSize() - Method in interface org.bitcoinj.core.Message
-
Return the size of the serialized message.
- messageSize() - Method in class org.bitcoinj.core.PartialMerkleTree
-
Return the size of the serialized message.
- messageSize() - Method in class org.bitcoinj.core.Transaction
- messageSize() - Method in class org.bitcoinj.core.TransactionInput
-
Return the size of the serialized message.
- messageSize() - Method in class org.bitcoinj.core.TransactionOutput
-
Return the size of the serialized message.
- messageSize() - Method in class org.bitcoinj.core.TransactionWitness
-
Return the size of the serialized message.
- MessageVerifyUtils - Class in org.bitcoinj.crypto.utils
-
Small utility class for verifying signatures of text messages created with Bitcoin addresses (more precisely: with the private key of Bitcoin addresses).
- MessageWriteTarget - Interface in org.bitcoinj.net
-
A target to which messages can be written/connection can be closed
- MICROCOIN - Static variable in class org.bitcoinj.base.Coin
-
0.000001 Bitcoins, also known as 1 µBTC or 1 uBTC.
- MICROCOIN_SCALE - Static variable in class org.bitcoinj.utils.BtcFormat
-
A constant useful for specifying a denomination of microbitcoins, the
int
value6
. - MILLICOIN - Static variable in class org.bitcoinj.base.Coin
-
0.001 Bitcoins, also known as 1 mBTC.
- MILLICOIN_SCALE - Static variable in class org.bitcoinj.utils.BtcFormat
-
A constant useful for specifying a denomination of millibitcoins, the
int
value3
. - MIMETYPE_PAYMENT - Static variable in class org.bitcoinj.protocols.payments.PaymentProtocol
- MIMETYPE_PAYMENTACK - Static variable in class org.bitcoinj.protocols.payments.PaymentProtocol
- MIMETYPE_PAYMENTREQUEST - Static variable in class org.bitcoinj.protocols.payments.PaymentProtocol
- MIN_PROTOCOL_VERSION - Static variable in class org.bitcoinj.core.NotFoundMessage
- minDecimals(int) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Set minimum number of decimals to use for formatting.
- MINIMALDATA - org.bitcoinj.script.Script.VerifyFlag
- MINIMUM - org.bitcoinj.core.ProtocolVersion
- minimumFractionDigits - Variable in class org.bitcoinj.utils.BtcFormat
- minimumFractionDigits(int) - Method in class org.bitcoinj.utils.BtcFormat.Builder
-
Specify the minimum number of decimal places in the fraction part of formatted values.
- minus(Coin) - Method in class org.bitcoinj.base.Coin
-
Alias for subtract
- missing - Variable in exception org.bitcoinj.core.InsufficientMoneyException
-
Contains the number of satoshis that would have been required to complete the operation.
- MissingPrivateKeyException() - Constructor for exception org.bitcoinj.crypto.ECKey.MissingPrivateKeyException
- MissingSignatureException() - Constructor for exception org.bitcoinj.signers.TransactionSigner.MissingSignatureException
- MissingSigResolutionSigner - Class in org.bitcoinj.signers
-
This transaction signer resolves missing signatures in accordance with the given
Wallet.MissingSigsMode
. - MissingSigResolutionSigner() - Constructor for class org.bitcoinj.signers.MissingSigResolutionSigner
- MissingSigResolutionSigner(Wallet.MissingSigsMode) - Constructor for class org.bitcoinj.signers.MissingSigResolutionSigner
- missingSigsMode - Variable in class org.bitcoinj.wallet.SendRequest
-
Specifies what to do with missing signatures left after completing this request.
- MnemonicChecksumException() - Constructor for exception org.bitcoinj.crypto.MnemonicException.MnemonicChecksumException
- MnemonicCode - Class in org.bitcoinj.crypto
-
A MnemonicCode object may be used to convert between binary seed values and lists of words per the BIP 39 specification
- MnemonicCode() - Constructor for class org.bitcoinj.crypto.MnemonicCode
-
Initialise from the included word list.
- MnemonicCode(InputStream, String) - Constructor for class org.bitcoinj.crypto.MnemonicCode
-
Creates an MnemonicCode object, initializing with words read from the supplied input stream.
- MnemonicException - Exception in org.bitcoinj.crypto
-
Exceptions thrown by the MnemonicCode module.
- MnemonicException() - Constructor for exception org.bitcoinj.crypto.MnemonicException
- MnemonicException(String) - Constructor for exception org.bitcoinj.crypto.MnemonicException
- MnemonicException.MnemonicChecksumException - Exception in org.bitcoinj.crypto
-
Thrown when a list of MnemonicCode words fails the checksum check.
- MnemonicException.MnemonicLengthException - Exception in org.bitcoinj.crypto
-
Thrown when an argument to MnemonicCode is the wrong length.
- MnemonicException.MnemonicWordException - Exception in org.bitcoinj.crypto
-
Thrown when a word is encountered which is not in the MnemonicCode's word list.
- MnemonicLengthException(String) - Constructor for exception org.bitcoinj.crypto.MnemonicException.MnemonicLengthException
- MnemonicWordException(String) - Constructor for exception org.bitcoinj.crypto.MnemonicException.MnemonicWordException
- MockAltNetwork - Class in org.bitcoinj.testing
-
Mock Alt-net implementation of
Network
for unit tests. - MockAltNetwork() - Constructor for class org.bitcoinj.testing.MockAltNetwork
- MockAltNetworkParams - Class in org.bitcoinj.testing
-
Mock Alt-net subclass of
NetworkParameters
for unit tests. - MockAltNetworkParams() - Constructor for class org.bitcoinj.testing.MockAltNetworkParams
- MOCKNET_GOOD_ADDRESS - Static variable in class org.bitcoinj.testing.MockAltNetworkParams
- Monetary - Interface in org.bitcoinj.base
-
Classes implementing this interface represent a monetary value, such as a Bitcoin or fiat amount.
- MonetaryFormat - Class in org.bitcoinj.base.utils
-
Utility for formatting and parsing coin values to and from human-readable form.
- MonetaryFormat() - Constructor for class org.bitcoinj.base.utils.MonetaryFormat
-
Construct a MonetaryFormat with the default configuration.
- MonetaryFormat(boolean) - Constructor for class org.bitcoinj.base.utils.MonetaryFormat
-
Construct a MonetaryFormat with the default configuration.
- moreWorkThan(StoredBlock) - Method in class org.bitcoinj.core.StoredBlock
-
Returns true if this objects chainWork is higher than the others.
- MultipleOpReturnRequested() - Constructor for exception org.bitcoinj.wallet.Wallet.MultipleOpReturnRequested
- MultiplexingDiscovery - Class in org.bitcoinj.net.discovery
-
MultiplexingDiscovery queries multiple PeerDiscovery objects, optionally shuffles their responses and then returns the results, thus selecting randomly between them and reducing the influence of any particular seed.
- MultiplexingDiscovery(Network, List<PeerDiscovery>) - Constructor for class org.bitcoinj.net.discovery.MultiplexingDiscovery
-
Will query the given seeds in parallel before producing a merged response.
- MultiplexingDiscovery(NetworkParameters, List<PeerDiscovery>) - Constructor for class org.bitcoinj.net.discovery.MultiplexingDiscovery
-
Deprecated.
- multiply(long) - Method in class org.bitcoinj.base.Coin
- multiply(long) - Method in class org.bitcoinj.base.utils.Fiat
- multiply(BigInteger) - Method in class org.bitcoinj.crypto.LazyECPoint
- murmurHash3(byte[], long, int, byte[]) - Static method in class org.bitcoinj.core.BloomFilter
-
Applies the MurmurHash3 (x86_32) algorithm to the given data.
- myUnspents - Variable in class org.bitcoinj.wallet.Wallet
N
- NativeBlockChainListener - Class in org.bitcoinj.jni
-
Deprecated.See https://github.com/bitcoinj/bitcoinj/issues/2465
- NativeBlockChainListener() - Constructor for class org.bitcoinj.jni.NativeBlockChainListener
-
Deprecated.
- NativeFutureCallback - Class in org.bitcoinj.jni
-
Deprecated.See https://github.com/bitcoinj/bitcoinj/issues/2465
- NativeFutureCallback() - Constructor for class org.bitcoinj.jni.NativeFutureCallback
-
Deprecated.
- NativeKeyChainEventListener - Class in org.bitcoinj.jni
-
Deprecated.See https://github.com/bitcoinj/bitcoinj/issues/2465
- NativeKeyChainEventListener() - Constructor for class org.bitcoinj.jni.NativeKeyChainEventListener
-
Deprecated.
- NativeScriptsChangeEventListener - Class in org.bitcoinj.jni
-
Deprecated.See https://github.com/bitcoinj/bitcoinj/issues/2465
- NativeScriptsChangeEventListener() - Constructor for class org.bitcoinj.jni.NativeScriptsChangeEventListener
-
Deprecated.
- NativeTransactionConfidenceEventListener - Class in org.bitcoinj.jni
-
Deprecated.See https://github.com/bitcoinj/bitcoinj/issues/2465
- NativeTransactionConfidenceEventListener() - Constructor for class org.bitcoinj.jni.NativeTransactionConfidenceEventListener
-
Deprecated.
- NativeTransactionConfidenceListener - Class in org.bitcoinj.jni
-
Deprecated.See https://github.com/bitcoinj/bitcoinj/issues/2465
- NativeTransactionConfidenceListener() - Constructor for class org.bitcoinj.jni.NativeTransactionConfidenceListener
-
Deprecated.
- NativeWalletChangeEventListener - Class in org.bitcoinj.jni
-
Deprecated.See https://github.com/bitcoinj/bitcoinj/issues/2465
- NativeWalletChangeEventListener() - Constructor for class org.bitcoinj.jni.NativeWalletChangeEventListener
-
Deprecated.
- NativeWalletCoinsReceivedEventListener - Class in org.bitcoinj.jni
-
Deprecated.See https://github.com/bitcoinj/bitcoinj/issues/2465
- NativeWalletCoinsReceivedEventListener() - Constructor for class org.bitcoinj.jni.NativeWalletCoinsReceivedEventListener
-
Deprecated.
- NativeWalletCoinsSentEventListener - Class in org.bitcoinj.jni
-
Deprecated.See https://github.com/bitcoinj/bitcoinj/issues/2465
- NativeWalletCoinsSentEventListener() - Constructor for class org.bitcoinj.jni.NativeWalletCoinsSentEventListener
-
Deprecated.
- NativeWalletReorganizeEventListener - Class in org.bitcoinj.jni
-
Deprecated.See https://github.com/bitcoinj/bitcoinj/issues/2465
- NativeWalletReorganizeEventListener() - Constructor for class org.bitcoinj.jni.NativeWalletReorganizeEventListener
-
Deprecated.
- negate() - Method in class org.bitcoinj.base.Coin
- negate() - Method in class org.bitcoinj.base.utils.Fiat
- negate() - Method in class org.bitcoinj.crypto.LazyECPoint
- NEGATIVE_SATOSHI - Static variable in class org.bitcoinj.base.Coin
-
Represents a monetary value of minus one satoshi.
- negativeSign(char) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Set character to prefix negative values.
- NegativeValueOutput() - Constructor for exception org.bitcoinj.core.VerificationException.NegativeValueOutput
- negify(String) - Static method in class org.bitcoinj.utils.BtcFormat
-
Guarantee a formatting pattern has a subpattern for negative values.
- netParams - Variable in class org.bitcoinj.net.discovery.MultiplexingDiscovery
-
Deprecated.
- network - Variable in class org.bitcoinj.base.LegacyAddress
- network - Variable in class org.bitcoinj.base.SegwitAddress
- network - Variable in class org.bitcoinj.core.NetworkParameters
- network - Variable in class org.bitcoinj.crypto.EncodedPrivateKey
- network - Variable in class org.bitcoinj.kits.WalletAppKit
- network - Variable in class org.bitcoinj.wallet.Wallet
- network() - Method in interface org.bitcoinj.base.Address
-
Get the network this address is used on.
- network() - Method in class org.bitcoinj.base.LegacyAddress
-
Get the network this address works on.
- network() - Method in class org.bitcoinj.base.SegwitAddress
-
Get the network this address works on.
- network() - Method in class org.bitcoinj.core.NetworkParameters
- network() - Method in interface org.bitcoinj.core.UTXOProvider
-
The
Network
of this provider. - network() - Method in class org.bitcoinj.crypto.EncodedPrivateKey
-
Get the network this data is prefixed with.
- network() - Method in class org.bitcoinj.kits.WalletAppKit
- network() - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- network() - Method in class org.bitcoinj.wallet.Wallet
- Network - Interface in org.bitcoinj.base
-
Interface for a generic Bitcoin-like cryptocurrency network.
- NETWORK - org.bitcoinj.core.TransactionConfidence.Source
-
We got this transaction from a network peer.
- NetworkParameters - Class in org.bitcoinj.core
-
NetworkParameters contains the data needed for working with an instantiation of a Bitcoin chain.
- NetworkParameters(Network) - Constructor for class org.bitcoinj.core.NetworkParameters
- Networks - Class in org.bitcoinj.params
-
Utility class that holds all the registered
NetworkParameters
types used for address auto discovery. - Networks() - Constructor for class org.bitcoinj.params.Networks
- NewBestBlockListener - Interface in org.bitcoinj.core.listeners
-
Listener interface for when a new block on the best chain is seen.
- newDigest() - Static method in class org.bitcoinj.base.Sha256Hash
-
Returns a new SHA-256 MessageDigest instance.
- newThread(Runnable) - Method in class org.bitcoinj.utils.ContextPropagatingThreadFactory
- newThread(Runnable) - Method in class org.bitcoinj.utils.DaemonThreadFactory
- next() - Method in class org.bitcoinj.utils.BlockFileLoader.BlockFileIterator
- NioClient - Class in org.bitcoinj.net
-
Creates a simple connection to a server using a
StreamConnection
to process data. - NioClient(SocketAddress, StreamConnection, Duration) - Constructor for class org.bitcoinj.net.NioClient
-
Creates a new client to the given server address using the given
StreamConnection
to decode the data. - NioClientManager - Class in org.bitcoinj.net
-
A class which manages a set of client connections.
- NioClientManager() - Constructor for class org.bitcoinj.net.NioClientManager
-
Creates a new client manager which uses Java NIO for socket management.
- NioServer - Class in org.bitcoinj.net
-
Creates a simple server listener which listens for incoming client connections and uses a
StreamConnection
to process data. - NioServer(StreamConnectionFactory, InetSocketAddress) - Constructor for class org.bitcoinj.net.NioServer
-
Creates a new server which is capable of listening for incoming connections and processing client provided data using
StreamConnection
s created by the givenStreamConnectionFactory
- NO_SEQUENCE - Static variable in class org.bitcoinj.core.TransactionInput
-
Magic sequence number that indicates there is no sequence number.
- NO_SUCH_TX - org.bitcoinj.core.TransactionInput.ConnectionResult
- noCode() - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Don't display currency code when formatting.
- NODE_BITCOIN_CASH - Static variable in class org.bitcoinj.core.Services
-
A service bit used by Bitcoin-ABC to announce Bitcoin Cash nodes.
- NODE_BITCOIN_CASH - Static variable in class org.bitcoinj.core.VersionMessage
-
Deprecated.
- NODE_BLOOM - Static variable in class org.bitcoinj.core.Services
-
A service bit that denotes whether the peer supports BIP37 bloom filters or not.
- NODE_BLOOM - Static variable in class org.bitcoinj.core.VersionMessage
-
Deprecated.
- NODE_COMPACT_FILTERS - Static variable in class org.bitcoinj.core.Services
-
Indicates the node will service basic block filter requests (BIP157, BIP158).
- NODE_NETWORK - Static variable in class org.bitcoinj.core.Services
-
A service bit that denotes whether the peer has a full copy of the block chain or not.
- NODE_NETWORK - Static variable in class org.bitcoinj.core.VersionMessage
-
Deprecated.
- NODE_NETWORK_LIMITED - Static variable in class org.bitcoinj.core.Services
-
A service bit that denotes whether the peer has at least the last two days worth of blockchain (BIP159).
- NODE_NETWORK_LIMITED - Static variable in class org.bitcoinj.core.VersionMessage
-
Deprecated.
- NODE_P2P_V2 - Static variable in class org.bitcoinj.core.Services
-
Indicates the node supports BIP324 transport.
- NODE_WITNESS - Static variable in class org.bitcoinj.core.Services
-
Indicates that a node can be asked for blocks and transactions including witness data.
- NODE_WITNESS - Static variable in class org.bitcoinj.core.VersionMessage
-
Deprecated.
- NON_FINAL - org.bitcoinj.wallet.RiskAnalysis.Result
- NON_STANDARD - org.bitcoinj.wallet.RiskAnalysis.Result
- NoncanonicalSignature() - Constructor for exception org.bitcoinj.core.VerificationException.NoncanonicalSignature
- nonce() - Method in class org.bitcoinj.core.Ping
- nonce() - Method in class org.bitcoinj.core.Pong
-
Returns the nonce sent by the remote peer.
- none() - Static method in class org.bitcoinj.core.Services
-
Constructs a services bitfield representing "no node services".
- NONE - org.bitcoinj.core.Transaction.SigHash
- NONE - org.bitcoinj.wallet.DefaultRiskAnalysis.RuleViolation
- NONEMPTY_STACK - org.bitcoinj.wallet.DefaultRiskAnalysis.RuleViolation
- nonFinal - Variable in class org.bitcoinj.wallet.DefaultRiskAnalysis
- NONSTANDARD - org.bitcoinj.core.RejectMessage.RejectCode
-
The message described an object was not standard and was thus not accepted.
- NORMAL - org.bitcoinj.crypto.HDKeyDerivation.PublicDeriveMode
- normalize() - Method in class org.bitcoinj.crypto.LazyECPoint
- notFoundCache - Variable in class org.bitcoinj.store.SPVBlockStore
- NotFoundMessage - Class in org.bitcoinj.core
-
Sent by a peer when a getdata request doesn't find the requested data in the mempool.
- NotFoundMessage() - Constructor for class org.bitcoinj.core.NotFoundMessage
-
Deprecated.
- NotFoundMessage(List<InventoryItem>) - Constructor for class org.bitcoinj.core.NotFoundMessage
- notifyNewBestBlock(StoredBlock) - Method in interface org.bitcoinj.core.listeners.NewBestBlockListener
-
Called when a new block on the best chain is seen, after relevant transactions are extracted and sent to us via either
TransactionReceivedInBlockListener.receiveFromBlock(Transaction, StoredBlock, AbstractBlockChain.NewBlockType, int)
orTransactionReceivedInBlockListener.notifyTransactionIsInBlock(Sha256Hash, StoredBlock, AbstractBlockChain.NewBlockType, int)
. - notifyNewBestBlock(StoredBlock) - Method in class org.bitcoinj.jni.NativeBlockChainListener
-
Deprecated.
- notifyNewBestBlock(StoredBlock) - Method in class org.bitcoinj.wallet.Wallet
-
Called by the
BlockChain
when a new block on the best chain is seen, AFTER relevant wallet transactions are extracted and sent to us UNLESS the new block caused a re-org, in which case this will not be called (theWallet.reorganize(StoredBlock, List, List)
method will call this one in that case). - notifyTransactionIsInBlock(Sha256Hash, StoredBlock, AbstractBlockChain.NewBlockType, int) - Method in interface org.bitcoinj.core.listeners.TransactionReceivedInBlockListener
-
Called by the
BlockChain
when we receive a newFilteredBlock
that contains the given transaction hash in its merkle tree. - notifyTransactionIsInBlock(Sha256Hash, StoredBlock, AbstractBlockChain.NewBlockType, int) - Method in class org.bitcoinj.jni.NativeBlockChainListener
-
Deprecated.
- notifyTransactionIsInBlock(Sha256Hash, StoredBlock, AbstractBlockChain.NewBlockType, int) - Method in class org.bitcoinj.wallet.Wallet
-
Called by the
BlockChain
when we receive a new filtered block that contains a transactions previously received by a call toWallet.receivePending(org.bitcoinj.core.Transaction, java.util.List<org.bitcoinj.core.Transaction>, boolean)
. - notSettingChainHead() - Method in class org.bitcoinj.core.AbstractBlockChain
-
Called if we (possibly) previously called disconnectTransaction/connectTransactions, but will not be calling preSetChainHead as a block failed verification.
- notSettingChainHead() - Method in class org.bitcoinj.core.BlockChain
- notSettingChainHead() - Method in class org.bitcoinj.core.FullPrunedBlockChain
- NULLDUMMY - org.bitcoinj.script.Script.VerifyFlag
- num() - Method in class org.bitcoinj.crypto.ChildNumber
-
Returns the child number without the hardening bit set (i.e.
- number(int, long) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds the given number to the given index in the program.
- number(long) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds the given number to the end of the program.
- numberFormat - Variable in class org.bitcoinj.utils.BtcFormat
- numBloomFilterEntries() - Method in class org.bitcoinj.wallet.BasicKeyChain
- numBloomFilterEntries() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- numBloomFilterEntries() - Method in interface org.bitcoinj.wallet.KeyChain
-
Returns the number of elements this chain wishes to insert into the Bloom filter.
- numBroadcastPeers() - Method in class org.bitcoinj.core.TransactionConfidence
-
Returns how many peers have been passed to
TransactionConfidence.markBroadcastBy(org.bitcoinj.core.PeerAddress)
. - numBroadcastPeers(Sha256Hash) - Method in class org.bitcoinj.core.TxConfidenceTable
-
Returns the number of peers that have seen the given hash recently.
- numCheckpoints() - Method in class org.bitcoinj.core.CheckpointManager
-
Returns the number of checkpoints that were loaded.
- numConnectedPeers() - Method in class org.bitcoinj.core.PeerGroup
-
Returns the number of currently connected peers.
- numericId() - Method in enum org.bitcoinj.base.ScriptType
-
Deprecated.Using
ScriptType.id()
to get a script identifier string is preferred. - numKeys() - Method in class org.bitcoinj.wallet.BasicKeyChain
- numKeys() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- numKeys() - Method in interface org.bitcoinj.wallet.KeyChain
-
Returns the number of keys this key chain manages.
- numKeys() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Returns the number of keys managed by this group, including the lookahead buffers.
- numLeafKeysIssued() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Returns number of leaf keys used including both internal and external paths.
O
- OBSOLETE - org.bitcoinj.core.RejectMessage.RejectCode
-
The message was obsolete or described an object which is obsolete (e.g.
- of(byte[]) - Static method in class org.bitcoinj.base.Sha256Hash
-
Creates a new instance containing the calculated (one-time) hash of the given bytes.
- of(byte[]...) - Static method in class org.bitcoinj.core.TransactionWitness
-
Construct a transaction witness from a given list of arbitrary pushes.
- of(long) - Static method in class org.bitcoinj.base.VarInt
-
Constructs a new VarInt with the given unsigned long value.
- of(long) - Static method in class org.bitcoinj.core.LockTime
-
Wrap a raw value (as used in the Bitcoin protocol) into a lock time.
- of(long) - Static method in class org.bitcoinj.core.Ping
-
Create a ping with a nonce value.
- of(long) - Static method in class org.bitcoinj.core.Pong
-
Create a pong with a nonce value.
- of(long) - Static method in class org.bitcoinj.core.Services
-
Wrap 64 bits, each representing a node service.
- of(File) - Static method in class org.bitcoinj.base.Sha256Hash
-
Creates a new instance containing the calculated (one-time) hash of the given file's contents.
- of(String) - Static method in enum org.bitcoinj.base.ScriptType
-
Use this method to create a
ScriptType
from a known good script identifier string. - of(String) - Static method in enum org.bitcoinj.base.SegwitAddress.SegwitHrp
- of(String) - Static method in class org.bitcoinj.uri.BitcoinURI
-
Constructs a new BitcoinURI from the given string.
- of(String, Network) - Static method in class org.bitcoinj.uri.BitcoinURI
-
Constructs a new object by trying to parse the input as a valid Bitcoin URI.
- of(CompletableFuture<T>) - Static method in class org.bitcoinj.utils.ListenableCompletableFuture
-
Converts a generic
CompletableFuture
to aListenableCompletableFuture
. - of(List<byte[]>) - Static method in class org.bitcoinj.core.TransactionWitness
-
Construct a transaction witness from a given list of arbitrary pushes.
- of(List<ECKey>, Script) - Static method in class org.bitcoinj.wallet.RedeemData
- of(List<ScriptChunk>) - Static method in class org.bitcoinj.script.Script
-
Wraps given script chunks.
- of(List<ScriptChunk>, Instant) - Static method in class org.bitcoinj.script.Script
-
Wraps given script chunks.
- of(BitcoinNetwork) - Static method in class org.bitcoinj.params.BitcoinNetworkParams
-
Return network parameters for a
BitcoinNetwork
enum - of(Coin) - Static method in class org.bitcoinj.core.FeeFilterMessage
-
Create a fee filter message with a given fee rate.
- of(Network) - Static method in class org.bitcoinj.core.NetworkParameters
-
Return network parameters for a
Network
. - of(ECKey, Script) - Static method in class org.bitcoinj.wallet.RedeemData
-
Creates RedeemData for P2PKH, P2WPKH or P2PK input.
- ofBlock(Sha256Hash, boolean) - Static method in class org.bitcoinj.core.GetDataMessage
- ofBlockHeight(int) - Static method in class org.bitcoinj.core.LockTime
-
Wrap a block height into a lock time.
- ofBlocks(List<Block>) - Static method in class org.bitcoinj.core.InventoryMessage
- ofBlocks(Block...) - Static method in class org.bitcoinj.core.InventoryMessage
- ofBtc(BigDecimal) - Static method in class org.bitcoinj.base.Coin
-
Create a
Coin
from a decimal amount of BTC. - ofBytes(byte[], int) - Static method in class org.bitcoinj.base.VarInt
-
Constructs a new VarInt with the value parsed from the specified offset of the given buffer.
- ofCode(int) - Static method in enum org.bitcoinj.core.InventoryItem.Type
- ofEntropy(byte[], String) - Static method in class org.bitcoinj.wallet.DeterministicSeed
-
Constructs a BIP 39 mnemonic code and a seed from a given entropy.
- ofEntropy(byte[], String, Instant) - Static method in class org.bitcoinj.wallet.DeterministicSeed
-
Constructs a BIP 39 mnemonic code and a seed from a given entropy.
- ofKeyParameter(KeyParameter) - Static method in class org.bitcoinj.crypto.AesKey
-
Deprecated.Use
new AesKey(keyParameter.bytes())
- ofMnemonic(String, String) - Static method in class org.bitcoinj.wallet.DeterministicSeed
-
Constructs a seed from a BIP 39 mnemonic code.
- ofMnemonic(String, String, Instant) - Static method in class org.bitcoinj.wallet.DeterministicSeed
-
Constructs a seed from a BIP 39 mnemonic code.
- ofMnemonic(List<String>, String) - Static method in class org.bitcoinj.wallet.DeterministicSeed
-
Constructs a seed from a BIP 39 mnemonic code.
- ofMnemonic(List<String>, String, Instant) - Static method in class org.bitcoinj.wallet.DeterministicSeed
-
Constructs a seed from a BIP 39 mnemonic code.
- ofNetwork(BitcoinNetwork) - Static method in enum org.bitcoinj.base.LegacyAddress.AddressHeader
- ofNetwork(BitcoinNetwork) - Static method in enum org.bitcoinj.base.LegacyAddress.P2SHHeader
- ofNetwork(BitcoinNetwork) - Static method in enum org.bitcoinj.base.SegwitAddress.SegwitHrp
- ofRandom(SecureRandom, int, String) - Static method in class org.bitcoinj.wallet.DeterministicSeed
-
Constructs a BIP 39 mnemonic code and a seed randomly.
- ofSat(long) - Static method in class org.bitcoinj.base.Coin
-
Create a
Coin
from a long integer number of satoshis. - ofTimestamp(Instant) - Static method in class org.bitcoinj.core.LockTime
-
Wrap a timestamp into a lock time.
- ofTransaction(Sha256Hash, boolean) - Static method in class org.bitcoinj.core.GetDataMessage
- ofTransactions(List<Transaction>) - Static method in class org.bitcoinj.core.InventoryMessage
- ofTransactions(Transaction...) - Static method in class org.bitcoinj.core.InventoryMessage
- OK - org.bitcoinj.wallet.RiskAnalysis.Result
- onAddr(Peer, AddressMessage) - Method in interface org.bitcoinj.core.listeners.AddressEventListener
-
Called when a peer receives an
addr
oraddrv2
message, usually in response to agetaddr
message. - onAfterAutoSave(File) - Method in interface org.bitcoinj.wallet.WalletFiles.Listener
-
Called on the auto-save thread after the newly created temporary file has been filled with data and renamed.
- onBeforeAutoSave(File) - Method in interface org.bitcoinj.wallet.WalletFiles.Listener
-
Called on the auto-save thread when a new temporary file is created but before the wallet data is saved to it.
- onBlocksDownloaded(Peer, Block, FilteredBlock, int) - Method in interface org.bitcoinj.core.listeners.BlocksDownloadedEventListener
-
Called on a Peer thread when a block is received.
- onBlocksDownloaded(Peer, Block, FilteredBlock, int) - Method in class org.bitcoinj.core.listeners.DownloadProgressTracker
- onBroadcastProgress(double) - Method in interface org.bitcoinj.core.TransactionBroadcast.ProgressCallback
-
onBroadcastProgress will be invoked on the provided executor when the progress of the transaction broadcast has changed, because the transaction has been announced by another peer or because the transaction was found inside a mined block (in this case progress will go to 1.0 immediately).
- onChainDownloadStarted(Peer, int) - Method in interface org.bitcoinj.core.listeners.ChainDownloadStartedEventListener
-
Called when a download is started with the initial number of blocks to be downloaded.
- onChainDownloadStarted(Peer, int) - Method in class org.bitcoinj.core.listeners.DownloadProgressTracker
- onCoinsReceived(Wallet, Transaction, Coin, Coin) - Method in class org.bitcoinj.jni.NativeWalletCoinsReceivedEventListener
-
Deprecated.
- onCoinsReceived(Wallet, Transaction, Coin, Coin) - Method in interface org.bitcoinj.wallet.listeners.WalletCoinsReceivedEventListener
-
This is called when a transaction is seen that sends coins to this wallet, either because it was broadcast across the network or because a block was received.
- onCoinsSent(Wallet, Transaction, Coin, Coin) - Method in class org.bitcoinj.jni.NativeWalletCoinsSentEventListener
-
Deprecated.
- onCoinsSent(Wallet, Transaction, Coin, Coin) - Method in interface org.bitcoinj.wallet.listeners.WalletCoinsSentEventListener
-
This is called when a transaction is seen that sends coins from this wallet, either because it was broadcast across the network or because a block was received.
- onConfidenceChanged(TransactionConfidence, TransactionConfidence.Listener.ChangeReason) - Method in interface org.bitcoinj.core.TransactionConfidence.Listener
- onConfidenceChanged(TransactionConfidence, TransactionConfidence.Listener.ChangeReason) - Method in class org.bitcoinj.jni.NativeTransactionConfidenceListener
-
Deprecated.
- onCurrentKeyChanged() - Method in interface org.bitcoinj.wallet.listeners.CurrentKeyChangeEventListener
-
Called by
KeyChainGroup
whenever a current key and/or address changes. - ONE - Static variable in class org.bitcoinj.crypto.ChildNumber
- ONE_HARDENED - Static variable in class org.bitcoinj.crypto.ChildNumber
- onFailure(Throwable) - Method in class org.bitcoinj.jni.NativeFutureCallback
-
Deprecated.
- onKeysAdded(List<ECKey>) - Method in class org.bitcoinj.jni.NativeKeyChainEventListener
-
Deprecated.
- onKeysAdded(List<ECKey>) - Method in class org.bitcoinj.wallet.listeners.AbstractKeyChainEventListener
- onKeysAdded(List<ECKey>) - Method in interface org.bitcoinj.wallet.listeners.KeyChainEventListener
-
Called whenever a new key is added to the key chain, whether that be via an explicit addition or due to some other automatic derivation.
- onPeerConnected(Peer, int) - Method in interface org.bitcoinj.core.listeners.PeerConnectedEventListener
-
Called when a peer is connected.
- onPeerDisconnected(Peer, int) - Method in interface org.bitcoinj.core.listeners.PeerDisconnectedEventListener
-
Called when a peer is disconnected.
- onPeersDiscovered(Set<PeerAddress>) - Method in interface org.bitcoinj.core.listeners.PeerDiscoveredEventListener
- onPreMessageReceived(Peer, Message) - Method in interface org.bitcoinj.core.listeners.PreMessageReceivedEventListener
-
Called when a message is received by a peer, before the message is processed.
- onReorganize(Wallet) - Method in class org.bitcoinj.jni.NativeWalletReorganizeEventListener
-
Deprecated.
- onReorganize(Wallet) - Method in interface org.bitcoinj.wallet.listeners.WalletReorganizeEventListener
-
This is called when a block is received that triggers a block chain re-organization.
- onScriptsChanged(Wallet, List<Script>, boolean) - Method in class org.bitcoinj.jni.NativeScriptsChangeEventListener
-
Deprecated.
- onScriptsChanged(Wallet, List<Script>, boolean) - Method in interface org.bitcoinj.wallet.listeners.ScriptsChangeEventListener
-
Called whenever a new watched script is added to the wallet.
- onSetupCompleted() - Method in class org.bitcoinj.kits.WalletAppKit
-
This method is invoked on a background thread after all objects are initialised, but before the peer group or block chain download is started.
- onSuccess(Object) - Method in class org.bitcoinj.jni.NativeFutureCallback
-
Deprecated.
- onTransaction(Peer, Transaction) - Method in interface org.bitcoinj.core.listeners.OnTransactionBroadcastListener
-
Called when a new transaction is broadcast over the network.
- OnTransactionBroadcastListener - Interface in org.bitcoinj.core.listeners
-
Called when a new transaction is broadcast over the network.
- onTransactionConfidenceChanged(Wallet, Transaction) - Method in interface org.bitcoinj.core.listeners.TransactionConfidenceEventListener
-
Called when a transaction changes its confidence level.
- onTransactionConfidenceChanged(Wallet, Transaction) - Method in class org.bitcoinj.jni.NativeTransactionConfidenceEventListener
-
Deprecated.
- onWalletChanged(Wallet) - Method in class org.bitcoinj.jni.NativeWalletChangeEventListener
-
Deprecated.
- onWalletChanged(Wallet) - Method in interface org.bitcoinj.wallet.listeners.WalletChangeEventListener
-
Designed for GUI applications to refresh their transaction lists.
- op(int) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds the given opcode to the end of the program.
- op(int, int) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds the given opcode to the given index in the program
- OP_0 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_0NOTEQUAL - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_1 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_10 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_11 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_12 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_13 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_14 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_15 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_16 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_1ADD - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_1NEGATE - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_1SUB - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_2 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_2DIV - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_2DROP - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_2DUP - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_2MUL - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_2OVER - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_2ROT - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_2SWAP - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_3 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_3DUP - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_4 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_5 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_6 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_7 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_8 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_9 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_ABS - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_ADD - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_AND - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_BOOLAND - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_BOOLOR - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_CAT - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_CHECKLOCKTIMEVERIFY - Static variable in class org.bitcoinj.script.ScriptOpCodes
-
Check lock time of the block.
- OP_CHECKMULTISIG - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_CHECKMULTISIGVERIFY - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_CHECKSEQUENCEVERIFY - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_CHECKSIG - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_CHECKSIGVERIFY - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_CODESEPARATOR - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_DEPTH - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_DIV - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_DROP - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_DUP - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_ELSE - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_ENDIF - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_EQUAL - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_EQUALVERIFY - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_FALSE - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_FROMALTSTACK - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_GREATERTHAN - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_GREATERTHANOREQUAL - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_HASH160 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_HASH256 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_IF - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_IFDUP - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_INVALIDOPCODE - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_INVERT - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_LEFT - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_LESSTHAN - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_LESSTHANOREQUAL - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_LSHIFT - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_MAX - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_MIN - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_MOD - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_MUL - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NEGATE - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NIP - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NOP - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NOP1 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NOP10 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NOP2 - Static variable in class org.bitcoinj.script.ScriptOpCodes
-
Deprecated.
- OP_NOP3 - Static variable in class org.bitcoinj.script.ScriptOpCodes
-
Deprecated.
- OP_NOP4 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NOP5 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NOP6 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NOP7 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NOP8 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NOP9 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NOT - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NOTIF - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NUMEQUAL - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NUMEQUALVERIFY - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_NUMNOTEQUAL - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_OR - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_OVER - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_PICK - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_PUSHDATA1 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_PUSHDATA2 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_PUSHDATA4 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_RESERVED - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_RESERVED1 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_RESERVED2 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_RETURN - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_RIGHT - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_RIPEMD160 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_ROLL - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_ROT - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_RSHIFT - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_SHA1 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_SHA256 - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_SIZE - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_SUB - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_SUBSTR - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_SWAP - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_TOALTSTACK - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_TRUE - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_TUCK - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_VER - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_VERIF - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_VERIFY - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_VERNOTIF - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_WITHIN - Static variable in class org.bitcoinj.script.ScriptOpCodes
- OP_XOR - Static variable in class org.bitcoinj.script.ScriptOpCodes
- opcode - Variable in class org.bitcoinj.script.ScriptChunk
-
Operation to be executed.
- openConnection(SocketAddress, StreamConnection) - Method in class org.bitcoinj.net.BlockingClientManager
- openConnection(SocketAddress, StreamConnection) - Method in interface org.bitcoinj.net.ClientConnectionManager
-
Creates a new connection to the given address, with the given connection used to handle incoming data.
- openConnection(SocketAddress, StreamConnection) - Method in class org.bitcoinj.net.NioClientManager
- OPENJDK - org.bitcoinj.base.internal.PlatformUtils.Runtime
- openStream(NetworkParameters) - Static method in class org.bitcoinj.core.CheckpointManager
-
Returns a checkpoints stream pointing to inside the bitcoinj JAR
- opFalse() - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds false to the end of the program.
- opFalse(int) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds false to the given index in the program.
- optionalDecimals(int...) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Set additional groups of decimals to use after the minimum decimals, if they are useful for expressing precision.
- OptionalFieldValidationException - Exception in org.bitcoinj.uri
-
Exception to provide the following to
BitcoinURI
: - OptionalFieldValidationException(String) - Constructor for exception org.bitcoinj.uri.OptionalFieldValidationException
- OptionalFieldValidationException(String, Throwable) - Constructor for exception org.bitcoinj.uri.OptionalFieldValidationException
- opTrue() - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds true to the end of the program.
- opTrue(int) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds true to the given index in the program.
- ORACLE_JAVA - org.bitcoinj.base.internal.PlatformUtils.Runtime
- org.bitcoinj.base - package org.bitcoinj.base
-
The
base
package provides foundational types for bitcoinj. - org.bitcoinj.base.exceptions - package org.bitcoinj.base.exceptions
- org.bitcoinj.base.internal - package org.bitcoinj.base.internal
- org.bitcoinj.base.utils - package org.bitcoinj.base.utils
- org.bitcoinj.core - package org.bitcoinj.core
-
The core package contains classes for network messages like
Block
andTransaction
, peer connectivity viaPeerGroup
, and block chain management. - org.bitcoinj.core.listeners - package org.bitcoinj.core.listeners
- org.bitcoinj.crypto - package org.bitcoinj.crypto
-
The crypto package contains classes that work with key derivation algorithms like scrypt (passwords to AES keys), BIP 32 hierarchies (chains of keys from a root seed), X.509 utilities for the payment protocol and other general cryptography tasks.
- org.bitcoinj.crypto.internal - package org.bitcoinj.crypto.internal
- org.bitcoinj.crypto.utils - package org.bitcoinj.crypto.utils
- org.bitcoinj.jni - package org.bitcoinj.jni
- org.bitcoinj.kits - package org.bitcoinj.kits
-
High level wrapper APIs around the bitcoinj building blocks.
- org.bitcoinj.net - package org.bitcoinj.net
-
Classes handling low level network management using either NIO (async io) or older style blocking sockets (useful for using SOCKS proxies, Tor, SSL etc).
- org.bitcoinj.net.discovery - package org.bitcoinj.net.discovery
-
Classes that know how to discover peers in the P2P network using DNS or HTTP.
- org.bitcoinj.params - package org.bitcoinj.params
-
Network parameters encapsulate some of the differences between different Bitcoin networks such as the main network, the testnet, regtest mode, unit testing params and so on.
- org.bitcoinj.protocols.payments - package org.bitcoinj.protocols.payments
-
The BIP70 payment protocol wraps Bitcoin transactions and adds various useful features like memos, refund addresses and authentication.
- org.bitcoinj.script - package org.bitcoinj.script
-
Classes for working with and executing Bitcoin script programs, as embedded in inputs and outputs.
- org.bitcoinj.signers - package org.bitcoinj.signers
-
Transaction signers know how to calculate signatures over transactions in different contexts, for example, using local private keys or fetching them from remote servers.
- org.bitcoinj.store - package org.bitcoinj.store
-
Block stores persist blockchain data downloaded from remote peers.
- org.bitcoinj.testing - package org.bitcoinj.testing
- org.bitcoinj.uri - package org.bitcoinj.uri
-
Parsing and handling of bitcoin: textual URIs as found in qr codes and web links.
- org.bitcoinj.utils - package org.bitcoinj.utils
-
Formatting monetary amounts, representing exchange rates, a program for loading Bitcoin Core saved block files, a class to control how bitcoinj uses threads and misc other utility classes that don't fit anywhere else.
- org.bitcoinj.wallet - package org.bitcoinj.wallet
-
Classes that support the
Wallet
, which knows how to find and save transactions relevant to a set of keys or scripts, calculate balances, and spend money: the wallet has many features and can be extended in various ways, please refer to the website for documentation on how to use it. - org.bitcoinj.wallet.listeners - package org.bitcoinj.wallet.listeners
- os - Static variable in class org.bitcoinj.base.internal.PlatformUtils
- OTHER - org.bitcoinj.core.RejectMessage.RejectCode
- Output(Coin, byte[]) - Constructor for class org.bitcoinj.protocols.payments.PaymentProtocol.Output
- outputs() - Method in class org.bitcoinj.wallet.CoinSelection
- outputScriptType - Variable in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- outputScriptType(ScriptType) - Method in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
P
- P2PK - org.bitcoinj.base.ScriptType
- P2PKH - org.bitcoinj.base.ScriptType
- p2sh - Variable in class org.bitcoinj.base.LegacyAddress
-
True if P2SH, false if P2PKH.
- P2SH - org.bitcoinj.base.ScriptType
- P2SH - org.bitcoinj.script.Script.VerifyFlag
- p2shHeader - Variable in class org.bitcoinj.core.NetworkParameters
- P2TR - org.bitcoinj.base.ScriptType
- P2WPKH - org.bitcoinj.base.ScriptType
- P2WSH - org.bitcoinj.base.ScriptType
- packetMagic - Variable in class org.bitcoinj.core.NetworkParameters
- params - Variable in class org.bitcoinj.core.AbstractBlockChain
-
network parameters for this chain
- params - Variable in class org.bitcoinj.core.CheckpointManager
- params - Variable in class org.bitcoinj.core.PeerGroup
- params - Variable in class org.bitcoinj.kits.WalletAppKit
- params - Variable in class org.bitcoinj.store.SPVBlockStore
- params - Variable in class org.bitcoinj.wallet.Wallet
- params() - Method in class org.bitcoinj.kits.WalletAppKit
- Params() - Constructor for class org.bitcoinj.utils.ExponentialBackoff.Params
-
Construct params with default values.
- Params(Duration, float, Duration) - Constructor for class org.bitcoinj.utils.ExponentialBackoff.Params
- paramsFromPmtProtocolID(String) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
-
Return network parameters for a paymentProtocol ID string
- parent - Variable in class org.bitcoinj.core.TransactionOutput
- parent() - Method in class org.bitcoinj.crypto.HDPath
-
Return the parent path.
- parse(byte[]) - Static method in class org.bitcoinj.script.Script
-
Construct a script that copies and wraps a given program.
- parse(byte[], Instant) - Static method in class org.bitcoinj.script.Script
-
Construct a script that copies and wraps a given program, and a creation time.
- parse(String) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Parse a human-readable coin value to a
Coin
instance. - parse(String) - Method in class org.bitcoinj.utils.BtcFormat
-
Parse a
String
representation of a Bitcoin monetary value. - parse(String, ParsePosition) - Method in class org.bitcoinj.utils.BtcFormat
-
Parse a
String
representation of a Bitcoin monetary value. - parseAddress(String) - Method in interface org.bitcoinj.base.AddressParser
-
Parse an address for a configured set of
Network
s. - parseAddress(String) - Method in class org.bitcoinj.wallet.Wallet
-
Parse an address string using all formats this wallet knows about for the wallet's network type
- parseCoin(String) - Static method in class org.bitcoinj.base.Coin
-
Create a
Coin
by parsing aString
amount expressed in "the way humans are used to". - parseCoinInexact(String) - Static method in class org.bitcoinj.base.Coin
-
Create a
Coin
by parsing aString
amount expressed in "the way humans are used to". - parseFiat(String, String) - Static method in class org.bitcoinj.base.utils.Fiat
-
Parses an amount expressed in the way humans are used to.
- parseFiat(String, String) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Parse a human-readable fiat value to a
Fiat
instance. - parseFiatInexact(String, String) - Static method in class org.bitcoinj.base.utils.Fiat
-
Parses an amount expressed in the way humans are used to.
- parseHex(String) - Static method in class org.bitcoinj.base.internal.ByteUtils
- parseHex(String) - Method in class org.bitcoinj.base.internal.HexFormat
- parseObject(String, ParsePosition) - Method in class org.bitcoinj.utils.BtcFormat
-
Parse a
String
representation of a Bitcoin monetary value. - parsePath(String) - Static method in class org.bitcoinj.crypto.HDPath
-
Create an HDPath from a path string.
- parsePaymentAck(Protos.PaymentACK) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
-
Parse payment ack into an object.
- parsePaymentRequest(Protos.PaymentRequest) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
-
Parse a payment request.
- parseToProto(InputStream) - Static method in class org.bitcoinj.wallet.WalletProtobufSerializer
-
Returns the loaded protocol buffer from the given byte stream.
- parseTransactionsFromPaymentMessage(NetworkParameters, Protos.Payment) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
-
Parse transactions from payment message.
- PARTIAL_ADDRESS_COMPARATOR - Static variable in interface org.bitcoinj.base.Address
-
Comparator for the first two comparison fields in
Address
comparisons, seeAddress.compareTo(Address)
. - PartialMerkleTree - Class in org.bitcoinj.core
-
A data structure that contains proofs of block inclusion for one or more transactions, in an efficient manner.
- PartialMerkleTree(int, List<Sha256Hash>, byte[]) - Constructor for class org.bitcoinj.core.PartialMerkleTree
-
Constructs a new PMT with the given bit set (little endian) and the raw list of hashes including internal hashes, taking ownership of the list.
- partialTx - Variable in class org.bitcoinj.signers.TransactionSigner.ProposedTransaction
- passesCheckpoint(int, Sha256Hash) - Method in class org.bitcoinj.core.NetworkParameters
-
Validate the hash for a given block height against checkpoints
- passphrase - Variable in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- passphrase(String) - Method in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
-
The passphrase to use with the generated mnemonic, or null if you would like to use the default empty string.
- pattern() - Method in class org.bitcoinj.utils.BtcFormat
-
Return a representation of the pattern used by this instance for formatting and parsing.
- pattern(String) - Method in class org.bitcoinj.utils.BtcFormat.Builder
-
Use the given pattern when formatting and parsing.
- PAYMENT_PROTOCOL_ID_MAINNET - Static variable in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- PAYMENT_PROTOCOL_ID_MAINNET - Static variable in class org.bitcoinj.protocols.payments.PaymentProtocol
-
The string used by the payment protocol to represent the main net.
- PAYMENT_PROTOCOL_ID_REGTEST - Static variable in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- PAYMENT_PROTOCOL_ID_REGTEST - Static variable in class org.bitcoinj.protocols.payments.PaymentProtocol
- PAYMENT_PROTOCOL_ID_SIGNET - Static variable in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- PAYMENT_PROTOCOL_ID_SIGNET - Static variable in class org.bitcoinj.protocols.payments.PaymentProtocol
-
The string used by the payment protocol to represent signet (note that this is non-standard).
- PAYMENT_PROTOCOL_ID_TESTNET - Static variable in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- PAYMENT_PROTOCOL_ID_TESTNET - Static variable in class org.bitcoinj.protocols.payments.PaymentProtocol
-
The string used by the payment protocol to represent the test net.
- PAYMENT_PROTOCOL_ID_UNIT_TESTS - Static variable in class org.bitcoinj.core.NetworkParameters
-
Deprecated.
- PAYMENT_PROTOCOL_ID_UNIT_TESTS - Static variable in class org.bitcoinj.protocols.payments.PaymentProtocol
-
The string used by the payment protocol to represent unit testing (note that this is non-standard).
- PaymentProtocol - Class in org.bitcoinj.protocols.payments
-
Utility methods and constants for working with BIP 70 aka the payment protocol.
- PaymentProtocol() - Constructor for class org.bitcoinj.protocols.payments.PaymentProtocol
- PaymentProtocol.Ack - Class in org.bitcoinj.protocols.payments
-
Message returned by the merchant in response to a Payment message.
- PaymentProtocol.Output - Class in org.bitcoinj.protocols.payments
-
Value object to hold amount/script pairs.
- PaymentProtocol.PkiVerificationData - Class in org.bitcoinj.protocols.payments
-
Information about the X.509 signature's issuer and subject.
- PaymentProtocolException - Exception in org.bitcoinj.protocols.payments
- PaymentProtocolException(Exception) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException
- PaymentProtocolException(String) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException
- PaymentProtocolException.Expired - Exception in org.bitcoinj.protocols.payments
- PaymentProtocolException.InvalidNetwork - Exception in org.bitcoinj.protocols.payments
- PaymentProtocolException.InvalidOutputs - Exception in org.bitcoinj.protocols.payments
- PaymentProtocolException.InvalidPaymentRequestURL - Exception in org.bitcoinj.protocols.payments
- PaymentProtocolException.InvalidPaymentURL - Exception in org.bitcoinj.protocols.payments
- PaymentProtocolException.InvalidPkiData - Exception in org.bitcoinj.protocols.payments
- PaymentProtocolException.InvalidPkiType - Exception in org.bitcoinj.protocols.payments
- PaymentProtocolException.InvalidVersion - Exception in org.bitcoinj.protocols.payments
- PaymentProtocolException.PkiVerificationException - Exception in org.bitcoinj.protocols.payments
- PaymentSession - Class in org.bitcoinj.protocols.payments
-
Provides a standard implementation of the Payment Protocol (BIP 0070)
- PaymentSession(Protos.PaymentRequest) - Constructor for class org.bitcoinj.protocols.payments.PaymentSession
-
Creates a PaymentSession from the provided
Protos.PaymentRequest
. - PaymentSession(Protos.PaymentRequest, boolean) - Constructor for class org.bitcoinj.protocols.payments.PaymentSession
-
Creates a PaymentSession from the provided
Protos.PaymentRequest
. - PaymentSession(Protos.PaymentRequest, boolean, TrustStoreLoader) - Constructor for class org.bitcoinj.protocols.payments.PaymentSession
-
Creates a PaymentSession from the provided
Protos.PaymentRequest
. - PBKDF2SHA512 - Class in org.bitcoinj.crypto
-
This is a clean-room implementation of PBKDF2 using RFC 2898 as a reference.
- PBKDF2SHA512() - Constructor for class org.bitcoinj.crypto.PBKDF2SHA512
- Peer - Class in org.bitcoinj.core
-
A Peer handles the high level communication with a Bitcoin node, extending a
PeerSocketHandler
which handles low-level message (de)serialization. - Peer(NetworkParameters, AbstractBlockChain, PeerAddress, String, String) - Constructor for class org.bitcoinj.core.Peer
-
Construct a peer that reads/writes from the given chain.
- Peer(NetworkParameters, VersionMessage, AbstractBlockChain, PeerAddress) - Constructor for class org.bitcoinj.core.Peer
- Peer(NetworkParameters, VersionMessage, PeerAddress, AbstractBlockChain) - Constructor for class org.bitcoinj.core.Peer
-
Construct a peer that reads/writes from the given block chain.
- Peer(NetworkParameters, VersionMessage, PeerAddress, AbstractBlockChain, long, int) - Constructor for class org.bitcoinj.core.Peer
-
Construct a peer that reads/writes from the given block chain.
- peerAddress - Variable in class org.bitcoinj.core.PeerSocketHandler
- PeerAddress - Class in org.bitcoinj.core
-
A PeerAddress holds an IP address and port number representing the network location of a peer in the Bitcoin P2P network.
- peerAddresses - Variable in class org.bitcoinj.kits.WalletAppKit
- PeerConnectedEventListener - Interface in org.bitcoinj.core.listeners
-
Implementors can listen to events indicating a new peer connecting.
- peerConnectedEventListeners - Variable in class org.bitcoinj.core.PeerGroup
-
Callbacks for events related to peers connecting
- PeerDataEventListener - Interface in org.bitcoinj.core.listeners
-
Deprecated.
- PeerDisconnectedEventListener - Interface in org.bitcoinj.core.listeners
-
Implementors can listen to events indicating a peer disconnecting.
- peerDisconnectedEventListeners - Variable in class org.bitcoinj.core.PeerGroup
-
Callbacks for events related to peers disconnecting
- PeerDiscoveredEventListener - Interface in org.bitcoinj.core.listeners
-
Implementors can listen to events for peers being discovered.
- peerDiscoveredEventListeners - Variable in class org.bitcoinj.core.PeerGroup
-
Callbacks for events related to peer connection/disconnection
- PeerDiscovery - Interface in org.bitcoinj.net.discovery
-
A PeerDiscovery object is responsible for finding addresses of other nodes in the Bitcoin P2P network.
- PeerDiscoveryException - Exception in org.bitcoinj.net.discovery
- PeerDiscoveryException() - Constructor for exception org.bitcoinj.net.discovery.PeerDiscoveryException
- PeerDiscoveryException(String) - Constructor for exception org.bitcoinj.net.discovery.PeerDiscoveryException
- PeerDiscoveryException(String, Throwable) - Constructor for exception org.bitcoinj.net.discovery.PeerDiscoveryException
- PeerDiscoveryException(Throwable) - Constructor for exception org.bitcoinj.net.discovery.PeerDiscoveryException
- PeerException - Exception in org.bitcoinj.core
-
Thrown when a problem occurs in communicating with a peer, and we should retry.
- PeerException(Exception) - Constructor for exception org.bitcoinj.core.PeerException
- PeerException(String) - Constructor for exception org.bitcoinj.core.PeerException
- PeerException(String, Exception) - Constructor for exception org.bitcoinj.core.PeerException
- PeerFilterProvider - Interface in org.bitcoinj.core
-
An interface which provides the information required to properly filter data downloaded from Peers.
- peerGroup() - Method in class org.bitcoinj.kits.WalletAppKit
- PeerGroup - Class in org.bitcoinj.core
-
Runs a set of connections to the P2P network, brings up connections to replace disconnected nodes and manages the interaction between them all.
- PeerGroup(Network) - Constructor for class org.bitcoinj.core.PeerGroup
-
Creates a PeerGroup for the given network.
- PeerGroup(Network, AbstractBlockChain) - Constructor for class org.bitcoinj.core.PeerGroup
-
Creates a PeerGroup for the given network and chain.
- PeerGroup(Network, AbstractBlockChain, ClientConnectionManager) - Constructor for class org.bitcoinj.core.PeerGroup
-
Create a PeerGroup for the given network, chain and connection manager.
- PeerGroup(Network, AbstractBlockChain, ClientConnectionManager, double) - Constructor for class org.bitcoinj.core.PeerGroup
-
Create a PeerGroup for the given network, chain and connection manager.
- PeerGroup(NetworkParameters) - Constructor for class org.bitcoinj.core.PeerGroup
-
Deprecated.
- PeerGroup(NetworkParameters, AbstractBlockChain) - Constructor for class org.bitcoinj.core.PeerGroup
-
Deprecated.
- PeerGroup(NetworkParameters, AbstractBlockChain, ClientConnectionManager, double) - Constructor for class org.bitcoinj.core.PeerGroup
-
Create a PeerGroup for the given network, chain and connection manager.
- PeerGroup.FilterRecalculateMode - Enum in org.bitcoinj.core
- PeerSocketHandler - Class in org.bitcoinj.core
-
Handles high-level message (de)serialization for peers, acting as the bridge between the
org.bitcoinj.net
classes andPeer
. - PeerSocketHandler(NetworkParameters, InetSocketAddress) - Constructor for class org.bitcoinj.core.PeerSocketHandler
- PeerSocketHandler(NetworkParameters, PeerAddress) - Constructor for class org.bitcoinj.core.PeerSocketHandler
- peersTransactionBroadastEventListeners - Variable in class org.bitcoinj.core.PeerGroup
- PENDING - org.bitcoinj.core.TransactionConfidence.ConfidenceType
-
If PENDING, then the transaction is unconfirmed and should be included shortly, as long as it is being announced and is considered valid by the network.
- PENDING - org.bitcoinj.wallet.WalletTransaction.Pool
- ping() - Method in class org.bitcoinj.core.Peer
-
Deprecated.Use
Peer.sendPing()
- Ping - Class in org.bitcoinj.core
-
See BIP31 for details.
- pingInterval() - Method in class org.bitcoinj.core.Peer
-
Returns a moving average of the last N ping/pong cycles.
- pkiVerificationData - Variable in class org.bitcoinj.protocols.payments.PaymentSession
-
Stores the calculated PKI verification data, or null if none is available.
- PkiVerificationException(Exception) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.PkiVerificationException
- PkiVerificationException(Exception, List<X509Certificate>) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.PkiVerificationException
- PkiVerificationException(String) - Constructor for exception org.bitcoinj.protocols.payments.PaymentProtocolException.PkiVerificationException
- PlatformUtils - Class in org.bitcoinj.base.internal
-
Utilities for determining platform information (OS and runtime)
- PlatformUtils() - Constructor for class org.bitcoinj.base.internal.PlatformUtils
- PlatformUtils.OS - Enum in org.bitcoinj.base.internal
- PlatformUtils.Runtime - Enum in org.bitcoinj.base.internal
- plus(Coin) - Method in class org.bitcoinj.base.Coin
-
Alias for add
- pong() - Method in class org.bitcoinj.core.Ping
-
Create a
Pong
reply to this ping. - Pong - Class in org.bitcoinj.core
-
See BIP31 for details.
- PONG - org.bitcoinj.core.ProtocolVersion
-
Deprecated.
- poolContainsTxHash(WalletTransaction.Pool, Sha256Hash) - Method in class org.bitcoinj.wallet.Wallet
- port - Variable in class org.bitcoinj.core.NetworkParameters
- position - Variable in exception org.bitcoinj.base.exceptions.AddressFormatException.InvalidCharacter
- positiveSign(char) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Set character to prefix positive values.
- postfixCode() - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Postfix formatted output with currency code.
- Preconditions - Class in org.bitcoinj.base.internal
- Preconditions() - Constructor for class org.bitcoinj.base.internal.Preconditions
- preferredOutputScriptType - Variable in class org.bitcoinj.kits.WalletAppKit
- prefixCode() - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Prefix formatted output by currency code.
- prefixCode(String, int) - Static method in class org.bitcoinj.utils.BtcFormat
-
END OF PARSING STUFF
- prefixSymbol(String, int) - Static method in class org.bitcoinj.utils.BtcFormat
- prefixUnitsIndicator(DecimalFormat, int) - Static method in class org.bitcoinj.utils.BtcFormat
-
Set both the currency symbol and code of the underlying, mutable NumberFormat object according to the given denominational units scale factor.
- PreMessageReceivedEventListener - Interface in org.bitcoinj.core.listeners
- prevTx - Variable in class org.bitcoinj.testing.FakeTxBuilder.DoubleSpends
- priv - Variable in class org.bitcoinj.crypto.ECKey
- processBlock(Block) - Method in class org.bitcoinj.core.Peer
- processGetData(GetDataMessage) - Method in class org.bitcoinj.core.Peer
- processHeaders(HeadersMessage) - Method in class org.bitcoinj.core.Peer
- processInv(InventoryMessage) - Method in class org.bitcoinj.core.Peer
- processMessage(Message) - Method in class org.bitcoinj.core.Peer
- processMessage(Message) - Method in class org.bitcoinj.core.PeerSocketHandler
-
Called every time a message is received from the network
- processNotFoundMessage(NotFoundMessage) - Method in class org.bitcoinj.core.Peer
- processPong(Pong) - Method in class org.bitcoinj.core.Peer
- processTransaction(Transaction) - Method in class org.bitcoinj.core.Peer
- program() - Method in class org.bitcoinj.script.Script
-
Gets the serialized program as a newly created byte array.
- progress(double, int, Instant) - Method in class org.bitcoinj.core.listeners.DownloadProgressTracker
-
Called when download progress is made.
- propagate(Context) - Static method in class org.bitcoinj.core.Context
-
Sets the given context as the current thread context.
- ProposedTransaction(Transaction) - Constructor for class org.bitcoinj.signers.TransactionSigner.ProposedTransaction
- ProtocolException - Exception in org.bitcoinj.core
- ProtocolException() - Constructor for exception org.bitcoinj.core.ProtocolException
- ProtocolException(Exception) - Constructor for exception org.bitcoinj.core.ProtocolException
- ProtocolException(String) - Constructor for exception org.bitcoinj.core.ProtocolException
- ProtocolException(String, Exception) - Constructor for exception org.bitcoinj.core.ProtocolException
- protocolIdFromParams(NetworkParameters) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
- ProtocolVersion - Enum in org.bitcoinj.core
-
Define important versions of the Bitcoin Protocol
- provideTransaction(Transaction) - Method in class org.bitcoinj.core.FilteredBlock
-
Provide this FilteredBlock with a transaction which is in its Merkle tree.
- provideWalletExtensions() - Method in class org.bitcoinj.kits.WalletAppKit
-
Override this to return wallet extensions if any are necessary.
- PrunedException - Exception in org.bitcoinj.core
-
PrunedException is thrown in cases where a fully verifying node has deleted (pruned) old block data that turned out to be necessary for handling a re-org.
- PrunedException(Sha256Hash) - Constructor for exception org.bitcoinj.core.PrunedException
- ptr - Variable in class org.bitcoinj.jni.NativeBlockChainListener
-
Deprecated.
- ptr - Variable in class org.bitcoinj.jni.NativeFutureCallback
-
Deprecated.
- ptr - Variable in class org.bitcoinj.jni.NativeKeyChainEventListener
-
Deprecated.
- ptr - Variable in class org.bitcoinj.jni.NativeScriptsChangeEventListener
-
Deprecated.
- ptr - Variable in class org.bitcoinj.jni.NativeTransactionConfidenceEventListener
-
Deprecated.
- ptr - Variable in class org.bitcoinj.jni.NativeTransactionConfidenceListener
-
Deprecated.
- ptr - Variable in class org.bitcoinj.jni.NativeWalletChangeEventListener
-
Deprecated.
- ptr - Variable in class org.bitcoinj.jni.NativeWalletCoinsReceivedEventListener
-
Deprecated.
- ptr - Variable in class org.bitcoinj.jni.NativeWalletCoinsSentEventListener
-
Deprecated.
- ptr - Variable in class org.bitcoinj.jni.NativeWalletReorganizeEventListener
-
Deprecated.
- pub - Variable in class org.bitcoinj.crypto.ECKey
- pubKey - Variable in class org.bitcoinj.signers.CustomTransactionSigner.SignatureAndKey
- PUBKEY_COMPARATOR - Static variable in class org.bitcoinj.crypto.ECKey
-
Compares by extracting pub key as a
byte[]
and using a lexicographic comparator - publicKeyFromPrivate(BigInteger, boolean) - Static method in class org.bitcoinj.crypto.ECKey
-
Returns public key bytes from the given private key.
- publicPointFromPrivate(BigInteger) - Static method in class org.bitcoinj.crypto.ECKey
-
Returns public key point from the given private key.
- PublicPrivateMismatch(String) - Constructor for exception org.bitcoinj.crypto.KeyCrypterException.PublicPrivateMismatch
- PublicPrivateMismatch(String, Throwable) - Constructor for exception org.bitcoinj.crypto.KeyCrypterException.PublicPrivateMismatch
- purpose(ScriptType) - Static method in interface org.bitcoinj.wallet.KeyChainGroupStructure
-
Return the (root) path containing "purpose" for the specified scriptType
- PURPOSE_BIP44 - Static variable in class org.bitcoinj.crypto.ChildNumber
- PURPOSE_BIP49 - Static variable in class org.bitcoinj.crypto.ChildNumber
- PURPOSE_BIP84 - Static variable in class org.bitcoinj.crypto.ChildNumber
- PURPOSE_BIP86 - Static variable in class org.bitcoinj.crypto.ChildNumber
- put(StoredBlock) - Method in interface org.bitcoinj.store.BlockStore
-
Saves the given block header+extra data.
- put(StoredBlock) - Method in class org.bitcoinj.store.MemoryBlockStore
- put(StoredBlock) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- put(StoredBlock) - Method in class org.bitcoinj.store.SPVBlockStore
- put(StoredBlock, StoredUndoableBlock) - Method in interface org.bitcoinj.store.FullPrunedBlockStore
-
Saves the given
StoredUndoableBlock
andStoredBlock
. - put(StoredBlock, StoredUndoableBlock) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- putKey(DeterministicKey) - Method in class org.bitcoinj.crypto.DeterministicHierarchy
-
Inserts a key into the hierarchy.
- putKeys(List<DeterministicKey>) - Method in class org.bitcoinj.crypto.DeterministicHierarchy
-
Inserts a list of keys into the hierarchy
Q
- queueListeners(TransactionConfidence.Listener.ChangeReason) - Method in class org.bitcoinj.core.TransactionConfidence
-
Call this after adjusting the confidence, for cases where listeners should be notified.
- queueOnCoinsReceived(Transaction, Coin, Coin) - Method in class org.bitcoinj.wallet.Wallet
- queueOnCoinsSent(Transaction, Coin, Coin) - Method in class org.bitcoinj.wallet.Wallet
- queueOnReorganize() - Method in class org.bitcoinj.wallet.Wallet
- queueOnScriptsChanged(List<Script>, boolean) - Method in class org.bitcoinj.wallet.Wallet
R
- r - Variable in class org.bitcoinj.crypto.ECKey.ECDSASignature
-
The two components of the signature.
- RAISE_FEE - org.bitcoinj.core.Transaction.Purpose
-
Raise fee, e.g.
- random - Static variable in class org.bitcoinj.core.TransactionBroadcast
-
Used for shuffling the peers before broadcast: unit tests can replace this to make themselves deterministic.
- random - Variable in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- random() - Static method in class org.bitcoinj.core.Ping
-
Create a ping with a random nonce value.
- random(SecureRandom) - Method in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
-
Generates a new key chain with 128 bits of entropy selected randomly from the given
SecureRandom
object. - random(SecureRandom, int) - Method in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
-
Generates a new key chain with entropy selected randomly from the given
SecureRandom
object and of the requested size in bits. - randomAccessFile - Variable in class org.bitcoinj.store.SPVBlockStore
- randomSalt() - Static method in class org.bitcoinj.crypto.KeyCrypterScrypt
-
Returns SALT_LENGTH (8) bytes of random data
- RawKeyBytes(byte[], byte[]) - Constructor for class org.bitcoinj.crypto.HDKeyDerivation.RawKeyBytes
- rawValue() - Method in class org.bitcoinj.core.LockTime
-
Gets the raw value as used in the Bitcoin protocol
- read(ByteBuffer) - Static method in class org.bitcoinj.base.Coin
-
Read a Coin amount from the given buffer as 8 bytes in little-endian order.
- read(ByteBuffer) - Static method in class org.bitcoinj.base.Sha256Hash
-
Create a new instance by reading from the given buffer.
- read(ByteBuffer) - Static method in class org.bitcoinj.base.VarInt
-
Constructs a new VarInt by reading from the given buffer.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.AddressV1Message
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.AddressV2Message
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.Block
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.BloomFilter
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.FeeFilterMessage
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.FilteredBlock
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.GetBlocksMessage
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.GetDataMessage
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.GetHeadersMessage
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.HeadersMessage
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.InventoryMessage
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.NotFoundMessage
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.PartialMerkleTree
-
Deserialize a partial merkle tree from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.Ping
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.Pong
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.RejectMessage
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.Services
-
Construct a services bitfield by reading from the given buffer.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.Transaction
-
Deserialize this message from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.TransactionOutPoint
-
Deserialize this transaction outpoint from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.TransactionWitness
-
Deserialize this transaction witness from a given payload.
- read(ByteBuffer) - Static method in class org.bitcoinj.core.VersionMessage
-
Deserialize this message from a given payload.
- read(ByteBuffer, int) - Static method in class org.bitcoinj.core.PeerAddress
-
Deserialize this peer address from a given payload, using a given protocol variant.
- read(ByteBuffer, int) - Static method in class org.bitcoinj.core.Transaction
-
Deserialize this message from a given payload, according to BIP144 or the classic format, depending on if the transaction is segwit or not.
- read(ByteBuffer, Transaction) - Static method in class org.bitcoinj.core.TransactionInput
-
Deserialize this transaction input from a given payload.
- read(ByteBuffer, Transaction) - Static method in class org.bitcoinj.core.TransactionOutput
-
Deserialize this transaction output from a given payload.
- readAddresses(ByteBuffer, int) - Static method in class org.bitcoinj.core.AddressMessage
- readBytes(ByteBuffer, int) - Static method in class org.bitcoinj.base.internal.Buffers
-
Read given number of bytes from the buffer.
- readInt32(ByteBuffer) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 4 bytes from the byte array (starting at the offset) as signed 32-bit integer in little endian format.
- readInt64(byte[], int) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 8 bytes from the byte array (starting at the offset) as signed 64-bit integer in little endian format.
- readInt64(ByteBuffer) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 8 bytes from the buffer as signed 64-bit integer in little endian format.
- readItems(ByteBuffer) - Static method in class org.bitcoinj.core.ListMessage
- readLengthPrefixedBytes(ByteBuffer) - Static method in class org.bitcoinj.base.internal.Buffers
-
First read a
VarInt
from the buffer and use it to determine the number of bytes to be read. - readLengthPrefixedString(ByteBuffer) - Static method in class org.bitcoinj.base.internal.Buffers
-
First read a
VarInt
from the buffer and use it to determine the number of bytes to read. - readUint16(byte[], int) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 2 bytes from the byte array (starting at the offset) as unsigned 16-bit integer in little endian format.
- readUint16(InputStream) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 2 bytes from the stream as unsigned 16-bit integer in little endian format.
- readUint16(ByteBuffer) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 2 bytes from the buffer as unsigned 16-bit integer in little endian format.
- readUint16BE(byte[], int) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 2 bytes from the byte array (starting at the offset) as unsigned 16-bit integer in big endian format.
- readUint16BE(ByteBuffer) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 2 bytes from the buffer as unsigned 16-bit integer in big endian format.
- readUint32(byte[], int) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 4 bytes from the byte array (starting at the offset) as unsigned 32-bit integer in little endian format.
- readUint32(InputStream) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 4 bytes from the stream as unsigned 32-bit integer in little endian format.
- readUint32(ByteBuffer) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 4 bytes from the buffer as unsigned 32-bit integer in little endian format.
- readUint32BE(byte[], int) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 4 bytes from the byte array (starting at the offset) as unsigned 32-bit integer in big endian format.
- readUint32BE(ByteBuffer) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Read 4 bytes from the buffer as unsigned 32-bit integer in big endian format.
- readWallet(InputStream, boolean, WalletExtension[]) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
-
Loads wallet data from the given protocol buffer and inserts it into the given Wallet object.
- readWallet(InputStream, WalletExtension...) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
-
Loads wallet data from the given protocol buffer and inserts it into the given Wallet object.
- readWallet(Network, WalletExtension[], Protos.Wallet) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
-
Loads wallet data from the given protocol buffer and inserts it into the given Wallet object.
- readWallet(Network, WalletExtension[], Protos.Wallet, boolean) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
-
Loads wallet data from the given protocol buffer and inserts it into the given Wallet object.
- readWallet(NetworkParameters, WalletExtension[], Protos.Wallet) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
- readWallet(NetworkParameters, WalletExtension[], Protos.Wallet, boolean) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
- reason() - Method in class org.bitcoinj.core.RejectMessage
-
The reason message given for rejection.
- recalculateFastCatchupAndFilter(PeerGroup.FilterRecalculateMode) - Method in class org.bitcoinj.core.PeerGroup
-
Recalculates the bloom filter given to peers as well as the timestamp after which full blocks are downloaded (instead of only headers).
- RECEIVE_FUNDS - org.bitcoinj.wallet.KeyChain.KeyPurpose
- receiveBytes(ByteBuffer) - Method in class org.bitcoinj.core.PeerSocketHandler
- receiveBytes(ByteBuffer) - Method in interface org.bitcoinj.net.StreamConnection
-
Called when new bytes are available from the remote end.
- receiveFromBlock(Transaction, StoredBlock, AbstractBlockChain.NewBlockType, int) - Method in interface org.bitcoinj.core.listeners.TransactionReceivedInBlockListener
-
Called by the
BlockChain
when we receive a new block that contains a relevant transaction. - receiveFromBlock(Transaction, StoredBlock, AbstractBlockChain.NewBlockType, int) - Method in class org.bitcoinj.jni.NativeBlockChainListener
-
Deprecated.
- receiveFromBlock(Transaction, StoredBlock, AbstractBlockChain.NewBlockType, int) - Method in class org.bitcoinj.wallet.Wallet
-
Called by the
BlockChain
when we receive a new block that sends coins to one of our addresses or spends coins from one of our addresses (note that a single transaction can do both). - receivePending(Transaction, List<Transaction>) - Method in class org.bitcoinj.wallet.Wallet
-
Called when we have found a transaction (via network broadcast or otherwise) that is relevant to this wallet and want to record it.
- receivePending(Transaction, List<Transaction>, boolean) - Method in class org.bitcoinj.wallet.Wallet
-
Called when we have found a transaction (via network broadcast or otherwise) that is relevant to this wallet and want to record it.
- receivingAddr - Variable in class org.bitcoinj.core.VersionMessage
-
The network address of the receiving node as perceived by the transmitting node
- receivingServices - Variable in class org.bitcoinj.core.VersionMessage
-
The services supported by the receiving node as perceived by the transmitting node.
- recipientsPayFees - Variable in class org.bitcoinj.wallet.SendRequest
-
If false (default value), tx fee is paid by the sender If true, tx fee is paid by the recipient/s.
- recoverFromSignature(int, ECKey.ECDSASignature, Sha256Hash, boolean) - Static method in class org.bitcoinj.crypto.ECKey
-
Given the components of a signature and a selector value, recover and return the public key that generated the signature according to the algorithm in SEC1v2 section 4.1.6.
- RedeemData - Class in org.bitcoinj.wallet
-
This class aggregates data required to spend transaction output.
- redeemP2WPKH(TransactionSignature, ECKey) - Static method in class org.bitcoinj.core.TransactionWitness
-
Creates the stack pushes necessary to redeem a P2WPKH output.
- redeemP2WSH(Script, TransactionSignature...) - Static method in class org.bitcoinj.core.TransactionWitness
-
Creates the stack pushes necessary to redeem a P2WSH output.
- redeemScript - Variable in class org.bitcoinj.wallet.RedeemData
- REFERENCE_DEFAULT_MIN_TX_FEE - Static variable in class org.bitcoinj.core.Transaction
-
If feePerKb is lower than this, Bitcoin Core will treat it as if there were no fee.
- REFUND - org.bitcoinj.wallet.KeyChain.KeyPurpose
- register(Collection<NetworkParameters>) - Static method in class org.bitcoinj.params.Networks
-
Register a collection of additional network types by adding them to the
Set
. - register(NetworkParameters) - Static method in class org.bitcoinj.params.Networks
-
Register a single network type by adding it to the
Set
. - REGTEST - org.bitcoinj.base.BitcoinNetwork
-
A local Bitcoin regression test network, known as
"regtest"
, withid
string"org.bitcoin.regtest"
- RegTestParams - Class in org.bitcoinj.params
-
Network parameters for the regression test mode of bitcoind in which all blocks are trivially solvable.
- RegTestParams() - Constructor for class org.bitcoinj.params.RegTestParams
- REGULAR - org.bitcoinj.wallet.BasicKeyChain.State
- rejectedMessage() - Method in class org.bitcoinj.core.RejectMessage
-
Provides the type of message which was rejected by the peer.
- rejectedMessageHash() - Method in class org.bitcoinj.core.RejectMessage
-
Provides the hash of the rejected object (if getRejectedMessage() is either "tx" or "block"), otherwise null.
- RejectedTransactionException - Exception in org.bitcoinj.core
-
This exception is used by the TransactionBroadcast class to indicate that a broadcast Transaction has been rejected by the network, for example because it violates a protocol rule.
- RejectedTransactionException(Transaction, RejectMessage) - Constructor for exception org.bitcoinj.core.RejectedTransactionException
- RejectMessage - Class in org.bitcoinj.core
-
A message sent by nodes when a message we sent was rejected (ie a transaction had too little fee/was invalid/etc).
- RejectMessage(RejectMessage.RejectCode, Sha256Hash, String, String) - Constructor for class org.bitcoinj.core.RejectMessage
-
Constructs a reject message that fingers the object with the given hash as rejected for the given reason.
- RejectMessage.RejectCode - Enum in org.bitcoinj.core
- relayTxesBeforeFilter - Variable in class org.bitcoinj.core.VersionMessage
-
Whether or not to relay tx invs before a filter is received.
- remove() - Method in class org.bitcoinj.utils.BlockFileLoader.BlockFileIterator
- removeAddress(int) - Method in class org.bitcoinj.core.AddressMessage
- removeAddressEventListener(AddressEventListener) - Method in class org.bitcoinj.core.Peer
- removeAllInstancesOf(byte[], byte[]) - Static method in class org.bitcoinj.script.Script
-
Returns the script bytes of inputScript with all instances of the specified script object removed
- removeAllInstancesOfOp(byte[], int) - Static method in class org.bitcoinj.script.Script
-
Returns the script bytes of inputScript with all instances of the given op code removed
- removeBlocksDownloadedEventListener(BlocksDownloadedEventListener) - Method in class org.bitcoinj.core.Peer
- removeBlocksDownloadedEventListener(BlocksDownloadedEventListener) - Method in class org.bitcoinj.core.PeerGroup
- removeChainDownloadStartedEventListener(ChainDownloadStartedEventListener) - Method in class org.bitcoinj.core.Peer
- removeChainDownloadStartedEventListener(ChainDownloadStartedEventListener) - Method in class org.bitcoinj.core.PeerGroup
- removeChangeEventListener(WalletChangeEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Removes the given event listener object.
- removeCoinsReceivedEventListener(WalletCoinsReceivedEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Removes the given event listener object.
- removeCoinsSentEventListener(WalletCoinsSentEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Removes the given event listener object.
- removeConnectedEventListener(PeerConnectedEventListener) - Method in class org.bitcoinj.core.Peer
- removeConnectedEventListener(PeerConnectedEventListener) - Method in class org.bitcoinj.core.PeerGroup
-
The given event listener will no longer be called with events.
- removeCurrentKeyChangeEventListener(CurrentKeyChangeEventListener) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Removes a listener for events that are run when a current key and/or address changes.
- removeCurrentKeyChangeEventListener(CurrentKeyChangeEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Removes the given event listener object.
- removeDisconnectedEventListener(PeerDisconnectedEventListener) - Method in class org.bitcoinj.core.Peer
- removeDisconnectedEventListener(PeerDisconnectedEventListener) - Method in class org.bitcoinj.core.PeerGroup
-
The given event listener will no longer be called with events.
- removeDiscoveredEventListener(PeerDiscoveredEventListener) - Method in class org.bitcoinj.core.PeerGroup
-
The given event listener will no longer be called with events.
- removeEventListener(TransactionConfidence.Listener) - Method in class org.bitcoinj.core.TransactionConfidence
- removeEventListener(KeyChainEventListener) - Method in class org.bitcoinj.wallet.BasicKeyChain
- removeEventListener(KeyChainEventListener) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- removeEventListener(KeyChainEventListener) - Method in interface org.bitcoinj.wallet.KeyChain
-
Removes a listener for events that are run when keys are added.
- removeEventListener(KeyChainEventListener) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Removes a listener for events that are run when keys are added.
- removeFromList(T, List<? extends ListenerRegistration<T>>) - Static method in class org.bitcoinj.utils.ListenerRegistration
-
Remove wrapped listener
- removeGetDataEventListener(GetDataEventListener) - Method in class org.bitcoinj.core.Peer
- removeGetDataEventListener(GetDataEventListener) - Method in class org.bitcoinj.core.PeerGroup
-
The given event listener will no longer be called with events.
- removeImportedKey(ECKey) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Removes a key that was imported into the basic key chain.
- removeItem(int) - Method in class org.bitcoinj.core.ListMessage
-
Deprecated.
- removeKey(ECKey) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Removes the given key from the keychain.
- removeKey(ECKey) - Method in class org.bitcoinj.wallet.Wallet
-
Removes the given key from the basicKeyChain.
- removeKeyChainEventListener(KeyChainEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Removes the given event listener object.
- removeNewBestBlockListener(NewBestBlockListener) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Removes the given
NewBestBlockListener
from the chain. - removeOnTransactionBroadcastListener(OnTransactionBroadcastListener) - Method in class org.bitcoinj.core.Peer
- removeOnTransactionBroadcastListener(OnTransactionBroadcastListener) - Method in class org.bitcoinj.core.PeerGroup
-
The given event listener will no longer be called with events.
- removePeerFilterProvider(PeerFilterProvider) - Method in class org.bitcoinj.core.PeerGroup
-
Opposite of
PeerGroup.addPeerFilterProvider(PeerFilterProvider)
. - removePreMessageReceivedEventListener(PreMessageReceivedEventListener) - Method in class org.bitcoinj.core.Peer
- removePreMessageReceivedEventListener(PreMessageReceivedEventListener) - Method in class org.bitcoinj.core.PeerGroup
- removeReorganizeEventListener(WalletReorganizeEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Removes the given event listener object.
- removeReorganizeListener(ReorganizeListener) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Removes the given
ReorganizeListener
from the chain. - removeScriptsChangeEventListener(ScriptsChangeEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Removes the given event listener object.
- removeTransactionConfidenceEventListener(TransactionConfidenceEventListener) - Method in class org.bitcoinj.wallet.Wallet
-
Removes the given event listener object.
- removeTransactionReceivedListener(TransactionReceivedInBlockListener) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Removes the given
TransactionReceivedInBlockListener
from the chain. - removeUnspentTransactionOutput(UTXO) - Method in interface org.bitcoinj.store.FullPrunedBlockStore
-
Removes a
UTXO
from the list of unspent TransactionOutputs Note that the coinbase of the genesis block should NEVER be spendable and thus never in the list. - removeUnspentTransactionOutput(UTXO) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- removeWallet(Wallet) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Remove a wallet from the chain.
- removeWallet(Wallet) - Method in class org.bitcoinj.core.Peer
-
Unlinks the given wallet from peer.
- removeWallet(Wallet) - Method in class org.bitcoinj.core.PeerGroup
-
Unlinks the given wallet so it no longer receives broadcast transactions or has its transactions announced.
- removeWatchedAddress(Address) - Method in class org.bitcoinj.wallet.Wallet
-
Removes the given output scripts from the wallet that were being watched.
- removeWatchedAddresses(List<Address>) - Method in class org.bitcoinj.wallet.Wallet
-
Removes the given output scripts from the wallet that were being watched.
- removeWatchedScripts(List<Script>) - Method in class org.bitcoinj.wallet.Wallet
-
Removes the given output scripts from the wallet that were being watched.
- reorganize(StoredBlock, List<StoredBlock>, List<StoredBlock>) - Method in interface org.bitcoinj.core.listeners.ReorganizeListener
-
Called by the
BlockChain
when the best chain (representing total work done) has changed. - reorganize(StoredBlock, List<StoredBlock>, List<StoredBlock>) - Method in class org.bitcoinj.jni.NativeBlockChainListener
-
Deprecated.
- reorganize(StoredBlock, List<StoredBlock>, List<StoredBlock>) - Method in class org.bitcoinj.wallet.Wallet
-
Don't call this directly.
- ReorganizeListener - Interface in org.bitcoinj.core.listeners
-
Listener interface for when the best chain has changed.
- REPEATING_DOUBLETS - Static variable in class org.bitcoinj.utils.BtcFixedFormat
-
A constant specifying the use of as many optional groups of two decimal places in the fraction part of a formatted number as are useful for expressing precision.
- REPEATING_PLACES - Static variable in class org.bitcoinj.utils.BtcFixedFormat
-
A constant specifying the use of as many optional decimal places in the fraction part of a formatted number as are useful for expressing precision.
- REPEATING_TRIPLETS - Static variable in class org.bitcoinj.utils.BtcFixedFormat
-
A constant specifying the use of as many optional groups of three decimal places in the fraction part of a formatted number as are useful for expressing precision.
- repeatOptionalDecimals(int, int) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Set repeated additional groups of decimals to use after the minimum decimals, if they are useful for expressing precision.
- RequiredFieldValidationException - Exception in org.bitcoinj.uri
-
Exception to provide the following to
BitcoinURI
: - RequiredFieldValidationException(String) - Constructor for exception org.bitcoinj.uri.RequiredFieldValidationException
- RequiredFieldValidationException(String, Throwable) - Constructor for exception org.bitcoinj.uri.RequiredFieldValidationException
- reset() - Method in class org.bitcoinj.wallet.Wallet
-
Prepares the wallet for a blockchain replay.
- resetFalsePositiveEstimate() - Method in class org.bitcoinj.core.AbstractBlockChain
-
Resets estimates of false positives.
- resetTimeout() - Method in class org.bitcoinj.net.AbstractTimeoutHandler
-
Deprecated.Resets the current progress towards timeout to 0.
- restoreFromKey - Variable in class org.bitcoinj.kits.WalletAppKit
- restoreFromSeed - Variable in class org.bitcoinj.kits.WalletAppKit
- restoreWalletFromKey(DeterministicKey) - Method in class org.bitcoinj.kits.WalletAppKit
-
If an account key is set here then any existing wallet that matches the file name will be renamed to a backup name, the chain file will be deleted, and the wallet object will be instantiated with the given key instead of a fresh seed being created.
- restoreWalletFromSeed(DeterministicSeed) - Method in class org.bitcoinj.kits.WalletAppKit
-
If a seed is set here then any existing wallet that matches the file name will be renamed to a backup name, the chain file will be deleted, and the wallet object will be instantiated with the given seed instead of a fresh one being created.
- Result() - Constructor for class org.bitcoinj.net.FilterMerger.Result
- retryTime() - Method in class org.bitcoinj.utils.ExponentialBackoff
-
Get the next time to retry
- reverseBytes(byte[]) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Returns a copy of the given byte array in reverse order.
- REWARD_HALVING_INTERVAL - Static variable in class org.bitcoinj.params.BitcoinNetworkParams
-
Block reward halving interval (number of blocks)
- RiskAnalysis - Interface in org.bitcoinj.wallet
-
A RiskAnalysis represents an analysis of how likely it is that a transaction (and its dependencies) represents a possible double spending attack.
- RiskAnalysis.Analyzer - Interface in org.bitcoinj.wallet
- RiskAnalysis.Result - Enum in org.bitcoinj.wallet
- rollbackBlockStore(int) - Method in class org.bitcoinj.core.AbstractBlockChain
-
Rollback the block store to a given height.
- rollbackBlockStore(int) - Method in class org.bitcoinj.core.BlockChain
- rollbackBlockStore(int) - Method in class org.bitcoinj.core.FullPrunedBlockChain
- rollMockClock(Duration) - Static method in class org.bitcoinj.base.internal.TimeUtils
-
Rolls an already set mock clock by the given duration.
- rootAuthority - Variable in class org.bitcoinj.protocols.payments.PaymentProtocol.PkiVerificationData
-
Object representing the CA that verified the merchant's ID
- rootAuthorityName - Variable in class org.bitcoinj.protocols.payments.PaymentProtocol.PkiVerificationData
-
String representing the display name of the CA that verified the merchant's ID
- roundingMode(RoundingMode) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Set rounding mode to use when it becomes necessary.
- roundTripTransaction(Transaction) - Static method in class org.bitcoinj.testing.FakeTxBuilder
-
Roundtrip a transaction so that it appears as if it has just come from the wire
- run() - Method in class org.bitcoinj.net.NioClientManager
- run() - Method in class org.bitcoinj.net.NioServer
- run() - Method in class org.bitcoinj.utils.Threading.UserThread
- runReadLoop(InputStream, StreamConnection) - Static method in class org.bitcoinj.net.BlockingClient
-
A blocking call that never returns, except by throwing an exception.
- runtime - Static variable in class org.bitcoinj.base.internal.PlatformUtils
S
- s - Variable in class org.bitcoinj.crypto.ECKey.ECDSASignature
-
The two components of the signature.
- SALT_LENGTH - Static variable in class org.bitcoinj.crypto.KeyCrypterScrypt
-
The length of the salt used.
- SAME_THREAD - Static variable in class org.bitcoinj.utils.Threading
-
A dummy executor that just invokes the runnable immediately.
- SAT - Static variable in class org.bitcoinj.base.utils.MonetaryFormat
-
Standard format for the satoshi denomination.
- SATOSHI - Static variable in class org.bitcoinj.base.Coin
-
A satoshi is the smallest unit that can be transferred.
- satoshiToBtc(long) - Static method in class org.bitcoinj.base.Coin
-
Convert an amount in satoshis to an amount in BTC.
- saveLater() - Method in class org.bitcoinj.wallet.Wallet
-
Requests an asynchronous save on a background thread
- saveLater() - Method in class org.bitcoinj.wallet.WalletFiles
-
Queues up a save in the background.
- saveNow() - Method in class org.bitcoinj.wallet.Wallet
-
If auto saving is enabled, do an immediate sync write to disk ignoring any delays.
- saveNow() - Method in class org.bitcoinj.wallet.WalletFiles
-
Actually write the wallet file to disk, using an atomic rename when possible.
- saveToFile(File) - Method in class org.bitcoinj.wallet.Wallet
-
Uses protobuf serialization to save the wallet to the given file.
- saveToFile(File, File) - Method in class org.bitcoinj.wallet.Wallet
-
Saves the wallet first to the given temporary file, then renames to the destination file.
- saveToFileStream(OutputStream) - Method in class org.bitcoinj.wallet.Wallet
-
Uses protobuf serialization to save the wallet to the given file stream.
- scale() - Method in class org.bitcoinj.utils.BtcAutoFormat
-
Returns the
int
value indicating coin denomination. - scale() - Method in class org.bitcoinj.utils.BtcFixedFormat
-
Return the decimal-place shift for this object's fixed unit-denomination.
- scale() - Method in class org.bitcoinj.utils.BtcFormat
-
Return the denomination of this object.
- scale(int) - Method in class org.bitcoinj.utils.BtcFormat.Builder
-
Specify a fixed-denomination of units to use when formatting and parsing values.
- scale(BigInteger, int) - Method in class org.bitcoinj.utils.BtcAutoFormat
-
Calculate the appropriate denomination for the given Bitcoin monetary value.
- scale(BigInteger, int) - Method in class org.bitcoinj.utils.BtcFixedFormat
-
Return the decimal-place shift for this object's unit-denomination.
- scale(BigInteger, int) - Method in class org.bitcoinj.utils.BtcFormat
-
Return the denomination for formatting the given value.
- scaleX(ECFieldElement) - Method in class org.bitcoinj.crypto.LazyECPoint
- scaleY(ECFieldElement) - Method in class org.bitcoinj.crypto.LazyECPoint
- Script - Class in org.bitcoinj.script
-
Programs embedded inside transactions that control redemption of payments.
- SCRIPT_ERR_BAD_OPCODE - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_CHECKMULTISIGVERIFY - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_CHECKSIGVERIFY - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_CLEANSTACK - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_DISABLED_OPCODE - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_EQUALVERIFY - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_ERROR_COUNT - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_EVAL_FALSE - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_INVALID_ALTSTACK_OPERATION - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_INVALID_STACK_OPERATION - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_MINIMALDATA - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_MINIMALIF - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_NEGATIVE_LOCKTIME - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_NUMEQUALVERIFY - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_OK - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_OP_COUNT - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_OP_RETURN - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_PUBKEY_COUNT - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_PUBKEYTYPE - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_PUSH_SIZE - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_SCRIPT_SIZE - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_SIG_COUNT - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_SIG_DER - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_SIG_HASHTYPE - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_SIG_HIGH_S - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_SIG_NULLDUMMY - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_SIG_NULLFAIL - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_SIG_PUSHONLY - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_STACK_SIZE - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_UNBALANCED_CONDITIONAL - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_UNKNOWN_ERROR - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_UNSATISFIED_LOCKTIME - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_VERIFY - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_WITNESS_MALLEATED - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_WITNESS_MALLEATED_P2SH - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_WITNESS_PROGRAM_MISMATCH - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_WITNESS_PROGRAM_WITNESS_EMPTY - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_WITNESS_PROGRAM_WRONG_LENGTH - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_WITNESS_PUBKEYTYPE - org.bitcoinj.script.ScriptError
- SCRIPT_ERR_WITNESS_UNEXPECTED - org.bitcoinj.script.ScriptError
- Script.VerifyFlag - Enum in org.bitcoinj.script
- ScriptBuilder - Class in org.bitcoinj.script
-
Tools for the construction of commonly used script types.
- ScriptBuilder() - Constructor for class org.bitcoinj.script.ScriptBuilder
-
Creates a fresh ScriptBuilder with an empty program.
- ScriptBuilder(Script) - Constructor for class org.bitcoinj.script.ScriptBuilder
-
Creates a fresh ScriptBuilder with the given program as the starting point.
- ScriptChunk - Class in org.bitcoinj.script
-
A script element that is either a data push (signature, pubkey, etc) or a non-push (logic, numeric, etc) operation.
- ScriptChunk(int, byte[]) - Constructor for class org.bitcoinj.script.ScriptChunk
- scriptData - Variable in class org.bitcoinj.protocols.payments.PaymentProtocol.Output
- ScriptError - Enum in org.bitcoinj.script
- ScriptException - Exception in org.bitcoinj.script
- ScriptException(ScriptError, String) - Constructor for exception org.bitcoinj.script.ScriptException
- ScriptException(ScriptError, String, Exception) - Constructor for exception org.bitcoinj.script.ScriptException
- ScriptOpCodes - Class in org.bitcoinj.script
-
Various constants that define the assembly-like scripting language that forms part of the Bitcoin protocol.
- ScriptOpCodes() - Constructor for class org.bitcoinj.script.ScriptOpCodes
- ScriptPattern - Class in org.bitcoinj.script
-
This is a Script pattern matcher with some typical script patterns
- ScriptPattern() - Constructor for class org.bitcoinj.script.ScriptPattern
- ScriptsChangeEventListener - Interface in org.bitcoinj.wallet.listeners
-
Implementors are called when the contents of the wallet changes, for instance due to receiving/sending money or a block chain re-organize.
- ScriptType - Enum in org.bitcoinj.base
-
Supported Bitcoin script types and their script identifier strings.
- seed - Variable in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- seed(DeterministicSeed) - Method in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
-
Creates a deterministic key chain starting from the given seed.
- SeedPeers - Class in org.bitcoinj.net.discovery
-
SeedPeers stores a pre-determined list of Bitcoin node addresses.
- SeedPeers(int[], NetworkParameters) - Constructor for class org.bitcoinj.net.discovery.SeedPeers
-
Deprecated.
- SeedPeers(InetSocketAddress[]) - Constructor for class org.bitcoinj.net.discovery.SeedPeers
-
Supports finding peers by IP addresses/ports
- SeedPeers(NetworkParameters) - Constructor for class org.bitcoinj.net.discovery.SeedPeers
-
Deprecated.
- seeds - Variable in class org.bitcoinj.net.discovery.MultiplexingDiscovery
- seekPastMagicBytes(ByteBuffer) - Method in class org.bitcoinj.core.BitcoinSerializer
- seekPastMagicBytes(ByteBuffer) - Method in class org.bitcoinj.core.MessageSerializer
- seen(Sha256Hash, PeerAddress) - Method in class org.bitcoinj.core.TxConfidenceTable
-
Called by peers when they see a transaction advertised in an "inv" message.
- SEEN_PEERS - org.bitcoinj.core.TransactionConfidence.Listener.ChangeReason
-
Occurs when a pending transaction (not in the chain) was announced by another connected peers.
- SegwitAddress - Class in org.bitcoinj.base
-
Implementation of native segwit addresses.
- SegwitAddress.SegwitHrp - Enum in org.bitcoinj.base
-
Human-readable part (HRP) of Segwit addresses for standard Bitcoin networks.
- segwitAddressHrp - Variable in class org.bitcoinj.core.NetworkParameters
- segwitAddressHrp() - Method in enum org.bitcoinj.base.BitcoinNetwork
-
Return the standard Bech32
SegwitAddress.SegwitHrp
(as aString
) for this network. - segwitAddressHrp() - Method in interface org.bitcoinj.base.Network
-
Human-readable part (HRP) of bech32 encoded segwit addresses for this network.
- segwitAddressHrp() - Method in class org.bitcoinj.testing.MockAltNetwork
- select(Coin, List<TransactionOutput>) - Method in interface org.bitcoinj.wallet.CoinSelector
-
Creates a CoinSelection that tries to meet the target amount of value.
- select(Coin, List<TransactionOutput>) - Method in class org.bitcoinj.wallet.DefaultCoinSelector
- select(Coin, List<TransactionOutput>) - Method in class org.bitcoinj.wallet.FilteringCoinSelector
- select(Coin, List<TransactionOutput>) - Method in class org.bitcoinj.wallet.KeyTimeCoinSelector
- selectDownloadPeer(List<Peer>) - Method in class org.bitcoinj.core.PeerGroup
-
Given a list of Peers, return a Peer to be used as the download peer.
- self() - Method in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- SELF - org.bitcoinj.core.TransactionConfidence.Source
-
This transaction was created by our own wallet, so we know it's not a double spend.
- SEND_IF_CHANGED - org.bitcoinj.core.PeerGroup.FilterRecalculateMode
- SendAddrV2Message - Class in org.bitcoinj.core
-
Represents the
sendaddrv2
P2P protocol message, which indicates that a node can understand and prefers to receiveaddrv2
messages instead ofaddr
messages. - SendAddrV2Message() - Constructor for class org.bitcoinj.core.SendAddrV2Message
- sendCoins(Peer, SendRequest) - Method in class org.bitcoinj.wallet.Wallet
-
Sends coins to the given address, via the given
Peer
. - sendCoins(TransactionBroadcaster, Address, Coin) - Method in class org.bitcoinj.wallet.Wallet
-
Sends coins to the given address, via the given
PeerGroup
. - sendCoins(TransactionBroadcaster, SendRequest) - Method in class org.bitcoinj.wallet.Wallet
-
Sends coins according to the given request, via the given
TransactionBroadcaster
. - sendCoins(SendRequest) - Method in class org.bitcoinj.wallet.Wallet
-
Satisfies the given
SendRequest
using the default transaction broadcaster configured either viaPeerGroup.addWallet(Wallet)
or directly withWallet.setTransactionBroadcaster(TransactionBroadcaster)
. - sendCoinsOffline(SendRequest) - Method in class org.bitcoinj.wallet.Wallet
-
Sends coins to the given address but does not broadcast the resulting pending transaction.
- SendHeadersMessage - Class in org.bitcoinj.core
-
A new message, "sendheaders", which indicates that a node prefers to receive new block announcements via a "headers" message rather than an "inv".
- SendHeadersMessage() - Constructor for class org.bitcoinj.core.SendHeadersMessage
- sendMessage(Message) - Method in class org.bitcoinj.core.PeerSocketHandler
-
Sends the given message to the peer.
- sendPayment(URL, Protos.Payment) - Method in class org.bitcoinj.protocols.payments.PaymentSession
- sendPayment(List<Transaction>, Address, String) - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Generates a Payment message and sends the payment to the merchant who sent the PaymentRequest.
- sendPing() - Method in class org.bitcoinj.core.Peer
-
Sends the peer a ping message and returns a future that will be completed when the pong is received back.
- sendPing(long) - Method in class org.bitcoinj.core.Peer
- SendRequest - Class in org.bitcoinj.wallet
-
A SendRequest gives the wallet information about precisely how to send money to a recipient or set of recipients.
- SendResult(TransactionBroadcast) - Constructor for class org.bitcoinj.wallet.Wallet.SendResult
- SendResult(Transaction, TransactionBroadcast) - Constructor for class org.bitcoinj.wallet.Wallet.SendResult
-
Deprecated.
- sendTransaction(SendRequest) - Method in class org.bitcoinj.wallet.Wallet
-
Initiate sending the transaction in a
SendRequest
. - SEQUENCE_LOCKTIME_DISABLE_FLAG - Static variable in class org.bitcoinj.core.TransactionInput
-
BIP68: If this flag set, sequence is NOT interpreted as a relative lock-time.
- SEQUENCE_LOCKTIME_MASK - Static variable in class org.bitcoinj.core.TransactionInput
-
BIP68: If sequence encodes a relative lock-time, this mask is applied to extract that lock-time from the sequence field.
- SEQUENCE_LOCKTIME_TYPE_FLAG - Static variable in class org.bitcoinj.core.TransactionInput
-
BIP68: If sequence encodes a relative lock-time and this flag is set, the relative lock-time has units of 512 seconds, otherwise it specifies blocks with a granularity of 1.
- serialize() - Method in class org.bitcoinj.base.Coin
-
Allocates a byte array and serializes the amount.
- serialize() - Method in class org.bitcoinj.base.Sha256Hash
-
Allocates a byte array and writes the hash into it, in reversed order.
- serialize() - Method in class org.bitcoinj.base.VarInt
-
Allocates a byte array and serializes the value into its minimal representation.
- serialize() - Method in class org.bitcoinj.core.BaseMessage
-
Serialize this message to a byte array that conforms to the bitcoin wire protocol.
- serialize() - Method in interface org.bitcoinj.core.Message
-
Serialize this message to a byte array that conforms to the Bitcoin wire protocol.
- serialize() - Method in class org.bitcoinj.core.PartialMerkleTree
-
Allocates a byte array and writes this partial merkle tree into it.
- serialize() - Method in class org.bitcoinj.core.Services
-
Allocates a byte array and writes the node service bits into it.
- serialize() - Method in class org.bitcoinj.core.TransactionInput
-
Allocates a byte array and writes this transaction input into it.
- serialize() - Method in class org.bitcoinj.core.TransactionOutPoint
-
Allocates a byte array and writes this transaction outpoint into it.
- serialize() - Method in class org.bitcoinj.core.TransactionOutput
-
Allocates a byte array and writes this transaction output into it.
- serialize() - Method in class org.bitcoinj.core.TransactionWitness
-
Allocates a byte array and writes this transaction witness into it.
- serialize(int) - Method in class org.bitcoinj.core.PeerAddress
-
Allocates a byte array and writes this peer address into it, using a given protocol variant.
- serialize(String, byte[], OutputStream) - Method in class org.bitcoinj.core.BitcoinSerializer
-
Writes message to the output stream.
- serialize(String, byte[], OutputStream) - Method in class org.bitcoinj.core.MessageSerializer
-
Writes message to the output stream.
- serialize(Message, OutputStream) - Method in class org.bitcoinj.core.BitcoinSerializer
-
Writes message to the output stream.
- serialize(Message, OutputStream) - Method in class org.bitcoinj.core.MessageSerializer
-
Writes message to the output stream.
- SERIALIZE_TRANSACTION_NO_WITNESS - Static variable in class org.bitcoinj.core.Transaction
-
When this bit is set in protocolVersion, do not include witness.
- serializeCompact(ByteBuffer) - Method in class org.bitcoinj.core.StoredBlock
-
Serializes the stored block to a custom packed format.
- serializeCompactV2(ByteBuffer) - Method in class org.bitcoinj.core.StoredBlock
-
Serializes the stored block to a custom packed format.
- serializeKeyChainGroupToProtobuf() - Method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- serializeMyselfToProtobuf() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Serialize to a list of keys.
- serializePrivB58(Network) - Method in class org.bitcoinj.crypto.DeterministicKey
-
Serialize private key to Base58 (either "xprv" or "tprv")
- serializePrivB58(Network, ScriptType) - Method in class org.bitcoinj.crypto.DeterministicKey
-
Deprecated.Use a
DeterministicKey.serializePrivB58(Network)
or a descriptor if you need output type information - serializePrivB58(NetworkParameters) - Method in class org.bitcoinj.crypto.DeterministicKey
-
Deprecated.
- serializePrivB58(NetworkParameters, ScriptType) - Method in class org.bitcoinj.crypto.DeterministicKey
-
Deprecated.
- serializePubB58(Network) - Method in class org.bitcoinj.crypto.DeterministicKey
-
Serialize public key to Base58 (either "xpub" or "tpub")
- serializePubB58(Network, ScriptType) - Method in class org.bitcoinj.crypto.DeterministicKey
-
Deprecated.Use a
DeterministicKey.serializePubB58(Network)
or a descriptor if you need output type information - serializePubB58(NetworkParameters) - Method in class org.bitcoinj.crypto.DeterministicKey
-
Deprecated.
- serializePubB58(NetworkParameters, ScriptType) - Method in class org.bitcoinj.crypto.DeterministicKey
-
Deprecated.
- serializeToProtobuf() - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Serialize to a list of keys
- serializeToProtobuf() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Serialize to a list of keys
- serializeToProtobuf() - Method in interface org.bitcoinj.wallet.KeyChain
-
Return a list of keys serialized to the bitcoinj protobuf format.
- serializeToProtobuf() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Return a list of key protobufs obtained by merging the chains.
- serializeWalletExtension() - Method in interface org.bitcoinj.wallet.WalletExtension
-
Returns bytes that will be saved in the wallet.
- services() - Method in class org.bitcoinj.core.VersionMessage
-
Get the service bitfield that represents the node services being provided.
- Services - Class in org.bitcoinj.core
-
Wrapper for services bitfield used in various messages of the Bitcoin protocol.
- setAcceptRiskyTransactions(boolean) - Method in class org.bitcoinj.wallet.Wallet
-
Whether or not the wallet will ignore pending transactions that fail the selected
RiskAnalysis
. - setAppearedAtChainHeight(int) - Method in class org.bitcoinj.core.TransactionConfidence
-
The chain height at which the transaction appeared, if it has been seen in the best chain.
- setAutoSave(boolean) - Method in class org.bitcoinj.kits.WalletAppKit
-
If true, the wallet will save itself to disk automatically whenever it changes.
- setAutoStop(boolean) - Method in class org.bitcoinj.kits.WalletAppKit
-
If true, will register a shutdown hook to stop the library.
- setBitLE(byte[], int) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Sets the given bit in data to one, using little endian (not the same as Java native big endian)
- setBlockAppearance(StoredBlock, boolean, int) - Method in class org.bitcoinj.core.Transaction
-
Puts the given block in the internal set of blocks in which this transaction appears.
- setBlockingStartup(boolean) - Method in class org.bitcoinj.kits.WalletAppKit
-
If true (the default) then the startup of this service won't be considered complete until the network has been brought up, peer connections established and the block chain synchronised.
- setBloomFilter(BloomFilter) - Method in class org.bitcoinj.core.Peer
-
Sets a Bloom filter on this connection.
- setBloomFilter(BloomFilter, boolean) - Method in class org.bitcoinj.core.Peer
-
Sets a Bloom filter on this connection.
- setBloomFilterFalsePositiveRate(double) - Method in class org.bitcoinj.core.PeerGroup
-
Deprecated.
- setBloomFilterFPRate(double) - Method in class org.bitcoinj.net.FilterMerger
-
Deprecated.
- setBloomFilteringEnabled(boolean) - Method in class org.bitcoinj.core.PeerGroup
-
Can be used to disable Bloom filtering entirely, even in SPV mode.
- setChainHead(StoredBlock) - Method in class org.bitcoinj.core.AbstractBlockChain
- setChainHead(StoredBlock) - Method in interface org.bitcoinj.store.BlockStore
-
Sets the
StoredBlock
that represents the top of the chain of greatest total work. - setChainHead(StoredBlock) - Method in class org.bitcoinj.store.MemoryBlockStore
- setChainHead(StoredBlock) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- setChainHead(StoredBlock) - Method in class org.bitcoinj.store.SPVBlockStore
- setCheckpoints(InputStream) - Method in class org.bitcoinj.kits.WalletAppKit
-
If set, the file is expected to contain a checkpoints file calculated with BuildCheckpoints.
- setConfidenceType(TransactionConfidence.ConfidenceType) - Method in class org.bitcoinj.core.TransactionConfidence
-
Called by other objects in the system, like a
Wallet
, when new information about the confidence of a transaction becomes available. - setConnectTimeout(Duration) - Method in class org.bitcoinj.core.PeerGroup
-
Sets the timeout between when a connection attempt to a peer begins and when the version message exchange completes.
- setConnectTimeout(Duration) - Method in class org.bitcoinj.net.BlockingClientManager
-
Sets the number of milliseconds to wait before giving up on a connect attempt
- setConnectTimeoutMillis(int) - Method in class org.bitcoinj.core.PeerGroup
-
Deprecated.
- setConnectTimeoutMillis(int) - Method in class org.bitcoinj.net.BlockingClientManager
-
Deprecated.
- setCreationTime(Instant) - 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.
- setCreationTime(Instant) - Method in class org.bitcoinj.crypto.ECKey
-
Sets the creation time of this key.
- setCreationTime(Instant) - Method in class org.bitcoinj.wallet.DeterministicSeed
-
Sets the creation time of this seed.
- setCreationTimeSeconds(long) - Method in class org.bitcoinj.crypto.DeterministicKey
-
Deprecated.
- setCreationTimeSeconds(long) - Method in class org.bitcoinj.crypto.ECKey
-
Deprecated.
- setCreationTimeSeconds(long) - Method in class org.bitcoinj.wallet.DeterministicSeed
-
Deprecated.
- setDepthInBlocks(int) - Method in class org.bitcoinj.core.TransactionConfidence
- setDescription(String) - Method in class org.bitcoinj.wallet.Wallet
-
Set the description of the wallet.
- setDiscoverPeersViaP2P(boolean) - Method in class org.bitcoinj.core.PeerGroup
-
Setting this to
true
will add addresses discovered via P2Paddr
andaddrv2
messages to the list of potential peers to connect to. - setDiscovery(PeerDiscovery) - Method in class org.bitcoinj.kits.WalletAppKit
-
Sets the peer discovery class to use.
- setDownloadData(boolean) - Method in class org.bitcoinj.core.Peer
-
If set to false, the peer won't try and fetch blocks and transactions it hears about.
- setDownloadListener(DownloadProgressTracker) - Method in class org.bitcoinj.kits.WalletAppKit
-
If you want to learn about the sync process, you can provide a listener here.
- setDownloadParameters(boolean) - Method in class org.bitcoinj.core.Peer
-
Always download full blocks.
- setDownloadParameters(long, boolean) - Method in class org.bitcoinj.core.Peer
- setDownloadTxDependencies(boolean) - Method in class org.bitcoinj.core.Peer
-
Sets if this peer will use getdata/notfound messages to walk backwards through transaction dependencies before handing the transaction off to the wallet.
- setDownloadTxDependencies(int) - Method in class org.bitcoinj.core.Peer
-
Sets if this peer will use getdata/notfound messages to walk backwards through transaction dependencies before handing the transaction off to the wallet.
- setDownloadTxDependencies(int) - Method in class org.bitcoinj.core.PeerGroup
-
Configure download of pending transaction dependencies.
- setDropPeersAfterBroadcast(boolean) - Method in class org.bitcoinj.core.TransactionBroadcast
- setExchangeRate(ExchangeRate) - Method in class org.bitcoinj.core.Transaction
-
Setter for
Transaction.exchangeRate
. - setFastCatchupTime(Instant) - Method in class org.bitcoinj.core.PeerGroup
-
Tells the
PeerGroup
to download only block headers before a certain time and bodies after that. - setFastCatchupTimeSecs(long) - Method in class org.bitcoinj.core.PeerGroup
-
Deprecated.
- setFastDownloadParameters(boolean, Instant) - Method in class org.bitcoinj.core.Peer
-
When downloading the block chain, the bodies will be skipped for blocks created before the given date.
- setFeePerVkb(Coin) - Method in class org.bitcoinj.wallet.SendRequest
- setKeyChainFactory(KeyChainFactory) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
- setKeyRotationTime(long) - Method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- setKeyRotationTime(Instant) - Method in class org.bitcoinj.wallet.Wallet
-
When a key rotation time is set, any money controlled by keys created before the given timestamp T will be respent to any key that was created after T.
- setKeyRotationTime(Date) - Method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- setLastBlockSeenHash(Sha256Hash) - Method in class org.bitcoinj.wallet.Wallet
- setLastBlockSeenHeight(int) - Method in class org.bitcoinj.wallet.Wallet
- setLastBlockSeenTime(Instant) - Method in class org.bitcoinj.wallet.Wallet
- setLastBlockSeenTimeSecs(long) - Method in class org.bitcoinj.wallet.Wallet
-
Deprecated.
- setLastBroadcastedAt(Date) - Method in class org.bitcoinj.core.TransactionConfidence
-
Deprecated.
- setLastBroadcastTime(Instant) - Method in class org.bitcoinj.core.TransactionConfidence
-
Set the time the transaction was last announced to us.
- setListener(WalletFiles.Listener) - Method in class org.bitcoinj.wallet.WalletFiles
-
The given listener will be called on the autosave thread before and after the wallet is saved to disk.
- setLockTime(long) - Method in class org.bitcoinj.core.Transaction
-
Transactions can have an associated lock time, specified either as a block height or as a timestamp (in seconds since epoch).
- setLookaheadSize(int) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Sets a new lookahead size.
- setLookaheadThreshold(int) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
Sets the threshold for the key pre-generation.
- setMatchAll() - Method in class org.bitcoinj.core.BloomFilter
-
Sets this filter to match all objects.
- setMaxConnections(int) - Method in class org.bitcoinj.core.PeerGroup
-
Adjusts the desired number of connections that we will create to peers.
- setMaxPeersToDiscoverCount(int) - Method in class org.bitcoinj.core.PeerGroup
-
Sets the maximum number of
Peer
s to discover. - setMemo(String) - Method in class org.bitcoinj.core.Transaction
-
Set the transaction
Transaction.memo
. - setMinBroadcastConnections(int) - Method in class org.bitcoinj.core.PeerGroup
- setMinConnections(int) - Method in class org.bitcoinj.core.TransactionBroadcast
- setMinProtocolVersion(int) - Method in class org.bitcoinj.core.Peer
-
The minimum P2P protocol version that is accepted.
- setMinRequiredProtocolVersion(int) - Method in class org.bitcoinj.core.PeerGroup
-
If a peer is connected to that claims to speak a protocol version lower than the given version, it will be disconnected and another one will be tried instead.
- setMockClock() - Static method in class org.bitcoinj.base.internal.TimeUtils
-
Sets the mock clock to the current time as a fixed instant.
- setMockClock(Instant) - Static method in class org.bitcoinj.base.internal.TimeUtils
-
Sets the mock clock to a fixed instant.
- setOverridingTransaction(Transaction) - Method in class org.bitcoinj.core.TransactionConfidence
-
Deprecated.Use
TransactionConfidence.getOverridingTxId()
(andnull
is no-longer allowed) - setOverridingTxId(Sha256Hash) - Method in class org.bitcoinj.core.TransactionConfidence
-
Called when the transaction becomes newly dead, that is, we learn that one of its inputs has already been spent in such a way that the double-spending transaction takes precedence over this one.
- setParent(Transaction) - Method in class org.bitcoinj.core.TransactionInput
- setParent(Transaction) - Method in class org.bitcoinj.core.TransactionOutput
- setPeerDiscoveryTimeout(Duration) - Method in class org.bitcoinj.core.PeerGroup
-
This is how long we wait for peer discoveries to return their results.
- setPeerDiscoveryTimeoutMillis(long) - Method in class org.bitcoinj.core.PeerGroup
-
Deprecated.
- setPeerNodes(PeerAddress...) - Method in class org.bitcoinj.kits.WalletAppKit
-
Will only connect to the given addresses.
- setPingIntervalMsec(long) - Method in class org.bitcoinj.core.PeerGroup
-
Sets the period between pings for an individual peer.
- setPolicy(CycleDetectingLockFactory.Policy) - Static method in class org.bitcoinj.utils.Threading
- setProgressCallback(TransactionBroadcast.ProgressCallback) - Method in class org.bitcoinj.core.TransactionBroadcast
-
Sets the given callback for receiving progress values, which will run on the user thread.
- setProgressCallback(TransactionBroadcast.ProgressCallback, Executor) - Method in class org.bitcoinj.core.TransactionBroadcast
-
Sets the given callback for receiving progress values, which will run on the given executor.
- setPurpose(Transaction.Purpose) - Method in class org.bitcoinj.core.Transaction
-
Marks the transaction as being created for the given purpose.
- setRequireAllExtensionsKnown(boolean) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
-
If this property is set to true, the wallet will fail to load if any found extensions are unknown..
- setRequiredServices(long) - Method in class org.bitcoinj.core.PeerGroup
-
Convenience for connecting only to peers that can serve specific services.
- setRequireMandatoryExtensions(boolean) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
-
If this property is set to false, then unknown mandatory extensions will be ignored instead of causing load errors.
- setRiskAnalyzer(RiskAnalysis.Analyzer) - Method in class org.bitcoinj.wallet.Wallet
-
Sets the
RiskAnalysis
implementation to use for deciding whether received pending transactions are risky or not. - setRunScripts(boolean) - Method in class org.bitcoinj.core.FullPrunedBlockChain
-
Whether or not to run scripts whilst accepting blocks (i.e.
- setScriptSig(Script) - Method in class org.bitcoinj.core.TransactionInput
-
Set the given program as the scriptSig that is supposed to satisfy the connected output script.
- setSequenceNumber(long) - 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.
- setSigsRequiredToSpend(int) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
-
The number of signatures required to spend coins received by this keychain.
- setSocketTimeout(Duration) - Method in class org.bitcoinj.core.PeerSocketHandler
- setSocketTimeout(Duration) - Method in class org.bitcoinj.net.AbstractTimeoutHandler
-
Deprecated.Sets the receive timeout, automatically killing the connection if no messages are received for this long
- setSocketTimeout(Duration) - Method in class org.bitcoinj.net.SocketTimeoutTask
-
Sets the receive timeout, automatically killing the connection if no messages are received for this long
- setSocketTimeout(Duration) - Method in interface org.bitcoinj.net.TimeoutHandler
-
Sets the receive timeout, automatically killing the connection if no messages are received for this long
- setSource(TransactionConfidence.Source) - Method in class org.bitcoinj.core.TransactionConfidence
-
The source of a transaction tries to identify where it came from originally.
- setStallThreshold(int, int) - Method in class org.bitcoinj.core.PeerGroup
-
Configures the stall speed: the speed at which a peer is considered to be serving us the block chain unacceptably slowly.
- setTag(String, ByteString) - Method in class org.bitcoinj.utils.BaseTaggableObject
-
Deprecated.
- setTag(String, ByteString) - Method in interface org.bitcoinj.utils.TaggableObject
-
Deprecated.
- setTag(String, ByteString) - Method in class org.bitcoinj.wallet.Wallet
-
Deprecated.Applications should use another mechanism to persist application state information
- setTimeoutEnabled(boolean) - Method in class org.bitcoinj.core.PeerSocketHandler
- setTimeoutEnabled(boolean) - Method in class org.bitcoinj.net.AbstractTimeoutHandler
-
Deprecated.Enables or disables the timeout entirely.
- setTimeoutEnabled(boolean) - Method in class org.bitcoinj.net.SocketTimeoutTask
-
Enables or disables the timeout entirely.
- setTimeoutEnabled(boolean) - Method in interface org.bitcoinj.net.TimeoutHandler
-
Enables or disables the timeout entirely.
- setTransactionBroadcaster(TransactionBroadcaster) - Method in class org.bitcoinj.wallet.Wallet
-
Specifies that the given
TransactionBroadcaster
, typically aPeerGroup
, should be used for sending transactions to the Bitcoin network by default. - setupAutoSave(Wallet) - Method in class org.bitcoinj.kits.WalletAppKit
- setUpdateTime(Instant) - Method in class org.bitcoinj.core.Transaction
-
Sets the update time of this transaction.
- setUpdateTime(Date) - Method in class org.bitcoinj.core.Transaction
-
Deprecated.
- setUseLocalhostPeerWhenPossible(boolean) - Method in class org.bitcoinj.core.PeerGroup
-
When true (the default), PeerGroup will attempt to connect to a Bitcoin node running on localhost before attempting to use the P2P network.
- setUserAgent(String, String) - Method in class org.bitcoinj.core.PeerGroup
-
Sets information that identifies this software to remote nodes.
- setUserAgent(String, String) - Method in class org.bitcoinj.kits.WalletAppKit
-
Sets the string that will appear in the subver field of the version message.
- setUserAgent(String, String, String) - Method in class org.bitcoinj.core.PeerGroup
-
Sets information that identifies this software to remote nodes.
- setUTXOProvider(UTXOProvider) - Method in class org.bitcoinj.wallet.Wallet
-
Set the
UTXOProvider
. - setValue(Coin) - Method in class org.bitcoinj.core.TransactionOutput
-
Sets the value of this output.
- setVerifiedChainHead(StoredBlock) - Method in interface org.bitcoinj.store.FullPrunedBlockStore
-
Sets the
StoredBlock
that represents the top of the chain of greatest total work that has been fully verified. - setVerifiedChainHead(StoredBlock) - Method in class org.bitcoinj.store.MemoryFullPrunedBlockStore
- setVersion(int) - Method in class org.bitcoinj.core.Transaction
- setVersion(int) - Method in class org.bitcoinj.wallet.Wallet
-
Set the version number of the wallet.
- setVersionMessage(VersionMessage) - Method in class org.bitcoinj.core.PeerGroup
-
Sets the
VersionMessage
that will be announced on newly created connections. - setWalletFactory(WalletProtobufSerializer.WalletFactory) - Method in class org.bitcoinj.kits.WalletAppKit
-
Sets a wallet factory which will be used when the kit creates a new wallet.
- setWalletWriteBufferSize(int) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
-
Change buffer size for writing wallet to output stream.
- setWitness(TransactionWitness) - Method in class org.bitcoinj.core.TransactionInput
-
Set the transaction witness of an input.
- setWriteTarget(MessageWriteTarget) - Method in class org.bitcoinj.core.PeerSocketHandler
-
Sets the
MessageWriteTarget
used to write messages to the peer. - setWriteTarget(MessageWriteTarget) - Method in interface org.bitcoinj.net.StreamConnection
-
Called when this connection is attached to an upstream write target (ie a low-level connection handler).
- Sha256Hash - Class in org.bitcoinj.base
-
A
Sha256Hash
wraps abyte[]
so thatSha256Hash.equals(java.lang.Object)
andSha256Hash.hashCode()
work correctly, allowing it to be used as a key in a map. - sha256hash160(byte[]) - Static method in class org.bitcoinj.crypto.internal.CryptoUtils
-
Calculate RIPEMD160(SHA256(input)).
- shift(int) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Set number of digits to shift the decimal separator to the right, coming from the standard BTC notation that was common pre-2014.
- shiftLeft(int) - Method in class org.bitcoinj.base.Coin
- shiftRight(int) - Method in class org.bitcoinj.base.Coin
- SHORTEST_POSSIBLE_PUSHDATA - org.bitcoinj.wallet.DefaultRiskAnalysis.RuleViolation
- shouldSelect(Transaction) - Method in class org.bitcoinj.wallet.AllowUnconfirmedCoinSelector
- shouldSelect(Transaction) - Method in class org.bitcoinj.wallet.DefaultCoinSelector
-
Sub-classes can override this to just customize whether transactions are usable, but keep age sorting.
- shouldVerifyTransactions() - Method in class org.bitcoinj.core.AbstractBlockChain
-
Whether or not we are maintaining a set of unspent outputs and are verifying all transactions.
- shouldVerifyTransactions() - Method in class org.bitcoinj.core.BlockChain
- shouldVerifyTransactions() - Method in class org.bitcoinj.core.FullPrunedBlockChain
- shuffleOutputs - Variable in class org.bitcoinj.wallet.SendRequest
-
If true (the default), the outputs will be shuffled during completion to randomize the location of the change output, if any.
- shuffleOutputs() - Method in class org.bitcoinj.core.Transaction
-
Randomly re-orders the transaction outputs: good for privacy
- shutdown() - Method in class org.bitcoinj.net.discovery.DnsDiscovery.DnsSeedDiscovery
- shutdown() - Method in class org.bitcoinj.net.discovery.MultiplexingDiscovery
- shutdown() - Method in interface org.bitcoinj.net.discovery.PeerDiscovery
-
Stops any discovery in progress when we want to shut down quickly.
- shutdown() - Method in class org.bitcoinj.net.discovery.SeedPeers
- shutDown() - Method in class org.bitcoinj.kits.WalletAppKit
- shutDown() - Method in class org.bitcoinj.net.BlockingClientManager
- shutdownAndWait() - Method in class org.bitcoinj.wallet.WalletFiles
-
Shut down auto-saving.
- shutdownAutosaveAndWait() - Method in class org.bitcoinj.wallet.Wallet
-
Disables auto-saving, after it had been enabled with
Wallet.autosaveToFile(File, long, TimeUnit, WalletFiles.Listener)
before. - SIDE_CHAIN - org.bitcoinj.core.AbstractBlockChain.NewBlockType
-
New block is on a side chain
- sig - Variable in class org.bitcoinj.signers.CustomTransactionSigner.SignatureAndKey
- SIG_SIZE - Static variable in class org.bitcoinj.script.Script
- SIGHASH_ANYONECANPAY_VALUE - Static variable in class org.bitcoinj.core.Transaction
-
Deprecated.Instead use SigHash.ANYONECANPAY.value or SigHash.ANYONECANPAY.byteValue() as appropriate.
- sighashFlags - Variable in class org.bitcoinj.crypto.TransactionSignature
-
A byte that controls which parts of a transaction are signed.
- sigHashMode() - Method in class org.bitcoinj.crypto.TransactionSignature
- sign(Sha256Hash) - Method in class org.bitcoinj.crypto.ECKey
-
Signs the given hash and returns the R and S components as BigIntegers.
- sign(Sha256Hash, AesKey) - Method in class org.bitcoinj.crypto.DeterministicKey
- sign(Sha256Hash, AesKey) - Method in class org.bitcoinj.crypto.ECKey
-
Signs the given hash and returns the R and S components as BigIntegers.
- SIGNATURE_CANONICAL_ENCODING - org.bitcoinj.wallet.DefaultRiskAnalysis.RuleViolation
- SIGNATURE_FAILED_ERROR_MESSAGE - Static variable in class org.bitcoinj.crypto.utils.MessageVerifyUtils
- SignatureAndKey(ECKey.ECDSASignature, ECKey) - Constructor for class org.bitcoinj.signers.CustomTransactionSigner.SignatureAndKey
- SignatureDecodeException - Exception in org.bitcoinj.crypto
- SignatureDecodeException() - Constructor for exception org.bitcoinj.crypto.SignatureDecodeException
- SignatureDecodeException(String) - Constructor for exception org.bitcoinj.crypto.SignatureDecodeException
- SignatureDecodeException(String, Throwable) - Constructor for exception org.bitcoinj.crypto.SignatureDecodeException
- SignatureDecodeException(Throwable) - Constructor for exception org.bitcoinj.crypto.SignatureDecodeException
- signedMessageToKey(String, String) - Static method in class org.bitcoinj.crypto.ECKey
-
Given an arbitrary piece of text and a Bitcoin-format message signature encoded in base64, returns an ECKey containing the public key that was used to sign it.
- SIGNET - org.bitcoinj.base.BitcoinNetwork
-
The Bitcoin signature-based test network, known as
"signet"
, withid
string"org.bitcoin.signet"
- SigNetParams - Class in org.bitcoinj.params
-
Parameters for the signet, a separate public instance of Bitcoin that has relaxed rules suitable for development and testing of applications and new Bitcoin versions.
- SigNetParams() - Constructor for class org.bitcoinj.params.SigNetParams
- signInputs - Variable in class org.bitcoinj.wallet.SendRequest
-
If true (the default), the inputs will be signed.
- signInputs(TransactionSigner.ProposedTransaction, KeyBag) - Method in class org.bitcoinj.signers.CustomTransactionSigner
- signInputs(TransactionSigner.ProposedTransaction, KeyBag) - Method in class org.bitcoinj.signers.LocalTransactionSigner
- signInputs(TransactionSigner.ProposedTransaction, KeyBag) - Method in class org.bitcoinj.signers.MissingSigResolutionSigner
- signInputs(TransactionSigner.ProposedTransaction, KeyBag) - Method in interface org.bitcoinj.signers.TransactionSigner
-
Signs given transaction's inputs.
- signMessage(String) - Method in class org.bitcoinj.crypto.ECKey
-
Deprecated.use
ECKey.signMessage(String, ScriptType)
instead and specify the correct script type - signMessage(String, ScriptType) - Method in class org.bitcoinj.crypto.ECKey
-
Signs a text message using the standard Bitcoin messaging signing format and returns the signature as a base64 encoded string.
- signMessage(String, AesKey) - Method in class org.bitcoinj.crypto.ECKey
-
Deprecated.use
ECKey.signMessage(String, AesKey, ScriptType)
instead and specify the correct script type - signMessage(String, AesKey, ScriptType) - Method in class org.bitcoinj.crypto.ECKey
-
Signs a text message using the standard Bitcoin messaging signing format and returns the signature as a base64 encoded string.
- signPaymentRequest(Protos.PaymentRequest.Builder, X509Certificate[], PrivateKey) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
-
Sign the provided payment request.
- signTransaction(SendRequest) - Method in class org.bitcoinj.wallet.Wallet
-
Given a send request containing transaction, attempts to sign it's inputs.
- signum() - Method in class org.bitcoinj.base.Coin
- signum() - Method in interface org.bitcoinj.base.Monetary
- signum() - Method in class org.bitcoinj.base.utils.Fiat
- SIGPUSHONLY - org.bitcoinj.script.Script.VerifyFlag
- simple(InetAddress, int) - Static method in class org.bitcoinj.core.PeerAddress
-
Constructs a simple peer address from the given IP address and port, but without services.
- simple(InetSocketAddress) - Static method in class org.bitcoinj.core.PeerAddress
-
Constructs a simple peer address from the given socket address, but without services.
- SINGLE - org.bitcoinj.core.Transaction.SigHash
- size - Variable in class org.bitcoinj.core.BitcoinSerializer.BitcoinPacketHeader
- size() - Method in class org.bitcoinj.core.BlockLocator
-
Returns the number of hashes in this block locator.
- size() - Method in class org.bitcoinj.crypto.HDPath
- size() - Method in class org.bitcoinj.script.ScriptChunk
- size() - Method in class org.bitcoinj.utils.VersionTally
-
Get the size of the version window.
- sizeOf(long) - Static method in class org.bitcoinj.base.VarInt
-
Returns the minimum encoded size of the given unsigned long value.
- skipBytes(ByteBuffer, int) - Static method in class org.bitcoinj.base.internal.Buffers
-
Advance buffer position by a given number of bytes.
- SMALLEST_UNIT_EXPONENT - Static variable in class org.bitcoinj.base.Coin
-
Number of decimals for one Bitcoin.
- SMALLEST_UNIT_EXPONENT - Static variable in class org.bitcoinj.base.utils.Fiat
-
The absolute value of exponent of the value of a "smallest unit" in scientific notation.
- smallestUnitExponent() - Method in class org.bitcoinj.base.Coin
- smallestUnitExponent() - Method in interface org.bitcoinj.base.Monetary
-
Returns the absolute value of exponent of the value of a "smallest unit" in scientific notation.
- smallestUnitExponent() - Method in class org.bitcoinj.base.utils.Fiat
- smallNum(int) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds the given number as a OP_N opcode to the end of the program.
- smallNum(int, int) - Method in class org.bitcoinj.script.ScriptBuilder
-
Adds the given number as a OP_N opcode to the given index in the program.
- SocketTimeoutTask - Class in org.bitcoinj.net
-
Component that implements the timeout capability of
TimeoutHandler
. - SocketTimeoutTask(Runnable) - Constructor for class org.bitcoinj.net.SocketTimeoutTask
- solve() - Method in class org.bitcoinj.core.Block
-
Finds a value of nonce that makes the blocks hash lower than the difficulty target.
- SORT_TX_BY_HEIGHT - Static variable in class org.bitcoinj.core.Transaction
-
A comparator that can be used to sort transactions by their chain height.
- SORT_TX_BY_UPDATE_TIME - Static variable in class org.bitcoinj.core.Transaction
-
A comparator that can be used to sort transactions by their updateTime field.
- SPACE_JOINER - Static variable in class org.bitcoinj.base.internal.InternalUtils
-
A
InternalUtils.Joiner
for joining strings into a single string delimited by a space character. - SPACE_JOINER - Static variable in class org.bitcoinj.core.Utils
-
Deprecated.Use @link java.util.StringJoiner} or a direct Guava dependency
- spend(DeterministicKey) - Method in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
-
Creates a key chain that can spend from the given account key.
- spendableCoinbaseDepth - Variable in class org.bitcoinj.core.NetworkParameters
-
The depth of blocks required for a coinbase transaction to be spendable.
- spendingKey - Variable in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- spent - Variable in class org.bitcoinj.wallet.FilteringCoinSelector
- SPENT - org.bitcoinj.wallet.WalletTransaction.Pool
- splitter(String) - Static method in class org.bitcoinj.base.internal.InternalUtils
-
Return a lambda for splitting a string into components
- splitToList(String) - Method in interface org.bitcoinj.base.internal.InternalUtils.Splitter
- SPVBlockStore - Class in org.bitcoinj.store
-
An SPVBlockStore holds a limited number of block headers in a memory mapped ring buffer.
- SPVBlockStore(NetworkParameters, File) - Constructor for class org.bitcoinj.store.SPVBlockStore
-
Creates and initializes an SPV block store that can hold
SPVBlockStore.DEFAULT_CAPACITY
block headers. - SPVBlockStore(NetworkParameters, File, int, boolean) - Constructor for class org.bitcoinj.store.SPVBlockStore
-
Creates and initializes an SPV block store that can hold a given amount of blocks.
- STANDARD_MAX_DIFFICULTY_TARGET - Static variable in class org.bitcoinj.core.Block
-
Standard maximum value for difficultyTarget (nBits) (Bitcoin MainNet and TestNet)
- start() - Static method in class org.bitcoinj.base.internal.Stopwatch
-
Start a newly created stopwatch.
- start() - Method in class org.bitcoinj.core.PeerGroup
-
Does a blocking startup.
- startAsync() - Method in class org.bitcoinj.core.PeerGroup
-
Starts the PeerGroup and begins network activity.
- startBlockChainDownload() - Method in class org.bitcoinj.core.Peer
-
Starts an asynchronous download of the block chain.
- startBlockChainDownload(BlockchainDownloadEventListener) - Method in class org.bitcoinj.core.PeerGroup
-
Start downloading the blockchain.
- startDownload(int) - Method in class org.bitcoinj.core.listeners.DownloadProgressTracker
-
Called when download is initiated.
- startFilteredBlock(FilteredBlock) - Method in class org.bitcoinj.core.Peer
- startUp() - Method in class org.bitcoinj.kits.WalletAppKit
- startUp() - Method in class org.bitcoinj.net.BlockingClientManager
- stop() - Method in class org.bitcoinj.base.internal.Stopwatch
-
Stops the stopwatch, if it is running.
- stop() - Method in class org.bitcoinj.core.PeerGroup
-
Does a blocking stop
- stopAsync() - Method in class org.bitcoinj.core.PeerGroup
- stopHash - Variable in class org.bitcoinj.core.GetBlocksMessage
- Stopwatch - Class in org.bitcoinj.base.internal
-
A tool for measuring time, mainly for log messages.
- store() - Method in class org.bitcoinj.kits.WalletAppKit
- storedBlock - Variable in class org.bitcoinj.testing.FakeTxBuilder.BlockPair
- StoredBlock - Class in org.bitcoinj.core
-
Wraps a
Block
object with extra data that can be derived from the block chain but is slow or inconvenient to calculate. - StoredBlock(Block, BigInteger, int) - Constructor for class org.bitcoinj.core.StoredBlock
-
Create a StoredBlock from a (header-only)
Block
, chain work value, and block height - StoredBlockAndWasUndoableFlag(StoredBlock, boolean) - Constructor for class org.bitcoinj.store.MemoryFullPrunedBlockStore.StoredBlockAndWasUndoableFlag
- StoredUndoableBlock - Class in org.bitcoinj.core
-
Contains minimal data necessary to disconnect/connect the transactions in the stored block at will.
- StoredUndoableBlock(Sha256Hash, List<Transaction>) - Constructor for class org.bitcoinj.core.StoredUndoableBlock
- StoredUndoableBlock(Sha256Hash, TransactionOutputChanges) - Constructor for class org.bitcoinj.core.StoredUndoableBlock
- stream() - Method in class org.bitcoinj.utils.BlockFileLoader
- streamBuffers() - Method in class org.bitcoinj.utils.BlockFileLoader
- StreamConnection - Interface in org.bitcoinj.net
-
A generic handler which is used in
NioServer
,NioClient
andBlockingClient
to handle incoming data streams. - StreamConnectionFactory - Interface in org.bitcoinj.net
-
A factory which generates new
StreamConnection
s when a new connection is opened. - StreamUtils - Class in org.bitcoinj.base.internal
-
Stream Utilities.
- StreamUtils() - Constructor for class org.bitcoinj.base.internal.StreamUtils
- STRICTENC - org.bitcoinj.script.Script.VerifyFlag
- strings() - Static method in enum org.bitcoinj.base.BitcoinNetwork
- structure - Variable in class org.bitcoinj.kits.WalletAppKit
- style(BtcAutoFormat.Style) - Method in class org.bitcoinj.utils.BtcFormat.Builder
-
Specify the new
BtcFormat
is to be automatically-denominating. - subsidyDecreaseBlockCount - Variable in class org.bitcoinj.core.NetworkParameters
- subtract(Coin) - Method in class org.bitcoinj.base.Coin
- subtract(Fiat) - Method in class org.bitcoinj.base.utils.Fiat
- subtract(ECPoint) - Method in class org.bitcoinj.crypto.LazyECPoint
- subtractFrom(Temporal) - Method in class org.bitcoinj.base.internal.Stopwatch
- subVer - Variable in class org.bitcoinj.core.VersionMessage
-
User-Agent as defined in BIP 14.
- SUCCESS - org.bitcoinj.core.TransactionInput.ConnectionResult
- successfulAsList(List<? extends CompletionStage<? extends T>>) - Static method in class org.bitcoinj.base.internal.FutureUtils
-
Note: When the migration to
CompletableFuture
is complete this routine will either be removed or changed to return a genericCompletableFuture
. - supportsDeterministicChains() - Method in class org.bitcoinj.wallet.KeyChainGroup
-
Are any deterministic keychains supported?
- symbol() - Method in class org.bitcoinj.utils.BtcFixedFormat
-
Return the currency symbol that identifies the units in which values formatted by this instance are denominated.
- symbol(String) - Method in class org.bitcoinj.utils.BtcFormat.Builder
-
Specify a currency symbol to be used in the denomination-unit indicators of formatted values.
- SYMBOL - org.bitcoinj.utils.BtcAutoFormat.Style
-
Constant for the formatting style that uses a currency symbol, e.g., "฿".
- SYMBOL_BTC - Static variable in class org.bitcoinj.base.utils.MonetaryFormat
-
Currency symbol for base 1 Bitcoin.
- SYMBOL_MBTC - Static variable in class org.bitcoinj.base.utils.MonetaryFormat
-
Currency symbol for base 1/1000 Bitcoin.
- SYMBOL_SAT - Static variable in class org.bitcoinj.base.utils.MonetaryFormat
-
Currency symbol for base 1 satoshi.
- SYMBOL_UBTC - Static variable in class org.bitcoinj.base.utils.MonetaryFormat
-
Currency symbol for base 1/1000000 Bitcoin.
- symbols() - Method in class org.bitcoinj.utils.BtcFormat
-
Return a copy of the localized symbols used by this instance for formatting and parsing.
T
- t1 - Variable in class org.bitcoinj.testing.FakeTxBuilder.DoubleSpends
- t2 - Variable in class org.bitcoinj.testing.FakeTxBuilder.DoubleSpends
- TaggableObject - Interface in org.bitcoinj.utils
-
Deprecated.Applications should use another mechanism to persist application state data
- tags - Variable in class org.bitcoinj.utils.BaseTaggableObject
-
Deprecated.
- target - Variable in class org.bitcoinj.wallet.DecryptingKeyBag
- TARGET_SPACING - Static variable in class org.bitcoinj.core.NetworkParameters
- TARGET_TIMESPAN - Static variable in class org.bitcoinj.core.NetworkParameters
- targetTimespan - Variable in class org.bitcoinj.core.NetworkParameters
- TB - org.bitcoinj.base.SegwitAddress.SegwitHrp
- TESTNET - org.bitcoinj.base.BitcoinNetwork
-
The Bitcoin test network, known as
"testnet"
, withid
string"org.bitcoin.test"
- TESTNET_MAJORITY_ENFORCE_BLOCK_UPGRADE - Static variable in class org.bitcoinj.params.SigNetParams
- TESTNET_MAJORITY_ENFORCE_BLOCK_UPGRADE - Static variable in class org.bitcoinj.params.TestNet3Params
- TESTNET_MAJORITY_ENFORCE_BLOCK_UPGRADE - Static variable in class org.bitcoinj.params.UnitTestParams
- TESTNET_MAJORITY_REJECT_BLOCK_OUTDATED - Static variable in class org.bitcoinj.params.SigNetParams
- TESTNET_MAJORITY_REJECT_BLOCK_OUTDATED - Static variable in class org.bitcoinj.params.TestNet3Params
- TESTNET_MAJORITY_REJECT_BLOCK_OUTDATED - Static variable in class org.bitcoinj.params.UnitTestParams
- TESTNET_MAJORITY_WINDOW - Static variable in class org.bitcoinj.params.SigNetParams
- TESTNET_MAJORITY_WINDOW - Static variable in class org.bitcoinj.params.TestNet3Params
- TestNet3Params - Class in org.bitcoinj.params
-
Parameters for the testnet, a separate public instance of Bitcoin that has relaxed rules suitable for development and testing of applications and new Bitcoin versions.
- TestNet3Params() - Constructor for class org.bitcoinj.params.TestNet3Params
- THREAD_POOL - Static variable in class org.bitcoinj.utils.Threading
-
A caching thread pool that creates daemon threads, which won't keep the JVM alive waiting for more work.
- Threading - Class in org.bitcoinj.utils
-
Various threading related utilities.
- Threading() - Constructor for class org.bitcoinj.utils.Threading
- Threading.UserThread - Class in org.bitcoinj.utils
- threeTimes() - Method in class org.bitcoinj.crypto.LazyECPoint
- THRESHOLD - Static variable in class org.bitcoinj.core.LockTime
-
Raw values below this threshold specify a block height, otherwise a timestamp in seconds since epoch.
- THROW - org.bitcoinj.wallet.Wallet.MissingSigsMode
-
If signature is missing,
TransactionSigner.MissingSignatureException
will be thrown for P2SH andECKey.MissingPrivateKeyException
for other tx types. - throwOnLockCycles() - Static method in class org.bitcoinj.utils.Threading
- time - Variable in class org.bitcoinj.core.VersionMessage
-
What the other side believes the current time to be.
- time() - 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.
- time() - Method in class org.bitcoinj.core.PeerAddress
-
Gets the time that the node was last seen as connected to the network.
- time() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the time that the payment request was generated.
- TimeoutHandler - Interface in org.bitcoinj.net
-
Provides basic support for socket timeouts.
- timeoutOccurred() - Method in class org.bitcoinj.core.Peer
- timeoutOccurred() - Method in class org.bitcoinj.core.PeerSocketHandler
- timeoutOccurred() - Method in class org.bitcoinj.net.AbstractTimeoutHandler
-
Deprecated.
- times(int) - Method in class org.bitcoinj.base.Coin
-
Alias for multiply
- times(long) - Method in class org.bitcoinj.base.Coin
-
Alias for multiply
- timesPow2(int) - Method in class org.bitcoinj.crypto.LazyECPoint
- timestamp() - Method in class org.bitcoinj.core.LockTime.TimeLock
- TimeUtils - Class in org.bitcoinj.base.internal
-
Utilities for time and mock time.
- TimeUtils() - Constructor for class org.bitcoinj.base.internal.TimeUtils
- to(Address, Coin) - Static method in class org.bitcoinj.wallet.SendRequest
-
Creates a new SendRequest to the given address for the given value.
- to(NetworkParameters, ECKey, Coin) - Static method in class org.bitcoinj.wallet.SendRequest
-
Deprecated.
- to(ECKey, Coin) - Static method in class org.bitcoinj.wallet.SendRequest
-
Creates a new SendRequest to the given pubkey for the given value.
- toAddress(ScriptType, Network) - Method in class org.bitcoinj.crypto.ECKey
- toASN1() - Method in class org.bitcoinj.crypto.ECKey
-
Output this ECKey as an ASN.1 encoded private key, as understood by OpenSSL or used by Bitcoin Core in its wallet storage format.
- toBase58() - Method in class org.bitcoinj.base.LegacyAddress
-
Returns the base58-encoded textual form, including version and checksum bytes.
- toBase58() - Method in class org.bitcoinj.crypto.BIP38PrivateKey
-
Returns the base58-encoded textual form, including version and checksum bytes.
- toBase58() - Method in class org.bitcoinj.crypto.DumpedPrivateKey
-
Returns the base58-encoded textual form, including version and checksum bytes.
- toBech32() - Method in class org.bitcoinj.base.SegwitAddress
-
Returns the textual form of the address.
- toBigInteger() - Method in class org.bitcoinj.base.Sha256Hash
-
Returns the bytes interpreted as a positive integer.
- toBtc() - Method in class org.bitcoinj.base.Coin
-
Convert to number of bitcoin (in BTC)
- toByteArray() - Method in class org.bitcoinj.script.ScriptChunk
- toCanonicalised() - Method in class org.bitcoinj.crypto.ECKey.ECDSASignature
-
Will automatically adjust the S component to be less than or equal to half the curve order, if necessary.
- toCanonicalised() - Method in class org.bitcoinj.crypto.TransactionSignature
- toDecrypted(CharSequence) - Method in class org.bitcoinj.wallet.BasicKeyChain
- toDecrypted(CharSequence) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- toDecrypted(CharSequence) - Method in interface org.bitcoinj.wallet.EncryptableKeyChain
-
Decrypts the key chain with the given password.
- toDecrypted(AesKey) - Method in class org.bitcoinj.wallet.BasicKeyChain
- toDecrypted(AesKey) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- toDecrypted(AesKey) - Method in interface org.bitcoinj.wallet.EncryptableKeyChain
-
Decrypt the key chain with the given AES key and whatever
KeyCrypter
is already set. - toEncrypted(CharSequence) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Convenience wrapper around
BasicKeyChain.toEncrypted(KeyCrypter, AesKey)
which uses the default Scrypt key derivation algorithm and parameters, derives a key from the given password and returns the created key. - toEncrypted(CharSequence) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- toEncrypted(CharSequence) - Method in interface org.bitcoinj.wallet.EncryptableKeyChain
-
Takes the given password, which should be strong, derives a key from it and then invokes
EncryptableKeyChain.toEncrypted(KeyCrypter, AesKey)
withKeyCrypterScrypt
as the crypter. - toEncrypted(KeyCrypter, AesKey) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Encrypt the wallet using the KeyCrypter and the AES key.
- toEncrypted(KeyCrypter, AesKey) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- toEncrypted(KeyCrypter, AesKey) - Method in interface org.bitcoinj.wallet.EncryptableKeyChain
-
Returns a new keychain holding identical/cloned keys to this chain, but encrypted under the given key.
- toEntropy(List<String>) - Method in class org.bitcoinj.crypto.MnemonicCode
-
Convert mnemonic word list to original entropy value.
- toFriendlyString() - Method in class org.bitcoinj.base.Coin
-
Returns the value as a 0.12 type string.
- toFriendlyString() - Method in class org.bitcoinj.base.utils.Fiat
-
Returns the value as a 0.12 type string.
- toHexString() - Method in class org.bitcoinj.wallet.DeterministicSeed
-
Returns the seed as hex or null if encrypted.
- toKeyParameter() - Method in class org.bitcoinj.crypto.AesKey
-
Deprecated.Use
new KeyParameter(key.bytes)
- toMnemonic(byte[]) - Method in class org.bitcoinj.crypto.MnemonicCode
-
Convert entropy data to mnemonic word list.
- toPlainString() - Method in class org.bitcoinj.base.Coin
-
Returns the value as a plain string denominated in BTC.
- toPlainString() - Method in class org.bitcoinj.base.utils.Fiat
-
Returns the value as a plain string.
- TorUtils - Class in org.bitcoinj.crypto.internal
-
Utilities for encoding and decoding Onion addresses.
- TorUtils() - Constructor for class org.bitcoinj.crypto.internal.TorUtils
- toSat() - Method in class org.bitcoinj.base.Coin
-
Convert to number of satoshis
- toSeed(List<String>, String) - Static method in class org.bitcoinj.crypto.MnemonicCode
-
Convert mnemonic word list to seed.
- toSocketAddress() - Method in class org.bitcoinj.core.PeerAddress
- toString() - Method in enum org.bitcoinj.base.BitcoinNetwork
-
Return the canonical, lowercase, user-facing
String
for anenum
. - toString() - Method in class org.bitcoinj.base.Coin
- toString() - Method in class org.bitcoinj.base.internal.Stopwatch
- toString() - Method in class org.bitcoinj.base.LegacyAddress
- toString() - Method in enum org.bitcoinj.base.SegwitAddress.SegwitHrp
-
Get the HRP in lowercase.
- toString() - Method in class org.bitcoinj.base.SegwitAddress
- toString() - Method in class org.bitcoinj.base.Sha256Hash
- toString() - Method in class org.bitcoinj.base.utils.Fiat
- toString() - Method in class org.bitcoinj.base.VarInt
- toString() - Method in class org.bitcoinj.core.AddressV1Message
- toString() - Method in class org.bitcoinj.core.AddressV2Message
- toString() - Method in class org.bitcoinj.core.Block
-
Returns a multi-line string containing a description of the contents of the block.
- toString() - Method in class org.bitcoinj.core.BlockLocator
- toString() - Method in class org.bitcoinj.core.BloomFilter
- toString() - Method in class org.bitcoinj.core.FeeFilterMessage
- toString() - Method in class org.bitcoinj.core.FilteredBlock
- toString() - Method in class org.bitcoinj.core.GetBlocksMessage
- toString() - Method in class org.bitcoinj.core.GetHeadersMessage
- toString() - Method in class org.bitcoinj.core.InventoryItem
- toString() - Method in class org.bitcoinj.core.ListMessage
- toString() - Method in class org.bitcoinj.core.LockTime
- toString() - Method in class org.bitcoinj.core.PartialMerkleTree
- toString() - Method in class org.bitcoinj.core.Peer
- toString() - Method in class org.bitcoinj.core.PeerAddress
- toString() - Method in class org.bitcoinj.core.RejectMessage
-
A String representation of the relevant details of this reject message.
- toString() - Method in class org.bitcoinj.core.Services
- toString() - Method in class org.bitcoinj.core.StoredBlock
- toString() - Method in class org.bitcoinj.core.StoredUndoableBlock
- toString() - Method in class org.bitcoinj.core.Transaction
- toString() - Method in class org.bitcoinj.core.TransactionConfidence
- toString() - Method in class org.bitcoinj.core.TransactionInput
-
Returns a human-readable debug string.
- toString() - Method in class org.bitcoinj.core.TransactionOutPoint
- toString() - Method in class org.bitcoinj.core.TransactionOutput
-
Returns a human-readable debug string.
- toString() - Method in class org.bitcoinj.core.TransactionWitness
- toString() - Method in class org.bitcoinj.core.UnknownMessage
- toString() - Method in class org.bitcoinj.core.UTXO
- toString() - Method in class org.bitcoinj.core.VersionMessage
- toString() - Method in class org.bitcoinj.crypto.BIP38PrivateKey
- toString() - Method in class org.bitcoinj.crypto.ChildNumber
- toString() - Method in class org.bitcoinj.crypto.DeterministicKey
- toString() - Method in class org.bitcoinj.crypto.DumpedPrivateKey
- toString() - Method in class org.bitcoinj.crypto.ECKey
- toString() - Method in class org.bitcoinj.crypto.EncryptedData
- toString() - Method in class org.bitcoinj.crypto.HDPath
- toString() - Method in class org.bitcoinj.crypto.KeyCrypterScrypt
- toString() - Method in class org.bitcoinj.net.discovery.DnsDiscovery.DnsSeedDiscovery
- toString() - Method in class org.bitcoinj.protocols.payments.PaymentProtocol.PkiVerificationData
- toString() - Method in class org.bitcoinj.script.Script
-
Returns the program opcodes as a string, for example "[1234] DUP HASH160", or "<empty>".
- toString() - Method in class org.bitcoinj.script.ScriptChunk
- toString() - Method in class org.bitcoinj.uri.BitcoinURI
- toString() - Method in class org.bitcoinj.utils.BtcAutoFormat
-
Return a brief description of this formatter.
- toString() - Method in class org.bitcoinj.utils.BtcFixedFormat
-
Returns a brief description of this formatter.
- toString() - Method in class org.bitcoinj.utils.ExponentialBackoff
- toString() - Method in class org.bitcoinj.wallet.DefaultRiskAnalysis
- toString() - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- toString() - Method in class org.bitcoinj.wallet.DeterministicSeed
- toString() - Method in class org.bitcoinj.wallet.RedeemData
- toString() - Method in class org.bitcoinj.wallet.SendRequest
- toString() - Method in class org.bitcoinj.wallet.Wallet
- toString(boolean) - Method in class org.bitcoinj.wallet.DeterministicSeed
- toString(boolean, boolean, AesKey) - Method in class org.bitcoinj.wallet.KeyChainGroup
- toString(boolean, boolean, AesKey, boolean, boolean, AbstractBlockChain) - Method in class org.bitcoinj.wallet.Wallet
-
Formats the wallet as a human-readable piece of text.
- toString(boolean, boolean, AesKey, Network) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- toString(boolean, boolean, AesKey, NetworkParameters) - Method in class org.bitcoinj.wallet.DeterministicKeyChain
- toString(boolean, AesKey, Network) - Method in class org.bitcoinj.wallet.BasicKeyChain
- toString(boolean, AesKey, NetworkParameters) - Method in class org.bitcoinj.wallet.BasicKeyChain
-
Deprecated.
- toString(List<byte[]>) - Static method in class org.bitcoinj.core.Utils
- toString(Network) - Method in class org.bitcoinj.core.TransactionOutput
-
Returns a human-readable debug string.
- toString(AbstractBlockChain, Network) - Method in class org.bitcoinj.core.Transaction
-
A human-readable version of the transaction useful for debugging.
- toString(AbstractBlockChain, Network, CharSequence) - Method in class org.bitcoinj.core.Transaction
-
A human-readable version of the transaction useful for debugging.
- toStringServices(long) - Static method in class org.bitcoinj.core.VersionMessage
-
Deprecated.use
Services.of(long)
andServices.toString()
- toStringWithPrivate(AesKey, Network) - Method in class org.bitcoinj.crypto.ECKey
-
Produce a string rendering of the ECKey INCLUDING the private key.
- toStringWithPrivate(AesKey, NetworkParameters) - Method in class org.bitcoinj.crypto.ECKey
-
Deprecated.
- totalValue() - Method in class org.bitcoinj.wallet.CoinSelection
- toUnmodifiableList() - Static method in class org.bitcoinj.base.internal.StreamUtils
-
Return a collector that collects a
Stream
into an unmodifiable list. - trackFailure() - Method in class org.bitcoinj.utils.ExponentialBackoff
-
Track a failure - multiply the back off interval by the multiplier
- trackFilteredTransactions(int) - Method in class org.bitcoinj.core.AbstractBlockChain
-
We completed handling of a filtered block.
- trackSuccess() - Method in class org.bitcoinj.utils.ExponentialBackoff
-
Track a success - reset back off interval to the initial value
- transaction() - Method in class org.bitcoinj.core.TransactionBroadcast
- transaction() - Method in class org.bitcoinj.wallet.Wallet.SendResult
- Transaction - Class in org.bitcoinj.core
-
A transaction represents the movement of coins from some addresses to some other addresses.
- Transaction() - Constructor for class org.bitcoinj.core.Transaction
- Transaction(NetworkParameters) - Constructor for class org.bitcoinj.core.Transaction
-
Deprecated.use
Transaction()
- TRANSACTION - org.bitcoinj.core.InventoryItem.Type
- Transaction.Purpose - Enum in org.bitcoinj.core
-
This enum describes the underlying reason the transaction was created.
- Transaction.SigHash - Enum in org.bitcoinj.core
-
These constants are a part of a scriptSig signature on the inputs.
- TransactionBag - Interface in org.bitcoinj.core
-
This interface is used to abstract the
Wallet
and theTransaction
- TransactionBroadcast - Class in org.bitcoinj.core
-
Represents a single transaction broadcast that we are performing.
- TransactionBroadcast.ProgressCallback - Interface in org.bitcoinj.core
-
An interface for receiving progress information on the propagation of the tx, from 0.0 to 1.0
- TransactionBroadcaster - Interface in org.bitcoinj.core
-
A general interface which declares the ability to broadcast transactions.
- TransactionConfidence - Class in org.bitcoinj.core
-
A TransactionConfidence object tracks data you can use to make a confidence decision about a transaction.
- TransactionConfidence(Sha256Hash) - Constructor for class org.bitcoinj.core.TransactionConfidence
- TransactionConfidence.ConfidenceType - Enum in org.bitcoinj.core
-
Describes the state of the transaction in general terms.
- TransactionConfidence.Listener - Interface in org.bitcoinj.core
-
A confidence listener is informed when the level of
TransactionConfidence
is updated by something, like for example aWallet
. - TransactionConfidence.Listener.ChangeReason - Enum in org.bitcoinj.core
-
An enum that describes why a transaction confidence listener is being invoked (i.e.
- TransactionConfidence.Source - Enum in org.bitcoinj.core
-
Information about where the transaction was first seen (network, sent direct from peer, created by ourselves).
- TransactionConfidenceEventListener - Interface in org.bitcoinj.core.listeners
-
Implementors are called when confidence of a transaction changes.
- TransactionInput - Class in org.bitcoinj.core
-
A transfer of coins from one address to another creates a transaction in which the outputs can be claimed by the recipient in the input of another transaction.
- TransactionInput(Transaction, byte[], TransactionOutPoint) - Constructor for class org.bitcoinj.core.TransactionInput
- TransactionInput(Transaction, byte[], TransactionOutPoint, Coin) - Constructor for class org.bitcoinj.core.TransactionInput
- TransactionInput.ConnectionResult - Enum in org.bitcoinj.core
- TransactionInput.ConnectMode - Enum in org.bitcoinj.core
- TransactionOutPoint - Class in org.bitcoinj.core
-
This message is a reference or pointer to an output of a different transaction.
- TransactionOutPoint(long, Sha256Hash) - Constructor for class org.bitcoinj.core.TransactionOutPoint
- TransactionOutPoint(long, Transaction) - Constructor for class org.bitcoinj.core.TransactionOutPoint
- TransactionOutPoint(TransactionOutput) - Constructor for class org.bitcoinj.core.TransactionOutPoint
- TransactionOutput - Class in org.bitcoinj.core
-
A TransactionOutput message contains a scriptPubKey that controls who is able to spend its value.
- TransactionOutput(NetworkParameters, Transaction, Coin, byte[]) - Constructor for class org.bitcoinj.core.TransactionOutput
-
Deprecated.
- TransactionOutput(Transaction, Coin, byte[]) - Constructor for class org.bitcoinj.core.TransactionOutput
- TransactionOutput(Transaction, Coin, Address) - Constructor for class org.bitcoinj.core.TransactionOutput
-
Creates an output that sends 'value' to the given address (public key hash).
- TransactionOutput(Transaction, Coin, ECKey) - Constructor for class org.bitcoinj.core.TransactionOutput
-
Creates an output that sends 'value' to the given public key using a simple CHECKSIG script (no addresses).
- TransactionOutputChanges - Class in org.bitcoinj.core
-
TransactionOutputChanges represents a delta to the set of unspent outputs.
- TransactionOutputChanges(List<UTXO>, List<UTXO>) - Constructor for class org.bitcoinj.core.TransactionOutputChanges
- TransactionReceivedInBlockListener - Interface in org.bitcoinj.core.listeners
-
Listener interface for when we receive a new block that contains a relevant transaction.
- transactions - Variable in class org.bitcoinj.wallet.Wallet
- TransactionSignature - Class in org.bitcoinj.crypto
-
A TransactionSignature wraps an
ECKey.ECDSASignature
and adds methods for handling the additional SIGHASH mode byte that is used. - TransactionSignature(BigInteger, BigInteger) - Constructor for class org.bitcoinj.crypto.TransactionSignature
-
Constructs a signature with the given components and SIGHASH_ALL.
- TransactionSignature(BigInteger, BigInteger, int) - Constructor for class org.bitcoinj.crypto.TransactionSignature
-
Constructs a signature with the given components and raw sighash flag bytes (needed for rule compatibility).
- TransactionSignature(ECKey.ECDSASignature, Transaction.SigHash, boolean) - Constructor for class org.bitcoinj.crypto.TransactionSignature
-
Constructs a transaction signature based on the ECDSA signature.
- TransactionSigner - Interface in org.bitcoinj.signers
-
Implementations of this interface are intended to sign inputs of the given transaction.
- TransactionSigner.MissingSignatureException - Exception in org.bitcoinj.signers
- TransactionSigner.ProposedTransaction - Class in org.bitcoinj.signers
-
This class wraps transaction proposed to complete keeping a metadata that may be updated, used and effectively shared by transaction signers.
- TransactionWitness - Class in org.bitcoinj.core
- triggerShutdown() - Method in class org.bitcoinj.net.NioClientManager
- triggerShutdown() - Method in class org.bitcoinj.net.NioServer
-
Invoked by the Execution service when it's time to stop.
- TrustStoreLoader - Interface in org.bitcoinj.crypto
-
An implementation of TrustStoreLoader handles fetching a KeyStore from the operating system, a file, etc.
- TrustStoreLoader.DefaultTrustStoreLoader - Class in org.bitcoinj.crypto
- TrustStoreLoader.FileTrustStoreLoader - Class in org.bitcoinj.crypto
- twice() - Method in class org.bitcoinj.crypto.LazyECPoint
- twiceOf(byte[]) - Static method in class org.bitcoinj.base.Sha256Hash
-
Creates a new instance containing the hash of the calculated hash of the given bytes.
- twiceOf(byte[], byte[]) - Static method in class org.bitcoinj.base.Sha256Hash
-
Creates a new instance containing the hash of the calculated hash of the given bytes.
- twicePlus(ECPoint) - Method in class org.bitcoinj.crypto.LazyECPoint
- tx - Variable in class org.bitcoinj.wallet.DefaultRiskAnalysis
- tx - Variable in class org.bitcoinj.wallet.SendRequest
-
A transaction, probably incomplete, that describes the outline of what you want to do.
- tx - Variable in class org.bitcoinj.wallet.Wallet.SendResult
-
Deprecated.
- TxConfidenceTable - Class in org.bitcoinj.core
-
Tracks transactions that are being announced across the network.
- TxConfidenceTable() - Constructor for class org.bitcoinj.core.TxConfidenceTable
-
Creates a table that will track at most
TxConfidenceTable.MAX_SIZE
entries. - TxConfidenceTable(int) - Constructor for class org.bitcoinj.core.TxConfidenceTable
-
Creates a table that will track at most the given number of transactions (allowing you to bound memory usage).
- txMap - Variable in class org.bitcoinj.wallet.WalletProtobufSerializer
- txOutsCreated - Variable in class org.bitcoinj.core.TransactionOutputChanges
- txOutsSpent - Variable in class org.bitcoinj.core.TransactionOutputChanges
- type - Variable in class org.bitcoinj.core.InventoryItem
- TYPE - org.bitcoinj.core.TransactionConfidence.Listener.ChangeReason
-
Occurs when the type returned by
TransactionConfidence.getConfidenceType()
has changed.
U
- UBTC - Static variable in class org.bitcoinj.base.utils.MonetaryFormat
-
Standard format for the µBTC denomination.
- unCache() - Method in class org.bitcoinj.core.Block
- uncaughtExceptionHandler - Static variable in class org.bitcoinj.utils.Threading
-
An exception handler that will be invoked for any exceptions that occur in the user thread, and any unhandled exceptions that are caught whilst the framework is processing network traffic or doing other background tasks.
- UNCONNECTED - Static variable in class org.bitcoinj.core.TransactionOutPoint
-
Special outpoint that normally marks a coinbase input.
- UnexpectedCoinbaseInput() - Constructor for exception org.bitcoinj.core.VerificationException.UnexpectedCoinbaseInput
- UnexpectedWitnessVersion() - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException.UnexpectedWitnessVersion
- UnexpectedWitnessVersion(String) - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException.UnexpectedWitnessVersion
- UNITNET_MAJORITY_WINDOW - Static variable in class org.bitcoinj.params.UnitTestParams
- UnitTestParams - Class in org.bitcoinj.params
-
Network parameters used by the bitcoinj unit tests (and potentially your own).
- UnitTestParams() - Constructor for class org.bitcoinj.params.UnitTestParams
- UNKNOWN - org.bitcoinj.core.Transaction.Purpose
-
Used when the purpose of a transaction is genuinely unknown.
- UNKNOWN - org.bitcoinj.core.TransactionConfidence.ConfidenceType
-
If a transaction hasn't been broadcast yet, or there's no record of it, its confidence is UNKNOWN.
- UNKNOWN - org.bitcoinj.core.TransactionConfidence.Source
-
We don't know where the transaction came from.
- UnknownMessage - Class in org.bitcoinj.core
-
Instances of this class are not safe for use by multiple threads.
- UnknownMessage(String) - Constructor for class org.bitcoinj.core.UnknownMessage
- unmodifiableList - Variable in class org.bitcoinj.crypto.HDPath
- UnreadableWalletException - Exception in org.bitcoinj.wallet
-
Thrown by the
WalletProtobufSerializer
when the serialized protocol buffer is either corrupted, internally inconsistent or appears to be from the future. - UnreadableWalletException(String) - Constructor for exception org.bitcoinj.wallet.UnreadableWalletException
- UnreadableWalletException(String, Throwable) - Constructor for exception org.bitcoinj.wallet.UnreadableWalletException
- UnreadableWalletException.BadPassword - Exception in org.bitcoinj.wallet
- UnreadableWalletException.FutureVersion - Exception in org.bitcoinj.wallet
- UnreadableWalletException.WrongNetwork - Exception in org.bitcoinj.wallet
- unregister(NetworkParameters) - Static method in class org.bitcoinj.params.Networks
-
Unregister a network type.
- unsafeBitcoinSerialize() - Method in interface org.bitcoinj.core.Message
-
Deprecated.
- unset() - Static method in class org.bitcoinj.core.LockTime
-
Construct an unset lock time.
- UNSET - org.bitcoinj.core.Transaction.SigHash
- UNSPENT - org.bitcoinj.wallet.WalletTransaction.Pool
- UPDATE_ALL - org.bitcoinj.core.BloomFilter.BloomUpdate
- UPDATE_NONE - org.bitcoinj.core.BloomFilter.BloomUpdate
- UPDATE_P2PUBKEY_ONLY - org.bitcoinj.core.BloomFilter.BloomUpdate
-
Only adds outpoints to the filter if the output is a P2PK/pay-to-multisig script
- updateScriptWithSignature(Script, byte[], int, int, int) - Static method in class org.bitcoinj.script.ScriptBuilder
-
Returns a copy of the given scriptSig with the signature inserted in the given position.
- updateTime() - Method in class org.bitcoinj.core.Transaction
-
Returns the earliest time at which the transaction was seen (broadcast or included into the chain), or empty if that information isn't available.
- upgradeToDeterministic(ScriptType, AesKey) - Method in class org.bitcoinj.wallet.Wallet
-
Upgrades the wallet to be deterministic (BIP32).
- upgradeToDeterministic(ScriptType, KeyChainGroupStructure, long, AesKey) - Method in class org.bitcoinj.wallet.KeyChainGroup
- upgradeToDeterministic(ScriptType, KeyChainGroupStructure, Instant, AesKey) - Method in class org.bitcoinj.wallet.KeyChainGroup
-
This method will upgrade the wallet along the following path:
Basic --> P2PKH --> P2WPKH
- upgradeToDeterministic(ScriptType, KeyChainGroupStructure, AesKey) - Method in class org.bitcoinj.wallet.Wallet
-
Upgrades the wallet to be deterministic (BIP32).
- uriScheme() - Method in enum org.bitcoinj.base.BitcoinNetwork
-
The URI scheme for Bitcoin.
- uriScheme() - Method in interface org.bitcoinj.base.Network
-
The URI scheme for this network.
- uriScheme() - Method in class org.bitcoinj.testing.MockAltNetwork
- USE_DUMMY_SIG - org.bitcoinj.wallet.Wallet.MissingSigsMode
-
Missing signatures will be replaced by dummy sigs.
- USE_OP_ZERO - org.bitcoinj.wallet.Wallet.MissingSigsMode
-
Input script will have OP_0 instead of missing signatures
- useAutoSave - Variable in class org.bitcoinj.kits.WalletAppKit
- USER_PAYMENT - org.bitcoinj.core.Transaction.Purpose
-
Transaction created to satisfy a user payment request.
- USER_THREAD - Static variable in class org.bitcoinj.utils.Threading
-
An executor with one thread that is intended for running event listeners on.
- userAgent - Variable in class org.bitcoinj.kits.WalletAppKit
- UserThread() - Constructor for class org.bitcoinj.utils.Threading.UserThread
- Utils - Class in org.bitcoinj.core
-
A collection of various utility methods that are helpful for working with the Bitcoin protocol.
- Utils() - Constructor for class org.bitcoinj.core.Utils
- UTXO - Class in org.bitcoinj.core
-
A UTXO message contains the information necessary to check a spending transaction.
- UTXO(Sha256Hash, long, Coin, int, boolean, Script) - Constructor for class org.bitcoinj.core.UTXO
-
Creates a stored transaction output.
- UTXO(Sha256Hash, long, Coin, int, boolean, Script, String) - Constructor for class org.bitcoinj.core.UTXO
-
Creates a stored transaction output.
- UTXOProvider - Interface in org.bitcoinj.core
-
A UTXOProvider encapsulates functionality for returning unspent transaction outputs, for use by the wallet or other code that crafts spends.
- UTXOProviderException - Exception in org.bitcoinj.core
- UTXOProviderException() - Constructor for exception org.bitcoinj.core.UTXOProviderException
- UTXOProviderException(String) - Constructor for exception org.bitcoinj.core.UTXOProviderException
- UTXOProviderException(String, Throwable) - Constructor for exception org.bitcoinj.core.UTXOProviderException
- UTXOProviderException(Throwable) - Constructor for exception org.bitcoinj.core.UTXOProviderException
V
- value - Variable in class org.bitcoinj.base.Coin
-
The number of satoshis of this monetary value.
- value - Variable in class org.bitcoinj.base.utils.Fiat
-
The number of smallest units of this monetary value.
- value - Variable in class org.bitcoinj.core.LockTime
- value - Variable in enum org.bitcoinj.core.Transaction.SigHash
- valueGathered - Variable in class org.bitcoinj.wallet.CoinSelection
-
Deprecated.
- valueOf(int, int) - Static method in class org.bitcoinj.base.Coin
-
Create a
Coin
from an amount expressed in "the way humans are used to". - valueOf(long) - Static method in class org.bitcoinj.base.Coin
-
Create a
Coin
from a long integer number of satoshis. - valueOf(String) - Static method in enum org.bitcoinj.base.Bech32.Encoding
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.base.BitcoinNetwork
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.base.internal.PlatformUtils.OS
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.base.internal.PlatformUtils.Runtime
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.base.LegacyAddress.AddressHeader
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.base.LegacyAddress.P2SHHeader
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.base.ScriptType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.base.SegwitAddress.SegwitHrp
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.AbstractBlockChain.NewBlockType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.Block.VerifyFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.BloomFilter.BloomUpdate
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.InventoryItem.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.PeerGroup.FilterRecalculateMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.ProtocolVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.RejectMessage.RejectCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.Transaction.Purpose
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.Transaction.SigHash
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.TransactionConfidence.ConfidenceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.TransactionConfidence.Listener.ChangeReason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.TransactionConfidence.Source
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.TransactionInput.ConnectionResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.core.TransactionInput.ConnectMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.crypto.HDKeyDerivation.PublicDeriveMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.script.Script.VerifyFlag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.script.ScriptError
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.utils.BtcAutoFormat.Style
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.wallet.BasicKeyChain.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.wallet.DefaultRiskAnalysis.RuleViolation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.wallet.KeyChain.KeyPurpose
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.wallet.RiskAnalysis.Result
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.wallet.Wallet.BalanceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.wallet.Wallet.MissingSigsMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bitcoinj.wallet.WalletTransaction.Pool
-
Returns the enum constant of this type with the specified name.
- valueOf(String, long) - Static method in class org.bitcoinj.base.utils.Fiat
- values() - Static method in enum org.bitcoinj.base.Bech32.Encoding
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.base.BitcoinNetwork
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.base.internal.PlatformUtils.OS
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.base.internal.PlatformUtils.Runtime
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.base.LegacyAddress.AddressHeader
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.base.LegacyAddress.P2SHHeader
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.base.ScriptType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.base.SegwitAddress.SegwitHrp
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.AbstractBlockChain.NewBlockType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.Block.VerifyFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.BloomFilter.BloomUpdate
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.InventoryItem.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.PeerGroup.FilterRecalculateMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.ProtocolVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.RejectMessage.RejectCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.Transaction.Purpose
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.Transaction.SigHash
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.TransactionConfidence.ConfidenceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.TransactionConfidence.Listener.ChangeReason
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.TransactionConfidence.Source
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.TransactionInput.ConnectionResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.core.TransactionInput.ConnectMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.crypto.HDKeyDerivation.PublicDeriveMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.script.Script.VerifyFlag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.script.ScriptError
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.utils.BtcAutoFormat.Style
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.wallet.BasicKeyChain.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.wallet.DefaultRiskAnalysis.RuleViolation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.wallet.KeyChain.KeyPurpose
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.wallet.RiskAnalysis.Result
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.wallet.Wallet.BalanceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.wallet.Wallet.MissingSigsMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bitcoinj.wallet.WalletTransaction.Pool
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VarInt - Class in org.bitcoinj.base
-
A variable-length encoded unsigned integer using Satoshi's encoding (a.k.a.
- VarInt(byte[], int) - Constructor for class org.bitcoinj.base.VarInt
-
Deprecated.
- VarInt(long) - Constructor for class org.bitcoinj.base.VarInt
-
Deprecated.use
VarInt.of(long)
- vChain - Variable in class org.bitcoinj.kits.WalletAppKit
- VerificationException - Exception in org.bitcoinj.core
- VerificationException() - Constructor for exception org.bitcoinj.core.VerificationException
- VerificationException(Exception) - Constructor for exception org.bitcoinj.core.VerificationException
- VerificationException(String) - Constructor for exception org.bitcoinj.core.VerificationException
- VerificationException(String, Throwable) - Constructor for exception org.bitcoinj.core.VerificationException
- VerificationException.BlockVersionOutOfDate - Exception in org.bitcoinj.core
- VerificationException.CoinbaseHeightMismatch - Exception in org.bitcoinj.core
- VerificationException.CoinbaseScriptSizeOutOfRange - Exception in org.bitcoinj.core
- VerificationException.DuplicatedOutPoint - Exception in org.bitcoinj.core
- VerificationException.EmptyInputsOrOutputs - Exception in org.bitcoinj.core
- VerificationException.ExcessiveValue - Exception in org.bitcoinj.core
- VerificationException.LargerThanMaxBlockSize - Exception in org.bitcoinj.core
- VerificationException.NegativeValueOutput - Exception in org.bitcoinj.core
- VerificationException.NoncanonicalSignature - Exception in org.bitcoinj.core
- VerificationException.UnexpectedCoinbaseInput - Exception in org.bitcoinj.core
- verify() - Method in class org.bitcoinj.core.TransactionInput
-
For a connected transaction, runs the script against the connected pubkey and verifies they are correct.
- verify(byte[], byte[]) - Method in class org.bitcoinj.crypto.ECKey
-
Verifies the given ASN.1 encoded ECDSA signature against a hash using the public key.
- verify(byte[], byte[], byte[]) - Static method in class org.bitcoinj.crypto.ECKey
-
Verifies the given ASN.1 encoded ECDSA signature against a hash using the public key.
- verify(byte[], ECKey.ECDSASignature, byte[]) - Static method in class org.bitcoinj.crypto.ECKey
-
Verifies the given ECDSA signature against the message bytes using the public key bytes.
- verify(Network, Transaction) - Static method in class org.bitcoinj.core.Transaction
-
Checks the transaction contents for sanity, in ways that can be done in a standalone manner.
- verify(Sha256Hash, ECKey.ECDSASignature) - Method in class org.bitcoinj.crypto.ECKey
-
Verifies the given R/S pair (signature) against a hash using the public key.
- verify(NetworkParameters, Block, int, EnumSet<Block.VerifyFlag>) - Static method in class org.bitcoinj.core.Block
-
Verifies both the header and that the transactions hash to the merkle root.
- verify(NetworkParameters, Transaction) - Static method in class org.bitcoinj.core.Transaction
-
Deprecated.
- verify(TransactionOutput) - Method in class org.bitcoinj.core.TransactionInput
-
Verifies that this input can spend the given output.
- verifyHeader(Block) - Static method in class org.bitcoinj.core.Block
-
Checks the block data to ensure it follows the rules laid out in the network parameters.
- verifyMessage(String, String) - Method in class org.bitcoinj.crypto.ECKey
-
Deprecated.Use
MessageVerifyUtils.verifyMessage(Address, String, String)
instead, which works with different address types, which works also with legacy segwit (P2SH-P2WPKH, 3…) and native segwit addresses (P2WPKH, bc1…). - verifyMessage(Address, String, String) - Static method in class org.bitcoinj.crypto.utils.MessageVerifyUtils
-
Verifies messages signed with private keys of Bitcoin addresses.
- verifyOrThrow(byte[], byte[]) - Method in class org.bitcoinj.crypto.ECKey
-
Verifies the given ASN.1 encoded ECDSA signature against a hash using the public key, and throws an exception if the signature doesn't match
- verifyOrThrow(Sha256Hash, ECKey.ECDSASignature) - Method in class org.bitcoinj.crypto.ECKey
-
Verifies the given R/S pair (signature) against a hash using the public key, and throws an exception if the signature doesn't match
- verifyPaymentRequestPki(Protos.PaymentRequest, KeyStore) - Static method in class org.bitcoinj.protocols.payments.PaymentProtocol
-
Uses the provided PKI method to find the corresponding public key and verify the provided signature.
- verifyPki() - Method in class org.bitcoinj.protocols.payments.PaymentSession
-
Returns the value of pkiVerificationData or null if it wasn't verified at construction time.
- verifyTransactions(NetworkParameters, Block, int, EnumSet<Block.VerifyFlag>) - Static method in class org.bitcoinj.core.Block
-
Checks the block contents
- version - Variable in class org.bitcoinj.core.GetBlocksMessage
- version - Variable in class org.bitcoinj.kits.WalletAppKit
- VERSION - org.bitcoinj.wallet.DefaultRiskAnalysis.RuleViolation
- VersionAck - Class in org.bitcoinj.core
-
The verack message, sent by a client accepting the version message they received from their peer.
- VersionAck() - Constructor for class org.bitcoinj.core.VersionAck
- VersionMessage - Class in org.bitcoinj.core
-
A VersionMessage holds information exchanged during connection setup with another peer.
- VersionMessage(NetworkParameters, int) - Constructor for class org.bitcoinj.core.VersionMessage
-
Construct own version message from given
NetworkParameters
and our best height of the chain. - VersionTally - Class in org.bitcoinj.utils
-
Caching counter for the block versions within a moving window.
- VersionTally(NetworkParameters) - Constructor for class org.bitcoinj.utils.VersionTally
- vFileManager - Variable in class org.bitcoinj.wallet.Wallet
- vPeerGroup - Variable in class org.bitcoinj.kits.WalletAppKit
- vStore - Variable in class org.bitcoinj.kits.WalletAppKit
- vTransactionBroadcaster - Variable in class org.bitcoinj.wallet.Wallet
- vWallet - Variable in class org.bitcoinj.kits.WalletAppKit
- vWalletFile - Variable in class org.bitcoinj.kits.WalletAppKit
W
- waitForConfirmation(Transaction) - Method in class org.bitcoinj.wallet.Wallet
-
Wait for at least 1 confirmation on a transaction.
- waitForConfirmations(Transaction, int) - Method in class org.bitcoinj.wallet.Wallet
-
Wait for a required number of confirmations on a transaction.
- waitForPeers(int) - Method in class org.bitcoinj.core.PeerGroup
-
Returns a future that is triggered when the number of connected peers is equal to the given number of peers.
- waitForPeersOfVersion(int, long) - Method in class org.bitcoinj.core.PeerGroup
-
Returns a future that is triggered when there are at least the requested number of connected peers that support the given protocol version or higher.
- waitForPeersWithServiceMask(int, int) - Method in class org.bitcoinj.core.PeerGroup
-
Returns a future that is triggered when there are at least the requested number of connected peers that support the given protocol version or higher.
- waitForUserCode() - Static method in class org.bitcoinj.utils.Threading
-
Put a dummy task into the queue and wait for it to be run.
- wallet - Variable in class org.bitcoinj.wallet.DefaultRiskAnalysis
- wallet() - Method in class org.bitcoinj.kits.WalletAppKit
- Wallet - Class in org.bitcoinj.wallet
-
A Wallet stores keys and a record of transactions that send and receive value from those keys.
- Wallet(Network, KeyChainGroup) - Constructor for class org.bitcoinj.wallet.Wallet
-
Creates a new, empty wallet with no transactions.
- Wallet(NetworkParameters, KeyChainGroup) - Constructor for class org.bitcoinj.wallet.Wallet
- Wallet.BadWalletEncryptionKeyException - Exception in org.bitcoinj.wallet
-
Thrown if the private keys and seed of this wallet cannot be decrypted due to the supplied encryption key or password being wrong.
- Wallet.BalanceType - Enum in org.bitcoinj.wallet
-
It's possible to calculate a wallets balance from multiple points of view.
- Wallet.CompletionException - Exception in org.bitcoinj.wallet
-
Class of exceptions thrown in
Wallet.completeTx(SendRequest)
. - Wallet.CouldNotAdjustDownwards - Exception in org.bitcoinj.wallet
-
Thrown when we were trying to empty the wallet, and the total amount of money we were trying to empty after being reduced for the fee was smaller than the min payment.
- Wallet.DustySendRequested - Exception in org.bitcoinj.wallet
-
Thrown if the resultant transaction would violate the dust rules (an output that's too small to be worthwhile).
- Wallet.ExceededMaxTransactionSize - Exception in org.bitcoinj.wallet
-
Thrown if the resultant transaction is too big for Bitcoin to process.
- Wallet.MissingSigsMode - Enum in org.bitcoinj.wallet
-
Enumerates possible resolutions for missing signatures.
- Wallet.MultipleOpReturnRequested - Exception in org.bitcoinj.wallet
-
Thrown if there is more than one OP_RETURN output for the resultant transaction.
- Wallet.SendResult - Class in org.bitcoinj.wallet
-
A SendResult is returned to you as part of sending coins to a recipient.
- WalletAppKit - Class in org.bitcoinj.kits
-
Utility class that wraps the boilerplate needed to set up a new SPV bitcoinj app.
- WalletAppKit(BitcoinNetwork, ScriptType, KeyChainGroupStructure, File, String) - Constructor for class org.bitcoinj.kits.WalletAppKit
-
Creates a new WalletAppKit, on the specified
BitcoinNetwork
. - WalletAppKit(NetworkParameters, File, String) - Constructor for class org.bitcoinj.kits.WalletAppKit
- WalletAppKit(NetworkParameters, ScriptType, KeyChainGroupStructure, File, String) - Constructor for class org.bitcoinj.kits.WalletAppKit
- WalletChangeEventListener - Interface in org.bitcoinj.wallet.listeners
-
Implementors are called when the contents of the wallet changes, for instance due to receiving/sending money or a block chain re-organize.
- WalletCoinsReceivedEventListener - Interface in org.bitcoinj.wallet.listeners
-
Implementors are called when the contents of the wallet changes, for instance due to receiving/sending money or a block chain re-organize.
- WalletCoinsSentEventListener - Interface in org.bitcoinj.wallet.listeners
-
Implementors are called when the contents of the wallet changes, for instance due to receiving/sending money or a block chain re-organize.
- WalletExtension - Interface in org.bitcoinj.wallet
-
An object implementing this interface can be added to a
Wallet
and provide arbitrary byte arrays that will be serialized alongside the wallet. - walletFactory - Variable in class org.bitcoinj.kits.WalletAppKit
- WalletFiles - Class in org.bitcoinj.wallet
-
A class that handles atomic and optionally delayed writing of the wallet file to disk.
- WalletFiles(Wallet, File, long, TimeUnit) - Constructor for class org.bitcoinj.wallet.WalletFiles
-
Deprecated.
- WalletFiles(Wallet, File, Duration) - Constructor for class org.bitcoinj.wallet.WalletFiles
-
Initialize atomic and optionally delayed writing of the wallet file to disk.
- WalletFiles.Listener - Interface in org.bitcoinj.wallet
-
Implementors can do pre/post treatment of the wallet file.
- WalletProtobufSerializer - Class in org.bitcoinj.wallet
-
Serialize and de-serialize a wallet to a byte stream containing a protocol buffer.
- WalletProtobufSerializer() - Constructor for class org.bitcoinj.wallet.WalletProtobufSerializer
- WalletProtobufSerializer(WalletProtobufSerializer.WalletFactory) - Constructor for class org.bitcoinj.wallet.WalletProtobufSerializer
- WalletProtobufSerializer.WalletFactory - Interface in org.bitcoinj.wallet
- WalletReorganizeEventListener - Interface in org.bitcoinj.wallet.listeners
-
Implementors are called when the wallet is reorganized.
- walletToProto(Wallet) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
-
Converts the given wallet to the object representation of the protocol buffers.
- walletToText(Wallet) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
-
Returns the given wallet formatted as text.
- WalletTransaction - Class in org.bitcoinj.wallet
-
Stores data about a transaction that is only relevant to the
Wallet
class. - WalletTransaction(WalletTransaction.Pool, Transaction) - Constructor for class org.bitcoinj.wallet.WalletTransaction
- WalletTransaction.Pool - Enum in org.bitcoinj.wallet
- WARNING_THRESHOLD - Static variable in class org.bitcoinj.utils.Threading.UserThread
- warnOnLockCycles() - Static method in class org.bitcoinj.utils.Threading
- wasBroadcastBy(PeerAddress) - Method in class org.bitcoinj.core.TransactionConfidence
-
Returns true if the given address has been seen via markBroadcastBy()
- wasUndoable - Variable in class org.bitcoinj.store.MemoryFullPrunedBlockStore.StoredBlockAndWasUndoableFlag
- watch(DeterministicKey) - Method in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
-
Creates a key chain that watches the given account key.
- WATCHING - org.bitcoinj.wallet.BasicKeyChain.State
- watchingKey - Variable in class org.bitcoinj.wallet.DeterministicKeyChain.Builder
- WHITESPACE_SPLITTER - Static variable in class org.bitcoinj.base.internal.InternalUtils
-
A
InternalUtils.Splitter
for splitting a string into components by whitespace. - WHITESPACE_SPLITTER - Static variable in class org.bitcoinj.core.Utils
-
Deprecated.Use
String.split(String)
or a direct Guava dependency - WINDOWS - org.bitcoinj.base.internal.PlatformUtils.OS
- with(Transaction...) - Static method in class org.bitcoinj.core.InventoryMessage
-
Deprecated.
- WITH_INVERSION - org.bitcoinj.crypto.HDKeyDerivation.PublicDeriveMode
- withLocale(Locale) - Method in class org.bitcoinj.base.utils.MonetaryFormat
-
Configure this instance with values from a
Locale
. - withProtocolVersion(int) - Method in class org.bitcoinj.core.BitcoinSerializer
- withProtocolVersion(int) - Method in class org.bitcoinj.core.MessageSerializer
-
Create a new serializer with a specific protocol version.
- WITNESS_BLOCK - org.bitcoinj.core.InventoryItem.Type
- WITNESS_FILTERED_BLOCK - org.bitcoinj.core.InventoryItem.Type
- WITNESS_PROGRAM_LENGTH_PKH - Static variable in class org.bitcoinj.base.SegwitAddress
- WITNESS_PROGRAM_LENGTH_SH - Static variable in class org.bitcoinj.base.SegwitAddress
- WITNESS_PROGRAM_LENGTH_TR - Static variable in class org.bitcoinj.base.SegwitAddress
- WITNESS_PROGRAM_MAX_LENGTH - Static variable in class org.bitcoinj.base.SegwitAddress
- WITNESS_PROGRAM_MIN_LENGTH - Static variable in class org.bitcoinj.base.SegwitAddress
- WITNESS_TRANSACTION - org.bitcoinj.core.InventoryItem.Type
- WITNESS_VERSION - org.bitcoinj.core.ProtocolVersion
- witnessProgram - Variable in class org.bitcoinj.base.SegwitAddress
- witnessVersion - Variable in class org.bitcoinj.base.SegwitAddress
- wrap(byte[]) - Static method in class org.bitcoinj.base.Sha256Hash
-
Creates a new instance that wraps the given hash value.
- wrap(String) - Static method in class org.bitcoinj.base.Sha256Hash
-
Creates a new instance that wraps the given hash value (represented as a hex string).
- wrapReversed(byte[]) - Static method in class org.bitcoinj.base.Sha256Hash
-
Creates a new instance that wraps the given hash value, but with byte order reversed.
- write(OutputStream) - Method in class org.bitcoinj.script.ScriptChunk
- write(ByteBuffer) - Method in class org.bitcoinj.base.Coin
-
Write the amount into the given buffer as 8 bytes in little-endian order.
- write(ByteBuffer) - Method in class org.bitcoinj.base.Sha256Hash
-
Write hash into the given buffer.
- write(ByteBuffer) - Method in class org.bitcoinj.base.VarInt
-
Write encoded value into the given buffer.
- write(ByteBuffer) - Method in class org.bitcoinj.core.PartialMerkleTree
-
Write this partial merkle tree into the given buffer.
- write(ByteBuffer) - Method in class org.bitcoinj.core.Services
-
Write the node service bits into the given buffer.
- write(ByteBuffer) - Method in class org.bitcoinj.core.TransactionInput
-
Write this transaction input into the given buffer.
- write(ByteBuffer) - Method in class org.bitcoinj.core.TransactionOutPoint
-
Write this transaction outpoint into the given buffer.
- write(ByteBuffer) - Method in class org.bitcoinj.core.TransactionOutput
-
Write this transaction output into the given buffer.
- write(ByteBuffer) - Method in class org.bitcoinj.core.TransactionWitness
-
Write this transaction witness into the given buffer.
- write(ByteBuffer, int) - Method in class org.bitcoinj.core.PeerAddress
-
Write this peer address into the given buffer, using a given protocol variant.
- writeBytes(byte[]) - Method in class org.bitcoinj.net.BlockingClient
- writeBytes(byte[]) - Method in interface org.bitcoinj.net.MessageWriteTarget
-
Writes the given bytes to the remote server.
- writeBytes(byte[]) - Method in class org.bitcoinj.net.NioClient
- writeBytes(OutputStream, byte[]) - Static method in class org.bitcoinj.script.Script
-
Writes out the given byte buffer to the output stream with the correct opcode prefix To write an integer call writeBytes(out, Utils.reverseBytes(Utils.encodeMPI(val, false)));
- writeInt16BE(int, OutputStream) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 16-bit integer to a given output stream in big-endian format.
- writeInt16BE(int, ByteBuffer) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 16-bit integer to a given buffer in big-endian format.
- writeInt16LE(int, OutputStream) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 16-bit integer to a given output stream in little-endian format.
- writeInt16LE(int, ByteBuffer) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 16-bit integer to a given buffer in little-endian format.
- writeInt32BE(int, byte[], int) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 32-bit integer to a given byte array in big-endian format, starting at a given offset.
- writeInt32BE(int, OutputStream) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 32-bit integer to a given output stream in big-endian format.
- writeInt32BE(int, ByteBuffer) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 32-bit integer to a given buffer in big-endian format.
- writeInt32LE(int, OutputStream) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 32-bit integer to a given output stream in little-endian format.
- writeInt32LE(int, ByteBuffer) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 32-bit integer to a given buffer in little-endian format.
- writeInt32LE(long, byte[], int) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 32-bit integer to a given byte array in little-endian format, starting at a given offset.
- writeInt32LE(long, OutputStream) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 32-bit integer to a given output stream in little-endian format.
- writeInt32LE(long, ByteBuffer) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 32-bit integer to a given buffer in little-endian format.
- writeInt64LE(long, byte[], int) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 64-bit integer to a given byte array in little-endian format, starting at a given offset.
- writeInt64LE(long, OutputStream) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 64-bit integer to a given output stream in little-endian format.
- writeInt64LE(long, ByteBuffer) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 64-bit integer to a given buffer in little-endian format.
- writeInt64LE(BigInteger, OutputStream) - Static method in class org.bitcoinj.base.internal.ByteUtils
-
Write a 64-bit integer to a given output stream in little-endian format.
- writeLengthPrefixedBytes(ByteBuffer, byte[]) - Static method in class org.bitcoinj.base.internal.Buffers
-
First write the length of the byte array as a
VarInt
. - writeLengthPrefixedString(ByteBuffer, String) - Static method in class org.bitcoinj.base.internal.Buffers
-
Encode a given string using UTF-8.
- writeTarget - Variable in class org.bitcoinj.core.PeerSocketHandler
- writeWallet(Wallet, OutputStream) - Method in class org.bitcoinj.wallet.WalletProtobufSerializer
-
Formats the given wallet (transactions and keys) to the given output stream in protocol buffer format.
- WrongNetwork() - Constructor for exception org.bitcoinj.wallet.UnreadableWalletException.WrongNetwork
- WrongNetwork(int) - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException.WrongNetwork
- WrongNetwork(String) - Constructor for exception org.bitcoinj.base.exceptions.AddressFormatException.WrongNetwork
X
- X0 - org.bitcoinj.base.LegacyAddress.AddressHeader
- X111 - org.bitcoinj.base.LegacyAddress.AddressHeader
- X196 - org.bitcoinj.base.LegacyAddress.P2SHHeader
- X5 - org.bitcoinj.base.LegacyAddress.P2SHHeader
- X509Utils - Class in org.bitcoinj.crypto
-
X509Utils provides tools for working with X.509 certificates and keystores, as used in the BIP 70 payment protocol.
- X509Utils() - Constructor for class org.bitcoinj.crypto.X509Utils
- X6F - org.bitcoinj.base.LegacyAddress.AddressHeader
Z
- ZERO - Static variable in class org.bitcoinj.base.Coin
-
Zero Bitcoins.
- ZERO - Static variable in class org.bitcoinj.crypto.ChildNumber
- ZERO_HARDENED - Static variable in class org.bitcoinj.crypto.ChildNumber
- ZERO_HASH - Static variable in class org.bitcoinj.base.Sha256Hash
All Classes All Packages