If you can compile the code, you'll be able to sync the blockchain and only take up a about 3 GB of space by using
prune=2200 to the
dogecoin.conf file.
You just have to comment out this part of code in the src/init.cpp file:
https://github.com/dogecoin/dogecoin/blob/10a5e93a055ab5f239c5447a5fe05283af09e293/src/init.cpp#L758#ifdef ENABLE_WALLET
if (!GetBoolArg("-disablewallet", false)) {
if (SoftSetBoolArg("-disablewallet", true))
LogPrintf("%s : parameter interaction: -prune -> setting -disablewallet=1\n", __func__);
else
return InitError(_("Can't run with a wallet in prune mode."));
}
#endif
}
and either you can delete those lines or comment it out by adding /* */ around that code so it looks like:
/*
#ifdef ENABLE_WALLET
if (!GetBoolArg("-disablewallet", false)) {
if (SoftSetBoolArg("-disablewallet", true))
LogPrintf("%s : parameter interaction: -prune -> setting -disablewallet=1\n", __func__);
else
return InitError(_("Can't run with a wallet in prune mode."));
}
#endif
}
*/
This is leftover code that hasn't been removed, before SPV functionality was implemented, but can be safely changed so that pruning can be used with the wallet.