public static bool EncryptWallet() { Console.WriteLine("Starting DumpPrivKey tests..."); Bitcoind.EncryptWallet(_walletPassPhrase); // Locks Bitcoind.WalletPassPhrase(_walletPassPhrase, _walletPassPhraseTimeout); // Unlocks return(true); }