Expand description
Utilities for RBAC registrations validation.
FunctionsΒ§
- catalyst_
id_ πfrom_ public_ key  - Returns a Catalyst ID corresponding to the given public key.
 - catalyst_
id_ πfrom_ stake_ address  - Returns a Catalyst ID corresponding to the given stake address.
 - catalyst_
id_ πfrom_ txn_ id  - Returns a Catalyst ID corresponding to the given transaction hash.
 - chain π
 - Returns either persistent or βlatestβ (persistent + volatile) registration chain for the given Catalyst ID.
 - cip509_
stake_ πaddresses  - Returns a set of stake addresses in the given registration.
 - is_
cat_ πid_ known  - Returns 
trueif there is at least one registration with the given Catalyst ID. - is_
chain_ known  - Returns 
trueif a chain with the given Catalyst ID already exists. - start_
new_ πchain  - Tries to start a new RBAC chain.
 - update_
chain π - Tries to update an existing RBAC chain.
 - validate_
public_ πkeys  - Checks that a new registration doesnβt contain a signing key that was used by any other chain. Returns a list of public keys in the registration.
 - validate_
rbac_ registration  - Validates a new registration by either starting a new chain or adding it to the existing one.