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 0ed260bae2 Payment protocol: misc enhancements.
Stop using the JDK store and use our own, to make the StartSSL fix effective.
Include the certs in the exception thrown if the chain doesn't verify.
Support loading from a file in the PaymentProtocol tool.
Print the certs out in the PaymentProtocol tool if there's an error.
2014-03-23 19:24:56 +01:00
core Payment protocol: misc enhancements. 2014-03-23 19:24:56 +01: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 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
.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 Andreas and Eric to the AUTHORS file. Update my email address. 2014-02-07 17:22:17 +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