Skip to main content

signing_to_master

Function signing_to_master 

Source
pub fn signing_to_master(manifests: &[Manifest]) -> (HashMap<Key, Key>, usize)
Expand description

Signing key → master key, from manifests whose signatures check out. The second value is how many manifests were rejected.

As in xrpld: for each master key only the manifest with the highest sequence is in effect. A rotated signing key no longer belongs to it; a revocation (sequence 0xFFFFFFFF) leaves the master key with no signing key at all. A signing key claimed by two master keys is credited to neither.