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
dbab159551
- 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. |
||
---|---|---|
docs | ||
lib | ||
src/com/google/bitcoin | ||
tests/com/google/bitcoin/core | ||
build.xml | ||
COPYING | ||
README | ||
TODO |
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.