orbit-db-store icon indicating copy to clipboard operation
orbit-db-store copied to clipboard

Base class for orbit-db data stores

Results 11 orbit-db-store issues
Sort by recently updated
recently updated
newest added
trafficstars

orbit-db: 0.28.4 orbit-db-store: 4.3.3 ``` TypeError: Cannot read properties of null (reading 'length') at Replicator.onReplicationProgress (...\orbit-db-store\src\Store.js:98:25) at onProgressCallback (...\orbit-db-store\src\Replicator.js:147:14) ``` Here is the demo https://github.com/siepra/closeorbitdb Also I tried enhancing the...

orbit-db: 0.28.3 orbit-db-store: 4.3.3 Hi, we are using OrbitDb for developing a p2p chat application. Some time ago we noticed that once in a while users are lacking older messages...

Are there best practices / docs for how we can restore store data from data? For example, if a peer has no local copy and attempts to restore data from...

https://github.com/orbitdb/orbit-db-store/blob/2ebc0c2cbec70cc98e7cd0f45edc077853098f72/src/Store.js#L241 Why don't to filter the heads as it's already implemented within the "sync" method, that is called during synchronization with another peer? https://github.com/orbitdb/orbit-db-store/blob/2ebc0c2cbec70cc98e7cd0f45edc077853098f72/src/Store.js#L295

I was trying to use the "batchPut" function in orbit-db-docstore but noticed that this method wasn't implemented yet. Rebuilding the index seemed like it was probably the most expensive part,...

After my PR #103 is merged, there would be only one TODO left in the README.md: #### loadMoreFrom(amount, entries) > TODO ```javascript //TODO db.loadMoreFrom() ```

https://github.com/orbitdb/orbit-db-store/blob/ae16436fd69cf48c6f5fe490893cef9735db9bf4/src/Replicator.js#L168 E.g. proper timeout useage https://github.com/orbitdb/orbit-db-store/blob/ae16436fd69cf48c6f5fe490893cef9735db9bf4/src/Store.js#L260 This issue is wip, will add more details & fix later

bug

CIDs/multihash can be encoded in many different formats. base58btc, base32, etc. Comparison via normal javascript methods do not work. Use CID.equals(CID2) instead. https://github.com/orbitdb/orbit-db-store/blob/1b628b6a9035e2b0fda2f68052797c6b0a0a74b4/src/Store.js#L302-L304

## Feature request Right now the identity of the store is set when it's opened. It would be great if it was possible to change the identity after the store...