Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.cpp
| Show First 20 Lines • Show All 4,355 Lines • ▼ Show 20 Lines | if (gArgs.GetBoolArg("-salvagewallet", false) && | ||||
| // Rewrite just private keys: rescan to find transactions | // Rewrite just private keys: rescan to find transactions | ||||
| LogPrintf("%s: parameter interaction: -salvagewallet=1 -> setting " | LogPrintf("%s: parameter interaction: -salvagewallet=1 -> setting " | ||||
| "-rescan=1\n", | "-rescan=1\n", | ||||
| __func__); | __func__); | ||||
| } | } | ||||
| int zapwallettxes = gArgs.GetArg("-zapwallettxes", 0); | int zapwallettxes = gArgs.GetArg("-zapwallettxes", 0); | ||||
| // -zapwallettxes implies dropping the mempool on startup | // -zapwallettxes implies dropping the mempool on startup | ||||
| if (zapwallettxes != 0 && gArgs.SoftSetBoolArg("-persistmempool", false)) { | if (zapwallettxes != 0 && gArgs.SoftSetPersistMempool(false)) { | ||||
| LogPrintf("%s: parameter interaction: -zapwallettxes=%s -> setting " | LogPrintf("%s: parameter interaction: -zapwallettxes=%s -> setting " | ||||
| "-persistmempool=0\n", | "-persistmempool=0\n", | ||||
| __func__, zapwallettxes); | __func__, zapwallettxes); | ||||
| } | } | ||||
| // -zapwallettxes implies a rescan | // -zapwallettxes implies a rescan | ||||
| if (zapwallettxes != 0) { | if (zapwallettxes != 0) { | ||||
| if (is_multiwallet) { | if (is_multiwallet) { | ||||
| ▲ Show 20 Lines • Show All 189 Lines • Show Last 20 Lines | |||||