C# Class BitSharper.WalletCoinsReceivedEventArgs

This is called on a Peer thread when a block is received that sends some coins to you. Note that this will also be called when downloading the block chain as the wallet balance catches up so if you don't want that register the event listener after the chain is downloaded. It's safe to use methods of wallet during the execution of this callback.
Inheritance: System.EventArgs
Show file Open project: TangibleCryptography/BitSharper

Public Methods

Method Description
WalletCoinsReceivedEventArgs ( Transaction tx, ulong prevBalance, ulong newBalance ) : System

Method Details

WalletCoinsReceivedEventArgs() public method

public WalletCoinsReceivedEventArgs ( Transaction tx, ulong prevBalance, ulong newBalance ) : System
tx Transaction The transaction which sent us the coins.
prevBalance ulong Balance before the coins were received.
newBalance ulong Current balance of the wallet.
return System