C# 클래스 BitcoinLib.Services.CoinService

파일 보기 프로젝트 열기: GeorgeKimionis/BitcoinLib

공개 메소드들

메소드 설명
AddMultiSigAddress ( int nRquired, List publicKeys, string account ) : string
AddNode ( string node, NodeAction action ) : void
BackupWallet ( string destination ) : void
CoinService ( ) : System
CoinService ( bool useTestnet ) : System
CoinService ( string daemonUrl, string rpcUsername, string rpcPassword, string walletPassword ) : System
CoinService ( string daemonUrl, string rpcUsername, string rpcPassword, string walletPassword, short rpcRequestTimeoutInSeconds ) : System
CreateMultiSig ( int nRquired, List publicKeys ) : CreateMultiSigResponse
CreateRawTransaction ( CreateRawTransactionRequest rawTransaction ) : string
DecodeRawTransaction ( string rawTransactionHexString ) : DecodeRawTransactionResponse
DecodeScript ( string hexString ) : DecodeScriptResponse
DumpPrivKey ( string bitcoinAddress ) : string
DumpWallet ( string filename ) : void
EstimateFee ( ushort nBlocks ) : decimal
EstimatePriority ( ushort nBlocks ) : decimal
GetAccount ( string bitcoinAddress ) : string
GetAccountAddress ( string account ) : string
GetAddedNodeInfo ( string dns, string node ) : GetAddedNodeInfoResponse
GetAddressBalance ( string inWalletAddress, int minConf, bool validateAddressBeforeProcessing ) : decimal
GetAddressesByAccount ( string account ) : List
GetBalance ( string account, int minConf, bool includeWatchonly ) : decimal
GetBestBlockHash ( ) : string
GetBlock ( string hash, bool verbose ) : GetBlockResponse
GetBlockCount ( ) : uint
GetBlockHash ( long index ) : string
GetBlockTemplate ( ) : GetBlockTemplateResponse
GetBlockchainInfo ( ) : GetBlockchainInfoResponse
GetChainTips ( ) : List
GetConnectionCount ( ) : int
GetDifficulty ( ) : double
GetGenerate ( ) : bool
GetImmutableTxId ( string txId, bool getSha256Hash ) : string
GetMemPoolInfo ( ) : GetMemPoolInfoResponse
GetMiningInfo ( ) : GetMiningInfoResponse
GetMyPublicAndPrivateKeyPairs ( ) : string>.Dictionary
GetNetTotals ( ) : GetNetTotalsResponse
GetNetworkHashPs ( uint blocks, long height ) : ulong
GetNetworkInfo ( ) : GetNetworkInfoResponse
GetNewAddress ( string account ) : string
GetPeerInfo ( ) : List
GetPublicTransaction ( string txId ) : DecodeRawTransactionResponse
GetRawChangeAddress ( ) : string
GetRawMemPool ( bool verbose ) : GetRawMemPoolResponse
GetRawTransaction ( string txId, int verbose ) : GetRawTransactionResponse
GetRawTxFromImmutableTxId ( string rigidTxId, int listTransactionsCount, int listTransactionsFrom, bool getRawTransactionVersbose, bool rigidTxIdIsSha256 ) : GetRawTransactionResponse
GetReceivedByAccount ( string account, int minConf ) : decimal
GetReceivedByAddress ( string bitcoinAddress, int minConf ) : decimal
GetTransaction ( string txId, bool includeWatchonly ) : GetTransactionResponse
GetTransactionPriority ( CreateRawTransactionRequest transaction ) : decimal
GetTransactionPriority ( IList transactionInputs, int numberOfOutputs ) : decimal
GetTransactionSizeInBytes ( CreateRawTransactionRequest transaction ) : int
GetTransactionSizeInBytes ( int numberOfInputs, int numberOfOutputs ) : int
GetTxOut ( string txId, int n, bool includeMemPool ) : GetTransactionResponse
GetTxOutSetInfo ( ) : GetTxOutSetInfoResponse
GetUnconfirmedBalance ( ) : decimal
GetWalletInfo ( ) : GetWalletInfoResponse
Help ( string command ) : string
ImportAddress ( string address, string label, bool rescan ) : void
ImportPrivKey ( string privateKey, string label, bool rescan ) : string
ImportWallet ( string filename ) : void
IsInWalletTransaction ( string txId ) : bool
IsTransactionFree ( CreateRawTransactionRequest transaction ) : bool
IsTransactionFree ( IList transactionInputs, int numberOfOutputs, decimal minimumAmountAmongOutputs ) : bool
IsWalletEncrypted ( ) : bool
KeyPoolRefill ( uint newSize ) : string
ListAccounts ( int minConf, bool includeWatchonly ) : decimal>.Dictionary
ListAddressGroupings ( ) : List>
ListLockUnspent ( ) : string
ListReceivedByAccount ( int minConf, bool includeEmpty, bool includeWatchonly ) : List
ListReceivedByAddress ( int minConf, bool includeEmpty, bool includeWatchonly ) : List
ListSinceBlock ( string blockHash, int targetConfirmations, bool includeWatchonly ) : ListSinceBlockResponse
ListTransactions ( string account, int count, int from, bool includeWatchonly ) : List
ListUnspent ( int minConf, int maxConf, List addresses ) : List
LockUnspent ( bool unlock, IList listUnspentResponses ) : bool
Move ( string fromAccount, string toAccount, decimal amount, int minConf, string comment ) : bool
Ping ( ) : void
PrioritiseTransaction ( string txId, decimal priorityDelta, decimal feeDelta ) : bool
SendFrom ( string fromAccount, string toBitcoinAddress, decimal amount, int minConf, string comment, string commentTo ) : string
SendMany ( string fromAccount, decimal>.Dictionary toBitcoinAddress, int minConf, string comment ) : string
SendRawTransaction ( string rawTransactionHexString, bool allowHighFees ) : string
SendToAddress ( string bitcoinAddress, decimal amount, string comment, string commentTo ) : string
SetAccount ( string bitcoinAddress, string account ) : string
SetGenerate ( bool generate, short generatingProcessorsLimit ) : string
SetTxFee ( decimal amount ) : string
SignMessage ( string bitcoinAddress, string message ) : string
SignRawTransaction ( SignRawTransactionRequest request ) : SignRawTransactionResponse
Stop ( ) : string
SubmitBlock ( string hexData ) : string
ToString ( ) : string
ValidateAddress ( string bitcoinAddress ) : ValidateAddressResponse
VerifyChain ( ushort checkLevel, uint numBlocks ) : bool
VerifyMessage ( string bitcoinAddress, string signature, string message ) : bool
WalletLock ( ) : string
WalletPassphrase ( string passphrase, int timeoutInSeconds ) : string
WalletPassphraseChange ( string oldPassphrase, string newPassphrase ) : string

