trait TransactionSignatureChecker extends AnyRef

Created by chris on 2/16/16. Responsible for checking digital signatures on inputs against their respective public keys

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransactionSignatureChecker
  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 checkSchnorrSignature(txSigComponent: TxSigComponent, pubKey: SchnorrPublicKey, schnorrSignature: SchnorrDigitalSignature, hashType: HashType, taprootOptions: TaprootSerializationOptions): ScriptResult
  6. def checkSchnorrSignature(txSigComponent: TxSigComponent, pubKey: SchnorrPublicKey, witness: TaprootKeyPath, taprootOptions: TaprootSerializationOptions): ScriptResult

    See also

    https://github.com/bitcoin/bitcoin/blob/8ae4ba481ce8f7da173bef24432729c87a36cb70/src/script/interpreter.cpp#L1695

  7. def checkSigTapscript(txSignatureComponent: TxSigComponent, pubKey: SchnorrPublicKey, signature: SchnorrDigitalSignature, hashType: HashType, taprootOptions: TaprootSerializationOptions, flags: Seq[ScriptFlag]): TransactionSignatureCheckerResult
  8. def checkSignature(txSignatureComponent: TxSigComponent, script: Seq[ScriptToken], pubKey: ECPublicKeyBytes, signature: ECDigitalSignature, flags: Seq[ScriptFlag] = Policy.standardFlags): TransactionSignatureCheckerResult

    Checks the signature of a scriptSig in the spending transaction against the given scriptPubKey & explicitly given public key This is useful for instances of non standard scriptSigs

    Checks the signature of a scriptSig in the spending transaction against the given scriptPubKey & explicitly given public key This is useful for instances of non standard scriptSigs

    txSignatureComponent

    the relevant transaction information for signature checking

    script

    the current script state inside the interpreter - this is needed in the case of OP_CODESEPARATORS

    pubKey

    the public key the signature is being checked against

    signature

    the signature which is being checked against the transaction & the public key

    flags

    the script flags used to check validity of the signature

    returns

    a boolean indicating if the signature is valid or not

  9. def checkSignature(txSignatureComponent: TxSigComponent, script: Seq[ScriptToken], partialSignature: PartialSignature): TransactionSignatureCheckerResult
  10. def checkSignature(txSignatureComponent: TxSigComponent, partialSignature: PartialSignature): TransactionSignatureCheckerResult
  11. def checkSignature(txSignatureComponent: TxSigComponent, pubKey: ECPublicKey, signature: ECDigitalSignature): TransactionSignatureCheckerResult
  12. def checkSignature(txSignatureComponent: TxSigComponent, pubKeyBytes: ECPublicKeyBytes, signature: ECDigitalSignature): TransactionSignatureCheckerResult
  13. def checkTaprootHashType(hashType: HashType): Boolean
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def multiSignatureEvaluator(txSignatureComponent: TxSigComponent, script: Seq[ScriptToken], sigs: List[ECDigitalSignature], pubKeys: List[ECPublicKeyBytes], flags: Seq[ScriptFlag], requiredSigs: Long): TransactionSignatureCheckerResult

    This is a helper function to check digital signatures against public keys if the signature does not match this public key, check it against the next public key in the sequence

    This is a helper function to check digital signatures against public keys if the signature does not match this public key, check it against the next public key in the sequence

    txSignatureComponent

    the tx signature component that contains all relevant transaction information

    script

    the script state this is needed in case there is an OP_CODESEPARATOR inside the script

    sigs

    the signatures that are being checked for validity

    pubKeys

    the public keys which are needed to verify that the signatures are correct

    flags

    the script verify flags which are rules to verify the signatures

    returns

    a boolean indicating if all of the signatures are valid against the given public keys

    Annotations
    @tailrec()
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped