If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Conflicts
Reviewers, this pull request conflicts with the following ones:
#27822 (Renamed UniValue::__pushKV to UniValue::pushKVEnd. by Brotcrunsher)
#27711 (kernel: Remove shutdown globals from kernel library by TheCharlatan)
#26762 (refactor: Make CCheckQueue RAII-styled by hebasto)
#24479 (Bugfix: util: Correctly handle Number value types in GetArg/GetBoolArg by luke-jr)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
DrahtBot added the label
Validation
on May 4, 2023
DrahtBot added the label
Needs rebase
on May 5, 2023
TheCharlatan force-pushed
on May 6, 2023
DrahtBot removed the label
Needs rebase
on May 6, 2023
DrahtBot added the label
Needs rebase
on May 6, 2023
TheCharlatan force-pushed
on May 8, 2023
TheCharlatan force-pushed
on May 11, 2023
fanquake
commented at 9:48 am on May 11, 2023:
member
0src/common/settings.h seems to be missing the expected include guard:
1#ifndef BITCOIN_COMMON_SETTINGS_H2#define BITCOIN_COMMON_SETTINGS_H3 ...
4#endif // BITCOIN_COMMON_SETTINGS_H
DrahtBot removed the label
Needs rebase
on May 11, 2023
DrahtBot added the label
CI failed
on May 11, 2023
TheCharlatan force-pushed
on May 11, 2023
hebasto
commented at 2:12 pm on May 11, 2023:
member
Concept ACK.
DrahtBot removed the label
CI failed
on May 11, 2023
TheCharlatan force-pushed
on May 14, 2023
DrahtBot added the label
Needs rebase
on May 17, 2023
TheCharlatan force-pushed
on May 17, 2023
DrahtBot removed the label
Needs rebase
on May 17, 2023
DrahtBot added the label
Needs rebase
on May 17, 2023
TheCharlatan force-pushed
on May 20, 2023
DrahtBot removed the label
Needs rebase
on May 20, 2023
TheCharlatan force-pushed
on May 21, 2023
TheCharlatan force-pushed
on May 24, 2023
refactor: Add stop_at_height option in ChainstateManager
Remove access to the global gArgs for the stopatheight argument and
replace it by adding a field to the existing ChainstateManager Options
struct.
This should eventually allow users of the ChainstateManager to not rely
on the global gArgs and instead pass in their own options.
ef95be334f
refactor: Add path argument to FindSnapshotChainstateDir
Remove access to the global gArgs for getting the directory in
utxo_snapshot.
This is done in the context of the libbitcoinkernel project, wherein
reliance of libbitcoinkernel code on the global gArgs is incrementally
removed.
8789b11114
refactor: Remove gArgs access from validation.cpp
This is done in the context of the libbitcoinkernel project, wherein
reliance of libbitcoinkernel code on the global gArgs is incrementally
removed.
05870b1c92
kernel: Remove chainparams, chainparamsbase, args, settings from kernel libraryc2dae5d7d8
move-only: Move settings to the common library
The background of this commit is an ongoing effort to decouple the
libbitcoinkernel library from code that is not strictly required by it.
The settings code belongs into the common library and namespace, since
the kernel library should not depend on it. See doc/design/libraries.md
for more information on this rationale.
Changing the namespace of the moved functions is scripted in the
following commit.
c27e4bdc35
scripted-diff: move settings to common namespace
-BEGIN VERIFY SCRIPT-
sed -i 's/namespace\ util/namespace\ common/g' src/common/settings.cpp src/common/settings.h
sed -i 's/util\:\:GetSetting/common\:\:GetSetting/g' $( git grep -l 'util\:\:GetSetting')
sed -i 's/util\:\:Setting/common\:\:Setting/g' $( git grep -l 'util\:\:Setting')
sed -i 's/util\:\:FindKey/common\:\:FindKey/g' $( git grep -l 'util\:\:FindKey')
sed -i 's/util\:\:ReadSettings/common\:\:ReadSettings/g' $( git grep -l 'util\:\:ReadSettings')
sed -i 's/util\:\:WriteSettings/common\:\:WriteSettings/g' $( git grep -l 'util\:\:WriteSettings')
-END VERIFY SCRIPT-
db77f87c63
TheCharlatan force-pushed
on May 30, 2023
DrahtBot added the label
CI failed
on May 30, 2023
TheCharlatan marked this as ready for review
on May 30, 2023
TheCharlatan renamed this:
kernel: Remove args, chainparams, chainparamsbase from kernel library
kernel: Remove args, settings, chainparams, chainparamsbase from kernel library
on May 30, 2023
DrahtBot removed the label
CI failed
on May 31, 2023
In commit “refactor: Add path argument to FindSnapshotChainstateDir” (8789b11114b4bd6c7ee727dffbc75a6bdf20dd27)
Throughout this file, it would make tests clearer and less reliant on details of test setup if the new
m_args.GetDataDirNet() calls were replaced with chainman.m_options.datadir
I left a suggestion to clean up a unit test in a possible followup, but I will just go ahead and merge this now if tests pass locally.
ryanofsky approved
ryanofsky
commented at 6:53 pm on June 9, 2023:
contributor
In commit “scripted-diff: move settings to common namespace” (db77f87c6365cb5f414036d6bfb1a12705772028)
Not important but I noticed the scripted diff is escaping space and colon characters. I think there is not actually a need for all those backslashes, and they don’t do anything
EDIT: just noticed Marco left the same comment. Great minds, I guess
ryanofsky merged this
on Jun 9, 2023
ryanofsky closed this
on Jun 9, 2023
sidhujag referenced this in commit
8f438f615d
on Jun 12, 2023
achow101 referenced this in commit
427853ab49
on Jun 13, 2023
sidhujag referenced this in commit
0cdc15f1aa
on Jun 15, 2023
hebasto referenced this in commit
592da16150
on Aug 29, 2023
hebasto referenced this in commit
c77e8b5c38
on Aug 29, 2023
hebasto referenced this in commit
8b025633e4
on Aug 29, 2023
hebasto referenced this in commit
14ddf61693
on Aug 31, 2023
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: 2024-12-30 15:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me