비공개 메소드들

메소드 설명
GetInfo ( ) : GetInfoResponse
GetMinimumNonZeroTransactionFeeEstimate ( short numberOfInputs = 1, short numberOfOutputs = 1 ) : decimal
GetTransactionFee ( CreateRawTransactionRequest transaction, bool checkIfTransactionQualifiesForFreeRelay, bool enforceMinimumTransactionFeePolicy ) : decimal
GetTransactionSenderAddress ( string txId ) : string

메소드 상세

AddMultiSigAddress() 공개 메소드

public AddMultiSigAddress ( int nRquired, List publicKeys, string account ) : string
nRquired int
publicKeys List
account string
리턴 string

AddNode() 공개 메소드

public AddNode ( string node, NodeAction action ) : void
node string
action NodeAction
리턴 void

BackupWallet() 공개 메소드

public BackupWallet ( string destination ) : void
destination string
리턴 void

CoinService() 공개 메소드

public CoinService ( ) : System
리턴 System

CoinService() 공개 메소드

public CoinService ( bool useTestnet ) : System
useTestnet bool
리턴 System

CoinService() 공개 메소드

public CoinService ( string daemonUrl, string rpcUsername, string rpcPassword, string walletPassword ) : System
daemonUrl string
rpcUsername string
rpcPassword string
walletPassword string
리턴 System

CoinService() 공개 메소드

public CoinService ( string daemonUrl, string rpcUsername, string rpcPassword, string walletPassword, short rpcRequestTimeoutInSeconds ) : System
daemonUrl string
rpcUsername string
rpcPassword string
walletPassword string
rpcRequestTimeoutInSeconds short
리턴 System

CreateMultiSig() 공개 메소드

public CreateMultiSig ( int nRquired, List publicKeys ) : CreateMultiSigResponse
nRquired int
publicKeys List
리턴 CreateMultiSigResponse

CreateRawTransaction() 공개 메소드

public CreateRawTransaction ( CreateRawTransactionRequest rawTransaction ) : string
rawTransaction CreateRawTransactionRequest
리턴 string

DecodeRawTransaction() 공개 메소드

public DecodeRawTransaction ( string rawTransactionHexString ) : DecodeRawTransactionResponse
rawTransactionHexString string
리턴 DecodeRawTransactionResponse

DecodeScript() 공개 메소드

