C# Class Coinium.Core.Coin.Daemon.DaemonClient

RPC client for coind's.
Inheritance: DaemonBase
Mostrar archivo Open project: Ziftr/CoiniumServ Class Usage Examples

Public Methods

Method Description
AddMultiSigAddress ( int nRquired, List publicKeys, string account ) : string

Version 0.8: Attempts add or remove from the addnode list or try a connection to once.

AddNode ( string node, string mode ) : void

Version 0.8: Attempts add or remove from the addnode list or try a connection to once.

BackupWallet ( string walletPath ) : void

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

CreateMultiSig ( int nRquired, List publicKeys ) : MultisigAddress

Creates a multi-signature address.

CreateRawTransaction ( CreateRawTransaction rawTransaction ) : string

Version 0.7: Creates a raw transaction spending given inputs.

DaemonClient ( string url, string user, string password ) : System
DecodeRawTransaction ( string rawTransactionHex ) : DecodedRawTransaction

Version 0.7: Produces a human-readable JSON object for a raw transaction.

DumpPrivateKey ( string bitcoinAddress ) : string

Reveals the private key corresponding to bitcoinaddress.

EncryptWallet ( string passPhrase ) : string

Encrypts the wallet with a passphrase.

GetAccount ( string bitcoinAddress ) : string

Returns the account associated with the given address.

GetAccountAddress ( string account ) : string

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

GetAddedNodeInfo ( bool dns, string node = "" ) : AddedNodeInfo

Version 0.8: Returns information about the given added node, or all added nodes (note that onetry addnodes are not listed here). If dns is false, only a list of added nodes will be provided, otherwise connected information will also be available.

GetAddressesByAccount ( string account ) : List

Returns the list of addresses for the given account.

GetBalance ( string account = "" ) : decimal

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

GetBestBlockHash ( ) : string

Returns the hash of the best (tip) block in the longest block chain.

GetBlock ( string hash ) : Block

Returns information about the block with the given hash.

GetBlockCount ( ) : long

Returns the number of blocks in the longest block chain.

GetBlockHash ( long index ) : string

Returns hash of block in best-block-chain at ; index 0 is the genesis block.

GetBlockTemplate ( ) : BlockTemplate

https://github.com/bitcoin/bips/blob/master/bip-0022.mediawiki https://en.bitcoin.it/wiki/Getblocktemplate

GetConnectionCount ( ) : long

Returns the number of connections to other nodes.

GetDifficulty ( ) : decimal

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

GetGenerate ( ) : bool

Returns true or false whether bitcoind is currently generating hashes.

GetHashesPerSec ( ) : decimal

Returns a recent hashes per second performance measurement while generating.

GetInfo ( ) : Info

Returns an object containing various state info.

GetMiningInfo ( ) : MiningInfo

Returns an object containing mining-related information: blocks, currentblocksize, currentblocktx, difficulty, errors, generate, genproclimit, hashespersec, pooledtx, testnet

GetNewAddress ( string account = "" ) : string

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].

GetPeerInfo ( ) : IList

Version 0.7: Returns data about each connected node.

GetRawChangeAddress ( ) : void

recent git checkouts only Returns a new Bitcoin address, for receiving change. This is for use with raw transactions, NOT normal use.

GetRawMemPool ( ) : List

Version 0.7: Returns all transaction ids in memory pool.

GetRawTransaction ( string txId, int verbose ) : DecodedRawTransaction

Version 0.7: Returns raw transaction representation for given transaction id.

GetReceivedByAccount ( string account = "", int minconf = 1 ) : decimal

Returns the total amount received by addresses with [account] in transactions with at least [minconf] confirmations. If [account] not provided return will include all transactions to all accounts. (version 0.3.24)

GetReceivedByAddress ( string bitcoinAddress, int minconf = 1 ) : decimal

Returns the total amount received by bitcoinaddress in transactions with at least [minconf] confirmations. While some might consider this obvious, value reported by this only considers *receiving* transactions. It does not check payments that have been made *from* this address. In other words, this is not "getaddressbalance". Works only for addresses in the local wallet, external addresses will always show 0.

GetTransaction ( string txId ) : Transaction

Returns an object about the given transaction containing: amount : total amount of the transaction confirmations : number of confirmations of the transaction txid : the transaction ID time : time associated with the transaction[1]. details - An array of objects containing: - account - address - category - amount - fee

GetTxOut ( string txId, long n, bool includeMemPool = true ) : Transaction

