hdac SDK
SDK for hdac blockchain development
Public 멤버 함수 | Public 속성 | 모든 멤버 목록
Bitnet.Client.BitnetClient 클래스 참조
Bitnet.Client.BitnetClient에 대한 상속 다이어그램 :
Bitnet.Client.IBitnetClient

Public 멤버 함수

 BitnetClient (string a_sUri)
 
JObject InvokeMethod (string a_sMethod, params object[] a_params)
 
void BackupWallet (string a_destination)
 Safely copies wallet.dat to destination, which can be a directory or a path with filename. 더 자세히 ...
 
string GetAccount (string a_address)
 Returns the account associated with the given address. 더 자세히 ...
 
string GetAccountAddress (string a_account)
 Returns the current bitcoin address for receiving payments to this account. 더 자세히 ...
 
IEnumerable< string > GetAddressesByAccount (string a_account)
 Returns the list of addresses for the given account. 더 자세히 ...
 
float GetBalance (string a_account=null, int a_minconf=1)
 If [account] is not specified, returns the server's total available balance. If [account] is specified, returns the balance in the account. 더 자세히 ...
 
string GetBlockByCount (int a_height)
 Dumps the block existing at specified height. 더 자세히 ...
 
int GetBlockCount ()
 Returns the number of blocks in the longest block chain. 더 자세히 ...
 
int GetBlockNumber ()
 Returns the block number of the latest block in the longest block chain. 더 자세히 ...
 
int GetConnectionCount ()
 Returns the number of connections to other nodes. 더 자세히 ...
 
float GetDifficulty ()
 Returns the proof-of-work difficulty as a multiple of the minimum difficulty. 더 자세히 ...
 
bool GetGenerate ()
 Returns true or false whether bitcoind is currently generating hashes 더 자세히 ...
 
float GetHashesPerSec ()
 Returns a recent hashes per second performance measurement while generating. 더 자세히 ...
 
JObject GetInfo ()
 Returns an object containing various state info. 더 자세히 ...
 
string GetNewAddress (string a_account)
 Returns a new bitcoin address for receiving payments. If [account] is specified (recommended), it is added to the address book so payments received with the address will be credited to [account]. 더 자세히 ...
 
float GetReceivedByAccount (string a_account, int a_minconf=1)
 Returns the total amount received by addresses with accountin transactions with at least [minconf] confirmations. 더 자세히 ...
 
float GetReceivedByAddress (string a_address, int a_minconf=1)
 Returns the total amount received by bitcoinaddressin transactions with at least [minconf] confirmations. 더 자세히 ...
 
JObject GetTransaction (string a_txid)
 Get detailed information about txid 더 자세히 ...
 
JObject GetWork ()
 Tries to solve the block and returns true if it was successful. 더 자세히 ...
 
bool GetWork (string a_data)
 Returns formatted hash data to work on 더 자세히 ...
 
string Help (string a_command="")
 List commands, or get help for a command. 더 자세히 ...
 
JObject ListAccounts (int a_minconf=1)
 Returns Object that has account names as keys, account balances as values. 더 자세히 ...
 
JArray ListReceivedByAccount (int a_minconf=1, bool a_includeEmpty=false)
 Returns an array of objects containing: 더 자세히 ...
 
JArray ListReceivedByAddress (int a_minconf=1, bool a_includeEmpty=false)
 Returns an array of objects containing: 더 자세히 ...
 
JArray ListTransactions (string a_account, int a_count=10)
 Returns up to [count] most recent transactions for account account. 더 자세히 ...
 
bool Move (string a_fromAccount, string a_toAccount, float a_amount, int a_minconf=1, string a_comment="")
 Move from one account in your wallet to another. 더 자세히 ...
 
string SendFrom (string a_fromAccount, string a_toAddress, float a_amount, int a_minconf=1, string a_comment="", string a_commentTo="")
 Amount is a real and is rounded to the nearest 0.01. Returns the transaction ID if successful. 더 자세히 ...
 
string SendToAddress (string a_address, float a_amount, string a_comment, string a_commentTo)
 Send coins to address. Returns txid. 더 자세히 ...
 
void SetAccount (string a_address, string a_account)
 Sets the account associated with the given address. 더 자세히 ...
 
