3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 06:44:16 +00:00

Mention testnet in a box in the PingService docs.

This commit is contained in:
Mike Hearn 2011-06-14 12:50:33 +00:00
parent 0953e79cb0
commit 636a47b320

View File

@ -30,6 +30,7 @@ import java.util.concurrent.TimeUnit;
* PingService demonstrates basic usage of the library. It sits on the network and when it receives coins, simply
* sends them right back to the previous owner, determined rather arbitrarily by the address of the first input.
* </p>
*
* <p>
* If running on TestNet (slow but better than using real coins on prodnet) do the following:
* <ol>
@ -43,6 +44,9 @@ import java.util.concurrent.TimeUnit;
* <li>Leave it running until you get the coins back again</li>
* </ol>
* </p>
*
* <p>The testnet can be slow or flaky as it's a shared resource. You can use the <a href="http://sourceforge
* .net/projects/bitcoin/files/Bitcoin/testnet-in-a-box/">testnet in a box</a> to do everything purely locally.</p>
*/
public class PingService {
public static void main(String[] args) throws Exception {