Package org.bitcoinj.wallet
Class MarriedKeyChain.Builder<T extends MarriedKeyChain.Builder<T>>
- java.lang.Object
-
- org.bitcoinj.wallet.DeterministicKeyChain.Builder<T>
-
- org.bitcoinj.wallet.MarriedKeyChain.Builder<T>
-
- Enclosing class:
- MarriedKeyChain
public static class MarriedKeyChain.Builder<T extends MarriedKeyChain.Builder<T>> extends DeterministicKeyChain.Builder<T>
Builds aMarriedKeyChain
-
-
Field Summary
-
Fields inherited from class org.bitcoinj.wallet.DeterministicKeyChain.Builder
accountPath, bits, creationTime, entropy, isFollowing, outputScriptType, passphrase, random, seed, spendingKey, watchingKey
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MarriedKeyChain
build()
T
followingKey(DeterministicKey followingKey)
T
followingKeys(java.util.List<DeterministicKey> followingKeys)
T
followingKeys(DeterministicKey followingKey, DeterministicKey... followingKeys)
Deprecated.Merge the elements and callfollowingKeys(List)
T
threshold(int threshold)
Threshold, or(followingKeys.size() + 1) / 2 + 1)
(majority) if unspecified.-
Methods inherited from class org.bitcoinj.wallet.DeterministicKeyChain.Builder
accountPath, entropy, entropy, getPassphrase, outputScriptType, passphrase, random, random, seed, self, spend, watch, watchAndFollow
-
-
-
-
Method Detail
-
followingKey
public T followingKey(DeterministicKey followingKey)
-
followingKeys
public T followingKeys(java.util.List<DeterministicKey> followingKeys)
-
followingKeys
@Deprecated public T followingKeys(DeterministicKey followingKey, DeterministicKey... followingKeys)
Deprecated.Merge the elements and callfollowingKeys(List)
-
threshold
public T threshold(int threshold)
Threshold, or
(followingKeys.size() + 1) / 2 + 1)
(majority) if unspecified.IMPORTANT: As of Bitcoin Core 0.9 all multisig transactions which require more than 3 public keys are non-standard and such spends won't be processed by peers with default settings, essentially making such transactions almost nonspendable
-
build
public MarriedKeyChain build()
- Overrides:
build
in classDeterministicKeyChain.Builder<T extends MarriedKeyChain.Builder<T>>
-
-