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 a
MarriedKeyChain
-
Field Summary
Fields inherited from class org.bitcoinj.wallet.DeterministicKeyChain.Builder
accountPath, bits, creationTimeSecs, entropy, isFollowing, outputScriptType, passphrase, random, seed, spendingKey, watchingKey
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
followingKeys
(List<DeterministicKey> followingKeys) followingKeys
(DeterministicKey followingKey, DeterministicKey... followingKeys) 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
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
followingKeys
-
followingKeys
-
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
- Overrides:
build
in classDeterministicKeyChain.Builder<T extends MarriedKeyChain.Builder<T>>
-