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.
Currently the default namespace is the hash of
'@corestore/namespace'
. This can be overridden by passingopts._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
toopts.namespace
and documentingopts.namespace
as a supported option.