Proposal: rename config file bcoin.conf -> node.conf #556
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rationale:
bcoin.conf
andwallet.conf
appears inconsistent, and~/.bcoin/bcoin.conf
is also redundant)bcash
, resulting fewer changes, and less documentation.bclient
to be instantly compatible with forks such asbcash
without extra parameters or modifications. (https://github.com/bcoin-org/bclient/blob/master/bin/bcoin-cli#L36)Cons:
bcfg
to support fallback conf files.bcoin
,bcash
andbclient
Additional considerations:
Environment variables are also inconsistent, eg. bcoin expects
BCOIN_
, bcash expectsBCASH_
, bclient expectedBCOIN_
(even when talking to bcash). Ideally this could also be unified.Nodar proposed changing to
BNODE_
andBWALLET_
. This would also be a breaking change for existing users, but would have a big impact on our ability to unify documentation/tutorials, resulting in less confusion for future users.Note: ENV change is not currently included in this PR.
Thoughts?