예제 #1
0
        public static bool EncryptWallet()
        {
            Console.WriteLine("Starting DumpPrivKey tests...");

            Bitcoind.EncryptWallet(_walletPassPhrase);                              // Locks
            Bitcoind.WalletPassPhrase(_walletPassPhrase, _walletPassPhraseTimeout); // Unlocks

            return(true);
        }
예제 #2
0
        public static bool WalletLock()
        {
            Console.WriteLine("Starting WalletLock tests...");

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

            return(true);
        }