sealed abstract class TransactionSignatureSerializer extends AnyRef

Created by chris on 2/16/16. Wrapper that serializes like Transaction, but with the modifications required for the signature hash done https://github.com/bitcoin/bitcoin/blob/93c85d458ac3e2c496c1a053e1f5925f55e29100/src/script/interpreter.cpp#L1016-L1105 bitcoinj version of this https://github.com/bitcoinj/bitcoinj/blob/master/core/src/main/java/org/bitcoinj/core/Transaction.java#L924-L1008

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransactionSignatureSerializer
  2. AnyRef
  3. 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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashForSignature(spendingTransaction: Transaction, signingInfo: InputSigningInfo[InputInfo], hashType: HashType, taprootOptions: TaprootSerializationOptions): DoubleSha256Digest

    Hashes a InputSigningInfo to give the value that needs to be signed by a Sign to produce a valid ECDigitalSignature for a transaction

  12. def hashForSignature(txSigComponent: TxSigComponent, hashType: HashType, taprootOptions: TaprootSerializationOptions): HashDigest

    Hashes a TxSigComponent to give the value that needs to be signed by a Sign to produce a valid ECDigitalSignature for a transaction

  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def removeOpCodeSeparators(script: Seq[ScriptToken]): Seq[ScriptToken]

    Removes OP_CODESEPARATOR operations then returns the script.

  18. def serializeForSignature(spendingTransaction: Transaction, signingInfo: InputSigningInfo[InputInfo], hashType: HashType, taprootOptions: TaprootSerializationOptions): ByteVector

    Implements the signature serialization algorithm that Satoshi Nakamoto originally created and the new signature serialization algorithm as specified by BIP143.

    Implements the signature serialization algorithm that Satoshi Nakamoto originally created and the new signature serialization algorithm as specified by BIP143. https://github.com/bitcoin/bitcoin/blob/f8528134fc188abc5c7175a19680206964a8fade/src/script/interpreter.cpp#L1113

  19. def serializeForSignature(txSigComponent: TxSigComponent, hashType: HashType, taprootOptions: TaprootSerializationOptions): ByteVector

    Implements the signature serialization algorithim that Satoshi Nakamoto originally created and the new signature serialization algorithm as specified by BIP143.

    Implements the signature serialization algorithim that Satoshi Nakamoto originally created and the new signature serialization algorithm as specified by BIP143. https://github.com/bitcoin/bitcoin/blob/f8528134fc188abc5c7175a19680206964a8fade/src/script/interpreter.cpp#L1113

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped