Implementors can be connected to a
Classes implementing this interface represent a monetary value, such as a Bitcoin or fiat amount.
An interface which provides the information required to properly filter data downloaded from Peers.
A general interface which declares the ability to broadcast transactions.
Implementors are called when the contents of the wallet changes, for instance due to receiving/sending money or a block chain re-organize.
An object implementing this interface can be added to a
Default no-op implementation of
Convenience implementation of
Convenience implementation of
A Bitcoin address looks like 1MsScoe2fTJoq4ZPdQgqyhgWeoNamYPevy and is derived from an elliptic curve public key plus a set of network parameters.
Represents an "addr" message on the P2P network, which contains broadcast IP addresses of other peers.
Alerts are signed messages that are broadcast on the peer-to-peer network if they match a hard-coded signing key.
Base58 is a way to encode Bitcoin addresses as numbers and letters.
Methods to serialize and de-serialize messages to the Bitcoin network format as defined in the protocol specification.
A block is a group of transactions, and is one of the fundamental data structures of the Bitcoin system.
A BlockChain implements the simplified payment verification mode of the Bitcoin protocol.
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.
Represents a Message type that can be contained within another Message.
Represents a monetary Bitcoin value.
An implementation of
Parses and generates private keys in the form used by the Bitcoin "dumpprivkey" command.
Represents an elliptic curve public and (optionally) private key, usable for digital signatures but not encryption.
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.
Parent class for header only messages that don't have a payload.
A FilteredBlock is used to relay a block with its transactions filtered using a
A FullPrunedBlockChain works in conjunction with a
Represents the "getaddr" P2P protocol message, which requests network
Represents the "getblocks" P2P network message, which requests the hashes of the parts of the block chain we're missing.
Represents the "getdata" P2P network message, which requests the contents of blocks or transactions given their hashes.
The "getheaders" command is structurally identical to "getblocks", but has different meaning.
A protocol message that contains a repeated series of block headers, sent in response to the "getheaders" command.
Represents the "inv" P2P network message.
Abstract superclass of classes with list based payload, ie InventoryMessage and GetDataMessage.
Tracks transactions that are being announced across the network.
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.
A Message is a data structure that can be serialized/deserialized using both the Bitcoin proprietary serialization format and built-in Java object serialization.
NetworkParameters contains the data needed for working with an instantiation of a Bitcoin chain.
Sent by a peer when a getdata request doesn't find the requested data in the mempool.
A data structure that contains proofs of block inclusion for one or more transactions, in an efficient manner.
A Peer handles the high level communication with a Bitcoin node, extending a
A PeerAddress holds an IP address and port number representing the network location of a peer in the Bitcoin P2P network.
Runs a set of connections to the P2P network, brings up connections to replace disconnected nodes and manages the interaction between them all.
A message sent by nodes when a message we sent was rejected (ie a transaction had too little fee/was invalid/etc)
A Sha256Hash just wraps a byte so that equals and hashcode work correctly, allowing it to be used as keys in a map.
A StoredTransactionOutput message contains the information necessary to check a spending transaction.
Contains minimal data neccessary to disconnect/connect the transactions in the stored block at will.
A transaction represents the movement of coins from some addresses to some other addresses.
Represents a single transaction broadcast that we are performing.
A TransactionConfidence object tracks data you can use to make a confidence decision about a transaction.
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.
This message is a reference or pointer to an output of a different transaction.
A TransactionOutput message contains a scriptPubKey that controls who is able to spend its value.
TransactionOutputChanges represents a delta to the set of unspent outputs.
An unsynchronized implementation of ByteArrayOutputStream that will return the backing byte array if its length == size().
A collection of various utility methods that are helpful for working with the Bitcoin protocol.
Message representing a list of unspent transaction outputs, returned in response to sending a GetUTXOsMessage.
A variable-length encoded integer using Satoshis encoding.
The verack message, sent by a client accepting the version message they received from their peer.
In Bitcoin the following format is often used to represent some type of key:
A VersionMessage holds information exchanged during connection setup with another peer.
A Wallet stores keys and a record of transactions that send and receive value from those keys.
A SendRequest gives the wallet information about precisely how to send money to a recipient or set of recipients.
A SendResult is returned to you as part of sending coins to a recipient.
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 pay-2-pubkey outputs (default)
This enum describes the underlying reason the transaction was created.
These constants are a part of a scriptSig signature on the inputs.
Describes the state of the transaction in general terms.
An enum that describes why a transaction confidence listener is being invoked (i.e.
Information about where the transaction was first seen (network, sent direct from peer, created by ourselves).
It's possible to calculate a wallets balance from multiple points of view.
Enumerates possible resolutions for missing signatures.
Thrown to indicate that you don't have enough money available to perform the requested operation.
Thrown when a problem occurs in communicating with a peer, and we should retry.
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.
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.
This exception is thrown by the Address class when you try and decode an address with a version code that isn't used by that network.
Transaction, peer connectivity via
PeerGroup, block chain management and the
Walletclass. If what you're doing can be described as basic bitcoin tasks, the code is probably found here. To learn more please consult the documentation on the website.
Copyright © 2014. All rights reserved.