bitcoin/src/consensus
pasta 935acdcc79
refactor: modernize the implementation of uint256.*
- Constructors of uint256 to utilize Span instead of requiring a std::vector
- converts m_data into a std::array
- Prefers using `WIDTH` instead of `sizeof(m_data)`
- make all the things constexpr
- replace C style functions with c++ equivalents
    - memset -> std::fill
    - memcpy -> std::copy
        Note: In practice, implementations of std::copy avoid multiple assignments and use bulk copy functions such as std::memmove if the value type is TriviallyCopyable and the iterator types satisfy LegacyContiguousIterator. (https://en.cppreference.com/w/cpp/algorithm/copy)
    - memcmp -> std::memcmp
2022-12-10 14:34:44 -06:00
..
amount.h scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
consensus.h refactor: use <cstdlib> over stdlib.h 2022-09-23 10:48:47 +01:00
merkle.cpp scripted-diff: Bump copyright headers 2020-04-16 13:33:09 -04:00
merkle.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
params.h refactor: modernize the implementation of uint256.* 2022-12-10 14:34:44 -06:00
tx_check.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
tx_check.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
tx_verify.cpp Sanity assert GetAncestor() != nullptr where appropriate 2022-05-05 15:55:44 +02:00
tx_verify.h scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
validation.h Require callers of AcceptBlockHeader() to perform anti-dos checks 2022-08-29 08:10:35 -04:00