mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 14:50:57 +01:00
A library for working with Bitcoin
* API change: TransactionConfidence.Listener now takes a reason enum describing the general class of change. * Confidence listeners are now invoked in the user code thread as well, thus eliminating any chance of unexpected re-entrancy. * The wallet batches up confidence changes and executes them all at the end of major operations, avoiding confusing intermediate transitions that could occur in the previous design. * Much code has been simplified as a result and it's now harder to screw up. |
||
---|---|---|
core | ||
examples | ||
misc | ||
tools | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
COPYING | ||
pom.xml | ||
README |
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. Most good ones have Maven integration. Now try running one of the example apps: cd examples mvn exec:java -Dexec.mainClass=com.google.bitcoin.examples.PingService It will download the block chain and eventually print a Bitcoin address. If you send coins to it, you should get them back a few minutes later when a block is solved. Now you are ready to follow the tutorial: https://code.google.com/p/bitcoinj/wiki/GettingStarted