Author Topic: Dry Run 11: The Wolf of Coin Market Cap  (Read 11841 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

Yes... this dry run is now over... recent updates in the market code have hard-forked the test-net.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
I compiled the code without problem, but when I started the client I have only a connection and after few seconds I obtain this message:
Code: [Select]
I am disconnecting peer 107.170.30.182:1776 for reason: You offered us a block that we reject as invalid

And I stuck at block number 251 with 0 connections:
Code: [Select]
(wallet closed) >>> getinfo
{
  "blockchain_head_block_num": 251,
  "blockchain_head_block_age": "42 hours old",
  "blockchain_head_block_timestamp": "2014-08-06T19:34:30",
  "blockchain_average_delegate_participation": "0.66 %",
  "blockchain_confirmation_requirement": 1,
  "blockchain_accumulated_fees": "7.99032 XTS",
  "blockchain_delegate_pay_rate": "0.00006 XTS",
  "blockchain_share_supply": "1,999,999,999.80949 XTS",
  "blockchain_blocks_left_in_round": 52,
  "blockchain_next_round_time": "42 hours ago",
  "blockchain_next_round_timestamp": "2014-08-06T19:43:10",
  "blockchain_random_seed": "f205e0933b9053f74027ff78cb473d5f1ff02d2f",
  "client_data_dir": "/home/fabiux/.BitSharesXTS",
  "network_num_connections": 0,
  "network_num_connections_max": 200,
  "ntp_time": "2014-08-08T13:57:31",
  "ntp_time_error": -0.0095650000000000006,
  "wallet_open": false,
  "wallet_unlocked": null,
  "wallet_unlocked_until": null,
  "wallet_unlocked_until_timestamp": null,
  "wallet_scan_progress": null,
  "wallet_block_production_enabled": null,
  "wallet_next_block_production_time": null,
  "wallet_next_block_production_timestamp": null
}
wallet_account_set_approval spartako

Offline Riverhead

I think Bytemaster is fixing a couple bugs so there probably aren't many peers running.

Offline Harvey

  • Sr. Member
  • ****
  • Posts: 244
    • View Profile
I also have only one connection for a long time.
BTS       Witness:harvey-xts Seed:128.199.143.47:2015 API:wss://128.199.143.47:2016 
MUSE   Witness:harvey-xts Seed:128.199.143.47:2017 API:ws://128.199.143.47:2018

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
can someone share a node IP? mine is stuck with one connection that is 32 hours out of date
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

clout

  • Guest
Are other ppl having trouble publishing feeds. I get the following error:

Code: [Select]
default (unlocked) >>> wallet_publish_price_feed delegate1.clout 1 USD
10 assert_exception: Assert Exception
eval_state.check_signature( eval_state._current_state->get_account_record( feed.delegate_id )->active_key() ):
    {}
    th_a  feed_operations.cpp:9 evaluate

    {"op":{"type":"update_feed_op_type","data":{"feed":{"feed_id":22,"delegate_id":302},"value":{"ratio":"0.1","quote_asset_id":22,"base_asset_id":0}}}}
    th_a  operation_factory.hpp:52 evaluate

    {"trx":{"expiration":"20140808T045517","delegate_slate_id":null,"operations":[{"type":"update_feed_op_type","data":{"feed":{"feed_id":22,"delegate_id":302},"value":{"ratio":"0.1","quote_asset_id":22,"base_asset_id":0}}},{"type":"withdraw_op_type","data":{"balance_id":"XTS7DbUr7JgQmnCNBHzqeuSgUCqSb5rgGWBQ","amount":10000,"claim_input_data":""}}],"signatures":["2089f2192f02135e5ec530f09fad47895e547ab206df88aca56ddd420f57d9ab58222a9b25fd378aa8a6ca529c396014c50057220a0ae10e96e68d5ad7557f5bff"]}}
    th_a  transaction_evaluation_state.cpp:189 evaluate

    {"trx":{"expiration":"20140808T045517","delegate_slate_id":null,"operations":[{"type":"update_feed_op_type","data":{"feed":{"feed_id":22,"delegate_id":302},"value":{"ratio":"0.1","quote_asset_id":22,"base_asset_id":0}}},{"type":"withdraw_op_type","data":{"balance_id":"XTS7DbUr7JgQmnCNBHzqeuSgUCqSb5rgGWBQ","amount":10000,"claim_input_data":""}}],"signatures":["2089f2192f02135e5ec530f09fad47895e547ab206df88aca56ddd420f57d9ab58222a9b25fd378aa8a6ca529c396014c50057220a0ae10e96e68d5ad7557f5bff"]}}
    th_a  chain_database.cpp:1759 evaluate_transaction

    {"trx":{"expiration":"20140808T045517","delegate_slate_id":null,"operations":[{"type":"update_feed_op_type","data":{"feed":{"feed_id":22,"delegate_id":302},"value":{"ratio":"0.1","quote_asset_id":22,"base_asset_id":0}}},{"type":"withdraw_op_type","data":{"balance_id":"XTS7DbUr7JgQmnCNBHzqeuSgUCqSb5rgGWBQ","amount":10000,"claim_input_data":""}}],"signatures":["2089f2192f02135e5ec530f09fad47895e547ab206df88aca56ddd420f57d9ab58222a9b25fd378aa8a6ca529c396014c50057220a0ae10e96e68d5ad7557f5bff"]}}
    th_a  chain_database.cpp:2166 store_pending_transaction

    {}
    th_a  wallet.cpp:2228 sign_and_cache_transaction

    {"account_to_publish_under":"delegate1.clout","amount_per_xts":1,"amount_asset_symbol":"USD","sign":true}
    th_a  wallet.cpp:2633 publish_price

    {}
    th_a  common_api_client.cpp:1619 wallet_publish_price_feed

    {"command":"wallet_publish_price_feed"}
    th_a  cli.cpp:543 execute_command

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
Too bad all the good stuff happens when I'm in vacation. I wish I was at home to take a look on this. I'll test it when I have reliable internet. Btsx was released when I was at the seaside with no internet and on my birth day.

I am on vacations the next days too  :)
So I can understand you  ;)


