Skip to content

chain-storage: rework is_ancestor #111

@mzabaluev

Description

@mzabaluev

the BlockStore method name is_ancestor is misleading. Ok(None) is returned when there are no ancestral relations.

Perhaps the method should be renamed and a purpose-specific enum can be introduced for self-descriptive explanation of the success cases.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions