Skip to content

GetNLeafs() doesn't work with Snapshot #4

Description

@ed255

nLeafs is stored with a static key in the db, so only the nLeafs of the last version is available. When building a tree from an old root, the value of GetNLeafs() will be invalid.

nLeafs can be stored in the db with a dynamic key that contains the root to allow querying nLeafs at old roots.

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