refactor: Move node and wallet code out of src/interfaces#20494
refactor: Move node and wallet code out of src/interfaces#20494maflcko merged 3 commits intobitcoin:masterfrom
Conversation
No changes to ChainImpl or any related classes (review with `git diff --color-moved=dimmed_zebra`)
|
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. |
maflcko
left a comment
There was a problem hiding this comment.
review ACK 629a929 🔺
Show signature and timestamp
Signature:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
review ACK 629a9299b2a7241a3fa7d597cb34abcbe1af9255 🔺
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
pUgpKgv9FXDr3pKOUjSzUhQP8v6tY0NTOf/V0UP6izQZuoOkAxjFJq/FgXNAgnU7
NyX7VHnqx/1gf+GAOpKrcxvWderBde6fDPNHS+jcZo4aNsv15Vsqv/Fia9VaKw0h
kBkEzWm8N3hEktVdqTsZrGee26qD0jlJM64eW/Se9Kq3D6uQgyusEOJ5uiu6cmG4
ycXeRnTCs1PCneNlt/6hypLs9iSe5RUHhM8rmEFh6HLBmW0t+mpca7cOdGmZAGXp
R+rMTh8LeljiEL10I/v1pg0OYDOIJ7IQpERwrajiB4eWVgHbHmxqr1AVGikQDm36
StCw6QRCV0GzRPE963zpP5SvI0JxdOTTrTBzlKZqCMO5b1hoZJDq/9NEUIZQWIVq
4nYDDtyrQBqSunNAqEi1QAmEbt+IhGZR4v0yWGZHLLOuAXOAs+X5GbOwRzgPQeAC
rx9EawhmAxgH1tkSUScC3xyYgeN5GGosF9yX8xrocoQNKbILu1E8y1u1tt1Izjkx
SAS0x21D
=i4RY
-----END PGP SIGNATURE-----
Timestamp of file with hash bfed3f19ad97ec6b521680bc88144a3f4a28fae8cda34c721b3183fddf8c449c -
|
|
||
| #include <addrdb.h> | ||
| #include <banman.h> | ||
| #include <boost/signals2/signal.hpp> |
There was a problem hiding this comment.
re: #20494 (comment)
why is this moved?
Not sure. This came from #19160 where I was using IWYU a lot. I tried to manually sort system includes below project includes after running it, but I wasn't very diligent. It'd be more convenient if there was just a single include section, or an automatic include sorter
This PR is part of the process separation project.
Move
NodeImplfrominterfaces/node.cpptonode/interfaces.cppMove
ChainImplfrominterfaces/chain.cpptonode/interfaces.cppMove
WalletImplfrominterfaces/wallet.cpptowallet/interfaces.cppNo changes to any classes (can review with
git diff --color-moved=dimmed_zebra)Motivation for this change is to move node and wallet code to respective directories where it might fit in better than
src/interfaces/, but also to remove all unnecessary code fromsrc/interfaces/to unblock #19160 review, which has been hung up partially because of code organization. Building on top of this PR, #19160 should now be able to organize interface implementations more understandably insrc/node/src/wallet/src/ipc/andsrc/init/directories instead of having so much functionality all insrc/interfaces/