public void CanGetBlockCount() { IBitcoinClient client = new BitcoinClient(ConfigUtility.GetConnectionInfo()); IRpcResponse <long> resp = client.GetBlockCount(); Assert.AreEqual("0", resp.Id); Assert.IsTrue(resp.Result > 0); //Console.Write(resp.ToString()); }
public void CanCreateInstance() { IBitcoinClient client = new BitcoinClient(ConfigUtility.GetConnectionInfo()); Assert.IsNotNull(client); }