Package org.bitcoinj.wallet
Interface KeyChainFactory
-
- All Known Implementing Classes:
DefaultKeyChainFactory
public interface KeyChainFactory
Factory interface for creation keychains while de-serializing a wallet.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default DeterministicKeyChain
makeKeyChain(DeterministicSeed seed, KeyCrypter crypter, boolean isMarried, ScriptType outputScriptType, java.util.List<ChildNumber> accountPath)
Deprecated.DeterministicKeyChain
makeKeyChain(DeterministicSeed seed, KeyCrypter crypter, ScriptType outputScriptType, java.util.List<ChildNumber> accountPath)
Make a keychain (but not a watching one) with the specified account pathdefault DeterministicKeyChain
makeSpendingKeyChain(DeterministicKey accountKey, boolean isMarried, ScriptType outputScriptType)
Deprecated.DeterministicKeyChain
makeSpendingKeyChain(DeterministicKey accountKey, ScriptType outputScriptType)
Make a spending keychain.default DeterministicKeyChain
makeWatchingKeyChain(DeterministicKey accountKey, boolean isFollowingKey, boolean isMarried, ScriptType outputScriptType)
Deprecated.DeterministicKeyChain
makeWatchingKeyChain(DeterministicKey accountKey, ScriptType outputScriptType)
Make a watching keychain.
-
-
-
Method Detail
-
makeKeyChain
DeterministicKeyChain makeKeyChain(DeterministicSeed seed, KeyCrypter crypter, ScriptType outputScriptType, java.util.List<ChildNumber> accountPath)
Make a keychain (but not a watching one) with the specified account path- Parameters:
seed
- the seedcrypter
- the encrypted/decrypteroutputScriptType
- type of addresses (aka output scripts) to generate for receivingaccountPath
- account path to generate receiving addresses on
-
makeKeyChain
@Deprecated default DeterministicKeyChain makeKeyChain(DeterministicSeed seed, KeyCrypter crypter, boolean isMarried, ScriptType outputScriptType, java.util.List<ChildNumber> accountPath)
Deprecated.
-
makeWatchingKeyChain
DeterministicKeyChain makeWatchingKeyChain(DeterministicKey accountKey, ScriptType outputScriptType) throws UnreadableWalletException
Make a watching keychain.isMarried and isFollowingKey must not be true at the same time.
- Parameters:
accountKey
- the account extended public keyoutputScriptType
- type of addresses (aka output scripts) to generate for watching- Throws:
UnreadableWalletException
-
makeWatchingKeyChain
@Deprecated default DeterministicKeyChain makeWatchingKeyChain(DeterministicKey accountKey, boolean isFollowingKey, boolean isMarried, ScriptType outputScriptType) throws UnreadableWalletException
Deprecated.- Throws:
UnreadableWalletException
-
makeSpendingKeyChain
DeterministicKeyChain makeSpendingKeyChain(DeterministicKey accountKey, ScriptType outputScriptType) throws UnreadableWalletException
Make a spending keychain.isMarried and isFollowingKey must not be true at the same time.
- Parameters:
accountKey
- the account extended public keyoutputScriptType
- type of addresses (aka output scripts) to generate for spending- Throws:
UnreadableWalletException
-
makeSpendingKeyChain
@Deprecated default DeterministicKeyChain makeSpendingKeyChain(DeterministicKey accountKey, boolean isMarried, ScriptType outputScriptType) throws UnreadableWalletException
Deprecated.- Throws:
UnreadableWalletException
-
-