PS BTW nice birthday gift! :D

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
There is a bug in the market, I put the restriction on the wrong side... I am crafting a more detailed post with what I have learned.
margin call never execute....
when the bid price is higher then 1.0, it should not execute margin call
when the price lower then 1.0, still not execute....

Code: [Select]
test (unlocked) >>> blockchain_market_order_book USD XTS                                                                                                       [37/1915]                  BIDS (* Short Order)                                       |                                   ASKS                                 

TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
990.0000 USD              1,000.00000 XTS                     0.99 USD / XTS | 0.66 USD / XTS                            1.00000 XTS                0.6600 USD
750.0000 USD              1,000.00000 XTS                     0.75 USD / XTS | 1. USD / XTS                              0.69712 XTS                0.6971 USD
5,015.8400 USD            7,520.00000 XTS                    0.667 USD / XTS | 1.1 USD / XTS                            20.00000 XTS               22.0000 USD
1,707.1770 USD            2,563.32895 XTS                    0.666 USD / XTS*| 2. USD / XTS                             68.05085 XTS              136.1017 USD
100.0000 USD              1,000.00000 XTS                      0.1 USD / XTS |
5.0000 USD                50,000.00000 XTS                  0.0001 USD / XTS |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             |                                   MARGIN                                 
                                                                             | CALL PRICE                                   QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
                                                                             | 1. USD / XTS                          4,745.27880 XTS            4,745.2788 USD   6,327.0
3840 XTS

Offline bytemaster

There is a bug in the market, I put the restriction on the wrong side... I am crafting a more detailed post with what I have learned.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline Riverhead

This probably is more to do with my lack of understanding of how the market works that a bug.  I'm trying to buy USD with XTS.  I either get Invalid market or, if I switch it around, insufficient funds (probably because I don't have any USD yet).

clout

  • Guest
Getting Invalid Market when trying to place an order that matches an Ask


Code: [Select]
default (unlocked) >>> wallet_market_submit_bid riverheadtest 20 USD 1.1 XTS
37001 invalid_market: invalid market


    {"quote_symbol":"XTS","quantity_symbol":"USD"}
    th_a  wallet.cpp:3746 submit_bid


    {"from_account_name":"riverheadtest","real_quantity":20,"quantity_symbol":"USD","quote_price":1.1000000000000001,"quote_symbol":"XTS","sign":true}
    th_a  wallet.cpp:3822 submit_bid


    {}
    th_a  common_api_client.cpp:1347 wallet_market_submit_bid


    {"command":"wallet_market_submit_bid"}
    th_a  cli.cpp:543 execute_command
default (unlocked) >>> blockchain_market_order_book


Code: [Select]

 1.1 USD / XTS                            20.00000 XTS               22.0000 USD


Code: [Select]

ACCOUNT                         BALANCE                     
============================================================
riverheadtest                   302,949.04312 XTS     

other way around

Offline Riverhead

Getting Invalid Market when trying to place an order that matches an Ask


Code: [Select]
default (unlocked) >>> wallet_market_submit_bid riverheadtest 20 USD 1.1 XTS
37001 invalid_market: invalid market


    {"quote_symbol":"XTS","quantity_symbol":"USD"}
    th_a  wallet.cpp:3746 submit_bid


    {"from_account_name":"riverheadtest","real_quantity":20,"quantity_symbol":"USD","quote_price":1.1000000000000001,"quote_symbol":"XTS","sign":true}
    th_a  wallet.cpp:3822 submit_bid


    {}
    th_a  common_api_client.cpp:1347 wallet_market_submit_bid


    {"command":"wallet_market_submit_bid"}
    th_a  cli.cpp:543 execute_command
default (unlocked) >>> blockchain_market_order_book


Code: [Select]

 1.1 USD / XTS                            20.00000 XTS               22.0000 USD


Code: [Select]

ACCOUNT                         BALANCE                     
============================================================
riverheadtest                   302,949.04312 XTS     

Offline Webber

  • Sr. Member
  • ****
  • Posts: 223
    • View Profile
Can someone explain the difference between bids\asks order and cover\shorts order ? I'm confused it.
Bitshares2.0 witness node:delegate.webber
Bitshares2.0 API:ws://114.215.116.57:8090

Offline testz

This dry run uses a new genesis block using a snapshot of the AGS and PTS chains from July 18th which was the last day of AGS donations. We need to verify this genesis snapshot. Everyone please check your genesis balances and see if they are the expected amount.

AGS looks fine, how you scale PTS balances?

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
Too bad all the good stuff happens when I'm in vacation. I wish I was at home to take a look on this. I'll test it when I have reliable internet. Btsx was released when I was at the seaside with no internet and on my birth day.