mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
7f318e1dd0test: Add better coverage for Autofile size() (Fabian Jahr)b7af960eb8refactor: Add AutoFile::size (Fabian Jahr)ec0f75862erefactor: Modernize logging in util/asmap.cpp (Fabian Jahr)606a251e0atests: add unit test vectors for asmap interpreter (Pieter Wuille) Pull request description: This contains some commits from #28792 that can be easily reviewed and merged independently. I hope splitting this change off can make this part move a bit faster and reduce frequency of needed rebases for #28792. The commits in order: - Add additional unit test vectors to the asmap interpreter (written by sipa). This helps to ensure that the further refactors in #28792 don't change behavior. - Modernizes the logging in `util/asmap.cpp`, I added this while touching the rest of the file all over anyway. - Adds an `AutoFile::size` helper function with some additional test coverage in a separate commit ACKs for top commit: maflcko: review ACK7f318e1dd0🏀 hodlinator: tACK7f318e1dd0laanwj: Code review ACK7f318e1dd0Tree-SHA512: 45156b74e4bd9278a7ec24521dfdafe4dab1ba3384243c7d589ef17e16ca374ee2af7178c86b7229e80ca262dbe78c4d456d80a6ee742ec31d2ab5243dac8b57
28 KiB
28 KiB