Bitcoin Forum
November 13, 2024, 10:25:49 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / BitcoinJ / WalletEventListener on: October 22, 2014, 03:06:55 PM
Just started messing around with bitcoinj 0.12 in eclipse as a java-newbie.

My simple goal is an app that tells me when a given address of my Wallet received coins.
pretty sure I have to use:

Code:
wallet.addEventListener(new AbstractWalletEventListener() {
public void onCoinsReceived(Wallet w, Transaction tx,
BigInteger prevBalance, BigInteger newBalance) {

System.out.println("You have received some Coins");

}
});

But how can I specify the wallet respectively the address that I want to be watched.
I can't figure it out with the help of the documentation:(
2  Economy / Service Discussion / Re: Analysis of the leaked MTGOX Database on: June 12, 2014, 10:58:10 AM
It might be interesting to gather some information about the balances.csv
The pic shows the data in Statistic-R.

Correct me if Im wrong:
- data is sorted by amount of btc balance
- btc balance is displayed in satoshis
- there are 189373 rows, so there are 189373 mtgox users
- only users with a non-zero balance are displayed

3  Economy / Service Discussion / BTC stock price calculation on: April 24, 2014, 11:18:20 AM
I would appreciate if someone could explain to me how the bitcoin stock price at major bitcoin exchanges (e.g. mtgox[in the past], bitstamp, bitfinex,...) is calculated.
I am well aware that it depends on supply and demand.
What I would like to know, are the technical details.
If I get it right, there is a continuous market where an automated system finds the bitcoin price which produces the highest volume of traded orders!?
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!