mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Add a flag for header-trimming; clear P2P network feature bits when enabled.
This commit is contained in:
parent
68eb0864cb
commit
7c555578b7
3 changed files with 34 additions and 1 deletions
|
|
@ -25,6 +25,9 @@ std::atomic_bool fReindex(false);
|
|||
bool fHavePruned = false;
|
||||
bool fPruneMode = false;
|
||||
uint64_t nPruneTarget = 0;
|
||||
bool fTrimHeaders = false;
|
||||
uint64_t nMustKeepFullHeaders = std::numeric_limits<uint64_t>::max();
|
||||
uint64_t nHeaderDownloadBuffer = std::numeric_limits<uint64_t>::max();
|
||||
|
||||
// TODO make namespace {
|
||||
RecursiveMutex cs_LastBlockFile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue