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

V7 #97

Merged
merged 36 commits into from
Jan 14, 2025
Merged

V7 #97

Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
b8d8235
v7 wip
mafintosh Nov 5, 2024
0e13e24
missing getter on CoreTracker
chm-diederichs Nov 8, 2024
a188a6b
forward user preload to core
chm-diederichs Nov 8, 2024
9cc3217
add back sessions and namespaces
mafintosh Nov 8, 2024
36d34f5
missing encryption key
chm-diederichs Nov 8, 2024
fc1661f
must wait for root in sessions
mafintosh Nov 8, 2024
babd303
or null
mafintosh Nov 8, 2024
ba38ae9
decode keys
mafintosh Nov 11, 2024
643c93a
add some compat fields
mafintosh Nov 11, 2024
90df779
wait should default to true
chm-diederichs Nov 11, 2024
71cf3e1
root core store closes all cores
chm-diederichs Nov 11, 2024
5973fca
switch to rocksdb branch
mafintosh Nov 12, 2024
ea2ff8f
update package.json
chm-diederichs Nov 14, 2024
e01bb35
primaryKey can be optionally passed in
chm-diederichs Nov 15, 2024
d7f4d41
global cache
mafintosh Nov 27, 2024
c03852b
support setNamespace for mutating the ns if you know what you are doing
mafintosh Nov 27, 2024
3f615ea
Fix namespace before ready (#98)
chm-diederichs Nov 28, 2024
1ccf2ff
add week ref test
mafintosh Nov 28, 2024
6e6c052
kill bootstrap and move to simple from key (#100)
mafintosh Dec 3, 2024
fce5023
test for preready sessions
mafintosh Dec 3, 2024
d47b41e
missing close
mafintosh Dec 3, 2024
4f9e317
Session manager (#101)
mafintosh Dec 3, 2024
a80ff95
limit preload usage (#102)
mafintosh Dec 4, 2024
0f3995f
Support passing encryption in preload (#103)
chm-diederichs Dec 13, 2024
1567ca0
pre tag with 7
mafintosh Dec 31, 2024
5dc5e16
cores.get supports buffers
mafintosh Jan 6, 2025
a11281a
Fix get (#104)
HDegroote Jan 6, 2025
b6a35be
we fixed the wrong typo
mafintosh Jan 6, 2025
5f7544d
add watch/unwatch for monitoring core flows
mafintosh Jan 6, 2025
aa90de5
pin to specific hash tmp
mafintosh Jan 9, 2025
c4b989c
v7 bump to hypercore 11 (#105)
chm-diederichs Jan 14, 2025
55d3744
tweak core setup to use alias and fix open
mafintosh Jan 14, 2025
e9bc5db
test aliases
mafintosh Jan 14, 2025
ac7ff60
docs
mafintosh Jan 14, 2025
bcf076d
also decode dkey since public
mafintosh Jan 14, 2025
052e7d8
basic replication test
mafintosh Jan 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
also decode dkey since public
mafintosh committed Jan 14, 2025
commit bcf076d5f7a1808eeb7cc22a74c7bd7ba87051bc
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -343,7 +343,7 @@ class Corestore extends ReadyResource {

if (result.discoveryKey) return result

if (opts.discoveryKey) result.discoveryKey = opts.discoveryKey
if (opts.discoveryKey) result.discoveryKey = ID.decode(opts.discoveryKey)
else if (result.key) result.discoveryKey = crypto.discoveryKey(result.key)
else throw new Error('Could not derive discovery from input')