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.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 | Method and Description |
---|---|
RedeemData |
Wallet.findRedeemDataFromScriptHash(byte[] payToScriptHash)
Locates a redeem data (redeem script and keys) from the keychain given the hash of the script.
|
RedeemData |
TransactionOutPoint.getConnectedRedeemData(KeyBag keyBag)
Returns the RedeemData identified in the connected output, for either pay-to-address scripts, pay-to-key
or P2SH scripts.
|
RedeemData |
TransactionInput.getConnectedRedeemData(KeyBag keyBag)
Alias for getOutpoint().getConnectedRedeemData(keyBag)
|
Modifier and Type | Method and Description |
---|---|
RedeemData |
KeyChainGroup.findRedeemDataFromScriptHash(byte[] scriptHash) |
RedeemData |
KeyBag.findRedeemDataFromScriptHash(byte[] scriptHash)
Locates a redeem data (redeem script and keys) from the keychain given the hash of the script.
|
RedeemData |
DecryptingKeyBag.findRedeemDataFromScriptHash(byte[] scriptHash) |
static RedeemData |
RedeemData.of(ECKey key,
Script program)
Creates RedeemData for pay-to-address or pay-to-pubkey input.
|
static RedeemData |
RedeemData.of(List<ECKey> keys,
Script redeemScript) |
Copyright © 2014. All rights reserved.