3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 07:12:17 +00:00
Java library for adding altcoin support to bitcoinj
Go to file
Mike Hearn a2afe470c2 PeerGroup: bugfixes to backoff.
1) Do the wait even on the exception path so if discoverPeers throws, we don't bypass the sleep.
2) Move some field accesses inside the lock.

Resolves issue 527.
2014-04-01 16:48:31 +02:00
core PeerGroup: bugfixes to backoff. 2014-04-01 16:48:31 +02:00
examples Correct maven instruction in the README file and make ForwardingService work on mainnet again by fixing command line arg parsing. 2014-03-10 17:36:32 +01:00
misc Add a logo. 2013-03-01 13:59:48 +01:00
tools Payment protocol: misc enhancements. 2014-03-23 19:24:56 +01:00
wallettemplate Initiliaze/assign sendResult. Prevents NullPointerException and app from crashing when sending money out. 2014-03-25 13:35:01 +01: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 Mora Zyx to AUTHORS list. 2014-03-29 14:42:10 +01:00
COPYING Initial checkin of BitCoinJ 2011-03-07 10:17:10 +00:00
pom.xml Update SLF4J to version 1.7.6. Previously, inconsistent versions were used between sub-projects. All unit-tests pass. 2014-03-07 17:47:42 +01:00
README Correct maven instruction in the README file and make ForwardingService work on mainnet again by fixing command line arg parsing. 2014-03-10 17:36:32 +01: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 -Dexec.args="<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. Note that this example app does not use
checkpointing, so the initial chain sync will be pretty slow. You can make an app that starts up and
does the initial sync much faster by including a checkpoints file; see the documentation for
more info on this.

Now you are ready to follow the tutorial:

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