Page MenuHomePhabricator

New -includeconf argument for including external configuration files
ClosedPublic

Authored by Fabien on May 13 2019, 14:01.

Details

Summary
  • adds -includeconf=<path>, where <path> is relative to datadir or to

the path of the file being read, if in a file

  • protects against circular includes
  • updates help docs

Backport of core PR10267
https://github.com/bitcoin/bitcoin/pull/10267/files

Includes a fix from PR13126
https://github.com/bitcoin/bitcoin/pull/10267#issuecomment-388580967

Completes T541
Progresses towards T652

Test Plan
make check
./test/functional/test_runner.py feature_includeconf

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR10267
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 5831
Build 9724: Bitcoin ABC Teamcity Staging
Build 9723: arc lint + arc unit

Event Timeline

Fabien created this revision.May 13 2019, 14:01
Herald added a reviewer: Restricted Project. · View Herald TranscriptMay 13 2019, 14:01

Which one should we do? ( D3026 ) 😂

Fabien abandoned this revision.May 13 2019, 14:38

You were first to submit, you get the priority

Ah I see the extra clause is the fix you mention.

doc/release-notes.md
7

I like your release notes more than mine :)

src/init.cpp
391

should alphabetically sort after -finalizationdelay

src/util.cpp
818

hmm mine lacks this clause

test/functional/timing.json
108

Interesting, didn't know about this file!

Fabien reclaimed this revision.May 13 2019, 14:53
Fabien updated this revision to Diff 8632.May 13 2019, 14:54

Update help ordering and add missing newline in release notes.

Fabien edited the summary of this revision. (Show Details)May 13 2019, 14:55
markblundeberg accepted this revision.May 13 2019, 14:58
This revision is now accepted and ready to land.May 13 2019, 14:58
Fabien updated this revision to Diff 8685.May 16 2019, 07:25

Rebase

Fabien updated this revision to Diff 8773.Tue, May 21, 09:24

Rebase

This revision was automatically updated to reflect the committed changes.