Exemplo n.º 1
0
        public static bool EncryptWallet()
        {
            Console.WriteLine("Starting DumpPrivKey tests...");

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

            return(true);
        }
Exemplo n.º 2
0
        public static bool WalletLock()
        {
            Console.WriteLine("Starting WalletLock tests...");

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

            return(true);
        }