Returns details about an unspent transaction output (UTXO).

GetTxOutSetInfo ( ) : TxOutSetInfo

Returns statistics about the unspent transaction output (UTXO) set.

Getwork ( ) : Work

If [data] is not specified, returns formatted hash data to work on: "midstate" : precomputed hash state after hashing the first half of the data "data" : block data "hash1" : formatted hash buffer for second hash "target" : little endian hash target If [data] is specified, tries to solve the block and returns true if it was successful.

Getwork ( string data ) : bool

The Getwork Completion response from the Bitcoin daemon is very simply a true or false value. If the value is true, then the hash was accepted and a new block has been created! If the value is false then the hash was rejected.

ImportPrivKey ( string bitcoinPrivKey, string label = "", bool rescan = true ) : void

Adds a private key (as returned by dumpprivkey) to your wallet. This may take a while, as a rescan is done, looking for existing transactions. Optional [rescan] parameter added in 0.8.0.

KeyPoolRefill ( ) : void

Fills the keypool, requires wallet passphrase to be set.

ListAccounts ( ) : decimal>.Dictionary

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

ListAddressGroupings ( ) : List>>

Version 0.7: Returns all addresses in the wallet and info used for coincontrol.

ListLockUnspent ( ) : void

version 0.8 Returns list of temporarily unspendable outputs

ListReceivedByAccount ( int minconf = 1, bool includeEmpty = false ) : List

Returns an array of objects containing: account : the account of the receiving addresses amount : total amount received by addresses with this account confirmations : number of confirmations of the most recent transaction included

ListReceivedByAddress ( int minconf = 1, bool includeEmpty = false ) : List

Returns an array of objects containing: address : receiving address account : the account of the receiving address amount : total amount received by the address confirmations : number of confirmations of the most recent transaction included To get a list of accounts on the system, execute bitcoind listreceivedbyaddress 0 true

ListSinceBlock ( string blockHash, int targetConfirmations ) : TransactionsSinceBlock

Get all transactions in blocks since block [blockhash], or all transactions if omitted.

ListTransactions ( string account = "", int count = 10, int from ) : List

Returns up to [count] most recent transactions skipping the first [from] transactions for account [account]. If [account] not provided will return recent transaction from all accounts.

ListUnspent ( int minConf = 1, int maxConf = 999999 ) : List

Version 0.7: Returns array of unspent transaction inputs in the wallet.

LockUnspent ( ) : void

version 0.8 Updates list of temporarily unspendable outputs

Move ( string fromAccount, string toAccount, decimal amount, int minConf = 1, string comment = "" ) : bool

Move from one account in your wallet to another.

SendFrom ( string fromAccount, string toBitcoinAddress, decimal amount, int minConf = 1, string comment = "", string commentTo = "" ) : string

Amount is a real and is rounded to 8 decimal places. Will send the given amount to the given address, ensuring the account has a valid balance using [minconf] confirmations. Returns the transaction ID if successful (not in JSON object).

SendMany ( string fromAccount, decimal>.Dictionary toBitcoinAddress, int minConf = 1, string comment = "" ) : string

Send bitcoins to multiple addresses in one transaction. Amounts are double-precision floating point numbers.

SendToAddress ( string bitcoinAddress, decimal amount, string comment, string commentTo ) : string

Amount is a real and is rounded to 8 decimal places. Returns the transaction ID if successful.

SentRawTransaction ( string hexString ) : string

Version 0.7: Submits raw transaction (serialized, hex-encoded) to local node and network.

SetAccount ( string bitcoinAddress, string account ) : void

Sets the account associated with the given address. Assigning address that is already assigned to the same account will create a new address associated with that account.

SetGenerate ( bool generate, int genProcLimit = -1 ) : void

Generate is true or false to turn generation on or off. Generation is limited to [genproclimit] processors, -1 is unlimited.

SetTxFee ( decimal amount ) : bool

Amount is a real and is rounded to the nearest 0.00000001.

SignMessage ( string bitcoinAddress, string message ) : string

Sign a message with the private key of an address.

SignRawTransaction ( SignRawTransaction rawTransaction ) : SignedRawTransaction

Version 0.7: Adds signatures to a raw transaction and returns the resulting raw transaction.

Stop ( ) : string

Stop bitcoin server.

SubmitBlock ( ) : void

Attempts to submit new block to network.

ValidateAddress ( string bitcoinAddress ) : ValidateAddress

