Author Topic: 【翻译贴】第9轮测试启动。主题歌:Chain Hang Low 介绍成员:BitUSD  (Read 4203 times)

0 Members and 1 Guest are viewing this topic.

Offline ssjpts

  • Hero Member
  • *****
  • Posts: 538
    • View Profile
    • 中国BTC
  • BitShares: coolman
新浪微博:剑指未来BTS
BTC:1Bc7gRGotktBmnNFr3BUUM22HFXCCTyxor
BTSX ID:loves,集大众之爱,待到BTS 500刀,10%回退给捐赠者,10%用于运营,剩余80%用于爱心事业和BTS宣传推广。


Offline Musewhale

  • Hero Member
  • *****
  • Posts: 2881
  • 丑,实在是太丑了 !
    • View Profile
MUSE witness:mygoodfriend     vote for me


Offline metalallen

  • Sr. Member
  • ****
  • Posts: 262
    • View Profile
楼主是不是想竞选3I的首席翻译官? +5% +5% +5%

只是为社区做到自己能做的 :D
别的也帮不上太多忙
浮壹白的微博:http://weibo.com/u/2279693077
BTSX Account:metalallen

Offline Overthetop

个人微博账号: Overthetop_万里晴空
“块链创新与创业”交流群: 330378613

Offline yinchanggong

  • Sr. Member
  • ****
  • Posts: 464
    • View Profile
    • 微博 引长弓Fate
BTSX delegate: google.helloworld    microsoft.helloworld
BTSX Account:yinchg   Manager of BTSXCHINA Charity Fund
引长弓Fate 新浪微博



Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi



Offline metalallen

  • Sr. Member
  • ****
  • Posts: 262
    • View Profile
BM注:如果在论坛时间7月15日晚上8点之前下载了程序包,那么你需要删除chain文件夹并重新编译。我们修复了受托人注册费用过高的问题。

第9轮测试主题歌:https://www.youtube.com/watch?v=4SBN_ikibtg 8) 8)

这是我们第一次测试市场功能,在此之前内部并没有经过广泛的测试,所以在测试中遇到程序崩溃的问题是有可能的,我们会及时修复。
这个讨论帖上除了纠错和测试市场功能命令行之外,请尽量不要讨论别的内容。https://bitsharestalk.org/index.php?topic=5660.0
Mac版本钱包下载:http://bitshares.org/BitSharesXT-0.1.2.dmg
Win版稍后放出...

截止论坛时间7月15日的22:41,测试中已知的问题有:
~钱包中的账户交易账本中,市场交易显示错误,这仅是一个显示方面的问题;
~对历史价格的容量测定被固定为1,修复中;
~在空仓补平之后,钱包交易账本中并没有立刻显示你的抵押品返回了自己的账户中,这也是个显示方面的问题。

市场撮合算法:
Code: [Select]
 
while( highest_bid >= lowest_ask )
     trade_quantity        = min( highest_bid.quote_quantity, highest_ask.quote_quantity )
     usd_paid_by_bid       = trade_quantity
     usd_received_by_ask   = trade_quantity
     xts_paid_by_ask       = trade_quantity * ask_price
     xts_received_by_bid   = trade_quantity * bid_price
     fees = xts_paid_by_ask - xts_received_by_bid
     ask.balance -= xts_paid_by_ask
     bid.balance -= usd_paid_by_bid

新的受托人付款和注册费用计算:
Code: [Select]
foreach block
    total_accumulated_fees += all_transactions_fees
    delegate_pay = total_accumulated_fees / (blocks_per_day*14)
    delegate_registration = delegate_pay * blocks_per_hour * 2 / 101
    total_accumulated_fees -= (delegate_pay)
如果没有产生新的费用和交易的话,有效地另费用在每个出块后下降1%。

改善钱包导入功能:
导入比特币钱包功能已经修复。现在可以运用比特币内核、PTS、armory、Electrum等多种形式进行导入,请测试。

