bitcoin/src/index
TheCharlatan f0bb1021f0
refactor: Move functions to BlockManager methods
This is a commit in preparation for the next few commits. The functions
are moved to methods to avoid their re-declaration for the purpose of
passing in BlockManager options.

The functions that were now moved into the BlockManager should no longer
use the params as an argument, but instead use the member variable.

In the moved ReadBlockFromDisk and UndoReadFromDisk, change
the function signature to accept a reference to a CBlockIndex instead of
a raw pointer. The pointer is expected to be non-null, so reflect that
in the type.

To allow for the move of functions to BlockManager methods all call
sites require an instantiated BlockManager, or a callback to one.
2023-05-10 19:06:53 +02:00
..
base.cpp refactor: Move functions to BlockManager methods 2023-05-10 19:06:53 +02:00
base.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
blockfilterindex.cpp refactor: Move functions to BlockManager methods 2023-05-10 19:06:53 +02:00
blockfilterindex.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
coinstatsindex.cpp refactor: Move functions to BlockManager methods 2023-05-10 19:06:53 +02:00
coinstatsindex.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
disktxpos.h Refactor: Remove unused FlatFilePos::SetNull 2023-03-21 13:54:11 +01:00
txindex.cpp refactor: Move functions to BlockManager methods 2023-05-10 19:06:53 +02:00
txindex.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00