public DecodeScript ( string hexString ) : DecodeScriptResponse
hexString string
리턴 DecodeScriptResponse

DumpPrivKey() 공개 메소드

public DumpPrivKey ( string bitcoinAddress ) : string
bitcoinAddress string
리턴 string

DumpWallet() 공개 메소드

public DumpWallet ( string filename ) : void
filename string
리턴 void

EstimateFee() 공개 메소드

public EstimateFee ( ushort nBlocks ) : decimal
nBlocks ushort
리턴 decimal

EstimatePriority() 공개 메소드

public EstimatePriority ( ushort nBlocks ) : decimal
nBlocks ushort
리턴 decimal

GetAccount() 공개 메소드

public GetAccount ( string bitcoinAddress ) : string
bitcoinAddress string
리턴 string

GetAccountAddress() 공개 메소드

public GetAccountAddress ( string account ) : string
account string
리턴 string

GetAddedNodeInfo() 공개 메소드

public GetAddedNodeInfo ( string dns, string node ) : GetAddedNodeInfoResponse
dns string
node string
리턴 GetAddedNodeInfoResponse

GetAddressBalance() 공개 메소드

public GetAddressBalance ( string inWalletAddress, int minConf, bool validateAddressBeforeProcessing ) : decimal
inWalletAddress string
minConf int
validateAddressBeforeProcessing bool
리턴 decimal

GetAddressesByAccount() 공개 메소드

public GetAddressesByAccount ( string account ) : List
account string
리턴 List

GetBalance() 공개 메소드

public GetBalance ( string account, int minConf, bool includeWatchonly ) : decimal
account string
minConf int
includeWatchonly bool
리턴 decimal

GetBestBlockHash() 공개 메소드

public GetBestBlockHash ( ) : string
리턴 string

GetBlock() 공개 메소드

public GetBlock ( string hash, bool verbose ) : GetBlockResponse
hash string
verbose bool
리턴 GetBlockResponse

GetBlockCount() 공개 메소드

public GetBlockCount ( ) : uint
리턴 uint

GetBlockHash() 공개 메소드

public GetBlockHash ( long index ) : string
index long
리턴 string

GetBlockTemplate() 공개 메소드

public GetBlockTemplate ( ) : GetBlockTemplateResponse
리턴 GetBlockTemplateResponse

GetBlockchainInfo() 공개 메소드

public GetBlockchainInfo ( ) : GetBlockchainInfoResponse
리턴 GetBlockchainInfoResponse

GetChainTips() 공개 메소드

public GetChainTips ( ) : List
리턴 List

GetConnectionCount() 공개 메소드

public GetConnectionCount ( ) : int
리턴 int

GetDifficulty() 공개 메소드

public GetDifficulty ( ) : double
리턴 double

GetGenerate() 공개 메소드

public GetGenerate ( ) : bool
리턴 bool

GetImmutableTxId() 공개 메소드

public GetImmutableTxId ( string txId, bool getSha256Hash ) : string
txId string
getSha256Hash bool
리턴 string

GetMemPoolInfo() 공개 메소드

public GetMemPoolInfo ( ) : GetMemPoolInfoResponse
리턴 GetMemPoolInfoResponse

GetMiningInfo() 공개 메소드

public GetMiningInfo ( ) : GetMiningInfoResponse
리턴 GetMiningInfoResponse

GetMyPublicAndPrivateKeyPairs() 공개 메소드

public GetMyPublicAndPrivateKeyPairs ( ) : string>.Dictionary
리턴 string>.Dictionary

GetNetTotals() 공개 메소드

public GetNetTotals ( ) : GetNetTotalsResponse
리턴 GetNetTotalsResponse

GetNetworkHashPs() 공개 메소드

public GetNetworkHashPs ( uint blocks, long height ) : ulong
blocks uint
height long
리턴 ulong

GetNetworkInfo() 공개 메소드

public GetNetworkInfo ( ) : GetNetworkInfoResponse
리턴 GetNetworkInfoResponse

GetNewAddress() 공개 메소드

public GetNewAddress ( string account ) : string
account string
리턴 string

GetPeerInfo() 공개 메소드

public GetPeerInfo ( ) : List
리턴 List

GetPublicTransaction() 공개 메소드

public GetPublicTransaction ( string txId ) : DecodeRawTransactionResponse
txId string
리턴 DecodeRawTransactionResponse

GetRawChangeAddress() 공개 메소드

public GetRawChangeAddress ( ) : string
리턴 string

GetRawMemPool() 공개 메소드

public GetRawMemPool ( bool verbose ) : GetRawMemPoolResponse
verbose bool
리턴 GetRawMemPoolResponse

