C# Class FreeMoney.BitcoinTransaction

显示文件 Open project: edmundedgar/Mod-FreeMoney Class Usage Examples

Public Methods

Method Description
BitcoinTransaction ( string dbConnectionString, string>.Dictionary config, string base_url ) : System
GetBTCAddress ( ) : string
GetBTCAmount ( ) : decimal
GetTransactionID ( ) : string
HasErrors ( ) : bool
Initialize ( string>.Dictionary transaction_params, int num_confirmations_required ) : bool
IsConfirmationSent ( ) : bool
IsEnoughConfirmations ( int num_confirmations_received ) : bool
MarkConfirmed ( int num_confirmations_received ) : bool
MarkNotified ( ) : bool
PopulateByBtcAddress ( string btc_address ) : bool
PopulateByTransactionCode ( string transaction_code ) : bool

Private Methods

Method Description
Create ( ) : bool
Populate ( string by ) : bool
ToBTC ( decimal amount, string currency_code ) : decimal

Method Details

BitcoinTransaction() public method

public BitcoinTransaction ( string dbConnectionString, string>.Dictionary config, string base_url ) : System
dbConnectionString string
config string>.Dictionary
base_url string
return System

GetBTCAddress() public method

public GetBTCAddress ( ) : string
return string

GetBTCAmount() public method

public GetBTCAmount ( ) : decimal
return decimal

GetTransactionID() public method

public GetTransactionID ( ) : string
return string

HasErrors() public method

public HasErrors ( ) : bool
return bool

Initialize() public method

public Initialize ( string>.Dictionary transaction_params, int num_confirmations_required ) : bool
transaction_params string>.Dictionary
num_confirmations_required int
return bool

IsConfirmationSent() public method

public IsConfirmationSent ( ) : bool
return bool

IsEnoughConfirmations() public method

public IsEnoughConfirmations ( int num_confirmations_received ) : bool
num_confirmations_received int
return bool

MarkConfirmed() public method

public MarkConfirmed ( int num_confirmations_received ) : bool
num_confirmations_received int
return bool

MarkNotified() public method

public MarkNotified ( ) : bool
return bool

PopulateByBtcAddress() public method

public PopulateByBtcAddress ( string btc_address ) : bool
btc_address string
return bool

PopulateByTransactionCode() public method

public PopulateByTransactionCode ( string transaction_code ) : bool
transaction_code string
return bool