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.
Signal and/or RPC call to re-read config file #309
issue mikegogulski opened this issue on June 8, 2011-
mikegogulski commented at 5:21 PM on June 8, 2011: none
- sgimenez referenced this in commit 10dab87615 on Jul 7, 2011
- sgimenez referenced this in commit 57bffdc3d5 on Jul 9, 2011
- sgimenez referenced this in commit f43f0d6bff on Jul 9, 2011
- sipa referenced this in commit 9177950c74 on Oct 21, 2015
- sipa referenced this in commit f4787d1caf on Oct 21, 2015
- sipa referenced this in commit 6557a8cd46 on Oct 26, 2015
- sipa referenced this in commit ea06490d14 on Oct 27, 2015
- sipa referenced this in commit 003bb87153 on Nov 5, 2015
- sipa referenced this in commit bfd83199c3 on Nov 11, 2015
- sipa referenced this in commit b437ea7ec9 on Nov 12, 2015
- sipa referenced this in commit 1d84107924 on Nov 12, 2015
- jtimon referenced this in commit 91ee21c024 on Mar 11, 2016
- rebroad referenced this in commit 40ead34fbe on Dec 7, 2016
- deadalnix referenced this in commit cb04ab5e3c on Jan 19, 2017
- ptschip referenced this in commit b604c69432 on Feb 20, 2017
- destenson referenced this in commit c567886804 on Nov 18, 2017
- laanwj removed the label Priority Low on Dec 6, 2017
- classesjack referenced this in commit 5c84cce09f on Jan 2, 2018
-
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'.
- MarcoFalke closed this on Mar 29, 2018
- 0xartem referenced this in commit 3f1260668e on Mar 4, 2019
- attilaaf referenced this in commit c46290a0ab on Jan 13, 2020
- rajarshimaitra referenced this in commit 83799ad610 on Aug 5, 2021
- DrahtBot locked this on Sep 8, 2021
Contributors
Labels