diff options
| author | Carl Dong <[email protected]> | 2020-08-25 19:05:50 -0400 |
|---|---|---|
| committer | Carl Dong <[email protected]> | 2020-09-15 14:13:44 -0400 |
| commit | f8d4975ab3fcd3553843cf0862251289c88c106b (patch) | |
| tree | fc52dc628f532971eb04873acd483aa5f19f831d /src/script/script_error.cpp | |
| parent | validation: Pass in chainman to UnloadBlockIndex (diff) | |
| download | discoin-f8d4975ab3fcd3553843cf0862251289c88c106b.tar.xz discoin-f8d4975ab3fcd3553843cf0862251289c88c106b.zip | |
validation: Move PruneOneBlockFile to BlockManager
[META] This is a pure refactor commit.
Move PruneBlockFile to BlockManager because:
1. PruneOneBlockFile only acts on BlockManager
2. Eliminates the need for callers (FindFilesToPrune{,Manual}) to have a
reference to the larger ChainstateManager, just a reference to
BlockManager is enough. See following commits.
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions