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>
  • Constructor Details

    • Builder

      protected Builder()
  • Method Details

    • followingKeys

      public T followingKeys(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 class DeterministicKeyChain.Builder<T extends MarriedKeyChain.Builder<T>>