diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-20 19:39:33 +0100 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-20 19:40:01 +0100 |
commit | 640eb772e55671c5dab29843cebe42ec35cb703f (patch) | |
tree | 73ee64345e5f912989051b60dcc5e8fbfa5aa507 /src/ipc | |
parent | aac99faa66e20ad7f3f4fb5123c524b968ab21d4 (diff) | |
parent | 53494bc7392591336e09d095f1fc38d63d566abf (diff) |
Merge bitcoin/bitcoin#25064: [kernel 2b/n] Add `ChainstateManager::m_adjusted_time_callback`
53494bc7392591336e09d095f1fc38d63d566abf validation: Have ChainstateManager own m_chainparams (Carl Dong)
04c31c1295eb4ecd42afd54b8e353cbda93d83f0 Add ChainstateManager::m_adjusted_time_callback (Carl Dong)
dbe45c34f8b4fd7d615f7e05ef1454798ef0c8ca Add ChainstateManagerOpts, using as ::Options (Carl Dong)
Pull request description:
```
This decouples validation.cpp from netaddress.cpp (transitively,
timedata.cpp, and asmap.cpp).
This is important for libbitcoinkernel as:
- There is no reason for the consensus engine to be coupled with
netaddress, timedata, and asmap
- Users of libbitcoinkernel can now easily supply their own
std::function that provides the adjusted time.
See the src/Makefile.am changes for some satisfying removals.
```
Top commit has no ACKs.
Tree-SHA512: a093ec6ecacdc659d656574f05bd31ade6a6cdb64d5a97684f94ae7e55c0e360b78177553d4d1ef40280192674464d029a0d68e96caf8711d9274011172f1330
Diffstat (limited to 'src/ipc')
0 files changed, 0 insertions, 0 deletions