Module voting_tools_rs::data
source · Re-exports
Modules
Macros
Structs
- Database host
- Database name
- Database password
- Database user
- A Raw Registration from the
DB.arbitrary_signed_registration
- A catalyst registration on Cardano in either CIP-15 or CIP-36 format
- A rewards address in a catalyst registation
- A signature for a registration as defined in CIP-15
- A Catalyst registration in either CIP-15 or CIP-36 format, along with its signature
- A slot number
- Single element in a snapshot
- A
u64
used to identify the purpose of a particular registration
Enums
- The source of voting power for a given registration
Constants
Functions
- To produce the witness field in the case of a staking public key, the CBOR representation of a map containing a single entry with key 61284 and the registration metadata map is signed with the staking key as follows: first, the blake2b-256 hash of the data is obtained. This hash is then signed using the Ed25519 signature algorithm. The witness metadata entry is added to the transaction under key 61285. This function extracts and verifies the witness signature provided in the registration.
- ox_hex 🔒
- ox_hex_ 🔒