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