feature: Officially support overriding the default namespace
Opened this issue · 1 comments
gmaclennan commented
Currently the default namespace is the hash of '@corestore/namespace'
. This can be overridden by passing opts._namespace
, but the _
prefix suggests this is a private undocumented option (used for creating namespaced hypercores). Overriding the default namespace would be useful for migrating existing hypercores or controlling what the namespace is.
This change would mean changing the option from opts._namespace
to opts.namespace
and documenting opts.namespace
as a supported option.