Skip to content

Create extension trait for verifier messages with proof of work #73

@mmaker

Description

@mmaker

Similarly to VerifierState::verifier_message, create a trait DecodingPOW<T, S> that has a function:

pub fn verifier_message_pow<T: Decoding<[H::U]>,  S: PoWStrategy>(&mut self, difficulty: usize) -> T

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions