Author Topic: 谁有cli_wallet 各函数的中文解释  (Read 2606 times)

0 Members and 1 Guest are viewing this topic.

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
你这个是大前年的版本。现在不是这些命令了。

中文文档,参考 https://github.com/abitmore/bts-cn-docs ,里面有些链接

话说回来,做技术,最好还是学点英文吧。

应该是下面的,可以加个QQ一起交流547439409

about
返回此客户端的版本号和相关的信息
 
batch <method_name> <parameters_list>
批量使用命令。
 
blockchain_export_fork_graph [start_block] [end_block] [filename]
导出分叉的块链。

« Last Edit: March 15, 2018, 08:32:53 am by abit »
BitShares committee member: abit
BitShares witness: in.abit

Offline daicong210

应该是下面的,可以加个QQ一起交流547439409

about
返回此客户端的版本号和相关的信息
 
batch <method_name> <parameters_list>
批量使用命令。
 
blockchain_export_fork_graph [start_block] [end_block] [filename]
导出分叉的块链。
 
blockchain_get_account <account>
获取指定帐户名称或ID详细记录。
 
blockchain_get_asset <asset>
获取比特资产记录。
 
blockchain_get_block <block>
获取块记录。
 
blockchain_get_block_count
获取目前总块数量。
 
blockchain_get_block_hash <block_number>
获取指定块的哈希值。
 
blockchain_get_block_signee <block_number>
获取指定块的代理名称。
 
blockchain_get_block_transactions <block>
获取指定块详细交易信息。
 
blockchain_get_delegate_slot_records <delegate_name>
获取代理出块记录。
 
blockchain_get_info
获取当前块链信息和参数。
 
blockchain_get_proposal_votes <proposal_id>
获取指定的建议投票列表。
 
blockchain_get_security_state
获取块链安全状态。
 
blockchain_get_transaction <transaction_id> [exact]
获取指定交易详细信息。
 
blockchain_is_synced
块链是否同步。
 
blockchain_list_accounts [first_account_name] [limit]
列出账户清单。
 
blockchain_list_active_delegates [first] [count]
列出激活的代理清单。
 
blockchain_list_assets [first_symbol] [limit]
列出资产清单。
 
blockchain_list_blocks [first_block_number] [limit]
列出块清单。
 
blockchain_list_delegates [first] [count]
列出代理清单。
 
blockchain_list_forks
列出分叉。
 
blockchain_list_market_transactions <block_number>
列出市场交易。
 
blockchain_list_missing_block_delegates <block_number>
列出丢块代理。
 
blockchain_list_pending_transactions
列出正在支付交易。
 
blockchain_list_proposals [first] [count]
建议清单。
 
blockchain_list_recently_registered_accounts
最新注册账户。
 
blockchain_market_list_asks <quote_symbol> <base_symbol> [limit]
买入价清单。
 
blockchain_market_list_bids <quote_symbol> <base_symbol> [limit]
卖出价清单。
 
blockchain_market_list_covers <quote_symbol> [limit]
平仓清单。
 
blockchain_market_list_shorts <quote_symbol> [limit]
做空清单。
 
blockchain_market_order_book <quote_symbol> <base_symbol> [limit]
获取指定市场交易。
 
blockchain_market_order_history <quote_symbol> <base_symbol> [skip_count] [limit] [block_limit]
市场历史交易。
 
blockchain_market_price_history <quote_symbol> <base_symbol> <start_time> <duration> [granularity]
市场历史价格。
 
blockchain_market_status <quote_symbol> <base_symbol>
市场状态。
 
debug_advance_time <delta_time_seconds> [unit]
调试提前时间。
 
debug_clear_errors [start_time] [first_error_number] [limit]
清除指定的错误日志。
 
debug_enable_output <enable_flag>
启用或禁用输出的命令行。
 
debug_filter_output_for_tests <enable_flag>
防止错误时间或不可预测的数据。
 
debug_get_call_statistics
获取代理节点回调时间。
 
debug_list_errors [first_error_number] [limit] [filename]
获取错误列表。
 
debug_list_errors_brief [first_error_number] [limit] [filename]
错误列表简介。
 
debug_start_simulated_time <new_simulated_time>
开始模拟时间。
 
debug_update_logging_config
更新配置文件。
 
debug_verify_delegate_votes
验证代理投票。
 
debug_wait <wait_time>
等待指定时间。
 