本轮测试增加的新命令:
Code: [Select]
default (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
9.8800 USD                98.80000 XTS                         0.1 USD / XTS | 0.01333201790756645 USD / XTS             3.75037 XTS                0.0500 USD
15.0000 USD               1,500.00000 XTS                     0.01 USD / XTS*| 1.23 USD / XTS                        9,959.39033 XTS           12,250.0501 USD
                                                                             | 1.3609963334667113 USD / XTS             29.39016 XTS               39.9999 USD
                                                                             | 1.62007525615913535 USD / XTS             6.14169 XTS                9.9500 USD
                                                                             | 6. USD / XTS                             10.00000 XTS               60.0000 USD
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             |                                   MARGIN
                                                                             | CALL PRICE                                   QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             | 1.62007525615913535 USD / XTS             6.14169 XTS                9.9500 USD   8.18893 XTS
                                                                             | 1.3609963334667113 USD / XTS             29.39016 XTS               39.9999 USD   39.18689 XTS
                                                                             | 0.01333201790756645 USD / XTS             3.75037 XTS                0.0500 USD   5.00050 XTS

Code: [Select]
default (unlocked) >>> wallet_account_transaction_history
RECEIVED            BLOCK     FROM                TO                  AMOUNT                FEE                 MEMO                                    ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------
2014-07-15T21:46:25 0         GENESIS             founders            16,666,667.16466 XTS  0.00000 XTS         claim genesis balance                   N/A
2014-07-15T21:47:32 392       founders            ORDER-3eyFiYt5      10,000.00000 XTS      0.10000 XTS         sell 10000 XTS @ 1.23 USD               88fef923
2014-07-15T21:47:50 ERROR     ORDER-3eyFiYt5      UNKNOWN             8.08943 XTS           7.98993 XTS         pay ask @ 1.23 USD / XTS                00000000
2014-07-15T21:47:50 ERROR     ORDER-3eyFiYt5      UNKNOWN             32.52024 XTS          25.85359 XTS        pay ask @ 1.23 USD / XTS                00000000
2014-07-15T21:47:50 ERROR     ORDER-3eyFiYt5      founders            9.9500 USD            7.98993 XTS         fill ask @ 1.23 USD / XTS               00000000
2014-07-15T21:47:50 ERROR     ORDER-3eyFiYt5      founders            39.9999 USD           25.85359 XTS        fill ask @ 1.23 USD / XTS               00000000
2014-07-15T21:52:23 421       founders            ORDER-2VqCgSAF      10.0000 USD           0.10000 XTS         buy 100 XTS @ 0.1 USD                   ee1be376
2014-07-15T21:52:40 ERROR     ORDER-2VqCgSAF      UNKNOWN             0.1200 USD            4.80000 XTS         pay bid @ 0.1 USD / XTS                 00000000
2014-07-15T21:52:40 ERROR     ORDER-2VqCgSAF      founders            1.20000 XTS           4.80000 XTS         fill bid @ 0.1 USD / XTS                00000000
2014-07-15T21:52:40 ERROR     ORDER-2VqCgSAF      founders            1.20000 XTS           4.80000 XTS         fill bid @ 0.1 USD / XTS                00000000

Code: [Select]
default (unlocked) >>> wallet_account_transaction_history
RECEIVED            BLOCK     FROM                TO                  AMOUNT                FEE                 MEMO                                    ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------
2014-07-15T21:46:25 0         GENESIS             founders            16,666,667.16466 XTS  0.00000 XTS         claim genesis balance                   N/A
2014-07-15T21:47:32 392       founders            ORDER-3eyFiYt5      10,000.00000 XTS      0.10000 XTS         sell 10000 XTS @ 1.23 USD               88fef923
2014-07-15T21:47:50 ERROR     ORDER-3eyFiYt5      UNKNOWN             8.08943 XTS           7.98993 XTS         pay ask @ 1.23 USD / XTS                00000000
2014-07-15T21:47:50 ERROR     ORDER-3eyFiYt5      UNKNOWN             32.52024 XTS          25.85359 XTS        pay ask @ 1.23 USD / XTS                00000000
2014-07-15T21:47:50 ERROR     ORDER-3eyFiYt5      founders            9.9500 USD            7.98993 XTS         fill ask @ 1.23 USD / XTS               00000000
2014-07-15T21:47:50 ERROR     ORDER-3eyFiYt5      founders            39.9999 USD           25.85359 XTS        fill ask @ 1.23 USD / XTS               00000000
2014-07-15T21:52:23 421       founders            ORDER-2VqCgSAF      10.0000 USD           0.10000 XTS         buy 100 XTS @ 0.1 USD                   ee1be376
2014-07-15T21:52:40 ERROR     ORDER-2VqCgSAF      UNKNOWN             0.1200 USD            4.80000 XTS         pay bid @ 0.1 USD / XTS                 00000000
2014-07-15T21:52:40 ERROR     ORDER-2VqCgSAF      founders            1.20000 XTS           4.80000 XTS         fill bid @ 0.1 USD / XTS                00000000
2014-07-15T21:52:40 ERROR     ORDER-2VqCgSAF      founders            1.20000 XTS           4.80000 XTS         fill bid @ 0.1 USD / XTS                00000000

Code: [Select]
bid founders 100 XTS .1 USD    // buy 100 XTS @ 0.1 USD / XTS
ask founders 10000 XTS 1.23 USD   // sell 10,000 XTS @ 1.23 USD / XTS 
short founders 20  1.12 USD      // short 20 USD at 1.12 USD / XTS

ask / wallet_market_submit_ask <from_account_name> <quantity> <quantity_symbol> <quote_price> <quote_symbol>
bid /  wallet_market_submit_bid <from_account_name> <quantity> <quantity_symbol> <quote_price> <quote_symbol>
short / wallet_market_submit_short <from_account_name> <quantity> <quote_price> <quote_symbol>
浮壹白的微博:http://weibo.com/u/2279693077
BTSX Account:metalallen