コード例 #1
0
ファイル: Examples.cs プロジェクト: twistys01/MonoBitcoind
        public static bool EncryptWallet()
        {
            Console.WriteLine("Starting DumpPrivKey tests...");

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

            return(true);
        }
コード例 #2
0
ファイル: Examples.cs プロジェクト: twistys01/MonoBitcoind
        public static bool WalletLock()
        {
            Console.WriteLine("Starting WalletLock tests...");

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

            return(true);
        }