-
Notifications
You must be signed in to change notification settings - Fork 1
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
Features needed for hypercore integration #48
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add hypercore put/get/del and put/get tree-node tests * Add CI * Temp run CI on rewrite-integration branch too * Fix promise usage * Run tests on bare too * Use generated test/all
…#50) * Add block and tree-node (range) delete tests + a multi-hypercore test * Add teardown to mulit-core test
* Add tests for untested tx/rx api's * rm logs
mafintosh
added a commit
that referenced
this pull request
Jan 13, 2025
* dependency is stored individually * add missing methods and correct typos * support reverse block stream * close returns if already closed * changes array reset to empty array * fix package.json * move defaultKey to init store * make proper flush method * fix tons of iterator bugs * cleanup * safety * add snapshotted getter * view should be shared, not tx in corestore storage * defaultKey -> defaultDiscoveryKey and fix some internals * add method for creating atomic batch * createAtomicBatch is separate method * rename batch to session * remove unused arg * streams take gt ranges now * version cores also for migration * Add hypercore put/get/del and put/get tree-node tests + ci (#49) * Add hypercore put/get/del and put/get tree-node tests * Add CI * Temp run CI on rewrite-integration branch too * Fix promise usage * Run tests on bare too * Use generated test/all * Add block and tree-node (range) delete tests + a multi-hypercore test (#50) * Add block and tree-node (range) delete tests + a multi-hypercore test * Add teardown to mulit-core test * support corestore metadata migration * fix migrations when nothing to migrate * atom can be injected for registration * add unsafe assume session api * userData fixes: return buffers like rocks * Fix bare CI (#52) * missing await * support async onflush handlers * remove unnecessary method * core migrations are in * Add tests for untested tx/rx api's (#51) * Add tests for untested tx/rx api's * rm logs * ready proxies db.ready and do not return array * support dropped blocks in migrations and fix some bugs * latest hyperschema * schema is not versioned * storage takes ownership of the column family * view should check ranges during get * fix dropped range issues and user data being mb strings * no need for special casing it --------- Co-authored-by: Mathias Buus <[email protected]> Co-authored-by: HDegroote <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.