Function voting_tools_rs::verification::verify::stake_key_hash
source · pub fn stake_key_hash(key: &StakeKeyHex, network: NetworkId) -> StakeKeyHash
Expand description
The registration has a 32 byte “Stake Public Key”. This is the raw ED25519 public key of the stake address.
To calculate the Voting power, you need the stake key hash. Encoded in Cardano format.
Network_id
+ Blake2b-224( Stake Public Key )