bcoin-org / bcoin-org/bmultisig

Creates nested <network> directory instead of using existing one

Open
#25 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10
Forks
13
PR merge metrics
No merged PRs in 30d

Description

This is my first time playing with `bmultisig` so I could be using it wrong...
Seeing unexpected behavior in its data directory creation.

I'm running it with `--prefix= .../bcoin/regtest` and it is correctly finding the `wallet.conf` file in that location. (ports and API keys are parsed correctly and it seems to be running fine)
but then, unlike bwallet, it creates a NEW directory `regtest` INSIDE its prefix directory:

![screen shot 2018-12-07 at 8 40 50 am](https://user-images.githubusercontent.com/2084648/49660924-a29be280-f9fc-11e8-99c6-a0089d2060d9.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the behavior using bmultisig with --prefix set to a bcoin/regtest directory containing wallet.conf, then trace the data-directory setup and compare it with bwallet's handling of the same prefix. Done means bmultisig uses the existing prefix without creating a nested regtest directory and still reads wallet.conf correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.