C# Class BitSharper.Demo.PingService

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.
If running on TestNet (slow but better than using real coins on ProdNet) do the following:
  1. Backup your current wallet.dat in case of unforeseen problems
  2. Start your bitcoin client in test mode bitcoin -testnet. This will create a new sub-directory called testnet and should not interfere with normal wallets or operations.
  3. (Optional) Choose a fresh address
  4. (Optional) Visit the TestNet faucet (https://testnet.freebitcoins.appspot.com/) to load your client with test coins
  5. Run BitSharper.Examples PingService -testnet
  6. Wait for the block chain to download
  7. Send some coins from your bitcoin client to the address provided in the PingService console
  8. Leave it running until you get the coins back again

The testnet can be slow or flaky as it's a shared resource. You can use the testnet in a box to do everything purely locally.

Show file Open project: TangibleCryptography/BitSharper

Public Methods

Method Description
Run ( string args ) : void

Method Details

Run() public static method

public static Run ( string args ) : void
args string
return void