Bitcoin Forum
May 11, 2024, 05:27:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Investor-based games / Where is The HOT site based ponzi schema? on: March 30, 2015, 07:14:24 AM
Where is The HOT site based ponzi  schema?

and Why they attracted? Grin

2  Bitcoin / Development & Technical Discussion / How to detect double spending? on: March 19, 2015, 08:12:43 AM
Hi everyone  Grin

i have a question

How to detect double spending?

I think
Some site detecting double spending (etc luckybit or satoshibones)

Because they give it a reward for betting 0 confirm transaction

help me buddy

3  Economy / Gambling / Where is The best design gambling site? on: February 06, 2015, 12:55:28 AM
Where is The best web design gambling site?

I think that luckybit or satoshidice is disign really good Smiley

4  Economy / Investor-based games / what is "another ponzi"? on: February 03, 2015, 05:31:43 AM
ponzi vs another ponzi?? Huh

What's the difference?
5  Economy / Speculation / where is bottom?? on: January 13, 2015, 08:28:48 AM
220?

200?

180?

Sad
6  Economy / Investor-based games / Recently I feel awful increased HYIP site on: January 12, 2015, 11:14:09 PM
Recently I feel awful increased HYIP site

why??

Can i profit really??
7  Economy / Gambling / What is the best blackjack casino?? on: December 31, 2014, 01:47:53 AM
Except live blackjack casino

What is the best blackjack casino??







8  Economy / Gambling / Recently reduced a lot of people gambling sites on: December 03, 2014, 01:46:14 PM
Hi i think
Recently reduced a lot of people gambling sites
Because Bitcoin prices? Huh
Or is only popular in certain sites? Huh

9  Other / Meta / satoshi is made bitcointalk? on: December 03, 2014, 12:33:25 PM
is it true??

He seems unbelievable man Grin
10  Economy / Gambling / What do you think of these days as most hot gambling sites and games? on: November 14, 2014, 06:40:19 AM
What do you think of these days as most hot gambling sites and games?
11  Economy / Service Discussion / What do you think of these days as most hot gambling sites and games? on: November 14, 2014, 06:39:07 AM
What do you think of these days as most hot gambling sites and games?


ps:Board chose wrong Angry
12  Economy / Speculation / why rise price? on: November 13, 2014, 08:24:05 AM
Why is the price gone up?
Please tell me Wink
13  Economy / Gambling / [Question]Bitcoin prices affect the activation gambling user count? on: November 04, 2014, 08:42:51 AM
Bitcoin prices affect the activation gambling sites?
For example, when the btc price increases , the user count of a particular gambling site increase
Conversely, reducing the user when price of price falls

i want to know Huh

14  Economy / Gambling / HOW get feed data sports betting site?? on: October 20, 2014, 06:50:41 AM
HOW get feed data sports betting site??

Please let me know if someone you know Wink
15  Economy / Service Discussion / Help me about rpc.blockchain.info Json-rpc blockchain API using Java on: June 25, 2014, 02:24:27 PM
help me about rpc.blockchain.info rpc API using Java

hi want to connect rpc.blockchain.info by java
-> https://blockchain.info/api/json_rpc_api

for json-rpc using jsonrpc4j lib
-> https://github.com/briandilley/jsonrpc4j

my source result

Exception in thread "main" com.googlecode.jsonrpc4j.HttpException: {"error":{"message":"JSON-RPC method [getinfo] with 0 parameters not found.","code":-32601},"jsonrpc":"2.0"}
   at com.googlecode.jsonrpc4j.JsonRpcHttpClient.invoke(JsonRpcHttpClient.java:165)
   at com.googlecode.jsonrpc4j.JsonRpcHttpClient.invoke(JsonRpcHttpClient.java:105)
   at com.googlecode.jsonrpc4j.JsonRpcHttpClient.invoke(JsonRpcHttpClient.java:123)
   at com.option.bitcoin.AppTest2.main(AppTest2.java:55)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://rpc.blockchain.info:80
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
   at com.googlecode.jsonrpc4j.JsonRpcHttpClient.invoke(JsonRpcHttpClient.java:157)
   ... 3 more


i think not connectiong to rpc.blockchain.info

how i can do?

I'm sorry that I can not not speak English well
because i from south korea

help me plz~~ Cry

below my java source

Code:
import java.net.Authenticator;
import java.net.PasswordAuthentication;
import java.net.URL;
import com.googlecode.jsonrpc4j.JsonRpcHttpClient;
import org.json.simple.*;
/**
 * Unit test for simple App.
 */
public class AppTest2
    
{

    public static void main(String args[]) throws Throwable
    {        

     final String rpcuser ="id";        
     final String rpcpassword ="pwd";
    
 
      Authenticator.setDefault(new Authenticator() {
          protected PasswordAuthentication getPasswordAuthentication() {
              return new PasswordAuthentication (rpcuser, rpcpassword.toCharArray());
          }
      });
      
     JsonRpcHttpClient client = null;
     try {
    
     client = new JsonRpcHttpClient(new URL("http://rpc.blockchain.info:80"));    
    
     } catch (Exception e) {    
     e.printStackTrace();            
     } catch (Throwable t) {    
     t.printStackTrace();            
     }//end try/catch              
     String temp = client.invoke("getinfo",null,String.class);
     System.out.println("temp=="+temp);
      
    }
}
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!