Exemple #1
0
        public static bool WalletPassPhraseChange()
        {
            Console.WriteLine("Starting WalletPassPhraseChange tests...");

            Bitcoind.WalletLock();              // relocks
            Bitcoind.WalletPassPhraseChange(_walletPassPhrase, "newPassword");
            Bitcoind.WalletPassPhrase("newPassword", _walletPassPhraseTimeout);
            Bitcoind.WalletLock();              // relocks
            Bitcoind.WalletPassPhraseChange("newPassword", _walletPassPhrase);
            Bitcoind.WalletPassPhrase(_walletPassPhrase, _walletPassPhraseTimeout);

            return(true);
        }