Return information about the bitcoin address.

VerifyMessage ( string bitcoinAddress, string signature, string message ) : bool

Verify a signed message.

WalletLock ( ) : void

Removes the wallet encryption key from memory, locking the wallet. After calling this method, you will need to call walletpassphrase again before being able to call any methods which require the wallet to be unlocked.

WalletPassPhrase ( string passphrase, int timeout ) : void

Stores the wallet decryption key in memory for timeout seconds. This essentialy unlocks the wallet for the given time. During this time more commands are allowed to be invoked (like transferring bitcoins).

WalletPassPhraseChange ( string oldpassphrase, string newpassphrase ) : void

Changes the wallet passphrase from oldpassphrase to newpassphrase.

Private Methods

Method Description
GetBlockNumber ( ) : long
GetMemoryPool ( ) : void

Method Details

AddMultiSigAddress() public method

Version 0.8: Attempts add or remove from the addnode list or try a connection to once.
public AddMultiSigAddress ( int nRquired, List publicKeys, string account ) : string
nRquired int Number of required signatures to sign a transaction.
publicKeys List Public keys associated with the multi signature address.
account string The account to associate with the multi signature address.
return string

AddNode() public method

Version 0.8: Attempts add or remove from the addnode list or try a connection to once.
public AddNode ( string node, string mode ) : void
node string Node URL to add.
mode string One of the following: add / remove / onetry.
return void

BackupWallet() public method

Safely copies wallet.dat to destination, which can be a directory or a path with a filename.
public BackupWallet ( string walletPath ) : void
walletPath string /// The location to copy the wallet.dat to. Can be a directory or a path with a filename. ///
return void

CreateMultiSig() public method

Creates a multi-signature address.
public CreateMultiSig ( int nRquired, List publicKeys ) : MultisigAddress
nRquired int Number of required signatures to sign a transaction.
publicKeys List Public keys associated with the multi signature address.
return Coinium.Core.Coin.Daemon.Responses.MultisigAddress

CreateRawTransaction() public method

Version 0.7: Creates a raw transaction spending given inputs.
public CreateRawTransaction ( CreateRawTransaction rawTransaction ) : string
rawTransaction Coinium.Core.Coin.Daemon.Requests.CreateRawTransaction The raw transaction details.
return string

DaemonClient() public method

public DaemonClient ( string url, string user, string password ) : System
url string
user string
password string
return System

DecodeRawTransaction() public method

Version 0.7: Produces a human-readable JSON object for a raw transaction.
public DecodeRawTransaction ( string rawTransactionHex ) : DecodedRawTransaction
rawTransactionHex string The hex of the raw transaction.
return Coinium.Core.Coin.Daemon.Responses.DecodedRawTransaction

DumpPrivateKey() public method

Reveals the private key corresponding to bitcoinaddress.
public DumpPrivateKey ( string bitcoinAddress ) : string
bitcoinAddress string The bitcoin address to dump the private key of.
return string

EncryptWallet() public method

Encrypts the wallet with a passphrase.
public EncryptWallet ( string passPhrase ) : string
passPhrase string The passphrase to encrypt the wallet with.
return string

GetAccount() public method

Returns the account associated with the given address.
public GetAccount ( string bitcoinAddress ) : string
bitcoinAddress string The address to get the account for.
return string

GetAccountAddress() public method

Returns the current bitcoin address for receiving payments to this account.
public GetAccountAddress ( string account ) : string
account string The account to get the address for.
return string

GetAddedNodeInfo() public method

Version 0.8: Returns information about the given added node, or all added nodes (note that onetry addnodes are not listed here). If dns is false, only a list of added nodes will be provided, otherwise connected information will also be available.
public GetAddedNodeInfo ( bool dns, string node = "" ) : AddedNodeInfo
dns bool /// If false, only a list of added nodes will be provided, otherwise /// connected information will also be available. ///
node string The node URL.
return Coinium.Core.Coin.Daemon.Responses.AddedNodeInfo

GetAddressesByAccount() public method

Returns the list of addresses for the given account.
public GetAddressesByAccount ( string account ) : List
account string The account to return a list of addresses for.
return List

GetBalance() public method

If [account] is not specified, returns the server's total available balance. If [account] is specified, returns the balance in the account.
public GetBalance ( string account = "" ) : decimal
account string The account to get the balance for.
return decimal

GetBestBlockHash() public method

Returns the hash of the best (tip) block in the longest block chain.
public GetBestBlockHash ( ) : string
return string

GetBlock() public method

Returns information about the block with the given hash.
public GetBlock ( string hash ) : Block
hash string The hash of the block to get information about.
return Coinium.Core.Coin.Daemon.Responses.Block

GetBlockCount() public method

Returns the number of blocks in the longest block chain.
public GetBlockCount ( ) : long
return long

GetBlockHash() public method

Returns hash of block in best-block-chain at ; index 0 is the genesis block.
public GetBlockHash ( long index ) : string
index long The index of the block.
return string

GetBlockTemplate() public method

https://github.com/bitcoin/bips/blob/master/bip-0022.mediawiki https://en.bitcoin.it/wiki/Getblocktemplate
public GetBlockTemplate ( ) : BlockTemplate
return Coinium.Core.Coin.Daemon.Responses.BlockTemplate

GetConnectionCount() public method

Returns the number of connections to other nodes.
public GetConnectionCount ( ) : long
return long

GetDifficulty() public method

Returns the proof-of-work difficulty as a multiple of the minimum difficulty.
public GetDifficulty ( ) : decimal
return decimal

GetGenerate() public method

Returns true or false whether bitcoind is currently generating hashes.
public GetGenerate ( ) : bool
return bool

GetHashesPerSec() public method

Returns a recent hashes per second performance measurement while generating.
public GetHashesPerSec ( ) : decimal
return decimal

GetInfo() public method

Returns an object containing various state info.
public GetInfo ( ) : Info
return Coinium.Core.Coin.Daemon.Responses.Info

GetMiningInfo() public method

Returns an object containing mining-related information: blocks, currentblocksize, currentblocktx, difficulty, errors, generate, genproclimit, hashespersec, pooledtx, testnet
public GetMiningInfo ( ) : MiningInfo
return Coinium.Core.Coin.Daemon.Responses.MiningInfo

GetNewAddress() public method

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].
public GetNewAddress ( string account = "" ) : string
account string The account to add the new address to.
return string

GetPeerInfo() public method

Version 0.7: Returns data about each connected node.
public GetPeerInfo ( ) : IList
return IList

GetRawChangeAddress() public method

recent git checkouts only Returns a new Bitcoin address, for receiving change. This is for use with raw transactions, NOT normal use.
public GetRawChangeAddress ( ) : void
return void

GetRawMemPool() public method

Version 0.7: Returns all transaction ids in memory pool.
public GetRawMemPool ( ) : List
return List

GetRawTransaction() public method

Version 0.7: Returns raw transaction representation for given transaction id.
public GetRawTransaction ( string txId, int verbose ) : DecodedRawTransaction
txId string The transaction id.
verbose int /// The verbosity level. If it is higher than 0, /// a lot more information will be returned. ///
return Coinium.Core.Coin.Daemon.Responses.DecodedRawTransaction

GetReceivedByAccount() public method

Returns the total amount received by addresses with [account] in transactions with at least [minconf] confirmations. If [account] not provided return will include all transactions to all accounts. (version 0.3.24)
public GetReceivedByAccount ( string account = "", int minconf = 1 ) : decimal
account string The account to get the balance for.
minconf int Minimum amount of confirmations before a transaction is included.
return decimal

GetReceivedByAddress() public method

Returns the total amount received by bitcoinaddress in transactions with at least [minconf] confirmations. While some might consider this obvious, value reported by this only considers *receiving* transactions. It does not check payments that have been made *from* this address. In other words, this is not "getaddressbalance". Works only for addresses in the local wallet, external addresses will always show 0.
public GetReceivedByAddress ( string bitcoinAddress, int minconf = 1 ) : decimal
bitcoinAddress string
minconf int Minimum amount of confirmations before a transaction is included.
return decimal

GetTransaction() public method

Returns an object about the given transaction containing: amount : total amount of the transaction confirmations : number of confirmations of the transaction txid : the transaction ID time : time associated with the transaction[1]. details - An array of objects containing: - account - address - category - amount - fee
public GetTransaction ( string txId ) : Transaction
txId string The transaction id.
return Coinium.Core.Coin.Daemon.Responses.Transaction

GetTxOut() public method

Returns details about an unspent transaction output (UTXO).
public GetTxOut ( string txId, long n, bool includeMemPool = true ) : Transaction
txId string The transaction id.
n long The 'n' value of the out transaction we want to see.
includeMemPool bool Include unspent transaction in the memory pool.
return Coinium.Core.Coin.Daemon.Responses.Transaction

