Correct maven instruction in the README file and make ForwardingService work on mainnet again by fixing command line arg parsing.

Resolves issue 523.
This commit is contained in:
Mike Hearn
2014-03-10 17:36:32 +01:00
committed by Andreas Schildbach
parent 8fc63e482e
commit 16aeea9104
2 changed files with 8 additions and 5 deletions

7
README
View File

@@ -11,10 +11,13 @@ 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>
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.
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: