bigchaindb / bigchaindb/bigchaindb-examples

Decouple BigchainDB instances from each other

Open
#37 0 comments 0 reactions 1 assignee Claimed by @diminator View on GitHub
Dominant language
JavaScript
Stars
48
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Right now, the initialization of accounts and assets (see [init_accounts](./init_accounts.py) and [init_assets](./init_assets)) use a single BigchainDB configuration to initialize both instances of BigchainDB. This forces the two instances to run with the same configuration, and the need to enforce their database by using the `BIGCHAINDB_DATABASE_NAME` environment variable. This behaviour is **very** confusing and unexpected.

Ideally, the initialization of accounts and assets would be done only for a single BigchainDB instance, freeing the instances to use their own configurations. This also makes it easier in the future to add more ledger instances, and manage them.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.