A library for working with Bitcoin
Find a file
Mike Hearn c587f2c442 WalletAppKit: we need a stupid hack to make checkpointing and payment channels work together.
Apparently this simple utility class might start to need unit tests now!

To resolve the hack, we need to resolve some circularity in construction: to add the payment channels wallet extensions requires the peerGroup and wallet object to be constructed, but to construct the peerGroup requires the chain+store and to checkpoint a fresh store requires the wallet. Catch 22! We resolve by loading a temp wallet and then throwing it away, which is inefficient for a large wallet that's being replayed but normally shouldn't matter.

Once the payment channels stuff is more mature and tested, we might want to just fold it into the core wallet format.
2013-09-21 21:03:36 +02:00
core WalletAppKit: we need a stupid hack to make checkpointing and payment channels work together. 2013-09-21 21:03:36 +02:00
examples Add more features to WalletAppKit, and ensure wallets it creates always have at least one key. 2013-09-15 20:24:52 +02:00
misc Add a logo. 2013-03-01 13:59:48 +01:00
tools Add a tool to watch for broadcasts of rotation transactions. 2013-08-13 15:05:03 +02:00
wallettemplate Wallet template: the appkit enables autosaving automatically, so it's unnecessary to repeat that. 2013-09-20 15:32:40 +02: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 Add Matija to the AUTHORS file. 2013-07-11 11:50:43 +02:00
COPYING Initial checkin of BitCoinJ 2011-03-07 10:17:10 +00:00
pom.xml Upgrade to protobuf 2.5 2013-09-21 20:08:43 +02: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