trait TransactionSignatureChecker extends BitcoinSLogger

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. BitcoinSLogger
  3. Logging
  4. AnyRef
  5. 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 checkSignature(txSignatureComponent: TxSigComponent, script: Seq[ScriptToken], pubKey: ECPublicKey, 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

  6. def checkSignature(txSignatureComponent: TxSigComponent, script: Seq[ScriptToken], partialSignature: PartialSignature): TransactionSignatureCheckerResult
  7. def checkSignature(txSignatureComponent: TxSigComponent, partialSignature: PartialSignature): TransactionSignatureCheckerResult
  8. def checkSignature(txSignatureComponent: TxSigComponent, pubKey: ECPublicKey, signature: ECDigitalSignature): TransactionSignatureCheckerResult
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  11. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  12. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  17. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  24. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  25. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  28. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  29. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  30. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  31. final def multiSignatureEvaluator(txSignatureComponent: TxSigComponent, script: Seq[ScriptToken], sigs: List[ECDigitalSignature], pubKeys: List[ECPublicKey], 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()
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from BitcoinSLogger

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped