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.See: Description
Interface | Description |
---|---|
CoinSelector |
A CoinSelector is responsible for picking some outputs to spend, from the list of all possible outputs.
|
EncryptableKeyChain |
An encryptable key chain is a key-chain that can be encrypted with a user-provided password or AES key.
|
KeyBag |
A KeyBag is simply an object that can map public keys, their 160-bit hashes and script hashes to ECKey
and
RedeemData objects. |
KeyChain |
A KeyChain is a class that stores a collection of keys for a
Wallet . |
KeyChainFactory |
Factory interface for creation keychains while de-serializing a wallet.
|
Protos.DeterministicKeyOrBuilder | |
Protos.EncryptedDataOrBuilder | |
Protos.ExchangeRateOrBuilder | |
Protos.ExtensionOrBuilder | |
Protos.KeyOrBuilder | |
Protos.PeerAddressOrBuilder | |
Protos.ScriptOrBuilder | |
Protos.ScryptParametersOrBuilder | |
Protos.TagOrBuilder | |
Protos.TransactionConfidenceOrBuilder | |
Protos.TransactionInputOrBuilder | |
Protos.TransactionOrBuilder | |
Protos.TransactionOutputOrBuilder | |
Protos.TransactionSignerOrBuilder | |
Protos.WalletOrBuilder | |
RiskAnalysis |
A RiskAnalysis represents an analysis of how likely it is that a transaction (and its dependencies) represents a
possible double spending attack.
|
RiskAnalysis.Analyzer | |
WalletExtension |
An object implementing this interface can be added to a
Wallet and provide arbitrary byte arrays that will
be serialized alongside the wallet. |
WalletFiles.Listener |
Implementors can do pre/post treatment of the wallet file.
|
WalletProtobufSerializer.WalletFactory |
Class | Description |
---|---|
AllowUnconfirmedCoinSelector |
This coin selector will select any transaction at all, regardless of where it came from or whether it was
confirmed yet.
|
BasicKeyChain |
A
KeyChain that implements the simplest model possible: it can have keys imported into it, and just acts as
a dumb bag of keys. |
CoinSelection |
Represents the results of a
CoinSelector.select(Coin, java.util.List) operation. |
DecryptingKeyBag |
A DecryptingKeyBag filters a pre-existing key bag, decrypting keys as they are requested using the provided
AES key.
|
DefaultCoinSelector |
This class implements a
CoinSelector which attempts to get the highest priority
possible. |
DefaultKeyChainFactory |
Default factory for creating keychains while de-serializing.
|
DefaultRiskAnalysis |
The default risk analysis.
|
DefaultRiskAnalysis.Analyzer | |
DeterministicKeyChain |
A deterministic key chain is a
KeyChain that uses the
BIP 32 standard, as implemented by
DeterministicHierarchy , to derive all the keys in the keychain from a master seed. |
DeterministicKeyChain.Builder<T extends DeterministicKeyChain.Builder<T>> | |
DeterministicSeed |
Holds the seed bytes for the BIP32 deterministic wallet algorithm, inside a
DeterministicKeyChain . |
FilteringCoinSelector |
A filtering coin selector delegates to another coin selector, but won't select outputs spent by the given transactions.
|
KeyChainGroup |
A KeyChainGroup is used by the
Wallet and
manages: a BasicKeyChain object (which will normally be empty), and zero or more
DeterministicKeyChain s. |
KeyTimeCoinSelector |
A coin selector that takes all coins assigned to keys created before the given timestamp.
|
MarriedKeyChain |
A multi-signature keychain using synchronized HD keys (a.k.a HDM)
|
MarriedKeyChain.Builder<T extends MarriedKeyChain.Builder<T>> |
Builds a
MarriedKeyChain |
Protos | |
Protos.DeterministicKey |
Protobuf type
wallet.DeterministicKey |
Protos.DeterministicKey.Builder |
Protobuf type
wallet.DeterministicKey |
Protos.EncryptedData |
Protobuf type
wallet.EncryptedData |
Protos.EncryptedData.Builder |
Protobuf type
wallet.EncryptedData |
Protos.ExchangeRate |
Protobuf type
wallet.ExchangeRate |
Protos.ExchangeRate.Builder |
Protobuf type
wallet.ExchangeRate |
Protos.Extension |
Protobuf type
wallet.Extension |
Protos.Extension.Builder |
Protobuf type
wallet.Extension |
Protos.Key |
Protobuf type
wallet.Key |
Protos.Key.Builder |
Protobuf type
wallet.Key |
Protos.PeerAddress |
Protobuf type
wallet.PeerAddress |
Protos.PeerAddress.Builder |
Protobuf type
wallet.PeerAddress |
Protos.Script |
Protobuf type
wallet.Script |
Protos.Script.Builder |
Protobuf type
wallet.Script |
Protos.ScryptParameters |
Protobuf type
wallet.ScryptParameters |
Protos.ScryptParameters.Builder |
Protobuf type
wallet.ScryptParameters |
Protos.Tag |
Protobuf type
wallet.Tag |
Protos.Tag.Builder |
Protobuf type
wallet.Tag |
Protos.Transaction |
Protobuf type
wallet.Transaction |
Protos.Transaction.Builder |
Protobuf type
wallet.Transaction |
Protos.TransactionConfidence |
Protobuf type
wallet.TransactionConfidence |
Protos.TransactionConfidence.Builder |
Protobuf type
wallet.TransactionConfidence |
Protos.TransactionInput |
Protobuf type
wallet.TransactionInput |
Protos.TransactionInput.Builder |
Protobuf type
wallet.TransactionInput |
Protos.TransactionOutput |
Protobuf type
wallet.TransactionOutput |
Protos.TransactionOutput.Builder |
Protobuf type
wallet.TransactionOutput |
Protos.TransactionSigner |
Protobuf type
wallet.TransactionSigner |
Protos.TransactionSigner.Builder |
Protobuf type
wallet.TransactionSigner |
Protos.Wallet |
Protobuf type
wallet.Wallet |
Protos.Wallet.Builder |
Protobuf type
wallet.Wallet |
RedeemData |
This class aggregates data required to spend transaction output.
|
SendRequest |
A SendRequest gives the wallet information about precisely how to send money to a recipient or set of recipients.
|
Wallet |
A Wallet stores keys and a record of transactions that send and receive value from those keys.
|
Wallet.SendResult |
A SendResult is returned to you as part of sending coins to a recipient.
|
WalletFiles |
A class that handles atomic and optionally delayed writing of the wallet file to disk.
|
WalletProtobufSerializer |
Serialize and de-serialize a wallet to a byte stream containing a
protocol buffer.
|
WalletTransaction |
Stores data about a transaction that is only relevant to the
Wallet class. |
Enum | Description |
---|---|
BasicKeyChain.State |
Whether this basic key chain is empty, full of regular (usable for signing) keys, or full of watching keys.
|
DefaultRiskAnalysis.RuleViolation |
The reason a transaction is considered non-standard, returned by
DefaultRiskAnalysis.isStandard(org.bitcoinj.core.Transaction) . |
KeyChain.KeyPurpose | |
Protos.Key.Type |
Protobuf enum
wallet.Key.Type |
Protos.Transaction.Pool |
Protobuf enum
wallet.Transaction.Pool |
Protos.Transaction.Purpose |
Protobuf enum
wallet.Transaction.Purpose |
Protos.TransactionConfidence.Source |
Protobuf enum
wallet.TransactionConfidence.Source |
Protos.TransactionConfidence.Type |
Protobuf enum
wallet.TransactionConfidence.Type |
Protos.Wallet.EncryptionType |
Protobuf enum
wallet.Wallet.EncryptionType |
RiskAnalysis.Result | |
Wallet.BalanceType |
It's possible to calculate a wallets balance from multiple points of view.
|
Wallet.MissingSigsMode |
Enumerates possible resolutions for missing signatures.
|
WalletTransaction.Pool |
Exception | Description |
---|---|
AllRandomKeysRotating |
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.
|
DeterministicUpgradeRequiredException |
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.
|
DeterministicUpgradeRequiresPassword |
Indicates that the pre-HD random wallet is encrypted, so you should try the upgrade again after getting the
users password.
|
UnreadableWalletException |
Thrown by the
WalletProtobufSerializer when the serialized protocol buffer is either corrupted,
internally inconsistent or appears to be from the future. |
UnreadableWalletException.BadPassword | |
UnreadableWalletException.FutureVersion | |
UnreadableWalletException.WrongNetwork | |
Wallet.CompletionException |
Class of exceptions thrown in
Wallet.completeTx(SendRequest) . |
Wallet.CouldNotAdjustDownwards |
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 |
Thrown if the resultant transaction would violate the dust rules (an output that's too small to be worthwhile).
|
Wallet.ExceededMaxTransactionSize |
Thrown if the resultant transaction is too big for Bitcoin to process.
|
Wallet.MultipleOpReturnRequested |
Thrown if there is more than one OP_RETURN output for the resultant transaction.
|
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.Copyright © 2016. All rights reserved.