debug_wait_block_interval <wait_time_in_block_intervals>
等待到指定区块间隔。
 
debug_wait_for_block_by_number <block_number> [type]
等待到指定区块数。
 
debug_write_errors_to_file [path] [start_time]
将错误存入文件。
 
execute_command_line <input>
在控制台执行指定命令。
 
execute_script <script>
执行脚本文件。
 
get_info
获取当前块链信息和参数。
 
help [command_name]
帮助。
 
http_start_server [port]
启用http服务。
 
meta_help
获取JSON数据帮助。
 
network_add_node <node> [command]
增加节点。
 
network_broadcast_transaction <transaction_to_broadcast>
广播交易。
 
network_get_advanced_node_parameters
获取高级节点,用于建立自动化测试。
 
network_get_block_propagation_data <block_hash>
获取块网路传播的第一时间。
 
network_get_connection_count
网络连接数。
 
network_get_info
获取有关网络设置和连接各种信息。
 
network_get_peer_info [not_firewalled]
获取连接的节点信息。
 
network_get_transaction_propagation_data <transaction_id>
获取本地客户端第一时间收到的网络交易数据。
 
network_get_upnp_info
即插即用是否启用。
 
network_get_usage_stats
获取带宽使用率
 
network_list_potential_peers
潜在的节点清单。
 
network_set_advanced_node_parameters <params>
设置高级节点参数。
 
network_set_allowed_peers <allowed_peers>
设置允许的节点。
 
rpc_set_password [password]
设置RPC密码。
 
rpc_set_username [username]
设置RPC用户名。
 
rpc_start_server [port]
开启RPC服务。
 
stop
关掉RPC服务,退出客户端。
 
validate_address <address>
验证地址。
 
wallet_account_balance [account_name]
账户余额。
 
wallet_account_create <account_name> [private_data]
创建账户。
 
wallet_account_list_public_keys <account_name>
列出账户所有公钥。
 
wallet_account_register <account_name> <pay_from_account> [public_data] [delegate_pay_rate]
注册账户。
 
wallet_account_rename <current_account_name> <new_account_name>
更改账户名。
 
wallet_account_set_approval <account_name> [approval]
设置指定投票的账户。
 
wallet_account_set_favorite <account_name> [is_favorite]
设置收藏的账户。
 
wallet_account_transaction_history [account_name] [asset_symbol] [limit] [start_block_num] [end_block_num]
获取指定的帐户交易历史记录,并列表
 
wallet_account_update_active_key <account_to_update> <pay_from_account> [new_active_key]
更新指定的帐户的激活密钥并广播。
 
wallet_account_update_private_data <account_name> [private_data]
更新账户私人数据。
 
wallet_account_update_registration <account_name> <pay_from_account> [public_data] [delegate_pay_rate]
注册账户。
 
wallet_account_vote_summary [account_name]
获取此账户的投票分配。
 
wallet_add_contact_account <account_name> <account_key>
增加联系人账户。
 
wallet_asset_create <symbol> <asset_name> <issuer_name> [description] [data] [maximum_share_supply] [precision] [is_market_issued]
创建比特资产。
 
wallet_asset_issue <amount> <symbol> <to_account_name> [memo_message]
分配资产股份。
 
wallet_backup_create <json_filename>
钱包备份。
 
wallet_backup_restore <json_filename> <wallet_name> <imported_wallet_passphrase>
钱包恢复。
 
wallet_change_passphrase <passphrase>
更改密码。
 
wallet_close
关闭钱包
 
wallet_create <wallet_name> <new_passphrase> [brain_key]
创建钱包。
 
wallet_delegate_set_block_production <delegate_name> <enabled>
代理设置是否允许出块。
 
wallet_delegate_withdraw_pay <delegate_name> <to_account_name> <amount_to_withdraw> [memo]
代理提现。
 
wallet_dump_private_key <input>
查询私钥。
 
wallet_get_account <account_name>
获取账户信息。
 
wallet_get_info
获取钱包信息。
 
wallet_get_name
获取钱包名。
 
wallet_get_pending_transaction_errors [filename]
获取当前错误的支付交易。
 
wallet_get_setting <name>
钱包设置。
 
wallet_import_armory <wallet_filename> <passphrase> <account_name>
导入armory钱包。
 
wallet_import_bitcoin <wallet_filename> <passphrase> <account_name>
导入bitcoin钱包。
 
