mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Add -blocksxor boolean option
This commit is contained in:
parent
fa7f7ac040
commit
fa359255fe
8 changed files with 78 additions and 7 deletions
|
|
@ -16,6 +16,7 @@
|
|||
namespace node {
|
||||
util::Result<void> ApplyArgsManOptions(const ArgsManager& args, BlockManager::Options& opts)
|
||||
{
|
||||
if (auto value{args.GetBoolArg("-blocksxor")}) opts.use_xor = *value;
|
||||
// block pruning; get the amount of disk space (in MiB) to allot for block & undo files
|
||||
int64_t nPruneArg{args.GetIntArg("-prune", opts.prune_target)};
|
||||
if (nPruneArg < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue