Class TransactionSigner.ProposedTransaction

java.lang.Object
org.bitcoinj.signers.TransactionSigner.ProposedTransaction
Enclosing interface:
TransactionSigner

public static class TransactionSigner.ProposedTransaction extends Object
This class wraps transaction proposed to complete keeping a metadata that may be updated, used and effectively shared by transaction signers.
  • Field Details

    • partialTx

      public final Transaction partialTx
    • keyPaths

      public final Map<Script,List<ChildNumber>> keyPaths
      HD key paths used for each input to derive a signing key. It's useful for multisig inputs only. The keys used to create a single P2SH address have the same derivation path, so to use a correct key each signer has to know a derivation path of signing keys used by previous signers. For each input signers will use the same derivation path and we need to store only one key path per input. As TransactionInput is mutable, inputs are identified by their scriptPubKeys (keys in this map).
  • Constructor Details

    • ProposedTransaction

      public ProposedTransaction(Transaction partialTx)