Crate phoenix_core

source ·
Expand description

Phoenix’s Core library types and behaviors

Re-exports§

Modules§

  • Crossover Fee module contains the logic related to Crossover structure
  • Phoenix’s Core Errors
  • Fee Fee module contains the logic related to Fee and Remainder structure
  • Message representation
  • Transparent and Obfuscated Notes

Structs§

  • Public (Spend) Key Public pair of a·G and b·G defining a PublicKey
  • Secret (Spend) Key Secret pair of a and b defining a SecretKey
  • Stealth Address To obfuscate the identity of the participants, we utilizes a Stealth Address system. A StealthAddress is composed by a one-time public key (pk_r, the actual address) and a random point R.
  • ViewKey Pair of a secret a and public b·G

Traits§

  • Stealth Address The trait Ownable is required by any type that wants to prove its ownership.

Functions§

  • Hash function Hashes a JubJub’s ExtendedPoint into a JubJub’s Scalar using the JubJub’s hash to scalar function