Skip to content

impl .cid() method for Vlad #5

@DougAnderson444

Description

@DougAnderson444

So we can get the vlad cid from the foot entry vlad/cid but we need a way to ensure it actually matches the one IN the vlad, the entry should be compared to the vlad.

There's no method for this and the field is only pub(crate)

#[derive(Clone, Default, Eq, Ord, PartialEq, PartialOrd)]
pub struct Vlad {
    /// the random nonce for uniqueness
    pub(crate) nonce: Nonce,
    /// validation function content address
    pub(crate) cid: Cid,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions