mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Add -blocksxor boolean option
This commit is contained in:
parent
fa7f7ac040
commit
fa359255fe
8 changed files with 78 additions and 7 deletions
|
|
@ -14,12 +14,15 @@ class CChainParams;
|
|||
|
||||
namespace kernel {
|
||||
|
||||
static constexpr bool DEFAULT_XOR_BLOCKSDIR{true};
|
||||
|
||||
/**
|
||||
* An options struct for `BlockManager`, more ergonomically referred to as
|
||||
* `BlockManager::Options` due to the using-declaration in `BlockManager`.
|
||||
*/
|
||||
struct BlockManagerOpts {
|
||||
const CChainParams& chainparams;
|
||||
bool use_xor{DEFAULT_XOR_BLOCKSDIR};
|
||||
uint64_t prune_target{0};
|
||||
bool fast_prune{false};
|
||||
const fs::path blocks_dir;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue