hypercore-protocol / hypercore-next

Hypercore 10 is an append only log with multi-writer primitives built in.
MIT License
150 stars 15 forks source link

feat(core.update()): add option to force update writable cores #121

Closed Nuhvi closed 1 year ago

Nuhvi commented 1 year ago

Helps for cautious restoring of Hypercores on new devices, in combination with truncation.

Admittedly for any eagerly replicated and readily seeded core, waiting for a few minutes should be enough to find the latest state, but still.

mafintosh commented 1 year ago

@Nazeh sorry, this looks good. mind opening on hypercore-protocol/hypercore as we moved to stable?

Nuhvi commented 1 year ago

Done https://github.com/hypercore-protocol/hypercore/pull/302