Exemplo n.º 1
0
        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());
        }
Exemplo n.º 2
0
        public void CanCreateInstance()
        {
            IBitcoinClient client = new BitcoinClient(ConfigUtility.GetConnectionInfo());

            Assert.IsNotNull(client);
        }