GetTxOutSetInfo() public method

Returns statistics about the unspent transaction output (UTXO) set.
public GetTxOutSetInfo ( ) : TxOutSetInfo
return Coinium.Core.Coin.Daemon.Responses.TxOutSetInfo

Getwork() public method

If [data] is not specified, returns formatted hash data to work on: "midstate" : precomputed hash state after hashing the first half of the data "data" : block data "hash1" : formatted hash buffer for second hash "target" : little endian hash target If [data] is specified, tries to solve the block and returns true if it was successful.
public Getwork ( ) : Work
return Coinium.Core.Coin.Daemon.Responses.Work

Getwork() public method

The Getwork Completion response from the Bitcoin daemon is very simply a true or false value. If the value is true, then the hash was accepted and a new block has been created! If the value is false then the hash was rejected.
public Getwork ( string data ) : bool
data string
return bool

ImportPrivKey() public method

Adds a private key (as returned by dumpprivkey) to your wallet. This may take a while, as a rescan is done, looking for existing transactions. Optional [rescan] parameter added in 0.8.0.
public ImportPrivKey ( string bitcoinPrivKey, string label = "", bool rescan = true ) : void
bitcoinPrivKey string Private key to import.
label string
rescan bool Should a rescan be performed?
return void

KeyPoolRefill() public method

Fills the keypool, requires wallet passphrase to be set.
public KeyPoolRefill ( ) : void
return void

ListAccounts() public method

Returns Object that has account names as keys, account balances as values.
public ListAccounts ( ) : decimal>.Dictionary
return decimal>.Dictionary

ListAddressGroupings() public method

Version 0.7: Returns all addresses in the wallet and info used for coincontrol.
public ListAddressGroupings ( ) : List>>
return List>>

ListLockUnspent() public method

version 0.8 Returns list of temporarily unspendable outputs
public ListLockUnspent ( ) : void
return void

ListReceivedByAccount() public method

Returns an array of objects containing: account : the account of the receiving addresses amount : total amount received by addresses with this account confirmations : number of confirmations of the most recent transaction included
public ListReceivedByAccount ( int minconf = 1, bool includeEmpty = false ) : List
minconf int
includeEmpty bool Include empty accounts?
return List

ListReceivedByAddress() public method

Returns an array of objects containing: address : receiving address account : the account of the receiving address amount : total amount received by the address confirmations : number of confirmations of the most recent transaction included To get a list of accounts on the system, execute bitcoind listreceivedbyaddress 0 true
public ListReceivedByAddress ( int minconf = 1, bool includeEmpty = false ) : List
minconf int
includeEmpty bool Include empty address.
return List

ListSinceBlock() public method

Get all transactions in blocks since block [blockhash], or all transactions if omitted.
public ListSinceBlock ( string blockHash, int targetConfirmations ) : TransactionsSinceBlock
blockHash string The block hash.
targetConfirmations int Minimum amount of confirmations, 1 or higher is required as a value.
return Coinium.Core.Coin.Daemon.Responses.TransactionsSinceBlock

ListTransactions() public method

Returns up to [count] most recent transactions skipping the first [from] transactions for account [account]. If [account] not provided will return recent transaction from all accounts.
public ListTransactions ( string account = "", int count = 10, int from ) : List
account string The account to list transactions for.
count int Number of transactions to list.
from int Starting point to list transactions from.
return List

ListUnspent() public method

Version 0.7: Returns array of unspent transaction inputs in the wallet.
public ListUnspent ( int minConf = 1, int maxConf = 999999 ) : List
minConf int Minimum amount of confirmations needed before transaction is included.
maxConf int Maximum amount of confirmations allowed to include transaction.
return List

LockUnspent() public method

version 0.8 Updates list of temporarily unspendable outputs
public LockUnspent ( ) : void
return void

Move() public method

Move from one account in your wallet to another.
public Move ( string fromAccount, string toAccount, decimal amount, int minConf = 1, string comment = "" ) : bool
fromAccount string From account.
toAccount string To account.
amount decimal Amount to move.
minConf int
comment string Comment to go with the transaction.
return bool

SendFrom() public method

