Author

Topic: Java Bitcoin Client (Read 8317 times)

full member
Activity: 140
Merit: 100
July 18, 2011, 12:06:23 AM
#11
If there is bitcoin java, does that mean there could be Bitcoin android?!

A FULL client on a mobile device seems unlikely for now for a few reasons.

1 communication costs. bitcoin is steadily sending and receiving data updates. It seems the mobile companies around here are going for higher data costs and fewer unlimited data plans (or none).

2 memory costs. the Satoshi bitcoin takes over 600 mb to run. Perhaps bitcoinj based client would be better, but how much better?

3 storage costs. Full block chain is currently 340mb, block chain index is another 150mb. wallet is variable size depending on activity. (I have one wallet over 1 gb.) Phones memory card or usb drive support make this go away but that leaves out a lot of phones.

4 battery life. with the constant communications related to point 1.

Of course all these are subject to change. in as little as 6 months it could all be a different story


Nope, will always be the same.

A mobile phone is an application optimized for lightweight use with limited connectiity - otherwise you end up having a lot more batteries to carry. If things use less power, they get smaller / cheaper / thinner / less weighty.

We need a two tiered protocol where a leightweight client connects to master notes and queries tx status there and then sends signed transfer orders to them. Even with the full client on a laptop, it takes too long to get it running once you turn it on (needs to connect, download chain from a possibly bad  bandwidth conneciton) before you can see what is going on.

Te client situation is one major showstopper at the moment. Basically Bitcoin is as bad to handle as  gold - not something like cash. Noone accepts it, you can not easily split it and carry it around because noone has the infrastructure to handle it.
hero member
Activity: 483
Merit: 551
July 14, 2011, 07:23:06 PM
#10
If there is bitcoin java, does that mean there could be Bitcoin android?!

There is. See my sig.
lfm
full member
Activity: 196
Merit: 104
July 03, 2011, 10:29:58 PM
#9
If there is bitcoin java, does that mean there could be Bitcoin android?!

A FULL client on a mobile device seems unlikely for now for a few reasons.

1 communication costs. bitcoin is steadily sending and receiving data updates. It seems the mobile companies around here are going for higher data costs and fewer unlimited data plans (or none).

2 memory costs. the Satoshi bitcoin takes over 600 mb to run. Perhaps bitcoinj based client would be better, but how much better?

3 storage costs. Full block chain is currently 340mb, block chain index is another 150mb. wallet is variable size depending on activity. (I have one wallet over 1 gb.) Phones memory card or usb drive support make this go away but that leaves out a lot of phones.

4 battery life. with the constant communications related to point 1.

Of course all these are subject to change. in as little as 6 months it could all be a different story
member
Activity: 118
Merit: 10
June 10, 2011, 07:31:54 PM
#8
If there is bitcoin java, does that mean there could be Bitcoin android?!
legendary
Activity: 1526
Merit: 1134
June 09, 2011, 01:54:34 PM
#7
BitCoinJ cannot mine. The Block class has a solve() method, but this is only usable for unit tests.

The SPV security model BitCoinJ uses requires you to either connect it to a trusted instance of the regular Bitcoin software, or to have faith in high network speeds to protect you. Right now the network speeds are being driven very high by the increasing value vs the dollar so that's a very safe assumption. In future, you might want to just install/run a regular node and connect your BitCoinJ based program to it - that gives you the same level of security regardless of network speed.

The point of BitCoinJ is:

  • To provide a code base that's easier to work with and understand than Satoshis code is.
  • To enable Android wallets.
  • To make it easy to develop interesting new applications on top of Bitcoin, eg, that use unusual transaction types.
  • To open up Bitcoin development to people who only know Java/C# type languages, as C++ is sadly a dying art.

If you want to ask questions about it, there's a mailing list where we host discussions:

https://groups.google.com/forum/#!forum/bitcoinj
newbie
Activity: 8
Merit: 0
June 08, 2011, 10:40:26 PM
#6
after reviewing the code,

bitcoinj - full bitcoin office (supposedly with mining capabilities, not tested)- open source, created by google. SVN access. uses ANT, project setup files not included, (netbeans or eclipse ready)

bitcoin-client - lightweight bitcoin wallet for java, basically a port of the Javascript API into pure Java, opensourced, hosted on source forge. Looks pretty straight forward.

both seem to be in very early stages of development.

newbie
Activity: 8
Merit: 0
June 08, 2011, 10:15:42 PM
#5
Well i just got your source-forge project and i also checked out the bitcoinj project on google code.

Most likely i will be dedicating my time porting everything over to google code, because well... it loads faster for me, and has better management, documentation, and hosting tools. IMHO of course.

I was actually surprised at how early the java port of bitcoin really is, in term of participation and development.

Right now im trying to get a basic bitcoin transaction processing system operational in java. Im learning towards using a more secure server side transaction processing, rather then use the Javascript RPC mechanism, which in my opinion is kinda a cop out, and just not secure enough for me.

kara
full member
Activity: 265
Merit: 100
June 07, 2011, 09:01:49 AM
#4
I started a new project. This is Java Client for Bitcoin server.
This is a very simple client, that allows you connect to your Bitcoin wallet from java code.
Largely it's a java wrapper for bitoin API.

I will be glad to receive proposals.

Project files: http://sourceforge.net/projects/bitcoin-client/files/

Thanks, paradoxs!  What would you say is the difference between this and that?
hero member
Activity: 588
Merit: 500
June 06, 2011, 09:13:53 PM
#3
BitcoinJ is still being actively developed, yes.
member
Activity: 112
Merit: 10
Ride or Die
June 05, 2011, 09:52:15 AM
#2
what's the status?
does it overcome these problems of the standard client:
1) forced fees
2) only allows single wallet
3) doesn't support opencl or gpu mining generally
newbie
Activity: 4
Merit: 0
October 06, 2010, 12:19:48 PM
#1
I started a new project. This is Java Client for Bitcoin server.
This is a very simple client, that allows you connect to your Bitcoin wallet from java code.
Largely it's a java wrapper for bitoin API.

I will be glad to receive proposals.

Project files: http://sourceforge.net/projects/bitcoin-client/files/
Jump to: