Creating a bootstrap core from a random namespace is a pretty common Corestore pattern. Later, when reloading cores from the bootstrap key, one has to read the namespace userdata from the bootstrap core in order to re-create the same namespace.
This PR adds the ability to pass a bootstrap core to store.namespace. This will open a namespace that's identical to the one that was used to initially create the bootstrap core.
Creating a bootstrap core from a random namespace is a pretty common Corestore pattern. Later, when reloading cores from the bootstrap key, one has to read the
namespace
userdata from the bootstrap core in order to re-create the same namespace.This PR adds the ability to pass a bootstrap core to
store.namespace
. This will open a namespace that's identical to the one that was used to initially create the bootstrap core.