Amount is a real and is rounded to 8 decimal places. Will send the given amount to the given address, ensuring the account has a valid balance using [minconf] confirmations. Returns the transaction ID if successful (not in JSON object).
public SendFrom ( string fromAccount, string toBitcoinAddress, decimal amount, int minConf = 1, string comment = "", string commentTo = "" ) : string
fromAccount string From account.
toBitcoinAddress string Bitcoin address to move bitcoins to.
amount decimal Amount to move.
minConf int
comment string Comment to go with the transaction.
commentTo string Comment in the 'to' field.
return string

SendMany() public method

Send bitcoins to multiple addresses in one transaction. Amounts are double-precision floating point numbers.
public SendMany ( string fromAccount, decimal>.Dictionary toBitcoinAddress, int minConf = 1, string comment = "" ) : string
fromAccount string The account to send the bitcoins from.
toBitcoinAddress decimal>.Dictionary A dictionary of address to send bitcoins to. The key is the address, the value is the amount of bitcoins to send.
minConf int
comment string A comment to provide with the transaction.
return string

SendToAddress() public method

Amount is a real and is rounded to 8 decimal places. Returns the transaction ID if successful.
public SendToAddress ( string bitcoinAddress, decimal amount, string comment, string commentTo ) : string
bitcoinAddress string Bitcoin address to sent to.
amount decimal Amount to send.
comment string Comment to go with the transaction.
commentTo string Comment for the 'to' field.
return string

SentRawTransaction() public method

Version 0.7: Submits raw transaction (serialized, hex-encoded) to local node and network.
public SentRawTransaction ( string hexString ) : string
hexString string
return string

SetAccount() public method

Sets the account associated with the given address. Assigning address that is already assigned to the same account will create a new address associated with that account.
public SetAccount ( string bitcoinAddress, string account ) : void
bitcoinAddress string The bitcoin address to assocaite.
account string The account to associate with.
return void

SetGenerate() public method

Generate is true or false to turn generation on or off. Generation is limited to [genproclimit] processors, -1 is unlimited.
public SetGenerate ( bool generate, int genProcLimit = -1 ) : void
generate bool True to turn generation on.
genProcLimit int Number of processors to use, -1 is unlimited.
return void

SetTxFee() public method

Amount is a real and is rounded to the nearest 0.00000001.
public SetTxFee ( decimal amount ) : bool
amount decimal Amount of transaction fee.
return bool

SignMessage() public method

Sign a message with the private key of an address.
public SignMessage ( string bitcoinAddress, string message ) : string
bitcoinAddress string Address who's private key is used to sign the message.
message string The message to sign.
return string

SignRawTransaction() public method

Version 0.7: Adds signatures to a raw transaction and returns the resulting raw transaction.
public SignRawTransaction ( SignRawTransaction rawTransaction ) : SignedRawTransaction
rawTransaction Coinium.Core.Coin.Daemon.Requests.SignRawTransaction The raw transaction to sign.
return Coinium.Core.Coin.Daemon.Responses.SignedRawTransaction

Stop() public method

Stop bitcoin server.
public Stop ( ) : string
return string

SubmitBlock() public method

Attempts to submit new block to network.
public SubmitBlock ( ) : void
return void

ValidateAddress() public method

Return information about the bitcoin address.
public ValidateAddress ( string bitcoinAddress ) : ValidateAddress
bitcoinAddress string The bitcoin address.
return Coinium.Core.Coin.Daemon.Responses.ValidateAddress

VerifyMessage() public method

Verify a signed message.
public VerifyMessage ( string bitcoinAddress, string signature, string message ) : bool
bitcoinAddress string The bitcoin address who's public key is used to verify the message.
signature string The provided signature.
message string The signed message.
return bool

WalletLock() public method

Removes the wallet encryption key from memory, locking the wallet. After calling this method, you will need to call walletpassphrase again before being able to call any methods which require the wallet to be unlocked.
public WalletLock ( ) : void
return void

WalletPassPhrase() public method

Stores the wallet decryption key in memory for timeout seconds. This essentialy unlocks the wallet for the given time. During this time more commands are allowed to be invoked (like transferring bitcoins).
public WalletPassPhrase ( string passphrase, int timeout ) : void
passphrase string Pass phrase to use.
timeout int The timeout in seconds.
return void

WalletPassPhraseChange() public method

Changes the wallet passphrase from oldpassphrase to newpassphrase.
public WalletPassPhraseChange ( string oldpassphrase, string newpassphrase ) : void
oldpassphrase string Old pass phrase.
newpassphrase string The new pass phrase.
return void