-
Notifications
You must be signed in to change notification settings - Fork 37.7k
MOVEONLY: Move common init code to init/common #21732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK 66bbbc0.
Verified commit by commit, with --color-moved=dimmed-zebra
. Moved code is tidy up in nice functions. I don't observe changes in behavior.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
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. |
Concept ACK Nice with the More generally I think it would make sense to gradually introduce more of this type of namespace use in our project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some unrelated doc feedback to remove nonsense comments like
// Sanity checks
SanityChecks();
--color-moved=dimmed-zebra ACK 66bbbc0 😹
Show signature and timestamp
Signature:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
- --color-moved=dimmed-zebra ACK 66bbbc09e9bb44546ac47829384cd3b088c5efd7 😹
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
pUjyPQwAltkH6kZvb6r7SNqiODJqjD0Ta96ZqC0rKjnSwMrLmObSuMu8OgWJ1zJW
c2q68lGd1PGZHvDiIrlJu6939yGby5c+hj84iCkgJoL720ZrkXVQynPjtkzcOcEc
vfa5VGH18547lkFyih1LYepSJ9MBnU+XH4WYZJMyeu75NVEc3OZTCj3xG1U519n4
NyAdTJ8WK9KLZF8rYRP0/sBgXBawZtjaS43YSrdz061Ht8kTlU/YqQinbRs4mm0K
EdRybSUXzDeFxGHCq2Kz6vuooSDasiTZUoVf66crNDN5XEIpmI2NgBDt8SjssQIg
RQQ9vNGoHDqM4b0lI+zWc9kkply/82ZL1TJP1HBYy/gdVh+Z5M2L3q9RVOt315EJ
VZnfl2fp2NNJoqcP/mLx2ZF4eZ5hNWJLiFw5bdDvmnbb9Gz3rS4lWg+0MrW3P6Bs
XSb+eDLPgbluTlH5Azkn/j2KtuZf5ODk57igT6hg4ZxVwrspkoXIFckgitA3ddXu
eN/gtak+
=4TTx
-----END PGP SIGNATURE-----
Timestamp of file with hash 27c6f524949cc5fa807c0a855609234ba5afe961ff88e1b28074374eea19342f -
Concept ACK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated 66bbbc0 -> 615965c (pr/initc.2
-> pr/initc.3
, compare) with suggested changes
review ACK 615965c 🖱 Show signature and timestampSignature:
Timestamp of file with hash |
cr ACK 615965c: dimmed zebra looks correct |
This PR is part of the process separation project.
This change is move-only and can be easily reviewed with
--color-moved=dimmed_zebra
. The moves are needed to avoid duplicating common init code between different binaries (bitcoin-node
,bitcoin-wallet
, etc) in #10102. In #10102, each binary has it's own init file (src/init/bitcoin-node.cpp
,src/init/bitcoin-wallet.cpp
) so this PR moves the common code tosrc/init/common.cpp
.