Signal and/or RPC call to re-read config file #309

issue mikegogulski opened this issue on June 8, 2011
  1. mikegogulski commented at 5:21 PM on June 8, 2011: none

    It would be handy in certain circumstances to be able to update the config file and then ask bitcoind to parse it again (when updating rpcallowip filters, for example). An RPC command like "readconfig" would be good. Trapping for a SIGHUP on Unix would be cool, too.

  2. sgimenez referenced this in commit 10dab87615 on Jul 7, 2011
  3. sgimenez referenced this in commit 57bffdc3d5 on Jul 9, 2011
  4. sgimenez referenced this in commit f43f0d6bff on Jul 9, 2011
  5. sgimenez cross-referenced this on Oct 13, 2011 from issue New option and configuration framework by sgimenez
  6. laanwj cross-referenced this on Jun 6, 2014 from issue Reload bitcoin.conf without restarting the program by rebroad
  7. sipa referenced this in commit 9177950c74 on Oct 21, 2015
  8. sipa referenced this in commit f4787d1caf on Oct 21, 2015
  9. sipa referenced this in commit 6557a8cd46 on Oct 26, 2015
  10. sipa referenced this in commit ea06490d14 on Oct 27, 2015
  11. sipa referenced this in commit 003bb87153 on Nov 5, 2015
  12. sipa referenced this in commit bfd83199c3 on Nov 11, 2015
  13. sipa referenced this in commit b437ea7ec9 on Nov 12, 2015
  14. sipa referenced this in commit 1d84107924 on Nov 12, 2015
  15. jtimon referenced this in commit 91ee21c024 on Mar 11, 2016
  16. rebroad referenced this in commit 40ead34fbe on Dec 7, 2016
  17. deadalnix referenced this in commit cb04ab5e3c on Jan 19, 2017
  18. ptschip referenced this in commit b604c69432 on Feb 20, 2017
  19. destenson referenced this in commit c567886804 on Nov 18, 2017
  20. laanwj removed the label Priority Low on Dec 6, 2017
  21. classesjack referenced this in commit 5c84cce09f on Jan 2, 2018
  22. meshcollider cross-referenced this on Mar 14, 2018 from issue RPC: add support to change the block size soft limit by kanoi
  23. jnewbery commented at 2:44 PM on March 29, 2018: member

    This has been requested a few times, but it's actually quite tricky to get right. Lots of the config options are read at startup and affect behaviour during initialisation. Making sure that re-reading and re-applying the config file correctly changes the internal state is going to be very difficult, and may lead to all kinds of weird edge cases.

    I think a more realistic ask is adding support to change the specific individual config options through RPC methods.

    I'm concept NACKish on this. Not because I don't think it's a useful idea, but because I think it's just too difficult to get right.

    I suggest we close this with 'up for grabs'.

  24. MarcoFalke closed this on Mar 29, 2018

  25. 0xartem referenced this in commit 3f1260668e on Mar 4, 2019
  26. attilaaf referenced this in commit c46290a0ab on Jan 13, 2020
  27. rajarshimaitra referenced this in commit 83799ad610 on Aug 5, 2021
  28. bitcoin locked this on Sep 8, 2021

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: 2026-05-19 06:55 UTC