corestore icon indicating copy to clipboard operation
corestore copied to clipboard

A simple corestore that wraps a random-access-storage module

Results 18 corestore issues
Sort by recently updated
recently updated
newest added

ie, when a fully passive core (atm `.replicator.downloading === false` indicates that) receives a new proof (onappend, ontruncate, onconflict (we can make a general event)), make an active session on...

The docs suggest that corestore can replicate to an existing stream, e.g. a connection stream from Hyperswarm like so: ```js const swarm = new Hyperswarm() // join the relevant topic...

Using the original core as a dependency allows the original core to continue modifying without breaking the static core due to updating head. Requires https://github.com/holepunchto/hypercore-storage/pull/98

Add test for `store.staticify()` method & docs. Test covers: - error when creating a static version of an empty core - append throws on a static core - tree hash...

Static cores share the same core & data pointers in the storage. So modifications to the original core will affect the static core.

Needed for cleanly writing tests that rely on weak sessions getting cleaned up, as in blind peer (currently it takes 8s for a weak session to get gc'd). Note: ideally...