void SetGenerate (bool a_generate, int a_genproclimit=1)
 Generation is limited to [genproclimit] processors, -1 is unlimited. 더 자세히 ...
 
void Stop ()
 Stop bitcoin server. 더 자세히 ...
 
JObject ValidateAddress (string a_address)
 Return information about bitcoinaddress. 더 자세히 ...
 
JObject GetBlockchainParams ()
 
string SignMessage (string a_address, string m_message)
 
bool VerifyMessage (string p_privatekey, string s_signmessage, string m_message)
 
JArray ListUnspent (string a_address)
 
JArray ListStreams (string streamName)
 
bool LockUnspents (bool u_unlock, string t_txid, int v_vout)
 
JArray ListLockUnspent ()
 
JArray ListAssets (string assetName)
 

Public 속성

Uri Url
 
ICredentials Credentials
 

멤버 함수 문서화

void Bitnet.Client.BitnetClient.BackupWallet ( string  a_destination)
inline

Safely copies wallet.dat to destination, which can be a directory or a path with filename.

매개변수
a_destination

Bitnet.Client.IBitnetClient를 구현.

string Bitnet.Client.BitnetClient.GetAccount ( string  a_address)
inline

Returns the account associated with the given address.

매개변수
a_address

Bitnet.Client.IBitnetClient를 구현.

string Bitnet.Client.BitnetClient.GetAccountAddress ( string  a_account)
inline

Returns the current bitcoin address for receiving payments to this account.

매개변수
a_account

Bitnet.Client.IBitnetClient를 구현.

IEnumerable<string> Bitnet.Client.BitnetClient.GetAddressesByAccount ( string  a_account)
inline

Returns the list of addresses for the given account.

매개변수
a_account

Bitnet.Client.IBitnetClient를 구현.

float Bitnet.Client.BitnetClient.GetBalance ( string  a_account = null,
int  a_minconf = 1 
)
inline

If [account] is not specified, returns the server's total available balance. If [account] is specified, returns the balance in the account.

매개변수
a_account
a_minconf

Bitnet.Client.IBitnetClient를 구현.

string Bitnet.Client.BitnetClient.GetBlockByCount ( int  a_height)
inline

Dumps the block existing at specified height.

매개변수
a_height

Bitnet.Client.IBitnetClient를 구현.

int Bitnet.Client.BitnetClient.GetBlockCount ( )
inline

Returns the number of blocks in the longest block chain.

Bitnet.Client.IBitnetClient를 구현.

int Bitnet.Client.BitnetClient.GetBlockNumber ( )
inline

Returns the block number of the latest block in the longest block chain.

Bitnet.Client.IBitnetClient를 구현.

int Bitnet.Client.BitnetClient.GetConnectionCount ( )
inline

Returns the number of connections to other nodes.

Bitnet.Client.IBitnetClient를 구현.

float Bitnet.Client.BitnetClient.GetDifficulty ( )
inline

Returns the proof-of-work difficulty as a multiple of the minimum difficulty.

Bitnet.Client.IBitnetClient를 구현.

bool Bitnet.Client.BitnetClient.GetGenerate ( )
inline

Returns true or false whether bitcoind is currently generating hashes

Bitnet.Client.IBitnetClient를 구현.

float Bitnet.Client.BitnetClient.GetHashesPerSec ( )
inline

Returns a recent hashes per second performance measurement while generating.

Bitnet.Client.IBitnetClient를 구현.

JObject Bitnet.Client.BitnetClient.GetInfo ( )
inline

Returns an object containing various state info.

Bitnet.Client.IBitnetClient를 구현.

string Bitnet.Client.BitnetClient.GetNewAddress ( string  a_account)
inline

Returns a new bitcoin address for receiving payments. If [account] is specified (recommended), it is added to the address book so payments received with the address will be credited to [account].

매개변수
a_account

Bitnet.Client.IBitnetClient를 구현.

float Bitnet.Client.BitnetClient.GetReceivedByAccount ( string  a_account,
int  a_minconf = 1 
)
inline

Returns the total amount received by addresses with accountin transactions with at least [minconf] confirmations.

매개변수
a_account
a_minconf

Bitnet.Client.IBitnetClient를 구현.

