-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom wallet filename option #78
Comments
Sounds like a useful thing to have. I'll put that on my list for later. |
Another idea: Even better would be a way to switch out wallets for a running daemon. For instance, with a new RPC command. Not sure how invasive this would be, but it is probably possible. (Need to flush the old wallet, close the db handle, and re-open.) |
Yeah, that would be better. I wonder whether there is already one of the altcoins that has this implemented... |
The config file is called namecoin.conf not bitcoin.conf. Or do we have seveal forks here some with the old mistake? The current code I got from namecoin/namecoin has the correct unique namecoin.conf, but I've seen some posts with people getting confused or having to rename their namecoin.conf to bitcoin.conf to get their builds working. To follow the same pattern as all other alt coins, the name of the config file should match the network/coin name. Another similar mistake was the use of 8332 for the RPC port and 18332 for the test RPC port. In current source they were corrected to 8336 and 18336 (no longer clashing with BitcoinD). I've recently had a pull request accepted in P2Pool to correct these, so please make sure any new pull/merge requests do not regress the current namecoin config file and RPC port fixes. This sort of thing should go into the README to inform people, not to continue making the same mistake. Not sure about the long term history of this, perhaps one of the original developers can clarify? |
Not sure whether it is related to this PR or not, but: namecoin.conf is the correct config file, as well as the ports you mention. Why do you bring this up? There are no plans to change this, as far as I know. I think that bitcoin.conf works, too, and is tried as fallback (and was used in the past). |
Oh it looks like my post landed on the feature request not the merge request from @digital-dreamer, to quote "You can set walletpath=(file) in bitcoin.conf to use a custom wallet file". Was just a reminder in case somebody was checking-in some new code on the basis of old standards. Anyway @domob1812 thanks for clarifying it sounds okay if namecoin is already falling-back to cover legacy setups/people who don't know it's fixed. Because I found some quite popular tutorials still using the old name and ports, I think this should be underlined as a friendly reminder each time people continue to use the legacy values. The README file would make sense as a start and check all wiki pages too. |
Solved as of #121 |
I think a custom wallet filename option would be helpful.
Could probably be based on this:
old-c-coder/bitcoin-git@9290190
The text was updated successfully, but these errors were encountered: