HomePhabricator

Add missing includes in assumptions.h and chainstate.cpp

Description

Add missing includes in assumptions.h and chainstate.cpp

Summary:
The inclusion of this header should not depend on the inclusion of other
headers that include cstddef themselves.

This is a partial backport of core#27254
https://github.com/bitcoin/bitcoin/pull/27254/commits/106b46d9d25b5228ef009fbbe6f9a7ae35090d15
https://github.com/bitcoin/bitcoin/pull/27254/commits/b202b3dd6393b415fa68e18dc49c9431dc6b58b2

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D16153

Details

Provenance
TheCharlatan <seb.kung@gmail.com>Authored on Mar 15 2023, 19:02
PiRKCommitted on May 16 2024, 08:30
PiRKPushed on May 16 2024, 08:30
Reviewer
Restricted Project
Differential Revision
D16153: Add missing includes in assumptions.h and chainstate.cpp
Parents
rABC69e7ae55530a: [token server + chronik-client + mock-chronik-client + ecash-herald] Removeā€¦
Branches
Unknown
Tags
Unknown