Bitcoin Forum
June 20, 2024, 06:01:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: Resending transaction on: March 02, 2011, 02:51:29 PM
Those two transactions took about 24 or 26 hours to even receive one confirmation. Whereas I have seen other transactions go through in under a minute or 2.

Is there any reason that this may happen?
2  Bitcoin / Bitcoin Technical Support / Re: Resending transaction on: March 01, 2011, 03:35:20 AM
Weird, I have had 2 unconfirmed transactions sitting in my list for over 12 hours. Is this unusual? 
3  Bitcoin / Development & Technical Discussion / Re: Consuming JSON-RPC from Bitcoin using .net on: February 28, 2011, 08:01:27 PM
I am, yes.


            WebRequest request = GetWebRequest(new Uri(Url));
            request.Method = "POST";
            request.ContentType = "application/json-rpc";
            request.Credentials = new NetworkCredential("<myuser>", "<mypass>");

I am creating the request via the JayRock JsonObject type.

            using (var stream = request.GetRequestStream())
            using (var writer = new StreamWriter(stream, Encoding.UTF8))
            {
                var call = new JsonObject();
                call["id"] = Convert.ToString(++_id);
                call["method"] = method;
                call["params"] = args;
                call.Export(new JsonTextWriter(writer));
            }

Thanks very much for the reply BTW :-)
4  Bitcoin / Development & Technical Discussion / Re: Consuming JSON-RPC from Bitcoin using .net on: February 28, 2011, 06:55:58 PM
What was your issue and how did you resolve it? I am trying to do the same thing, and have username and password set, and the allowed ip set to *.*.*.*

I keep sending out a request like this
{"id":"1","method":"getinfo","params":[]}

but i am constantly getting back this
{"result":null,"error":{"code":-32700,"message":"Parse error"},"id":null}

any clue on what I am doing wrong?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!