Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blockchain: Add IsAncestor method to blockNode #2153

Merged
merged 2 commits into from
Apr 10, 2024

Commits on Apr 8, 2024

  1. blockchain: add Equals method to blockNode

    Helper function for the added IsAncestor in the follow up commit.
    Returns true if all the fields (except for parent and ancestor) are
    equal.
    kcalvinalvin committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    c9c8795 View commit details
    Browse the repository at this point in the history
  2. blockchain: Add IsAncestor method to blockNode

    IsAncestor() provides functionality for testing if a block node is
    an ancestor of anther block node.
    kcalvinalvin committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    bc6396d View commit details
    Browse the repository at this point in the history