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, creationTimeSecs, entropy, isFollowing, outputScriptType, passphrase, random, seed, spendingKey, watchingKey
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MarriedKeyChain
build()
T
followingKeys(java.util.List<DeterministicKey> followingKeys)
T
followingKeys(DeterministicKey followingKey, DeterministicKey... followingKeys)
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, getPassphrase, outputScriptType, passphrase, random, random, seed, self, spend, watch, watchAndFollow
-
-
-
-
Method Detail
-
followingKeys
public T followingKeys(java.util.List<DeterministicKey> followingKeys)
-
followingKeys
public T followingKeys(DeterministicKey followingKey, DeterministicKey... followingKeys)
-
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>>
-
-