GetRawTransaction() 공개 메소드

public GetRawTransaction ( string txId, int verbose ) : GetRawTransactionResponse
txId string
verbose int
리턴 GetRawTransactionResponse

GetRawTxFromImmutableTxId() 공개 메소드

public GetRawTxFromImmutableTxId ( string rigidTxId, int listTransactionsCount, int listTransactionsFrom, bool getRawTransactionVersbose, bool rigidTxIdIsSha256 ) : GetRawTransactionResponse
rigidTxId string
listTransactionsCount int
listTransactionsFrom int
getRawTransactionVersbose bool
rigidTxIdIsSha256 bool
리턴 GetRawTransactionResponse

GetReceivedByAccount() 공개 메소드

public GetReceivedByAccount ( string account, int minConf ) : decimal
account string
minConf int
리턴 decimal

GetReceivedByAddress() 공개 메소드

public GetReceivedByAddress ( string bitcoinAddress, int minConf ) : decimal
bitcoinAddress string
minConf int
리턴 decimal

GetTransaction() 공개 메소드

public GetTransaction ( string txId, bool includeWatchonly ) : GetTransactionResponse
txId string
includeWatchonly bool
리턴 GetTransactionResponse

GetTransactionPriority() 공개 메소드

public GetTransactionPriority ( CreateRawTransactionRequest transaction ) : decimal
transaction CreateRawTransactionRequest
리턴 decimal

GetTransactionPriority() 공개 메소드

public GetTransactionPriority ( IList transactionInputs, int numberOfOutputs ) : decimal
transactionInputs IList
numberOfOutputs int
리턴 decimal

GetTransactionSizeInBytes() 공개 메소드

public GetTransactionSizeInBytes ( CreateRawTransactionRequest transaction ) : int
transaction CreateRawTransactionRequest
리턴 int

GetTransactionSizeInBytes() 공개 메소드

public GetTransactionSizeInBytes ( int numberOfInputs, int numberOfOutputs ) : int
numberOfInputs int
numberOfOutputs int
리턴 int

GetTxOut() 공개 메소드

public GetTxOut ( string txId, int n, bool includeMemPool ) : GetTransactionResponse
txId string
n int
includeMemPool bool
리턴 GetTransactionResponse

GetTxOutSetInfo() 공개 메소드

public GetTxOutSetInfo ( ) : GetTxOutSetInfoResponse
리턴 GetTxOutSetInfoResponse

GetUnconfirmedBalance() 공개 메소드

public GetUnconfirmedBalance ( ) : decimal
리턴 decimal

GetWalletInfo() 공개 메소드

public GetWalletInfo ( ) : GetWalletInfoResponse
리턴 GetWalletInfoResponse

Help() 공개 메소드

public Help ( string command ) : string
command string
리턴 string

ImportAddress() 공개 메소드

public ImportAddress ( string address, string label, bool rescan ) : void
address string
label string
rescan bool
리턴 void

ImportPrivKey() 공개 메소드

public ImportPrivKey ( string privateKey, string label, bool rescan ) : string
privateKey string
label string
rescan bool
리턴 string

ImportWallet() 공개 메소드

public ImportWallet ( string filename ) : void
filename string
리턴 void

IsInWalletTransaction() 공개 메소드

public IsInWalletTransaction ( string txId ) : bool
txId string
리턴 bool

IsTransactionFree() 공개 메소드

public IsTransactionFree ( CreateRawTransactionRequest transaction ) : bool
transaction CreateRawTransactionRequest
리턴 bool

IsTransactionFree() 공개 메소드

public IsTransactionFree ( IList transactionInputs, int numberOfOutputs, decimal minimumAmountAmongOutputs ) : bool
transactionInputs IList
numberOfOutputs int
minimumAmountAmongOutputs decimal
리턴 bool

IsWalletEncrypted() 공개 메소드

public IsWalletEncrypted ( ) : bool
리턴 bool

KeyPoolRefill() 공개 메소드

public KeyPoolRefill ( uint newSize ) : string
newSize uint
리턴 string

ListAccounts() 공개 메소드

public ListAccounts ( int minConf, bool includeWatchonly ) : decimal>.Dictionary
minConf int
includeWatchonly bool
리턴 decimal>.Dictionary

ListAddressGroupings() 공개 메소드

public ListAddressGroupings ( ) : List>
리턴 List>

ListLockUnspent() 공개 메소드

public ListLockUnspent ( ) : string
리턴 string

ListReceivedByAccount() 공개 메소드

