object TransactionTestUtil extends TransactionTestUtil

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransactionTestUtil
  2. TransactionTestUtil
  3. BitcoinSLogger
  4. Logging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buildCreditingTransaction(scriptPubKey: ScriptPubKey, amount: Option[CurrencyUnit] = None): (Transaction, UInt32)

    Mimics this test utility found in bitcoin core https://github.com/bitcoin/bitcoin/blob/605c17844ea32b6d237db6d83871164dc7d59dab/src/test/script_tests.cpp#L57

    Mimics this test utility found in bitcoin core https://github.com/bitcoin/bitcoin/blob/605c17844ea32b6d237db6d83871164dc7d59dab/src/test/script_tests.cpp#L57

    returns

    the transaction and the output index of the scriptPubKey

    Definition Classes
    TransactionTestUtil
  6. def buildSpendingTransaction(creditingTx: Transaction, scriptSignature: ScriptSignature, outputIndex: UInt32, witness: Option[(ScriptWitness, CurrencyUnit)] = None): (Transaction, UInt32)

    Builds a spending transaction according to bitcoin core

    Builds a spending transaction according to bitcoin core

    returns

    the built spending transaction and the input index for the script signature

    Definition Classes
    TransactionTestUtil
  7. def buildTransactionTo(output: TransactionOutput): Transaction

    Builds a dummy transaction that sends money to the given output

    Builds a dummy transaction that sends money to the given output

    Definition Classes
    TransactionTestUtil
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  10. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  11. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  12. def dummyPSBT(prevTxId: DoubleSha256Digest = DoubleSha256Digest.empty, scriptSig: ScriptSignature = EmptyScriptSignature, spk: ScriptPubKey = EmptyScriptPubKey): PSBT
    Definition Classes
    TransactionTestUtil
  13. def dummyTx(prevTxId: DoubleSha256Digest = DoubleSha256Digest.empty, scriptSig: ScriptSignature = EmptyScriptSignature, spk: ScriptPubKey = EmptyScriptPubKey): Transaction
    Definition Classes
    TransactionTestUtil
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  17. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  26. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  27. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  30. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  31. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  32. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  33. def multiSignatureScriptPubKey: ScriptPubKey
    Definition Classes
    TransactionTestUtil
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. def p2pkhTransactionWithCreditingScriptPubKey: (Transaction, UInt32, ScriptPubKey)

    Returns a valid transaction that spends a p2pkh output at the inputIndex

    Returns a valid transaction that spends a p2pkh output at the inputIndex

    Definition Classes
    TransactionTestUtil
  38. def p2sh2Of3CreditingTransaction: Transaction
    Definition Classes
    TransactionTestUtil
  39. def p2sh2Of3Transaction: Transaction
    Definition Classes
    TransactionTestUtil
  40. def p2sh2Of3TransactionWithSpendingInputAndCreditingOutput: (Transaction, TransactionInput, UInt32, TransactionOutput)

    Returns a p2sh transaction that has 2 of 3 signatures with the creiditing output

    Returns a p2sh transaction that has 2 of 3 signatures with the creiditing output

    Definition Classes
    TransactionTestUtil
  41. def p2shTransactionWithSpendingInputAndCreditingOutput: (Transaction, TransactionInput, UInt32, TransactionOutput)

    Returns a p2sh transaction with its corresponding crediting output

    Returns a p2sh transaction with its corresponding crediting output

    Definition Classes
    TransactionTestUtil
  42. def rawMultiSignatureScriptPubKey: String

    Raw multisignature script pub key output

    Raw multisignature script pub key output

    Definition Classes
    TransactionTestUtil
  43. def rawP2sh2Of3CreditingTransaction: String
    Definition Classes
    TransactionTestUtil
  44. def rawP2sh2Of3Transaction: String
    Definition Classes
    TransactionTestUtil
  45. def rawSignedMultiSignatureTx: String

    First input of this raw tx is a spending a multisignature output the first input is signed for this tx

    First input of this raw tx is a spending a multisignature output the first input is signed for this tx

    Definition Classes
    TransactionTestUtil
  46. def signedMultiSignatureTransaction: (Transaction, Int, ScriptPubKey, Seq[ECPublicKey])
    Definition Classes
    TransactionTestUtil
  47. def signedMultiSignatureTx: Transaction

    First input of this raw tx is a spending a multisignature output the first input is signed for this tx

    First input of this raw tx is a spending a multisignature output the first input is signed for this tx

    Definition Classes
    TransactionTestUtil
  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. def testTransaction: Transaction

    This transaction has one input which is set to EmptyTransactionInput The purpose of this transaction is a base transaction that can be used to manipulate the scriptSignature to be whatever we need it to be

    This transaction has one input which is set to EmptyTransactionInput The purpose of this transaction is a base transaction that can be used to manipulate the scriptSignature to be whatever we need it to be

    Definition Classes
    TransactionTestUtil
  50. def toString(): String
    Definition Classes
    AnyRef → Any
  51. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. def transactionWithNonStrictDerSignature: (Transaction, UInt32)

    Builds a transaction with a non strict der encoded signature

    Builds a transaction with a non strict der encoded signature

    returns

    the transaction and the inputIndex of the non strict der encoded signature

    Definition Classes
    TransactionTestUtil
  55. def transactionWithSpendingInputAndCreditingOutput: (Transaction, TransactionInput, UInt32, TransactionOutput)

    Returns a transaction, the input that is spending the output, and the inputIndex inside of the tx

    Returns a transaction, the input that is spending the output, and the inputIndex inside of the tx

    Definition Classes
    TransactionTestUtil
  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  58. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  59. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging

Inherited from TransactionTestUtil

Inherited from BitcoinSLogger

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped