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. sipa referenced this in commit 9177950c74 on Oct 21, 2015
  6. sipa referenced this in commit f4787d1caf on Oct 21, 2015
  7. sipa referenced this in commit 6557a8cd46 on Oct 26, 2015
  8. sipa referenced this in commit ea06490d14 on Oct 27, 2015
  9. sipa referenced this in commit 003bb87153 on Nov 5, 2015
  10. sipa referenced this in commit bfd83199c3 on Nov 11, 2015
  11. sipa referenced this in commit b437ea7ec9 on Nov 12, 2015
  12. sipa referenced this in commit 1d84107924 on Nov 12, 2015
  13. jtimon referenced this in commit 91ee21c024 on Mar 11, 2016
  14. rebroad referenced this in commit 40ead34fbe on Dec 7, 2016
  15. deadalnix referenced this in commit cb04ab5e3c on Jan 19, 2017
  16. ptschip referenced this in commit b604c69432 on Feb 20, 2017
  17. destenson referenced this in commit c567886804 on Nov 18, 2017
  18. laanwj removed the label Priority Low on Dec 6, 2017
  19. classesjack referenced this in commit 5c84cce09f on Jan 2, 2018
  20. 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'.

  21. MarcoFalke closed this on Mar 29, 2018

  22. 0xartem referenced this in commit 3f1260668e on Mar 4, 2019
  23. attilaaf referenced this in commit c46290a0ab on Jan 13, 2020
  24. rajarshimaitra referenced this in commit 83799ad610 on Aug 5, 2021
  25. DrahtBot 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-04-13 21:16 UTC

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