Provide skeleton bitcoin.conf during datadir generation #19641

issue kcalvinalvin openend this issue on August 2, 2020
  1. kcalvinalvin commented at 9:09 am on August 2, 2020: contributor

    Is your feature request related to a problem? Please describe.

    It would be helpful to provide the example bitcoin.conf provided in the source code to the users that just download the binary/install from their package manager.

    Secondly, a new bitcoind user may not be aware that bitcoin.conf file is an available option. While bitcoin.conf is mentioned in the man page, one would have to know what to look for or read a bit to get to the -conf section. By providing a skeleton file, a new user is more exposed to such an option.

    Describe the solution you’d like

    Automatically generate a skeleton bitcoin.conf with something like the one found at share/examples/bitcoin.conf when first starting bitcoind.

    Describe alternatives you’ve considered

    Additional context

  2. kcalvinalvin added the label Feature on Aug 2, 2020
  3. scorbajio commented at 3:40 pm on August 2, 2020: none
    Hello, @kcalvinalvin. Thank you for taking the time to submit this issue! I am having a hard time understanding how generating a skeleton conf file would help a user know about its existence. Wouldn’t it be more practical to mention the option of using a conf file earlier in the man pages?
  4. kcalvinalvin commented at 2:52 am on August 3, 2020: contributor
    I’ve updated the original post. Just providing the example bitcoin.conf file is beneficial to users in my opinion. If it was important enough to provide it in the source code, then it should also be important for it to be there for users that don’t view the source code.
  5. RandyMcMillan commented at 2:45 am on September 11, 2020: contributor

    I don’t think setting up a scenario where a user is “tinkering” with their node configuration is advisable - changing default settings should be informed and intentional.

    With that said - people may find this useful as a learning tool…

    https://jlopp.github.io/bitcoin-core-config-generator/

  6. adamjonas commented at 7:50 pm on January 6, 2021: member
    #13761 was an attempt at this. I think #10746 is close enough that this could be closed so that discussion is happening in one place.
  7. adamjonas closed this on Jan 15, 2021

  8. laanwj referenced this in commit d4475ea7ae on May 4, 2022
  9. DrahtBot locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-22 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me