diff options
author | laanwj <126646+laanwj@users.noreply.github.com> | 2022-06-02 19:04:49 +0200 |
---|---|---|
committer | laanwj <126646+laanwj@users.noreply.github.com> | 2022-06-02 19:04:53 +0200 |
commit | 636991d0c0f969968c790d490c82c1d2fa4e8047 (patch) | |
tree | d8522765c10a3a331af3cdaef1f420e2dfcb0df7 /src/indirectmap.h | |
parent | 39ddd522c37f760c8054d2fa58e026c69a50ce8b (diff) | |
parent | a4741bd8d4b90b451d982d98eabd0dc5572baa29 (diff) |
Merge bitcoin/bitcoin#25264: kernel: pass params to BlockManager rather than using a global
a4741bd8d4b90b451d982d98eabd0dc5572baa29 kernel: pass params to BlockManager rather than using a global (Cory Fields)
Pull request description:
In a discussion today, dongcarl and I realized that is the only usage of the global `Params()` left in the kernel code.
We can use the readily available reference in `ChainstateManager` instead.
Note: There are still some uses of `BaseParams` in the kernel, so it doesn't make sense to rearrange the definitions quite yet. Once those are gone we can split the globals into new files.
ACKs for top commit:
MarcoFalke:
cr ACK a4741bd8d4b90b451d982d98eabd0dc5572baa29
laanwj:
Code review ACK a4741bd8d4b90b451d982d98eabd0dc5572baa29
Tree-SHA512: bfcc0c35e6c23689e968ccc96ceda39dd5a47fe94fbe617902110fe5865c30a40ea614bcfd4b4a2c846d2e84340aa8973e70b0938786af0fecfa3e6016d7fcad
Diffstat (limited to 'src/indirectmap.h')
0 files changed, 0 insertions, 0 deletions