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

Features needed for hypercore integration #48

Merged
merged 41 commits into from
Jan 13, 2025
Merged

Conversation

chm-diederichs
Copy link
Contributor

No description provided.

chm-diederichs and others added 30 commits January 9, 2025 19:20
* 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
@mafintosh mafintosh merged commit 7230775 into rewrite Jan 13, 2025
3 checks passed
@mafintosh mafintosh deleted the rewrite-integration branch January 13, 2025 15:24
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants