Skip to content
This repository was archived by the owner on Dec 28, 2022. It is now read-only.
This repository was archived by the owner on Dec 28, 2022. It is now read-only.

feature: Officially support overriding the default namespace #2

Description

@gmaclennan

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions