A library for working with Bitcoin
Find a file
Mike Hearn a1562836be Payment protocol: Make PaymentSession use a global thread pool that uses daemon threads.
Fixes a 60 second hang that could occur in wallet-tool once the send request was processed. Fixing this revealed another bug - WalletTool was depending on this VM shutdown delay caused by the worker pool timeout, so clean up the code and replace with a blocking get of the future.

Also support the --offline and --password flags when using the payment protocol.
2014-01-28 13:58:08 +01:00
core Payment protocol: Make PaymentSession use a global thread pool that uses daemon threads. 2014-01-28 13:58:08 +01:00
examples Priority queue and exponential backoff for PeerGroup 2013-12-23 22:57:19 +00:00
misc Add a logo. 2013-03-01 13:59:48 +01:00
tools Payment protocol: Make PaymentSession use a global thread pool that uses daemon threads. 2014-01-28 13:58:08 +01:00
wallettemplate WalletTemplate: refresh checkpoints file. 2013-12-23 20:09:24 +00:00
.gitattributes Add a logo. 2013-03-01 13:59:48 +01:00
.gitignore Ignore .iml files 2013-09-15 22:05:17 +02:00
AUTHORS Update Miron's email address 2013-12-13 15:59:06 -08:00
COPYING Initial checkin of BitCoinJ 2011-03-07 10:17:10 +00:00
pom.xml Rewrite the network stack. 2013-12-10 13:03:14 -08:00
README Update README 2013-07-30 13:14:24 +02:00

To get started, ensure you have the latest JDK installed, and download Maven from:

  http://maven.apache.org/

Then run "mvn clean package" to compile the software. You can also run "mvn site:site" to generate a website with
useful information like JavaDocs. The outputs are under the target/ directory.

Alternatively, just import the project using your IDE. IntelliJ has Maven integration once you tell it where to
find your unzipped Maven install directory.

Now try running one of the example apps:

  cd examples
  mvn exec:java -Dexec.mainClass=com.google.bitcoin.examples.ForwardingService <insert a bitcoin address here>

It will download the block chain and eventually print a Bitcoin address. If you send coins to it,
it will forward them on to the address you specified.

Now you are ready to follow the tutorial:

   https://code.google.com/p/bitcoinj/wiki/GettingStarted