Whitecoin区块链钱包高级功能使用命令
格式:NO-命令-命令概要-主要对象-参数 <必须参数> [可选参数]-含义-描述-需要未锁定钱包
1 addmultisigaddress 新增多重签名地址 地址 <nrequired> <'["key","key"]'> [account] 在钱包里添加一个多重签名地址。每个"KEY"参数都是一个地址或者是一个十六进制编码的公共密钥。如果指定账户[account],则将该地址分配给该帐户。
help addmultisigaddress addmultisigaddress <nrequired> <'["key","key"]'> [account]
Add a nrequired-to-sign multisignature address to the wallet"
each key is a Whitecoin address or hex-encoded public key
If [account] is specified, assign address to [account].
2 addnode 新增节点 节点 <node> <add/remove/onetry> 尝试从节点列表中添加(add)或删除(remove)一个节点<NODE>或者尝试对节点<NODE>进行一次连接(onetry)。
help addnode addnode <node> <add|remove|onetry>
Attempts add or remove <node> from the addnode list or try a connection to <node> once.
3 addredeemscript <redeemScript> [account] 将带有指定redeemScript的P2SH地址添加到钱包。
addredeemscript <redeemScript> [account] Add a P2SH address with a specified redeemScript to the wallet.
If [account] is specified, assign address to [account].
4 backupwallet 备份钱包 钱包 <destination> 安全地复制wallet.dat到一个目标地址<destination>,目标地址可以是一个目录或带路径的文件名。
help backupwallet backupwallet <destination>
Safely copies wallet.dat to destination, which can be a directory or a path with filename.
5 burn 金额 <amount> 十六进制字符串 [hex string],<amount>是一个实数,并四舍五入到最接近的0.00000001
help burn burn <amount> [hex string]
<amount> is a real and is rounded to the nearest 0.00000001
6 checkkernel [{"txid":txid,"vout":n},...] [createblocktemplate=false]:检查当前给定输入之一是否是内核输入。
help checkkernel checkkernel [{"txid":txid,"vout":n},...] [createblocktemplate=false]
Check if one of given inputs is a kernel input at the moment.
7 checkwallet:检查钱包的完整性。
help checkwallet checkwallet
Check wallet for integrity.
8 createrawtransaction 创建原始交易 交易 [{"txid":txid,"vout":n},...] {address:amount,...} 创建一个原始交易,花费指定的输入交易。
help createrawtransaction createrawtransaction [{"txid":txid,"vout":n},...] {address:amount,...}
Create a transaction spending given inputs
(array of objects containing transaction id and output number),
sending to given address(es).
Returns hex-encoded raw transaction.
Note that the transaction's inputs are not signed, and
it is not stored in the wallet or transmitted to the network.
9 decoderawtransaction 解码原始交易 交易 <hex string> 将一个原始交易解码成可读性较强的JSON对象。
help decoderawtransaction decoderawtransaction <hex string>
Return a JSON object representing the serialized, hex-encoded transaction.
10 decodescript <hex string>:解密一个十六进制的脚本
decodescript <hex string>
Decode a hex-encoded script.
11 dumpprivkey 导出私钥 地址 <bitcoinaddress> 导出币地址<bitcoinaddress>对应的私钥。需要未锁定钱包。
dumpprivkey <whitecoinaddress>
Reveals the private key corresponding to <whitecoinaddress>.
12 dumpwallet <filename>:以人类可读的格式转储所有钱包密钥。
dumpwallet <filename>
Dumps all wallet keys in a human-readable format.
13 encryptwallet 加密钱包 钱包 <passphrase> 为钱包设定密码<passphrase>
encryptwallet <passphrase>
Encrypts the wallet with <passphrase>.
14 getaccount 取得地址账户 账户 <whitecoinaddress> 返回指定地址<whitecoinaddress>相关联的帐户。
getaccount <whitecoinaddress>
Returns the account associated with the given address.
15 getaccountaddress 取得账户地址 账户 <account> 返回指定账户<account>当前的币收款地址,每次执行都会为指定账户创建一个的新的地址。 Returns the current bitcoin address for receiving payments to this account. N
getaccountaddress <account>
Returns the current Whitecoin address for receiving payments to this account.
16 getaddednodeinfo 取得新增节点信息 节点 <dns> [node] 返回指定的新增节点[node]的信息,[node]参数省略时返回全部新增节点(不包括只连接一次的节点)的信息。<dns>参数为false时,只提供新增节点列表,<dns>参数为true时同时提供新增节点的连接信息。
getaddednodeinfo <dns> [node]
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.
17 getaddressesbyaccount 取得账户所有地址 账户 <account> 返回指定账户<account>关联的所有地址列表。 Returns the list of addresses for the given account. N
getaddressesbyaccount <account>
Returns the list of addresses for the given account.
18 getbalance 取得余额 账户 [account] [minconf=1] 如果没有指定账户<account>,返回钱包的总余额。如果指定账户<account>,返回账户余额。 If [account] is not specified, returns the server's total available balance.If [account] is specified, returns the balance in the account. N
getbalance [account] [minconf=]
If [account] is not specified, returns the server's total available balance.
If [account] is specified, returns the balance in the account.
19 getbestblockhash 返回最长块链中最佳块的哈希值。
getbestblockhash
Returns the hash of the best block in the longest block chain. Examples:
getbestblockhash
0193414c67c297457e35ebacd2b94d374471b4fc56ea81ea0f44f4abe89f5915
20 getblock 取得块信息 块 <hash> 返回指定的哈希<hash>块信息。 Returns information about the given block hash. N
getblock <hash> [txinfo]
txinfo optional to print more detailed tx info
Returns details of a block with given block-hash.
21 getblockbynumber <number> [txinfo] [txinfo]可选择打印更详细的[txinfo],返回给定块号的块的详细信息。
getblockbynumber <number> [txinfo]
txinfo optional to print more detailed tx info
Returns details of a block with given block-number.
22 getblockcount/getblocknumber 取得块数量 块 返回最长的块链中块的数量。
getblockcount
Returns the number of blocks in the longest block chain.
23 getblockhash 取得块哈希 块 <index> 返回最佳块链中指定索引<INDEX>块的哈希。 Returns hash of block in best-block-chain at <index> N
getblockhash <index>
Returns hash of block in best-block-chain at <index> Examples:
getblockhash 2
750129f3369574f0c397e28273cc5e795f5a78d3c43eba4b58583bac96e62e18
24 getblocktemplate/getmemorypool 取得块模版 块 [params] 返回所需的数据用来构造一个有效的块。
getblocktemplate [params]
Returns data needed to construct a block to work on:
"version" : block version
"previousblockhash" : hash of current highest block
"transactions" : contents of non-coinbase transactions that should be included in the next block
"coinbaseaux" : data that should be included in coinbase
"coinbasevalue" : maximum allowable input to coinbase transaction, including the generation award and transaction fees
"target" : hash target
"mintime" : minimum timestamp appropriate for next block
"curtime" : current timestamp
"mutable" : list of ways the block template may be changed
"noncerange" : range of valid nonces
"sigoplimit" : limit of sigops in blocks
"sizelimit" : limit of block size
"bits" : compressed target of next block
"height" : height of the next block
See https://en.bitcoin.it/wiki/BIP_0022 for full specification.
25 getcheckpoint 显示同步检查点的信息。
getcheckpoint
Show info of synchronized checkpoint. Examples:
{
"synccheckpoint" : "c4d0cfbc0c359b3da0b2557bc7e3cc3165cd174624b2128761da0f1e3a4d2d8c",
"height" : 659637,
"timestamp" : "2018-07-10 17:51:28 UTC",
"policy" : "rolling"
}
26 getconnectioncount 取得连接数 节点 返回与其它节点的连接数。 Returns the number of connections to other nodes. N
getconnectioncount
Returns the number of connections to other nodes Examples:
getconnectioncount
27 getdifficulty 取得当前难度 采矿 返回当前工作量证明难度(最低难度的倍数)
getdifficulty
Returns the difficulty as a multiple of the minimum difficulty. Examples:
getdifficulty
{
"proof-of-work" : 0.00026371,
"proof-of-stake" : 8510219.66887776
}
28 getinfo 取得客户端信息 服务 返回一个包含当前客户端各种状态信息的对象。
getinfo
Returns an object containing various state info. Examples:
getinfo
{
"version" : "v2.5.1.0-gWhitecoin-org",
"protocolversion" : ,
"walletversion" : ,
"balance" : 0.00000000,
"newmint" : 0.00000000,
"stake" : 0.00000000,
"blocks" : ,
"timeoffset" : ,
"moneysupply" : 314464186.85839999,
"connections" : ,
"proxy" : "",
"ip" : "0.0.0.0",
"difficulty" : {
"proof-of-work" : 0.00026371,
"proof-of-stake" : 8784784.55852156
},
"testnet" : false,
"keypoololdest" : ,
"keypoolsize" : ,
"paytxfee" : 0.00000000,
"mininput" : 0.00000000,
"errors" : ""
}
29 getmininginfo 取得采矿信息 采矿 返回一个包含当前采矿信息的对象。
getmininginfo
Returns an object containing mining-related information. Examples:
getminminginfo
{
"blocks" : ,
"currentblocksize" : ,
"currentblocktx" : ,
"difficulty" : {
"proof-of-work" : 0.00026371,
"proof-of-stake" : 7878972.47226761,
"search-interval" :
},
"blockvalue" : ,
"netmhashps" : 0.00000000,
"netstakeweight" : 7217889798448995.00000000,
"errors" : "",
"pooledtx" : ,
"stakeweight" : {
"minimum" : ,
"maximum" : ,
"combined" :
},
"stakeinterest" : ,
"testnet" : false
}
30 getnettotals 返回有关网络流量的信息,包括字节输入,字节输出,和当前时间。
getnettotals
Returns information about network traffic, including bytes in, bytes out,
and current time. Examples:
getnettotals
{
"totalbytesrecv" : ,
"totalbytessent" : ,
"timemillis" :
}
31 getnetworkinfo 返回包含有关P2P网络的各种状态信息的对象。
getnetworkinfo
Returns an object containing various state info regarding P2P networking. Result:
{
"version": xxxxx, (numeric) the server version
"protocolversion": xxxxx, (numeric) the protocol version
"timeoffset": xxxxx, (numeric) the time offset
"connections": xxxxx, (numeric) the number of connections
"proxy": "host:port", (string, optional) the proxy used by the server
"address": "xxxx", (string) network address
"port": xxx, (numeric) network port
"score": xxx (numeric) relative score
"alerts": [, (array) list of alerts on network
"alertid": "xxx", (numeric) the ID number for this alert
"priority": xxx, (numeric) the alert priority
"minver": xxx (numeric) the minimum protocal version this effects
"maxver": xxx (numeric) the maximum protocal version this effects
"relayuntil": xxx (numeric) relay this alert to other nodes until this time
"expiration": xxx (numeric) when this alert will expire
"statusbar": "xxxx", (string) status bar & tooltip string displayed
]
} Examples:
getnetworkinfo
{
"version" : 2050100,
"protocolversion" : 20001,
"timeoffset" : 0,
"connections" : 6,
"proxy" : "",
"alerts" : [
]
}
32 getnewaddress 创建新地址 地址 [account] 返回一个新的币地址,用于接收付款。如果指定账户[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]. N
getnewaddress [account]
Returns a new Whitecoin address for receiving payments. If [account] is specified, it is added to the address book so payments received with the address will be credited to [account]. Examples:
getnewaddress
WXYobnmpfCkNkrpfPNYYs6mRatks8pTKdk
33 getnewpubkey [account]
getnewpubkey [account]
Returns new public key for coinbase generation. Examples:
getnewpubkey
0335f78c16a08abad2bee7aacd21a4ab9d264bd26e62038e91ef0d130ded25e89b
34 getpeerinfo 取得节点信息 节点 返回每个已连接节点的数据。
getpeerinfo
Returns data about each connected network node. Examples:
getpeerinfo [
{
"addr" : "91.121.110.119:15814",
"addrlocal" : "218.17.65.106:40142",
"services" : "",
"lastsend" : ,
"lastrecv" : ,
"bytessent" : ,
"bytesrecv" : ,
"conntime" : ,
"timeoffset" : -,
"pingtime" : 3.29397000,
"version" : ,
"subver" : "/Whitecoin:2.5.2/",
"inbound" : false,
"startingheight" : ,
"banscore" : ,
"syncnode" : false
},
{
"addr" : "164.132.54.231:15814",
"addrlocal" : "218.17.65.106:18965",
"services" : "",
"lastsend" : ,
"lastrecv" : ,
"bytessent" : ,
"bytesrecv" : ,
"conntime" : ,
"timeoffset" : ,
"pingtime" : 0.32509500,
"version" : ,
"subver" : "/Whitecoin:2.5.2/",
"inbound" : false,
"startingheight" : ,
"banscore" : ,
"syncnode" : false
},
{
"addr" : "178.236.74.111:15814",
"addrlocal" : "218.17.65.106:40443",
"services" : "",
"lastsend" : ,
"lastrecv" : ,
"bytessent" : ,
"bytesrecv" : ,
"conntime" : ,
"timeoffset" : ,
"pingtime" : 0.39494800,
"version" : ,
"subver" : "/Whitecoin:2.5.2/",
"inbound" : false,
"startingheight" : ,
"banscore" : ,
"syncnode" : false
},
{
"addr" : "37.97.167.55:15814",
"addrlocal" : "218.17.65.106:26807",
"services" : "",
"lastsend" : ,
"lastrecv" : ,
"bytessent" : ,
"bytesrecv" : ,
"conntime" : ,
"timeoffset" : -,
"pingtime" : 0.35202200,
"version" : ,
"subver" : "/Whitecoin:2.5.2/",
"inbound" : false,
"startingheight" : ,
"banscore" : ,
"syncnode" : true
},
{
"addr" : "149.210.226.50:15814",
"addrlocal" : "218.17.65.106:46515",
"services" : "",
"lastsend" : ,
"lastrecv" : ,
"bytessent" : ,
"bytesrecv" : ,
"conntime" : ,
"timeoffset" : -,
"pingtime" : 0.26608700,
"version" : ,
"subver" : "/Whitecoin:2.5.2/",
"inbound" : false,
"startingheight" : ,
"banscore" : ,
"syncnode" : false
},
{
"addr" : "69.132.90.21:15814",
"addrlocal" : "218.17.65.106:41501",
"services" : "",
"lastsend" : ,
"lastrecv" : ,
"bytessent" : ,
"bytesrecv" : ,
"conntime" : ,
"timeoffset" : -,
"pingtime" : 1.37354400,
"version" : ,
"subver" : "/Satoshi:2.5.1/",
"inbound" : false,
"startingheight" : ,
"banscore" : ,
"syncnode" : false
}
]
35 getrawmempool 取得内存池原始交易ID 采矿 返回内存池的所有原始交易ID。
getrawmempool
Returns all transaction ids in memory pool. Examples:
getrawmempool
[
"23d67f36a36a273edf4a32431a67bfabca96f0e4be93d693b08bc97ec3c9b119"
]
36 getrawtransaction 取得原始交易信息 交易 <txid> [verbose=0] 返回指定的交易ID<txid>的原始交易描述。
getrawtransaction <txid> [verbose=]
If verbose=, returns a string that is
serialized, hex-encoded data for <txid>.
If verbose is non-zero, returns an Object
with information about <txid>.
37 getreceivedbyaccount 取得账户收款金额 账户 <account> [minconf=1] 返回指定账户<account>上收到至少[minconf]个确认的收款交易总金额(不包括付款)。 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) N
getreceivedbyaccount <account> [minconf=]
Returns the total amount received by addresses with <account> in transactions with at least [minconf] confirmations.
38 getreceivedbyaddress 取得地址收款金额 地址 <bitcoinaddress> [minconf=1] 返回指定地址<bitcoinaddress>上收到至少[minconf]个确认的收款交易总金额。虽然有些人可能会认为这很明显,返回值只统计该地址的收款交易。它不检查已经从这个地址上发送的付款交易。换句话说,这不是取得地址余额。该方法仅适用于本地钱包的地址,外部地址将始终显示为0。 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. N
getreceivedbyaddress <whitecoinaddress> [minconf=]
Returns the total amount received by <whitecoinaddress> in transactions with at least [minconf] confirmations.
39 getstakesubsidy <hex string> 返回指定硬币投注的股权证明补贴价值。
getstakesubsidy <hex string>
Returns proof-of-stake subsidy value for the specified coinstake.
40 getstakinginfo 返回包含与放样相关的信息的对象。
getstakinginfo
Returns an object containing staking-related information. Examples:
getstakinginfo {
"enabled" : true,
"staking" : false,
"errors" : "",
"currentblocksize" : ,
"currentblocktx" : ,
"pooledtx" : ,
"difficulty" : 6644878.67863294,
"search-interval" : ,
"weight" : ,
"netstakeweight" : ,
"expectedtime" :
}
41 getsubsidy [nTarget] 返回指定目标值的工作量证明补贴值。
getsubsidy [nTarget]
Returns proof-of-work subsidy value for the specified value of target. Examples:
getsubsidy
100000000
42 gettransaction 取得交易信息 交易 <txid> 返回一个指定交易ID的哈希对象(仅限钱包内的地址交易)。 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" N
gettransaction <txid>
Get detailed information about <txid>
43 getwork 计算 采矿 [data] 如果没有指定数据[data],返回格式化的哈希数据。如果指定数据,试图解决块,如果成功返回true。 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 targetIf [data] is specified, tries to solve the block and returns true if it was successful. N
getwork [data]
If [data] is not specified, returns formatted hash data to work on:
"midstate" : precomputed hash state after hashing the first half of the data (DEPRECATED)
"data" : block data
"hash1" : formatted hash buffer for second hash (DEPRECATED)
"target" : little endian hash target
If [data] is specified, tries to solve the block and returns true if it was successful.
44 help 帮助 服务 [command] 获得命令列表,或者指定命令[command]的帮助。 List commands, or get help for a command. N
help [command]
List commands, or get help for a command.
45 importprivkey 导入密钥 地址 <bitcoinprivkey> [label] [rescan=true] 添加一个私有密钥到你的钱包。(返回dumpprivkey)这可能需要一段时间来完成重新扫描,寻找现有交易。重新扫描[rescan]参数。需要未锁定钱包。 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
importprivkey <whitecoinprivkey> [label] [rescan=true]
Adds a private key (as returned by dumpprivkey) to your wallet.
46 importwallet <filename> 从钱包转储文件导入密钥(请参阅dumpwallet)。
importwallet <filename>
Imports keys from a wallet dump file (see dumpwallet).
47 keypoolrefill 填满密钥池 钱包 重新填满密钥池。需要未锁定钱包。 Fills the keypool, requires wallet passphrase to be set. Y
keypoolrefill [new-size]
Fills the keypool.
48 listaccounts 查询账户列表 账户 [minconf=1] 返回一个Hash对象,帐户名作为键,帐户余额作为键的值。 Returns Object that has account names as keys, account balances as values. N
listaccounts [minconf=]
Returns Object that has account names as keys, account balances as values.
49 listaddressgroupings 查询地址列表 地址 返回钱包上的所有地址信息(地址,余额,所属账户)。Returns all addresses in the wallet and info used for coincontrol. N
listaddressgroupings
Lists groups of addresses which have had their common ownership
made public by common use as inputs or as the resulting change
in past transactions Examples:
listaddressgroupings
[
]
50 listreceivedbyaccount 列出账户的收款信息 账户 [minconf=1] [includeempty=false] 返回一个数组对象,包含:account:接收地址的帐户amount:该账户所有地址收到的总金额confirmations:包含的最近交易确认数量 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 N
listreceivedbyaccount [minconf=] [includeempty=false]
[minconf] is the minimum number of confirmations before payments are included.
[includeempty] whether to include accounts that haven't received any payments.
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 Warning:
Accounting API is deprecated and will be removed in future.
It can easily result in negative or odd balances if misused or misunderstood, which has happened in the field.
If you still want to enable it, add to your config file enableaccounts=
(code -)
51 listreceivedbyaddress 列出地址的收款信息 地址 [minconf=1] [includeempty=false] 返回一个数组对象,包含:address:接收地址account:接收地址的帐户amount:地址收到的总金额confirmations:包含的最近交易确认数量要得到系统上的所有帐户的列表,执行listreceivedbyaddress 0 true 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 includedTo get a list of accounts on the system, execute bitcoind listreceivedbyaddress 0 true N
listreceivedbyaddress [minconf=] [includeempty=false]
[minconf] is the minimum number of confirmations before payments are included.
[includeempty] whether to include addresses that haven't received any payments.
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 Examples:
listreceivedbyaddress
[]
52 listsinceblock 列出指定块之后的交易 交易 [blockhash] [target-confirmations] 获得自从指定哈希块[blockhash]产生之后的所有交易,哈希块参数省略则获得所有交易。
listsinceblock [blockhash] [target-confirmations]
Get all transactions in blocks since block [blockhash], or all transactions if omitted Examples:
{
"transactions" : [
],
"lastblock" : "e37be41ebb7882201268d17fa24ae39de9c83f3e8732b03be4e50bb3879d13bc"
}
53 listtransactions 列出交易 交易 [account] [count=10] [from=0] 返回指定账户[account]不包含前[from]次的最近[count]次的交易。如果未指定账户则返回所有账户的最近交易。 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. N
listtransactions [account] [count=] [from=]
Returns up to [count] most recent transactions skipping the first [from] transactions for account [account]. Examples:
listtransactions
[]
54 listunspent 列出未动用输出 交易 [minconf=1] [maxconf=999999] 返回钱包中未动用交易输入的数组。
listunspent [minconf=] [maxconf=] ["address",...]
Returns array of unspent transaction outputs
with between minconf and maxconf (inclusive) confirmations.
Optionally filtered to only include txouts paid to specified addresses.
Results are an array of Objects, each of which has:
{txid, vout, scriptPubKey, amount, confirmations} Examples:
listunspent
[]
55 makekeypair [prefix] 制作公钥/私钥对。[prefix]是公钥的可选首选前缀。
makekeypair [prefix]
Make a public/private key pair.
[prefix] is optional preferred prefix for the public key. Examples:
makekeypair
{
"PrivateKey" : "308201130201010420192ccdca03f034b82f809dbe7416a612e40e5f182372c329869af39b726ce3eaa081a53081a2020101302c06072a8648ce3d0101022100fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f300604010004010704410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141020101a144034200044b128211976bca153033e33bb515484d7d576fd8d7b5e851f9f1c50d92e6e1077b78f3283680da18c58bcb9bd02766f1fa743a4c41bb6da6e04018a3055457a6",
"PublicKey" : "044b128211976bca153033e33bb515484d7d576fd8d7b5e851f9f1c50d92e6e1077b78f3283680da18c58bcb9bd02766f1fa743a4c41bb6da6e04018a3055457a6"
}
56 move 转账 账户 <fromaccount> <toaccount> <amount> [minconf=1] [comment] 把你钱包中一个账户<fromaccount>上的指定金额<amount> 转移到另一个账户<toaccount>上。 Move from one account in your wallet to another N
move <fromaccount> <toaccount> <amount> [minconf=] [comment]
Move from one account in your wallet to another.
57 ping 请求将ping发送到所有其他节点,以测量ping时间。getpeerinfo,pingtime和pingwait字段中提供的结果是十进制秒。Ping命令在队列中与所有其他命令一起处理,因此它测量处理积压,而不仅仅是网络ping。
ping
Requests that a ping be sent to all other nodes, to measure ping time.
Results provided in getpeerinfo, pingtime and pingwait fields are decimal seconds.
Ping command is handled in queue with all other commands, so it measures processing backlog, not just network ping.
58 repairwallet 如果checkwallet报告任何问题,请修理钱包。
repairwallet
Repair wallet if checkwallet reports any problem. Examples:
repairwallet
{
"wallet check passed" : true
}
59 resendtx 重新发送未经证实的交易。
resendtx
Re-send unconfirmed transactions.
60 reservebalance [<reserve> [amount]] <reserve>为true或false以打开或关闭余额预留。<amount>是一个实数和舍入。。设置不参与网络保护的保留金额。如果没有打印参数提供当前设置。
reservebalance [<reserve> [amount]]
<reserve> is true or false to turn balance reserve on or off.
<amount> is a real and rounded to cent.
Set reserve amount not participating in network protection.
If no parameters provided current setting is printed. Examples:
reservebalance
{
"reserve" : false,
"amount" : 0.00000000
}
61 sendalert <message> <privatekey> <minver> <maxver> <priority> <id> [cancelupto]
<message>是警报文本消息
<privatekey>是警报主私钥的十六进制字符串
<minver>是最低适用的内部客户端版本
<maxver>是最大适用的内部客户端版本
<priority>是整数优先级编号
<id>是警报ID
[cancelupto]取消所有警报ID,直至此数字
返回true或false。
sendalert <message> <privatekey> <minver> <maxver> <priority> <id> [cancelupto]
<message> is the alert text message
<privatekey> is hex string of alert master private key
<minver> is the minimum applicable internal client version
<maxver> is the maximum applicable internal client version
<priority> is integer priority number
<id> is the alert id
[cancelupto] cancels all alert id's up to this number
Returns true or false.
62 sendfrom 从账户付款 交易 <fromaccount> <tobitcoinaddress> <amount> [minconf=1] [comment] [comment-to] 从指定账户<fromaccount>向指定地址<tobitcoinaddress> 发送指定金额<amount>的BTC,确保帐户拥有得到[minconf]个确认的有效余额。支付金额是一个四舍五入至小数点后8位的实数。如果支付成功,将返回交易ID<txid>(而不是一个JSON对象)。需要未锁定钱包 <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). Y
sendfrom <fromaccount> <towhitecoinaddress> <amount> [minconf=] [comment] [comment-to]
<amount> is a real and is rounded to the nearest 0.00000001
63 sendmany 向多个地址付款 交易 <fromaccount> {address:amount,...} [minconf=1] [comment] 从指定账户<fromaccount>向多个地址发送指定金额{address:amount,...}。金额是双精度浮点数。需要未锁定钱包 amounts are double-precision floating point numbers Y
sendmany <fromaccount> {address:amount,...} [minconf=] [comment]
amounts are double-precision floating point numbers
64 sendrawtransaction 发布原始交易 交易 <hexstring> 提交原始交易(序列化的十六进制编码)到本地节点和网络。
sendrawtransaction <hex string>
Submits raw transaction (serialized, hex-encoded) to local node and network.
65 sendtoaddress 付款 交易 <bitcoinaddress> <amount> [comment] [comment-to] 向地址<bitcoinaddress>发送指定金额<amount>的BTC。支付金额是一个四舍五入至小数点后8位的实数。如果支付成功,将返回交易ID<txid>。需要未锁定钱包。 <amount> is a real and is rounded to 8 decimal places. Returns the transaction ID <txid> if successful. Y
sendtoaddress <whitecoinaddress> <amount> [comment] [comment-to]
<amount> is a real and is rounded to the nearest 0.00000001
66 setaccount 设定账户 账户 <bitcoinaddress> <account> 将地址<bitcoinaddress>关联到指定帐户<account>。如果该地址已经被关联到指定帐户,将创建一个新的地址与该帐户关联。 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. N
setaccount <whitecoinaddress> <account>
Sets the account associated with the given address.
67 settxfee 设定交易费 交易 <amount> 交易费<amount>是一个四舍五入至小数点后8位的实数。 <amount> is a real and is rounded to the nearest 0.00000001 N
settxfee <amount>
<amount> is a real and is rounded to the nearest 0.01
68 signmessage 信息签名 地址 <bitcoinaddress> <message> 用地址<bitcoinaddress>的私钥对信息<message>进行数字签名。需要未锁定钱包。 Sign a message with the private key of an address. Y
signmessage <whitecoinaddress> <message>
Sign a message with the private key of an address
69 signrawtransaction 对原始交易签名 交易 <hexstring> [{"txid":txid,"vout":n,"scriptPubKey":hex},...] [<privatekey1>,...] 添加原始交易的签名,并返回原始交易的结果。版本0.7 version 0.7 Adds signatures to a raw transaction and returns the resulting raw transaction. Y/N
signrawtransaction <hex string> [{"txid":txid,"vout":n,"scriptPubKey":hex,"redeemScript":hex},...] [<privatekey1>,...] [sighashtype="ALL"]
Sign inputs for raw transaction (serialized, hex-encoded).
Second optional argument (may be null) is an array of previous transaction outputs that
this transaction depends on but may not yet be in the blockchain.
Third optional argument (may be null) is an array of base58-encoded private
keys that, if given, will be the only keys used to sign the transaction.
Fourth optional argument is a string that is one of six values; ALL, NONE, SINGLE or
ALL|ANYONECANPAY, NONE|ANYONECANPAY, SINGLE|ANYONECANPAY.
Returns json object with keys:
hex : raw transaction with signature(s) (hex-encoded string)
complete : if transaction has a complete set of signature ( if not)
70 stop 停止服务 服务 停止币客户端服务 Stop bitcoin server. N
stop
Stop Whitecoin server.
71 submitblock 提交块 块 <hex data> [optional-params-obj] 试图向网络提交新的块。 Attempts to submit new block to network. N
submitblock <hex data> [optional-params-obj]
[optional-params-obj] parameter is currently ignored.
Attempts to submit new block to network.
See https://en.bitcoin.it/wiki/BIP_0022 for full specification.
72 validateaddress 地址验证 地址 <bitcoinaddress> 验证一个地址<bitcoinaddress>是否有效。 Return information about <bitcoinaddress>. N
validateaddress <whitecoinaddress>
Return information about <whitecoinaddress>.
73 validatepubkey <whitecoinpubkey> 返回有关<whitecoinpubkey>的信息。
validatepubkey <whitecoinpubkey>
Return information about <whitecoinpubkey>.
74 verifymessage 验证信息 地址 <bitcoinaddress> <signature> <message> 验证签名后信息<signature>是否与指定地址<bitcoinaddress>的私钥签名的信息<message>一致。 Verify a signed message. N
verifymessage <whitecoinaddress> <signature> <message>
Verify a signed message
Whitecoin区块链钱包高级功能使用命令的更多相关文章
- 安装比特币区块链钱包API(Blockchain Wallet用户发送和接收比特币的简单API)
区块链钱包API提供了一个简单的界面,商家可以用它以编程方式与钱包进行交互. 安装:要使用此API,您需要运行负责管理区块链钱包的小型本地服务. 您的应用程序通过HTTP API调用在本地与此服务进行 ...
- iFace安全专家揭秘:存放在区块链钱包中的比特币,其实已经早就不属于你……
自MoreToken钱包跑路之后,2019年3月以来陆续多个钱包.交易所跑路,造成了大量用户账户被盗,仅MoreToken钱包用户损失总价值就达12.2亿人民币,用户损失惨重.为什么这么多钱包.交易所 ...
- 区块链钱包开发 - USDT - 一、Omni本地钱包安装
背景 Tether(USDT)中文又叫泰达币,是一种加密货币,是Tether公司推出的基于稳定价值货币美元(USD)的代币Tether USD,也是目前数字货币中最稳定的币,USDT目前发行了两种代币 ...
- JAVA版本区块链钱包核心代码
Block.java package com.ppblock.blockchain.core; import java.io.Serializable; /** * 区块 * @author yang ...
- 区块链钱包开发 - USDT - 三、实战(nodejs版本)
一.安装钱包 请参考另一篇随笔: 入口 二.获取测试usdt(TestOmni)步骤: 1.导入地址到钱包,往该地址充值测试比特币, 2.然后往 moneyqMan7uh8FqdCA2BV5yZ8qV ...
- 区块链钱包开发 - USDT - 二、创建交易错误以及解决方法
这里总结了开发中一些常见报错和解决方案 1. 提示:createRawtx_change "Amount is not a number" 解决:参数中 tx 的 amout 需要 ...
- 区块链入门到实战(27)之以太坊(Ethereum) – 智能合约开发
智能合约的优点 与传统合同相比,智能合约有一些显著优点: 不需要中间人 费用低 代码就是规则 区块链网络中有多个备份,不用担心丢失 避免人工错误 无需信任,就可履行协议 匿名履行协议 以太坊(Ethe ...
- 以太坊区块链Java(EthereumJ)学习笔记:概述
本系列文章介绍以太坊区块链基于Java语言的解决方案.通过介绍EthereumJ定义的主要模块和Class,希望为大家学习和使用EthereumJ提供一些帮助. 整体架构 以太坊的Java解决方案主要 ...
- 各大知名区块链交易所链接及API文档链接
区块链交易所链接 火币网(Huobi):https://www.huobi.br.com/zh-cn/ API文档:https://github.com/huobiapi/API_Docs/wiki ...
随机推荐
- Package设计1:选择数据类型、暂存数据和并发
SSIS 设计系列: Package设计1:选择数据类型.暂存数据和并发 Package设计2:增量更新 Package 设计3:数据源的提取和使用暂存 一,数据类型的选择 对于SSIS的数据类型,容 ...
- IIS7 增加JSON文件解析
在MIME增加一个Json类型,在MIME增加一个配置如:添加---> 文件扩展名为 .JSON ,MIME类型为text/json(也有将application/x-javascript) 然 ...
- 【翻译】HOG, Histogram of Oriented Gradients / 方向梯度直方图 介绍
本文翻译自 SATYA MALLICK 的 "Histogram of Oriented Gradients" 原文链接: https://www.learnopencv.com/ ...
- CocoStuff—基于Deeplab训练数据的标定工具【四、用该工具标定个人数据】
一.说明 本文为系列博客第四篇,主要讲述笔者在正式使用该工具使用自定义标签标注自己的图片的过程. 二.数据整理 相信大家已经在 *占坑
- python打包成exe文件
在cmd命令提示符窗口中输入pip install pyinstaller(在python3的环境下,假如不能安装的话,用pip3 install pyinstaller指令) 使用指令pyinsta ...
- [文章存档]如何检测 Azure Web 应用沙盒环境文件系统存储量
链接:https://docs.azure.cn/zh-cn/articles/azure-operations-guide/app-service-web/aog-app-service-web-h ...
- mkdir命令详情
基础命令学习目录首页 原文链接:https://blog.csdn.net/zwlove5280/article/details/74618041 mkdir 是创建目录的命令. 创建一级目录 mkd ...
- 将本地开发完的SDK代码上传到SVN上面:an error occurred while contacting the repository The server may be unreachable or the URL may be incorrect
将本地开发完的SDK代码上传到SVN上面:an error occurred while contacting the repository The server may be unreachabl ...
- iOS静默推送(Silent Remote Notifications)
此功能是iOS7新增加的功能,允许应用收到通知后在后台(background)状态下运行一段代码,可用于从服务器获取内容更新. 普通推送:收到推送后(有文字有声音),点开通知,进入APP后,才执行-- ...
- Objective-C中,类方法的getter和setter可以用点运算符吗?
Objective-C中,对象实例property的getter和setter可以使用点运算符来操作,那么类方法的getter和setter可以使用点运算吗? 答案是肯定的. 看如下代码: #impo ...