diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-25 08:36:28 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-04-25 08:36:39 -0400 |
commit | 9fac600ababd8edefbe053a7edcd0e178f069f84 (patch) | |
tree | 12b4d45cdd02a659a7b99ed63493321079c8bb6a /src/bench | |
parent | 5f19155e5bca37bf1fe14515758c6f589f6806ae (diff) | |
parent | e9ea95a30d3c0f62b0df0b29744fb5d68687f97f (diff) | |
download | bitcoin-9fac600ababd8edefbe053a7edcd0e178f069f84.tar.xz |
Merge #17383: Refactor: Move consts to their correct translation units
e9ea95a30d3c0f62b0df0b29744fb5d68687f97f [net processing] Move all const declarations to top of net_processing.cpp (John Newbery)
507b36dd1bf867cd20e4312b95c68b494c9bb7b8 [validation] Move all const declarations to top of validation.h (John Newbery)
0109622b08887ed01a30911477ce4b8f266d4b4a [validation] Move validation-only consts to validation.cpp (John Newbery)
b8580cacc70764ba5a48e3defb864d75e6c28626 [net processing] Move net processing consts to net_processing.cpp (John Newbery)
Pull request description:
Following the main.cpp split, there are still some constants in the wrong places, eg net_processing constants in validation.h. Move them all to their rightful homes. At the same time, make them constexpr.
Also move all const declarations to the top of their files, and ensure that they all have doxygen comments.
ACKs for top commit:
practicalswift:
ACK e9ea95a30d3c0f62b0df0b29744fb5d68687f97f -- patch looks correct
MarcoFalke:
ACK e9ea95a30d3c0f62b0df0b29744fb5d68687f97f 🚉
Tree-SHA512: 44d81da73c7be01e1d36b939789d793f297d3b94f84ea4e7ac853c621cc7054b5a05c7c9e7b83db506db44c16f344541be8f240d955694211e53a84c32b0d2c5
Diffstat (limited to 'src/bench')
0 files changed, 0 insertions, 0 deletions