wallet_import_electrum <wallet_filename> <passphrase> <account_name>
导入electrum钱包。
 
wallet_import_keyhotee <firstname> <middlename> <lastname> <brainkey> <keyhoteeid>
导入keyhotee。
 
wallet_import_multibit <wallet_filename> <passphrase> <account_name>
导入multibit钱包。
 
wallet_import_private_key <wif_key> [account_name] [create_new_account] [rescan]
导入私钥。
 
wallet_list
钱包数据目录清单。
 
wallet_list_accounts
列出本地钱包所有相关账户。
 
wallet_list_favorite_accounts
收藏清单。
 
wallet_list_my_accounts
列出本地账户信息。
 
wallet_list_unregistered_accounts
列出未注册账户。
 
wallet_lock
钱包上锁。
 
wallet_login_finish <server_key> <client_key> <client_signature>
关闭一个bitshares登录URL启动登录程序。
 
wallet_login_start <server_account>
提供一个bitshares登录URL启动登录程序。
 
wallet_market_cancel_order <order_id>
取消市场下单。
 
wallet_market_cover <from_account_name> <quantity> <quantity_symbol> <order_id>
平仓。
 
wallet_market_order_list <base_symbol> <quote_symbol> [limit] [account_name]
市场下单清单。
 
wallet_market_submit_ask <from_account_name> <sell_quantity> <sell_quantity_symbol> <ask_price> <ask_price_symbol> [allow_stupid_ask]
提交买一价。
 
wallet_market_submit_bid <from_account_name> <quantity> <quantity_symbol> <base_price> <base_symbol> [allow_stupid_bid]
提交卖一价。
 
wallet_market_submit_short <from_account_name> <short_quantity> <short_price> <short_symbol> [allow_stupid_short]
提交做空价。
 
wallet_open <wallet_name>
打开钱包。
 
wallet_publish_price_feed <delegate_account> <price> <asset_symbol>
代理为资产喂价。
 
wallet_publish_slate <publishing_account_name> [paying_account_name]
公布当前钱包代理清单。
 
wallet_recover_accounts <accounts_to_recover> [maximum_number_of_attempts]
恢复账户。
 
wallet_remove_contact_account <account_name>
删除联系人账户。
 
wallet_rescan_blockchain [first_block_number] [num_blocks]
重新扫描块链。
 
wallet_set_automatic_backups <enabled>
设置自动备份。
 
wallet_set_priority_fee <fee>
设置优先手续费。
 
wallet_set_setting <name> <value>
钱包设置。
 
wallet_set_transaction_scanning <enabled>
扫描交易。
 
wallet_sign_hash <signing_account> <hash>
标记哈希。
 
wallet_transaction_rebroadcast <transaction_id>
交易重新广播。
 
wallet_transaction_remove <transaction_id>
删除交易。
 
wallet_transaction_scan <block_num> <transaction_id>
交易扫描。
 
wallet_transfer <amount_to_transfer> <asset_symbol> <from_account_name> <to_account_name> [memo_message] [vote_method]
转账给他人
 
wallet_transfer_from <amount_to_transfer> <asset_symbol> <paying_account_name> <from_account_name> <to_account_name> [memo_message] [vote_method]
从指定账户转账。
 
wallet_unlock <timeout> <passphrase>
定时锁定钱包。

Offline gmgogo

  • Sr. Member
  • ****
  • Posts: 333
    • View Profile
