Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
block chain management and the Wallet class. |
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.kits |
High level wrapper APIs around the bitcoinj building blocks.
|
org.bitcoinj.net.discovery |
Classes that know how to discover peers in the P2P network using DNS, IRC or DNS via Tor (orchid).
|
org.bitcoinj.params |
Network parameters encapsulate some of the differences between different Bitcoin networks such as the main/production
network, the testnet, regtest mode, unit testing params and so on.
|
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 |
Classes for working with and executing Bitcoin script programs, as embedded in inputs and outputs.
|
org.bitcoinj.store |
Block stores persist blockchain data downloaded from remote peers.
|
org.bitcoinj.testing |
Various utilities for writing unit tests: also useful for testing your own code and apps that build on top of
bitcoinj.
|
org.bitcoinj.uri |
Parsing and handling of bitcoin: textual URIs as found in qr codes and web links.
|
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 |
Classes that support the
Wallet , which knows how to find and save transactions relevant to
a set of keys or scripts, calculate balances, and spend money: the wallet has many features and can be extended
in various ways, please refer to the website for documentation on how to use it. |
Modifier and Type | Field and Description |
---|---|
protected NetworkParameters |
Wallet.params |
protected NetworkParameters |
Message.params |
protected NetworkParameters |
CheckpointManager.params |
protected NetworkParameters |
AbstractBlockChain.params |
Modifier and Type | Method and Description |
---|---|
static NetworkParameters |
NetworkParameters.fromID(String id)
Returns the network parameters for the given string ID or NULL if not recognized.
|
static NetworkParameters |
NetworkParameters.fromPmtProtocolID(String pmtProtocolId)
Returns the network parameters for the given string paymentProtocolID or NULL if not recognized.
|
NetworkParameters |
Wallet.getNetworkParameters() |
NetworkParameters |
Address.getParameters()
Examines the version byte of the address and attempts to find a matching NetworkParameters.
|
static NetworkParameters |
Address.getParametersFromAddress(String address)
Given an address, examines the version byte and attempts to find a matching NetworkParameters.
|
NetworkParameters |
Wallet.getParams()
Returns the parameters this wallet was created with.
|
NetworkParameters |
Message.getParams()
Network parameters this message was created with.
|
static NetworkParameters |
NetworkParameters.prodNet()
Deprecated.
|
static NetworkParameters |
NetworkParameters.regTests()
Deprecated.
|
static NetworkParameters |
NetworkParameters.testNet()
Deprecated.
|
static NetworkParameters |
NetworkParameters.testNet2()
Deprecated.
|
static NetworkParameters |
NetworkParameters.testNet3()
Deprecated.
|
static NetworkParameters |
NetworkParameters.unitTests()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PartialMerkleTree |
PartialMerkleTree.buildFromLeaves(NetworkParameters params,
byte[] includeBits,
List<Sha256Hash> allLeafHashes)
Calculates a PMT given the list of leaf hashes and which leaves need to be included.
|
static void |
CheckpointManager.checkpoint(NetworkParameters params,
InputStream checkpoints,
BlockStore store,
long time)
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.
|
static StoredBlock |
StoredBlock.deserializeCompact(NetworkParameters params,
ByteBuffer buffer)
De-serializes the stored block from a custom packed format.
|
static Address |
Address.fromP2SHHash(NetworkParameters params,
byte[] hash160)
Returns an Address that represents the given P2SH script hash.
|
static Address |
Address.fromP2SHScript(NetworkParameters params,
Script scriptPubKey)
Returns an Address that represents the script hash extracted from the given scriptPubKey
|
static Wallet |
Wallet.fromSeed(NetworkParameters params,
DeterministicSeed seed) |
static Wallet |
Wallet.fromWatchingKey(NetworkParameters params,
DeterministicKey watchKey)
Creates a wallet that tracks payments to and from the HD key hierarchy rooted by the given watching key.
|
static Wallet |
Wallet.fromWatchingKey(NetworkParameters params,
DeterministicKey watchKey,
long creationTimeSeconds)
Creates a wallet that tracks payments to and from the HD key hierarchy rooted by the given watching key.
|
Address |
TransactionOutput.getAddressFromP2PKHScript(NetworkParameters networkParameters)
If the output script pays to an address as in
P2PKH, return the address of the receiver, i.e., a base58 encoded hash of the public key in the script.
|
Address |
TransactionOutput.getAddressFromP2SH(NetworkParameters networkParameters)
If the output script pays to a redeem script, return the address of the redeem script as described by,
i.e., a base58 encoding of [one-byte version][20-byte hash][4-byte checksum], where the 20-byte hash refers to
the redeem script.
|
DumpedPrivateKey |
ECKey.getPrivateKeyEncoded(NetworkParameters params)
Exports the private key in the form used by the Satoshi client "dumpprivkey" and "importprivkey" commands.
|
static PeerAddress |
PeerAddress.localhost(NetworkParameters params) |
static PeerGroup |
PeerGroup.newWithTor(NetworkParameters params,
AbstractBlockChain chain,
com.subgraph.orchid.TorClient torClient)
Creates a PeerGroup that accesses the network via the Tor network.
|
static Wallet.SendRequest |
Wallet.SendRequest.to(NetworkParameters params,
ECKey destination,
Coin value)
Creates a new SendRequest to the given pubkey for the given value.
|
Address |
ECKey.toAddress(NetworkParameters params)
Returns the address that corresponds to the public part of this ECKey.
|
Constructor and Description |
---|
AbstractBlockChain(NetworkParameters params,
List<BlockChainListener> listeners,
BlockStore blockStore)
Constructs a BlockChain connected to the given list of listeners (eg, wallets) and a store.
|
Address(NetworkParameters params,
byte[] hash160)
Construct an address from parameters and the hash160 form.
|
Address(NetworkParameters params,
int version,
byte[] hash160)
Construct an address from parameters, the address version, and the hash160 form.
|
Address(NetworkParameters params,
String address)
Construct an address from parameters and the standard "human readable" form.
|
AlertMessage(NetworkParameters params,
byte[] payloadBytes) |
BitcoinSerializer(NetworkParameters params)
Constructs a BitcoinSerializer with the given behavior.
|
BitcoinSerializer(NetworkParameters params,
boolean parseLazy,
boolean parseRetain)
Constructs a BitcoinSerializer with the given behavior.
|
Block(NetworkParameters params,
byte[] payloadBytes)
Constructs a block object from the Bitcoin wire format.
|
Block(NetworkParameters params,
byte[] payloadBytes,
boolean parseLazy,
boolean parseRetain,
int length)
Contruct a block object from the Bitcoin wire format.
|
Block(NetworkParameters params,
long version,
Sha256Hash prevBlockHash,
Sha256Hash merkleRoot,
long time,
long difficultyTarget,
long nonce,
List<Transaction> transactions)
Construct a block initialized with all the given fields.
|
BlockChain(NetworkParameters params,
BlockStore blockStore)
Constructs a BlockChain that has no wallet at all.
|
BlockChain(NetworkParameters params,
List<BlockChainListener> wallets,
BlockStore blockStore)
Constructs a BlockChain connected to the given list of listeners and a store.
|
BlockChain(NetworkParameters params,
Wallet wallet,
BlockStore blockStore)
Constructs a BlockChain connected to the given wallet and store.
|
BloomFilter(NetworkParameters params,
byte[] payloadBytes)
Construct a BloomFilter by deserializing payloadBytes
|
CheckpointManager(NetworkParameters params,
InputStream inputStream) |
ChildMessage(NetworkParameters params) |
ChildMessage(NetworkParameters params,
byte[] payload,
int offset) |
ChildMessage(NetworkParameters params,
byte[] payload,
int offset,
int protocolVersion) |
ChildMessage(NetworkParameters params,
byte[] payload,
int offset,
int protocolVersion,
Message parent,
boolean parseLazy,
boolean parseRetain,
int length) |
ChildMessage(NetworkParameters params,
byte[] payload,
int offset,
Message parent,
boolean parseLazy,
boolean parseRetain,
int length) |
DumpedPrivateKey(NetworkParameters params,
String encoded)
Parses the given private key as created by the "dumpprivkey" Bitcoin C++ RPC.
|
EmptyMessage(NetworkParameters params) |
EmptyMessage(NetworkParameters params,
byte[] payload,
int offset) |
FilteredBlock(NetworkParameters params,
Block header,
PartialMerkleTree pmt) |
FilteredBlock(NetworkParameters params,
byte[] payloadBytes) |
FullPrunedBlockChain(NetworkParameters params,
FullPrunedBlockStore blockStore)
Constructs a BlockChain that has no wallet at all.
|
FullPrunedBlockChain(NetworkParameters params,
List<BlockChainListener> listeners,
FullPrunedBlockStore blockStore)
Constructs a BlockChain connected to the given list of wallets and a store.
|
FullPrunedBlockChain(NetworkParameters params,
Wallet wallet,
FullPrunedBlockStore blockStore)
Constructs a BlockChain connected to the given wallet and store.
|
GetAddrMessage(NetworkParameters params) |
GetBlocksMessage(NetworkParameters params,
byte[] payload) |
GetBlocksMessage(NetworkParameters params,
List<Sha256Hash> locator,
Sha256Hash stopHash) |
GetDataMessage(NetworkParameters params) |
GetDataMessage(NetworkParameters params,
byte[] payloadBytes) |
GetDataMessage(NetworkParameters params,
byte[] payload,
boolean parseLazy,
boolean parseRetain,
int length)
Deserializes a 'getdata' message.
|
GetHeadersMessage(NetworkParameters params,
byte[] payload) |
GetHeadersMessage(NetworkParameters params,
List<Sha256Hash> locator,
Sha256Hash stopHash) |
GetUTXOsMessage(NetworkParameters params,
byte[] payloadBytes) |
GetUTXOsMessage(NetworkParameters params,
List<TransactionOutPoint> outPoints,
boolean includeMempool) |
HeadersMessage(NetworkParameters params,
Block... headers) |
HeadersMessage(NetworkParameters params,
byte[] payload) |
InventoryMessage(NetworkParameters params) |
InventoryMessage(NetworkParameters params,
byte[] bytes) |
InventoryMessage(NetworkParameters params,
byte[] payload,
boolean parseLazy,
boolean parseRetain,
int length)
Deserializes an 'inv' message.
|
ListMessage(NetworkParameters params) |
ListMessage(NetworkParameters params,
byte[] bytes) |
ListMessage(NetworkParameters params,
byte[] payload,
boolean parseLazy,
boolean parseRetain,
int length) |
NotFoundMessage(NetworkParameters params) |
NotFoundMessage(NetworkParameters params,
byte[] payloadBytes) |
NotFoundMessage(NetworkParameters params,
List<InventoryItem> items) |
PartialMerkleTree(NetworkParameters params,
byte[] payloadBytes,
int offset) |
PartialMerkleTree(NetworkParameters params,
byte[] bits,
List<Sha256Hash> hashes,
int origTxCount)
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.
|
Peer(NetworkParameters params,
AbstractBlockChain blockChain,
PeerAddress peerAddress,
String thisSoftwareName,
String thisSoftwareVersion)
Construct a peer that reads/writes from the given chain.
|
Peer(NetworkParameters params,
VersionMessage ver,
AbstractBlockChain chain,
PeerAddress remoteAddress)
Construct a peer that reads/writes from the given block chain.
|
Peer(NetworkParameters params,
VersionMessage ver,
PeerAddress remoteAddress,
AbstractBlockChain chain,
MemoryPool mempool)
Construct a peer that reads/writes from the given block chain and memory pool.
|
Peer(NetworkParameters params,
VersionMessage ver,
PeerAddress remoteAddress,
AbstractBlockChain chain,
MemoryPool mempool,
boolean downloadTxDependencies)
Construct a peer that reads/writes from the given block chain and memory pool.
|
PeerAddress(NetworkParameters params,
byte[] payload,
int offset,
int protocolVersion)
Construct a peer address from a serialized payload.
|
PeerAddress(NetworkParameters params,
byte[] payload,
int offset,
int protocolVersion,
Message parent,
boolean parseLazy,
boolean parseRetain)
Construct a peer address from a serialized payload.
|
PeerGroup(NetworkParameters params)
Creates a PeerGroup with the given parameters.
|
PeerGroup(NetworkParameters params,
AbstractBlockChain chain)
Creates a PeerGroup for the given network and chain.
|
PeerGroup(NetworkParameters params,
AbstractBlockChain chain,
ClientConnectionManager connectionManager)
Creates a new PeerGroup allowing you to specify the
ClientConnectionManager which is used to create new
connections and keep track of existing ones. |
PeerSocketHandler(NetworkParameters params,
InetSocketAddress remoteIp) |
PeerSocketHandler(NetworkParameters params,
PeerAddress peerAddress) |
Ping(NetworkParameters params,
byte[] payloadBytes) |
Pong(NetworkParameters params,
byte[] payloadBytes) |
RejectMessage(NetworkParameters params,
byte[] payload) |
RejectMessage(NetworkParameters params,
byte[] payload,
boolean parseLazy,
boolean parseRetain,
int length) |
Transaction(NetworkParameters params) |
Transaction(NetworkParameters params,
byte[] payloadBytes)
Creates a transaction from the given serialized bytes, eg, from a block or a tx network message.
|
Transaction(NetworkParameters params,
byte[] payload,
int offset)
Creates a transaction by reading payload starting from offset bytes in.
|
Transaction(NetworkParameters params,
byte[] payload,
int offset,
Message parent,
boolean parseLazy,
boolean parseRetain,
int length)
Creates a transaction by reading payload starting from offset bytes in.
|
Transaction(NetworkParameters params,
byte[] payload,
Message parent,
boolean parseLazy,
boolean parseRetain,
int length)
Creates a transaction by reading payload starting from offset bytes in.
|
TransactionInput(NetworkParameters params,
Transaction parentTransaction,
byte[] scriptBytes)
Creates an input that connects to nothing - used only in creation of coinbase transactions.
|
TransactionInput(NetworkParameters params,
Transaction parentTransaction,
byte[] payload,
int offset)
Deserializes an input message.
|
TransactionInput(NetworkParameters params,
Transaction parentTransaction,
byte[] payload,
int offset,
boolean parseLazy,
boolean parseRetain)
Deserializes an input message.
|
TransactionInput(NetworkParameters params,
Transaction parentTransaction,
byte[] scriptBytes,
TransactionOutPoint outpoint) |
TransactionInput(NetworkParameters params,
Transaction parentTransaction,
byte[] scriptBytes,
TransactionOutPoint outpoint,
Coin value) |
TransactionOutPoint(NetworkParameters params,
byte[] payload,
int offset)
/**
Deserializes the message.
|
TransactionOutPoint(NetworkParameters params,
byte[] payload,
int offset,
Message parent,
boolean parseLazy,
boolean parseRetain)
Deserializes the message.
|
TransactionOutPoint(NetworkParameters params,
long index,
Sha256Hash hash) |
TransactionOutPoint(NetworkParameters params,
long index,
Transaction fromTx) |
TransactionOutput(NetworkParameters params,
Transaction parent,
byte[] payload,
int offset)
Deserializes a transaction output message.
|
TransactionOutput(NetworkParameters params,
Transaction parent,
byte[] payload,
int offset,
boolean parseLazy,
boolean parseRetain)
Deserializes a transaction output message.
|
TransactionOutput(NetworkParameters params,
Transaction parent,
Coin value,
Address to)
Creates an output that sends 'value' to the given address (public key hash).
|
TransactionOutput(NetworkParameters params,
Transaction parent,
Coin value,
byte[] scriptBytes) |
TransactionOutput(NetworkParameters params,
Transaction parent,
Coin value,
ECKey to)
Creates an output that sends 'value' to the given public key using a simple CHECKSIG script (no addresses).
|
UnknownMessage(NetworkParameters params,
String name,
byte[] payloadBytes) |
UTXOsMessage(NetworkParameters params,
byte[] payloadBytes) |
UTXOsMessage(NetworkParameters params,
List<TransactionOutput> outputs,
long[] heights,
Sha256Hash chainHead,
long height)
Provide an array of output objects, with nulls indicating that the output was missing.
|
VersionAck(NetworkParameters params,
byte[] payload) |
VersionMessage(NetworkParameters params,
byte[] payload) |
VersionMessage(NetworkParameters params,
int newBestHeight) |
Wallet(NetworkParameters params)
Creates a new, empty wallet with no keys and no transactions.
|
Wallet(NetworkParameters params,
KeyChainGroup keyChainGroup)
For internal use only.
|
Modifier and Type | Field and Description |
---|---|
NetworkParameters |
BIP38PrivateKey.params |
Constructor and Description |
---|
BIP38PrivateKey(NetworkParameters params,
String encoded) |
Modifier and Type | Field and Description |
---|---|
protected NetworkParameters |
WalletAppKit.params |
Modifier and Type | Method and Description |
---|---|
NetworkParameters |
WalletAppKit.params() |
Constructor and Description |
---|
WalletAppKit(NetworkParameters params,
File directory,
String filePrefix) |
Constructor and Description |
---|
DnsDiscovery(NetworkParameters netParams)
Supports finding peers through DNS A records.
|
DnsDiscovery(String[] dnsSeeds,
NetworkParameters netParams)
Supports finding peers through DNS A records.
|
SeedPeers(NetworkParameters params) |
TorDiscovery(NetworkParameters netParams,
com.subgraph.orchid.TorClient torClient)
Supports finding peers through Tor.
|
TorDiscovery(String[] hostNames,
NetworkParameters netParams,
com.subgraph.orchid.TorClient torClient)
Supports finding peers through Tor.
|
Modifier and Type | Class and Description |
---|---|
class |
MainNetParams
Parameters for the main production network on which people trade goods and services.
|
class |
RegTestParams
Network parameters for the regression test mode of bitcoind in which all blocks are trivially solvable.
|
class |
TestNet2Params
Parameters for the old version 2 testnet.
|
class |
TestNet3Params
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.
|
class |
UnitTestParams
Network parameters used by the bitcoinj unit tests (and potentially your own).
|
Modifier and Type | Method and Description |
---|---|
static Set<NetworkParameters> |
Networks.get() |
Modifier and Type | Method and Description |
---|---|
static void |
Networks.register(NetworkParameters network) |
static void |
Networks.unregister(NetworkParameters network) |
Modifier and Type | Method and Description |
---|---|
static void |
Networks.register(Collection<? extends NetworkParameters> networks) |
Modifier and Type | Method and Description |
---|---|
NetworkParameters |
PaymentSession.getNetworkParameters()
Gets the params as read from the PaymentRequest.network field: main is the default if missing.
|
Modifier and Type | Method and Description |
---|---|
static Protos.PaymentRequest.Builder |
PaymentProtocol.createPaymentRequest(NetworkParameters params,
Coin amount,
Address toAddress,
String memo,
String paymentUrl,
byte[] merchantData)
Create a payment request with one standard pay to address output.
|
static Protos.PaymentRequest.Builder |
PaymentProtocol.createPaymentRequest(NetworkParameters params,
List<Protos.Output> outputs,
String memo,
String paymentUrl,
byte[] merchantData)
Create a payment request.
|
static List<Transaction> |
PaymentProtocol.parseTransactionsFromPaymentMessage(NetworkParameters params,
Protos.Payment paymentMessage)
Parse transactions from payment message.
|
Modifier and Type | Method and Description |
---|---|
Address |
Script.getFromAddress(NetworkParameters params)
Deprecated.
|
Address |
Script.getToAddress(NetworkParameters params)
Gets the destination address from this script, if it's in the required form (see getPubKey).
|
Address |
Script.getToAddress(NetworkParameters params,
boolean forcePayToPubKey)
Gets the destination address from this script, if it's in the required form (see getPubKey).
|
Modifier and Type | Field and Description |
---|---|
protected NetworkParameters |
SPVBlockStore.params |
Modifier and Type | Method and Description |
---|---|
Wallet |
WalletProtobufSerializer.WalletFactory.create(NetworkParameters params,
KeyChainGroup keyChainGroup) |
Wallet |
WalletProtobufSerializer.readWallet(NetworkParameters params,
WalletExtension[] extensions,
Protos.Wallet walletProto)
Loads wallet data from the given protocol buffer and inserts it into the given Wallet object.
|
Constructor and Description |
---|
H2FullPrunedBlockStore(NetworkParameters params,
String dbName,
int fullStoreDepth)
Creates a new H2FullPrunedBlockStore
|
H2FullPrunedBlockStore(NetworkParameters params,
String dbName,
int fullStoreDepth,
int cacheSize)
Creates a new H2FullPrunedBlockStore with the given cache size
|
MemoryBlockStore(NetworkParameters params) |
MemoryFullPrunedBlockStore(NetworkParameters params,
int fullStoreDepth)
Set up the MemoryFullPrunedBlockStore
|
PostgresFullPrunedBlockStore(NetworkParameters params,
int fullStoreDepth,
String hostname,
String dbName,
String username,
String password)
Creates a new PostgresFullPrunedBlockStore.
|
PostgresFullPrunedBlockStore(NetworkParameters params,
int fullStoreDepth,
String hostname,
String dbName,
String username,
String password,
String schemaName)
Create a new PostgresFullPrunedBlockStore, storing the tables in the schema specified.
|
PostgresFullPrunedBlockStore(NetworkParameters params,
String connectionURL,
int fullStoreDepth,
String username,
String password,
String schemaName)
Create a new PostgresFullPrunedBlockStore, using the full connection URL instead of a hostname and password,
and optionally allowing a schema to be specified.
|
SPVBlockStore(NetworkParameters params,
File file)
Creates and initializes an SPV block store.
|
Modifier and Type | Field and Description |
---|---|
protected static NetworkParameters |
TestWithWallet.params |
protected static NetworkParameters |
TestWithPeerGroup.params |
protected NetworkParameters |
TestWithNetworkConnections.unitTestParams |
Modifier and Type | Method and Description |
---|---|
static FakeTxBuilder.DoubleSpends |
FakeTxBuilder.createFakeDoubleSpendTxns(NetworkParameters params,
Address to)
Creates two transactions that spend the same (fake) output.
|
static Transaction |
FakeTxBuilder.createFakeTx(NetworkParameters params,
Coin value,
Address to)
Create a fake TX of sufficient realism to exercise the unit tests.
|
static Transaction[] |
FakeTxBuilder.createFakeTx(NetworkParameters params,
Coin value,
Address to,
Address from)
Transaction[0] is a feeder transaction, supplying BTC to Transaction[1]
|
static Transaction |
FakeTxBuilder.createFakeTx(NetworkParameters params,
Coin value,
ECKey to)
Create a fake TX of sufficient realism to exercise the unit tests.
|
static Transaction |
FakeTxBuilder.createFakeTxWithChangeAddress(NetworkParameters params,
Coin value,
Address to,
Address changeOutput)
Create a fake TX of sufficient realism to exercise the unit tests.
|
static Transaction |
FakeTxBuilder.roundTripTransaction(NetworkParameters params,
Transaction tx)
Roundtrip a transaction so that it appears as if it has just come from the wire
|
Constructor and Description |
---|
InboundMessageQueuer(NetworkParameters params) |
Constructor and Description |
---|
BitcoinURI(NetworkParameters params,
String input)
Constructs a new object by trying to parse the input as a valid Bitcoin URI.
|
Constructor and Description |
---|
BlockFileLoader(NetworkParameters params,
List<File> files) |
Modifier and Type | Method and Description |
---|---|
static KeyChainGroup |
KeyChainGroup.fromProtobufEncrypted(NetworkParameters params,
List<Protos.Key> keys,
int sigsRequiredToSpend,
KeyCrypter crypter) |
static KeyChainGroup |
KeyChainGroup.fromProtobufUnencrypted(NetworkParameters params,
List<Protos.Key> keys,
int sigsRequiredToSpend) |
Constructor and Description |
---|
KeyChainGroup(NetworkParameters params)
Creates a keychain group with no basic chain, and a single, lazily created HD chain.
|
KeyChainGroup(NetworkParameters params,
DeterministicKey watchKey)
Creates a keychain group with no basic chain, and an HD chain that is watching the given watching key.
|
KeyChainGroup(NetworkParameters params,
DeterministicKey watchKey,
long creationTimeSecondsSecs)
Creates a keychain group with no basic chain, and an HD chain that is watching the given watching key which
was assumed to be first used at the given UNIX time.
|
KeyChainGroup(NetworkParameters params,
DeterministicSeed seed)
Creates a keychain group with no basic chain, and an HD chain initialized from the given seed.
|
KeyChainGroup(NetworkParameters params,
DeterministicSeed seed,
List<DeterministicKey> followingAccountKeys,
int sigsRequiredToSpend)
Creates a keychain group with no basic chain, with an HD chain initialized from the given seed and being followed
by given list of watch keys.
|
Copyright © 2014. All rights reserved.