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

feat!: discoveryId instead of key for entries #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 24, 2024

  1. feat!: discoveryId instead of key for entries

    BREAKING CHANGE: this changes the type of `Entry` to have the core
    discoveryId (the discovery key as a hex string) instead of the core key.
    
    Since our mapeo-core code changed to using the discovery key for version
    ids, we need to calculate the discovery key for each entry, which has a
    performance cost (it's a hash operation). This change avoids the need
    for any hashing when processing entries.
    gmaclennan committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    2537f7d View commit details
    Browse the repository at this point in the history