diff options
Diffstat (limited to 'src/walletcmd.h')
| -rw-r--r-- | src/walletcmd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/walletcmd.h b/src/walletcmd.h index 69874e4..32d3eef 100644 --- a/src/walletcmd.h +++ b/src/walletcmd.h | |||
| @@ -32,6 +32,15 @@ bool RestoreFromPhrase(const std::string& strMnemonic, | |||
| 32 | int& nRecoveredRet, | 32 | int& nRecoveredRet, |
| 33 | int& nDerivedRet); | 33 | int& nDerivedRet); |
| 34 | 34 | ||
| 35 | // Restore scans stop only after the requested depth is reached. BIP44 has more | ||
| 36 | // than one branch, so the depth has to be satisfied per branch, not by summing | ||
| 37 | // receive + change + compatibility keys. | ||
| 38 | bool RestoreScanReachedDepth(int nSchema, | ||
| 39 | unsigned int nReceiveNext, | ||
| 40 | unsigned int nChangeNext, | ||
| 41 | unsigned int nLegacyNext, | ||
| 42 | int nStopDepth); | ||
| 43 | |||
| 35 | // Take the next address from the key pool and print it. With a recovery phrase | 44 | // Take the next address from the key pool and print it. With a recovery phrase |
| 36 | // installed the address is derived, so the phrase can bring back whatever is | 45 | // installed the address is derived, so the phrase can bring back whatever is |
| 37 | // paid to it. | 46 | // paid to it. |