float Bitnet.Client.BitnetClient.GetReceivedByAddress ( string  a_address,
int  a_minconf = 1 
)
inline

Returns the total amount received by bitcoinaddressin transactions with at least [minconf] confirmations.

매개변수
a_address
a_minconf

Bitnet.Client.IBitnetClient를 구현.

JObject Bitnet.Client.BitnetClient.GetTransaction ( string  a_txid)
inline

Get detailed information about txid

매개변수
a_txid

Bitnet.Client.IBitnetClient를 구현.

JObject Bitnet.Client.BitnetClient.GetWork ( )
inline

Tries to solve the block and returns true if it was successful.

Bitnet.Client.IBitnetClient를 구현.

bool Bitnet.Client.BitnetClient.GetWork ( string  a_data)
inline

Returns formatted hash data to work on

매개변수
a_data

Bitnet.Client.IBitnetClient를 구현.

string Bitnet.Client.BitnetClient.Help ( string  a_command = "")
inline

List commands, or get help for a command.

매개변수
a_command

Bitnet.Client.IBitnetClient를 구현.

JObject Bitnet.Client.BitnetClient.ListAccounts ( int  a_minconf = 1)
inline

Returns Object that has account names as keys, account balances as values.

매개변수
a_minconf

Bitnet.Client.IBitnetClient를 구현.

JArray Bitnet.Client.BitnetClient.ListReceivedByAccount ( int  a_minconf = 1,
bool  a_includeEmpty = false 
)
inline

Returns an array of objects containing:

매개변수
a_minconf
a_includeEmpty

Bitnet.Client.IBitnetClient를 구현.

JArray Bitnet.Client.BitnetClient.ListReceivedByAddress ( int  a_minconf = 1,
bool  a_includeEmpty = false 
)
inline

Returns an array of objects containing:

매개변수
minconf
a_includeEmpty

Bitnet.Client.IBitnetClient를 구현.

JArray Bitnet.Client.BitnetClient.ListTransactions ( string  a_account,
int  a_count = 10 
)
inline

Returns up to [count] most recent transactions for account account.

매개변수
account
a_count

Bitnet.Client.IBitnetClient를 구현.

bool Bitnet.Client.BitnetClient.Move ( string  a_fromAccount,
string  a_toAccount,
float  a_amount,
int  a_minconf = 1,
string  a_comment = "" 
)
inline

Move from one account in your wallet to another.

매개변수
a_fromAccount
a_toAccount
a_amount
a_minconf
a_comment

Bitnet.Client.IBitnetClient를 구현.

string Bitnet.Client.BitnetClient.SendFrom ( string  a_fromAccount,
string  a_toAddress,
float  a_amount,
int  a_minconf = 1,
string  a_comment = "",
string  a_commentTo = "" 
)
inline

Amount is a real and is rounded to the nearest 0.01. Returns the transaction ID if successful.

매개변수
a_fromAccount
a_toAddress
a_amount
a_minconf
a_comment
a_commentTo

Bitnet.Client.IBitnetClient를 구현.

string Bitnet.Client.BitnetClient.SendToAddress ( string  a_address,
float  a_amount,
string  a_comment,
string  a_commentTo 
)
inline

Send coins to address. Returns txid.

매개변수
a_address
a_amount
a_comment
a_commentTo

Bitnet.Client.IBitnetClient를 구현.

void Bitnet.Client.BitnetClient.SetAccount ( string  a_address,
string  a_account 
)
inline

Sets the account associated with the given address.

매개변수
a_address
a_account

Bitnet.Client.IBitnetClient를 구현.

void Bitnet.Client.BitnetClient.SetGenerate ( bool  a_generate,
int  a_genproclimit = 1 
)
inline

Generation is limited to [genproclimit] processors, -1 is unlimited.

매개변수
a_generatetrue or false to turn generation on or off
a_genproclimit

Bitnet.Client.IBitnetClient를 구현.

void Bitnet.Client.BitnetClient.Stop ( )
inline

Stop bitcoin server.

Bitnet.Client.IBitnetClient를 구현.

JObject Bitnet.Client.BitnetClient.ValidateAddress ( string  a_address)
inline

Return information about bitcoinaddress.

매개변수
a_address

Bitnet.Client.IBitnetClient를 구현.


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: