3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-30 23:02:15 +00:00
Java library for adding altcoin support to bitcoinj
Go to file
Mike Hearn dbab159551 First part of block chain handling rework.
- Store the block chain using a get/put interface keyed by hash, 
  so we can add disk storage later.
  
- Add unit tests for difficulty transitions. Move some stuff into 
  NetworkParameters to make that easier.
  
- Track the best chain using total work done. Inform the wallet
  when a re-org takes place. Wallet currently doesn't do anything
  with this beyond informing the event listeners.

With this patch we're getting closer to a correct SPV implementation.
2011-03-24 09:14:32 +00:00
docs Refresh JavaDocs. 2011-03-15 14:04:38 +00:00
lib Initial checkin of BitCoinJ 2011-03-07 10:17:10 +00:00
src/com/google/bitcoin First part of block chain handling rework. 2011-03-24 09:14:32 +00:00
tests/com/google/bitcoin/core First part of block chain handling rework. 2011-03-24 09:14:32 +00:00
build.xml Fix a typo in ECKey JavaDocs. 2011-03-07 13:37:47 +00:00
COPYING Initial checkin of BitCoinJ 2011-03-07 10:17:10 +00:00
README Initial checkin of BitCoinJ 2011-03-07 10:17:10 +00:00
TODO Initial checkin of BitCoinJ 2011-03-07 10:17:10 +00:00

To get started, ensure you have the latest JDK installed and then just run "ant".

- A JAR will be placed in dist/
- JavaDocs will be placed in docs/
- Unit tests will be run

Now ensure you're running a BitCoin node locally and run the example app:

   cd out
   java com.google.bitcoin.examples.PingService

It will print a BitCoin address. If you send coins to it, you should get them back a few minutes later when a block is solved.