public ListReceivedByAccount ( int minConf, bool includeEmpty, bool includeWatchonly ) : List
minConf int
includeEmpty bool
includeWatchonly bool
리턴 List

ListReceivedByAddress() 공개 메소드

public ListReceivedByAddress ( int minConf, bool includeEmpty, bool includeWatchonly ) : List
minConf int
includeEmpty bool
includeWatchonly bool
리턴 List

ListSinceBlock() 공개 메소드

public ListSinceBlock ( string blockHash, int targetConfirmations, bool includeWatchonly ) : ListSinceBlockResponse
blockHash string
targetConfirmations int
includeWatchonly bool
리턴 ListSinceBlockResponse

ListTransactions() 공개 메소드

public ListTransactions ( string account, int count, int from, bool includeWatchonly ) : List
account string
count int
from int
includeWatchonly bool
리턴 List

ListUnspent() 공개 메소드

public ListUnspent ( int minConf, int maxConf, List addresses ) : List
minConf int
maxConf int
addresses List
리턴 List

LockUnspent() 공개 메소드

public LockUnspent ( bool unlock, IList listUnspentResponses ) : bool
unlock bool
listUnspentResponses IList
리턴 bool

Move() 공개 메소드

public Move ( string fromAccount, string toAccount, decimal amount, int minConf, string comment ) : bool
fromAccount string
toAccount string
amount decimal
minConf int
comment string
리턴 bool

Ping() 공개 메소드

public Ping ( ) : void
리턴 void

PrioritiseTransaction() 공개 메소드

public PrioritiseTransaction ( string txId, decimal priorityDelta, decimal feeDelta ) : bool
txId string
priorityDelta decimal
feeDelta decimal
리턴 bool

SendFrom() 공개 메소드

public SendFrom ( string fromAccount, string toBitcoinAddress, decimal amount, int minConf, string comment, string commentTo ) : string
fromAccount string
toBitcoinAddress string
amount decimal
minConf int
comment string
commentTo string
리턴 string

SendMany() 공개 메소드

public SendMany ( string fromAccount, decimal>.Dictionary toBitcoinAddress, int minConf, string comment ) : string
fromAccount string
toBitcoinAddress decimal>.Dictionary
minConf int
comment string
리턴 string

SendRawTransaction() 공개 메소드

public SendRawTransaction ( string rawTransactionHexString, bool allowHighFees ) : string
rawTransactionHexString string
allowHighFees bool
리턴 string

SendToAddress() 공개 메소드

public SendToAddress ( string bitcoinAddress, decimal amount, string comment, string commentTo ) : string
bitcoinAddress string
amount decimal
comment string
commentTo string
리턴 string

SetAccount() 공개 메소드

public SetAccount ( string bitcoinAddress, string account ) : string
bitcoinAddress string
account string
리턴 string

SetGenerate() 공개 메소드

public SetGenerate ( bool generate, short generatingProcessorsLimit ) : string
generate bool
generatingProcessorsLimit short
리턴 string

SetTxFee() 공개 메소드

public SetTxFee ( decimal amount ) : string
amount decimal
리턴 string

SignMessage() 공개 메소드

public SignMessage ( string bitcoinAddress, string message ) : string
bitcoinAddress string
message string
리턴 string

SignRawTransaction() 공개 메소드

public SignRawTransaction ( SignRawTransactionRequest request ) : SignRawTransactionResponse
request SignRawTransactionRequest
리턴 SignRawTransactionResponse

Stop() 공개 메소드

public Stop ( ) : string
리턴 string

SubmitBlock() 공개 메소드

public SubmitBlock ( string hexData ) : string
hexData string
리턴 string

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

ValidateAddress() 공개 메소드

public ValidateAddress ( string bitcoinAddress ) : ValidateAddressResponse
bitcoinAddress string
리턴 ValidateAddressResponse

VerifyChain() 공개 메소드

public VerifyChain ( ushort checkLevel, uint numBlocks ) : bool
checkLevel ushort
numBlocks uint
리턴 bool

VerifyMessage() 공개 메소드

public VerifyMessage ( string bitcoinAddress, string signature, string message ) : bool
bitcoinAddress string
signature string
message string
리턴 bool

WalletLock() 공개 메소드

public WalletLock ( ) : string
리턴 string

WalletPassphrase() 공개 메소드

public WalletPassphrase ( string passphrase, int timeoutInSeconds ) : string
passphrase string
timeoutInSeconds int
리턴 string

WalletPassphraseChange() 공개 메소드

public WalletPassphraseChange ( string oldPassphrase, string newPassphrase ) : string
oldPassphrase string
newPassphrase string
리턴 string