diff options
Diffstat (limited to 'src/walletcmd.h')
| -rw-r--r-- | src/walletcmd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/walletcmd.h b/src/walletcmd.h index 32d3eef..04d3fb7 100644 --- a/src/walletcmd.h +++ b/src/walletcmd.h | |||
| @@ -53,6 +53,10 @@ int CmdShowDerived(int nCount); | |||
| 53 | // by the installed recovery phrase or still depends on wallet.dat-only keys. | 53 | // by the installed recovery phrase or still depends on wallet.dat-only keys. |
| 54 | int CmdRecoveryAudit(); | 54 | int CmdRecoveryAudit(); |
| 55 | 55 | ||
| 56 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the | ||
| 57 | // given passphrase. Returns 0 on success and exits without starting the node. | ||
| 58 | int CmdEncryptWallet(const std::string& strPassphrase); | ||
| 59 | |||
| 56 | // Spend, from the command line. Until now the only way to send was the window, | 60 | // Spend, from the command line. Until now the only way to send was the window, |
| 57 | // so a headless node could be paid and could never pay -- it could hold a | 61 | // so a headless node could be paid and could never pay -- it could hold a |
| 58 | // balance it had no way to move. strArg is "ADDRESS,AMOUNT". | 62 | // balance it had no way to move. strArg is "ADDRESS,AMOUNT". |