help之后发现这么的函数,不过小弟英文水平有限,而且有些知道了英文意思,也不确定是否理解正确。
本来想配置个私链进行测试的,结果自己的私链又老是出现各种异常退出等问题。
网上也没有搜索到注解,不值得社区的大神们谁有这方面的资料?
Code: [Select]
                          variant_object about()
                                    void add_operation_to_builder_transaction(transaction_handle_type transaction_handle, const operation & op)
                      signed_transaction approve_proposal(const string & fee_paying_account, const string & proposal_id, const approval_delta & delta, bool broadcast)
                 transaction_handle_type begin_builder_transaction()
                      signed_transaction bid_collateral(string bidder_name, string debt_amount, string debt_symbol, string additional_collateral, bool broadcast)
                   vector<blind_receipt> blind_history(string key_or_account)
                      blind_confirmation blind_transfer(string from_key_or_label, string to_key_or_label, string amount, string symbol, bool broadcast)
                      signed_transaction borrow_asset(string borrower_name, string amount_to_borrow, string asset_symbol, string amount_of_collateral, bool broadcast)
                      signed_transaction cancel_order(object_id_type order_id, bool broadcast)
                      signed_transaction create_account_with_brain_key(string brain_key, string account_name, string registrar_account, string referrer_account, bool broadcast)
                      signed_transaction create_asset(string issuer, string symbol, uint8_t precision, asset_options common, fc::optional<bitasset_options> bitasset_opts, bool broadcast)
                      signed_transaction create_committee_member(string owner_account, string url, bool broadcast)
                      signed_transaction create_witness(string owner_account, string url, bool broadcast)
                      signed_transaction create_worker(string owner_account, time_point_sec work_begin_date, time_point_sec work_end_date, share_type daily_pay, string name, string url, variant worker_settings, bool broadcast)
                                    void dbg_generate_blocks(std::string debug_wif_key, uint32_t count)
                                    void dbg_make_mia(string creator, string symbol)
                                    void dbg_make_uia(string creator, string symbol)
                                    void dbg_push_blocks(std::string src_filename, uint32_t count)
                                    void dbg_stream_json_objects(const std::string & filename)
                                    void dbg_update_object(fc::variant_object update)
                  vector<brain_key_info> derive_owner_keys_from_brain_key(string brain_key, int number_of_desired_keys)
            map<public_key_type, string> dump_private_keys()
                                    void flood_network(string prefix, uint32_t number_of_transactions)
                      signed_transaction fund_asset_fee_pool(string from, string symbol, string amount, bool broadcast)
                          account_object get_account(string account_name_or_id)
                                uint64_t get_account_count()
                vector<operation_detail> get_account_history(string name, int limit)
        account_history_operation_detail get_account_history_by_operations(string name, vector<uint16_t> operation_types, uint32_t start, int limit)
                         account_id_type get_account_id(string account_name_or_id)
                            asset_object get_asset(string asset_name_or_id)
              asset_bitasset_data_object get_bitasset_data(string asset_name_or_id)
        optional<signed_block_with_info> get_block(uint32_t num)
               vector<call_order_object> get_call_orders(string a, uint32_t limit)
           vector<collateral_bid_object> get_collateral_bids(string asset, uint32_t limit, uint32_t start)
                 committee_member_object get_committee_member(string owner_account)
          dynamic_global_property_object get_dynamic_global_properties()
                  global_property_object get_global_properties()
              vector<limit_order_object> get_limit_orders(string a, string b, uint32_t limit)
                   vector<bucket_object> get_market_history(string symbol, string symbol2, uint32_t bucket, fc::time_point_sec start, fc::time_point_sec end)
                                 variant get_object(object_id_type id)
                              order_book get_order_book(const string & base, const string & quote, unsigned limit)
                                  string get_private_key(public_key_type pubkey)
                               operation get_prototype_operation(string operation_type)
                vector<operation_detail> get_relative_account_history(string name, uint32_t stop, int limit, uint32_t start)
         vector<force_settlement_object> get_settle_orders(string a, uint32_t limit)
                     transaction_id_type get_transaction_id(const signed_transaction & trx)
