Packages

case object BasicSHA256SigningVersion extends SigningVersion with Product with Serializable

Used before we had an actual signing algorithm in the spec

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BasicSHA256SigningVersion
  2. Serializable
  3. Product
  4. Equals
  5. SigningVersion
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def calcAnnouncementHash(eventTLV: OracleEventTLV): ByteVector

    Calculates the bytes to sign for an OracleAnnouncement

    Calculates the bytes to sign for an OracleAnnouncement

    Definition Classes
    BasicSHA256SigningVersionSigningVersion
  2. def calcNonceTweak(nonce: SchnorrNonce, eventName: String): ByteVector

    Calculates the tweak for the oracle's pre-committed nonce

    Calculates the tweak for the oracle's pre-committed nonce

    Definition Classes
    BasicSHA256SigningVersionSigningVersion
  3. def calcOutcomeHash(byteVector: ByteVector): ByteVector

    Calculates the bytes to sign for an event outcome

    Calculates the bytes to sign for an event outcome

    Definition Classes
    BasicSHA256SigningVersionSigningVersion
  4. final def calcOutcomeHash(string: String): ByteVector

    Calculates the bytes to sign for an event outcome

    Calculates the bytes to sign for an event outcome

    Definition Classes
    SigningVersion
  5. def productElementName(n: Int): String
    Definition Classes
    Product
  6. def productElementNames: Iterator[String]
    Definition Classes
    Product