public static bool ImportPrivKey() { Console.WriteLine("Starting ImportPrivKey tests..."); // Test when there's a rescan and not a label! Console.WriteLine("ImportPrivKey: " + Bitcoind.ImportPrivKey("cToctw27wEp97fUzQ1VHih4qAzyAkp2Nq8MiQYABbnpkm36f6m1F")); ListAccounts(); Console.WriteLine("ImportPrivKey: " + Bitcoind.ImportPrivKey("cToctw27wEp97fUzQ1VHih4qAzyAkp2Nq8MiQYABbnpkm36f6m1F", "test")); ListAccounts(); Console.WriteLine("ImportPrivKey: " + Bitcoind.ImportPrivKey("cToctw27wEp97fUzQ1VHih4qAzyAkp2Nq8MiQYABbnpkm36f6m1F", "test2", false)); ListAccounts(); Console.WriteLine("ImportPrivKey: " + Bitcoind.ImportPrivKey("cToctw27wEp97fUzQ1VHih4qAzyAkp2Nq8MiQYABbnpkm36f6m1F", "cs2", true)); ListAccounts(); return(true); }