vector<vesting_balance_object_with_info> get_vesting_balances(string account_name)
                          witness_object get_witness(string owner_account)
                                  string gethelp(const string & method)
                      signed_transaction global_settle_asset(string symbol, price settle_price, bool broadcast)
                                  string help()
                                    bool import_account_keys(string filename, string password, string src_account_name, string dest_account_name)
                       map<string, bool> import_accounts(string filename, string password)
              vector<signed_transaction> import_balance(string account_name_or_id, const vector<string> & wif_keys, bool broadcast)
                                    bool import_key(string account_name_or_id, string wif_key)
                                 variant info()
                                    bool is_locked()
                                    bool is_new()
                                    bool is_public_key_registered(string public_key)
                      signed_transaction issue_asset(string to_account, string amount, string symbol, string memo, bool broadcast)
                           vector<asset> list_account_balances(const string & id)
            map<string, account_id_type> list_accounts(const string & lowerbound, uint32_t limit)
                    vector<asset_object> list_assets(const string & lowerbound, uint32_t limit)
   map<string, committee_member_id_type> list_committee_members(const string & lowerbound, uint32_t limit)
                  vector<account_object> list_my_accounts()
            map<string, witness_id_type> list_witnesses(const string & lowerbound, uint32_t limit)
                                    bool load_wallet_file(string wallet_filename)
                                    void lock()
                                    void network_add_nodes(const vector<string> & nodes)
                         vector<variant> network_get_connected_peers()
                                  string normalize_brain_key(string s)
                             transaction preview_builder_transaction(transaction_handle_type handle)
                      signed_transaction propose_builder_transaction(transaction_handle_type handle, time_point_sec expiration, uint32_t review_period_seconds, bool broadcast)
                      signed_transaction propose_builder_transaction2(transaction_handle_type handle, string account_name_or_id, time_point_sec expiration, uint32_t review_period_seconds, bool broadcast)
                      signed_transaction propose_fee_change(const string & proposing_account, fc::time_point_sec expiration_time, const variant_object & changed_values, bool broadcast)
                      signed_transaction propose_parameter_change(const string & proposing_account, fc::time_point_sec expiration_time, const variant_object & changed_values, bool broadcast)
                      signed_transaction publish_asset_feed(string publishing_account, string symbol, price_feed feed, bool broadcast)
                                  string read_memo(const memo_data & memo)
                           blind_receipt receive_blind_transfer(string confirmation_receipt, string opt_from, string opt_memo)
                      signed_transaction register_account(string name, public_key_type owner, public_key_type active, string registrar_account, string referrer_account, uint32_t referrer_percent, bool broadcast)
                                    void remove_builder_transaction(transaction_handle_type handle)
                                    void replace_operation_in_builder_transaction(transaction_handle_type handle, unsigned operation_index, const operation & new_op)
                      signed_transaction reserve_asset(string from, string amount, string symbol, bool broadcast)
                                    void save_wallet_file(string wallet_filename)
                      signed_transaction sell_asset(string seller_account, string amount_to_sell, string symbol_to_sell, string min_to_receive, string symbol_to_receive, uint32_t timeout_sec, bool fill_or_kill, bool broadcast)
                                  string serialize_transaction(signed_transaction tx)
                      signed_transaction set_desired_witness_and_committee_member_count(string account_to_modify, uint16_t desired_number_of_witnesses, uint16_t desired_number_of_committee_members, bool broadcast)
                                   asset set_fees_on_builder_transaction(transaction_handle_type handle, string fee_asset)
                                    void set_password(string password)
                      signed_transaction set_voting_proxy(string account_to_modify, optional<string> voting_account, bool broadcast)
                      signed_transaction settle_asset(string account_to_settle, string amount_to_settle, string symbol, bool broadcast)
                      signed_transaction sign_builder_transaction(transaction_handle_type transaction_handle, bool broadcast)
                               memo_data sign_memo(string from, string to, string memo)
                      signed_transaction sign_transaction(signed_transaction tx, bool broadcast)
                          brain_key_info suggest_brain_key()
                      signed_transaction transfer(string from, string to, string amount, string asset_symbol, string memo, bool broadcast)
pair<transaction_id_type, signed_transaction> transfer2(string from, string to, string amount, string asset_symbol, string memo)
                      blind_confirmation transfer_from_blind(string from_blind_account_key_or_label, string to_account_id_or_name, string amount, string asset_symbol, bool broadcast)
                      blind_confirmation transfer_to_blind(string from_account_id_or_name, string asset_symbol, vector<pair<string, string>> to_amounts, bool broadcast)
                                    void unlock(string password)
                      signed_transaction update_asset(string symbol, optional<string> new_issuer, asset_options new_options, bool broadcast)
                      signed_transaction update_asset_feed_producers(string symbol, flat_set<string> new_feed_producers, bool broadcast)
                      signed_transaction update_bitasset(string symbol, bitasset_options new_options, bool broadcast)
                      signed_transaction update_witness(string witness_name, string url, string block_signing_key, bool broadcast)
                      signed_transaction update_worker_votes(string account, worker_vote_delta delta, bool broadcast)
                      signed_transaction upgrade_account(string name, bool broadcast)
                      signed_transaction vote_for_committee_member(string voting_account, string committee_member, bool approve, bool broadcast)
                      signed_transaction vote_for_witness(string voting_account, string witness, bool approve, bool broadcast)
                      signed_transaction whitelist_account(string authorizing_account, string account_to_list, account_whitelist_operation::account_listing new_listing_status, bool broadcast)
                      signed_transaction withdraw_vesting(string witness_name, string amount, string asset_symbol, bool broadcast)