C# 클래스 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.

파일 보기 프로젝트 열기: TangibleCryptography/BitSharper

공개 메소드들

메소드 설명
Run ( string args ) : void

메소드 상세

Run() 공개 정적인 메소드

public static Run ( string args ) : void
args string
리턴 void