Globals: Decouple GetConfigFile and ReadConfigFile from global mapArgs #8856

pull jtimon wants to merge 1 commits into bitcoin:master from jtimon:0.13-globals-utils-configfile changing 6 files +12 −11
  1. jtimon commented at 6:33 AM on October 1, 2016: contributor

    A lot of noise just to get one less GetArg call from util.cpp. But explicit is better than implicit, specially if we ever want to decouple the util building package from global variables, or at least separate them in single file for each building module.

  2. Globals: Decouple GetConfigFile and ReadConfigFile from global mapArgs 3450c18a12
  3. fanquake added the label Refactoring on Oct 1, 2016
  4. laanwj commented at 5:36 PM on October 2, 2016: member

    Yes, makes sense. Removing side effects is a good thing.

    At some point we we need to make our own implementation of the config parser instead of boost::options. This will be less hacky if we have a proper API instead of just slinging values into global maps.

  5. laanwj commented at 8:50 AM on October 3, 2016: member
  6. MarcoFalke commented at 9:11 AM on October 3, 2016: member

    utACK 3450c18

  7. laanwj merged this on Oct 3, 2016
  8. laanwj closed this on Oct 3, 2016

  9. laanwj referenced this in commit a7e5cbb209 on Oct 3, 2016
  10. str4d cross-referenced this on May 17, 2017 from issue mapArgs is modified by setgenerate RPC without locking by daira
  11. str4d cross-referenced this on May 19, 2017 from issue Misc upstream PRs by str4d
  12. codablock referenced this in commit 873e598d83 on Sep 19, 2017
  13. codablock referenced this in commit 14483e46f9 on Jan 12, 2018
  14. zkbot referenced this in commit f1aeaec471 on Mar 21, 2018
  15. MarcoFalke cross-referenced this on Mar 24, 2018 from issue Store the current config file at read time, and return it from GetConfigFile if set by Empact
  16. andvgal referenced this in commit 42e7b9bff0 on Jan 6, 2019
  17. zkbot referenced this in commit 4fc490c430 on Dec 4, 2019
  18. zkbot referenced this in commit 868c63f92d on Dec 4, 2019
  19. random-zebra cross-referenced this on Apr 19, 2021 from issue [Core] Network specific configuration sections by random-zebra
  20. furszy referenced this in commit 0255df35a6 on Apr 26, 2021
  21. 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