Restoring pinned data from BlockstoreIDB #172
Labels
kind/bug
A bug in existing code (including security flaws)
need/analysis
Needs further analysis before proceeding
need/author-input
Needs input from the original author
need/maintainers-input
Needs input from the current maintainer(s)
Hey everyone,
I'm having issues restoring the stored data using BlockstoreIDB.
When creating my node I'm initializing the Blockstore like so:
When I look into the IndexedDB in my Browser, everything is created as expected using
helia.pins.add(cid)
.However, when i restart my node, the contents of IDB is not pinned again so others nodes do not know about it.
Do I have to repin the data again when restarting the node? Or do I have to intialize the blockstore in a special way when restarting the node?
EDIT: I tried to repin the data when restarting the node but it doesn't change anything.
The text was updated successfully, but these errors were encountered: