Author Topic: October 5 Test Network  (Read 174357 times)

0 Members and 1 Guest are viewing this topic.

Offline rnglab

  • Full Member
  • ***
  • Posts: 171
    • View Profile
  • BitShares: rnglab

Is @triox running the webwallet node? he is the only witness on that chain.  Stuck ~2000 blocks behind so far

I'm not running it.

I'm back on the main chain now.

Thanks for the fast answer. Could you share your log? It might help as it seems that only you and the wallet node gone into that fork. did you have to replay or resync blockchain or it just recovered alone? on what commit are you running your witness?

Your post was the first thing I saw after waking up, so thanks : ) 
I recovered by - first - springing out of bed, then deleting the blockchain folder and starting with --replay-blockchain.
I'm on
Code: [Select]
git describe --tags
test6-30-g7fe0e64
Code: [Select]
commit 7fe0e64a5e38df88c5dea32ae35f371e5c425010
Author: Eric Frias <efrias@syncad.com>
Date:   Fri Oct 9 11:42:56 2015 -0400

Tell me what to look for in the logs.

You are 11 commits behind last master. Can't say if that's related with your witness not recovering from a fork.

You can look inside your datadir/logs/p2p/p2p.log.20151010T040000
maybe searching for block 120718 can help to see if there's a relation, that's where the webwallet node got stuck.

Or see if there's any error message near 2015-10-10T04:24:15

I still understand just a fraction of what logs say but this might help devs to debug this issue.


Offline triox

  • Full Member
  • ***
  • Posts: 170
    • View Profile
  • BitShares: triox

Is @triox running the webwallet node? he is the only witness on that chain.  Stuck ~2000 blocks behind so far

I'm not running it.

I'm back on the main chain now.

Thanks for the fast answer. Could you share your log? It might help as it seems that only you and the wallet node gone into that fork. did you have to replay or resync blockchain or it just recovered alone? on what commit are you running your witness?

Your post was the first thing I saw after waking up, so thanks : ) 
I recovered by - first - springing out of bed, then deleting the blockchain folder and starting with --replay-blockchain.
I'm on
Code: [Select]
git describe --tags
test6-30-g7fe0e64
Code: [Select]
commit 7fe0e64a5e38df88c5dea32ae35f371e5c425010
Author: Eric Frias <efrias@syncad.com>
Date:   Fri Oct 9 11:42:56 2015 -0400

Tell me what to look for in the logs.

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
wallet message (if you don't know already)

https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline rnglab

  • Full Member
  • ***
  • Posts: 171
    • View Profile
  • BitShares: rnglab

Is @triox running the webwallet node? he is the only witness on that chain.  Stuck ~2000 blocks behind so far

I'm not running it.

I'm back on the main chain now.

Thanks for the fast answer. Could you share your log? It might help as it seems that only you and the wallet node gone into that fork. did you have to replay or resync blockchain or it just recovered alone? on what commit are you running your witness?
« Last Edit: October 10, 2015, 06:41:52 am by rnglab »

Offline triox

  • Full Member
  • ***
  • Posts: 170
    • View Profile
  • BitShares: triox

Is @triox running the webwallet node? he is the only witness on that chain.  Stuck ~2000 blocks behind so far

I'm not running it.

I'm back on the main chain now.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Seema more work needs to be spend for the feed script ..

Btw .. the current master does require manual confirmation of the feed prices .. hence you cant put it unto a cronjob

Offline rnglab

  • Full Member
  • ***
  • Posts: 171
    • View Profile
  • BitShares: rnglab

The price ratio of either the settlement price or the core exchange rate is inverted.   In effect what is going on is this:

Settlement price:    X  USD / CORE 
Core Exchange Rate:  Y CORE / USD

The requirement enforced by the transaction is that both prices must be in the same orientation.

Based on your feedback, I made some workaround changes to xeroc's script pricefeeds.py (until he is back to fix the script) and it seems to work.

Witnesses, please try out the changes and see if they work for you.

Code: [Select]
line 478:

  #availableAssets = [ core_symbol, "BTC" ]
  #for coin in availableAssets :
  # if float(result[coin.lower()+"cny"]["ticker"]["last"]) < config.minValidAssetPrice:
  #  print("Unreliable results from yunbi for %s"%(coin))
  #  continue
  # price["CNY"][ coin ].append(float(result[coin.lower()+"cny"]["ticker"]["last"]))
  # volume["CNY"][ coin ].append(float(result[coin.lower()+"cny"]["ticker"]["vol"])*config.yunbi_trust_level)

line 415: disable all exchanges except yunbi and poloniex.  BTW, btc38 is returning a 'failed' message.

 #mythreads["yahoo"]    = threading.Thread(target = fetch_from_yahoo)
 mythreads["yunbi"]    = threading.Thread(target = fetch_from_yunbi)
 #mythreads["btc38"]    = threading.Thread(target = fetch_from_btc38)
 #mythreads["bter"]     = threading.Thread(target = fetch_from_bter)
 mythreads["poloniex"] = threading.Thread(target = fetch_from_poloniex)
 #mythreads["bittrex"]  = threading.Thread(target = fetch_from_bittrex)
 #mythreads["btcavg"]   = threading.Thread(target = fetch_bitcoinaverage)

line 362: enables only USD and BTC

 #_all_bts_assets = ["CNY", "BTC", "EUR", "USD"]
 _all_bts_assets = ["USD", "BTC"]
 #_bases =["CNY", "USD", "BTC", "EUR"]
 _bases =["USD", "BTC"]
 #_yahoo_base  = ["USD","EUR", "CNY"]
 _yahoo_base  = ["USD", "BTC"]
 #_yahoo_quote = ["USD","EUR", "CNY"]
 _yahoo_quote = ["USD", "BTC"]


Edit: The Graphene webwallet node (graphene.bitshares.org) seems to be in a fork.

thank you for the update cube, I'll test it in a while. Indeed webwallet node seems to be in a fork.

Is @triox running the webwallet node? he is the only witness on that chain.  Stuck ~2000 blocks behind so far
« Last Edit: October 10, 2015, 06:06:36 am by rnglab »

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube

The price ratio of either the settlement price or the core exchange rate is inverted.   In effect what is going on is this:

Settlement price:    X  USD / CORE 
Core Exchange Rate:  Y CORE / USD

The requirement enforced by the transaction is that both prices must be in the same orientation.

Based on your feedback, I made some workaround changes to xeroc's script pricefeeds.py (until he is back to fix the script) and it seems to work.

Witnesses, please try out the changes and see if they work for you.

Code: [Select]
line 478:

  #availableAssets = [ core_symbol, "BTC" ]
  #for coin in availableAssets :
  # if float(result[coin.lower()+"cny"]["ticker"]["last"]) < config.minValidAssetPrice:
  #  print("Unreliable results from yunbi for %s"%(coin))
  #  continue
  # price["CNY"][ coin ].append(float(result[coin.lower()+"cny"]["ticker"]["last"]))
  # volume["CNY"][ coin ].append(float(result[coin.lower()+"cny"]["ticker"]["vol"])*config.yunbi_trust_level)

line 415: disable all exchanges except yunbi and poloniex.  BTW, btc38 is returning a 'failed' message.

 #mythreads["yahoo"]    = threading.Thread(target = fetch_from_yahoo)
 mythreads["yunbi"]    = threading.Thread(target = fetch_from_yunbi)
 #mythreads["btc38"]    = threading.Thread(target = fetch_from_btc38)
 #mythreads["bter"]     = threading.Thread(target = fetch_from_bter)
 mythreads["poloniex"] = threading.Thread(target = fetch_from_poloniex)
 #mythreads["bittrex"]  = threading.Thread(target = fetch_from_bittrex)
 #mythreads["btcavg"]   = threading.Thread(target = fetch_bitcoinaverage)

line 362: enables only USD and BTC

 #_all_bts_assets = ["CNY", "BTC", "EUR", "USD"]
 _all_bts_assets = ["USD", "BTC"]
 #_bases =["CNY", "USD", "BTC", "EUR"]
 _bases =["USD", "BTC"]
 #_yahoo_base  = ["USD","EUR", "CNY"]
 _yahoo_base  = ["USD", "BTC"]
 #_yahoo_quote = ["USD","EUR", "CNY"]
 _yahoo_quote = ["USD", "BTC"]


Edit: The Graphene webwallet node (graphene.bitshares.org) seems to be in a fork.

« Last Edit: October 10, 2015, 05:38:33 am by cube »
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline bytemaster

After updating I still get the same error publishing feeds:

Code: [Select]
1205725ms th_a       wallet.cpp:1719               sign_transaction     ] Caught exception while broadcasting tx 5656846e0b9426246f4a21fee5e79ceca9941f0a:  0 exception: unspecified
10 assert_exception: Assert Exception
o.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id:
    {}
    th_a  asset_evaluator.cpp:599 do_evaluate

    {"o":{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.67704","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":3606173,"asset_id":"1.3.285"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":1000000000,"asset_id":"1.3.0"},"quote":{"amount":3606173,"asset_id":"1.3.285"}}},"extensions":[]}}
    th_a  asset_evaluator.cpp:623 do_evaluate

    {}
    th_a  evaluator.cpp:42 start_evaluate

    {}
    th_a  db_block.cpp:629 apply_operation

    {"trx":{"ref_block_num":53953,"ref_block_prefix":773159248,"expiration":"2015-10-10T03:20:33","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.67704","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":3606173,"asset_id":"1.3.285"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":1000000000,"asset_id":"1.3.0"},"quote":{"amount":3606173,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":[" [.......]

The price ratio of either the settlement price or the core exchange rate is inverted.   In effect what is going on is this:

Settlement price:    X  USD / CORE 
Core Exchange Rate:  Y CORE / USD

The requirement enforced by the transaction is that both prices must be in the same orientation.
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 clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
I'm unable to publish price feed too.
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline roadscape

After updating I still get the same error publishing feeds:

Code: [Select]
1205725ms th_a       wallet.cpp:1719               sign_transaction     ] Caught exception while broadcasting tx 5656846e0b9426246f4a21fee5e79ceca9941f0a:  0 exception: unspecified
10 assert_exception: Assert Exception
o.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id:
    {}
    th_a  asset_evaluator.cpp:599 do_evaluate

    {"o":{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.67704","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":3606173,"asset_id":"1.3.285"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":1000000000,"asset_id":"1.3.0"},"quote":{"amount":3606173,"asset_id":"1.3.285"}}},"extensions":[]}}
    th_a  asset_evaluator.cpp:623 do_evaluate

    {}
    th_a  evaluator.cpp:42 start_evaluate

    {}
    th_a  db_block.cpp:629 apply_operation

    {"trx":{"ref_block_num":53953,"ref_block_prefix":773159248,"expiration":"2015-10-10T03:20:33","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.67704","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":3606173,"asset_id":"1.3.285"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":1000000000,"asset_id":"1.3.0"},"quote":{"amount":3606173,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":[" [.......]
http://cryptofresh.com  |  witness: roadscape

Offline Bhuz

  • Committee member
  • Sr. Member
  • *
  • Posts: 467
    • View Profile
  • BitShares: bhuz

@Spectral @Bhuz

If you guys are having trouble publishing feeds, could you update to latest master and try again?  I made the error message you're getting more informative.

Done

Code: [Select]
2081915ms th_a       wallet.cpp:1719               sign_transaction     ] Caught exception while broadcasting tx 33ab1b89f6e9e2ccfbf31cc48cd49d18ece1bc90:  0 exception: unspecified
10 assert_exception: Assert Exception
o.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id:
    {}
    th_a  asset_evaluator.cpp:599 do_evaluate

    {"o":{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.7174","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":353,"asset_id":"1.3.285"},"quote":{"amount":96703,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":101538,"asset_id":"1.3.0"},"quote":{"amount":353,"asset_id":"1.3.285"}}},"extensions":[]}}
    th_a  asset_evaluator.cpp:623 do_evaluate

    {}
    th_a  evaluator.cpp:42 start_evaluate

    {}
    th_a  db_block.cpp:629 apply_operation

    {"trx":{"ref_block_num":53074,"ref_block_prefix":2214551896,"expiration":"2015-10-10T02:35:09","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.7174","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":353,"asset_id":"1.3.285"},"quote":{"amount":96703,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":101538,"asset_id":"1.3.0"},"quote":{"amount":353,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":["203cee9971e3ecbcbcb53cf0a31b00a0c10d81efc54f1ee9fa26407de9c08f868e739669a7c6342673284a11a75e147bc2900e2c6e93e82fba3316c70337e9ec42"]}}
    th_a  db_block.cpp:612 _apply_transaction

    {"trx":{"ref_block_num":53074,"ref_block_prefix":2214551896,"expiration":"2015-10-10T02:35:09","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.7174","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":353,"asset_id":"1.3.285"},"quote":{"amount":96703,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":101538,"asset_id":"1.3.0"},"quote":{"amount":353,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":["203cee9971e3ecbcbcb53cf0a31b00a0c10d81efc54f1ee9fa26407de9c08f868e739669a7c6342673284a11a75e147bc2900e2c6e93e82fba3316c70337e9ec42"]}}
    th_a  db_block.cpp:216 push_transaction
    {"error":"10 assert_exception: Assert Exception\no.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id: \n    {}\n    th_a  asset_evaluator.cpp:599 do_evaluate\n\n    {\"o\":{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":\"1.2.7174\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":353,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":96703,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":101538,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":353,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}}\n    th_a  asset_evaluator.cpp:623 do_evaluate\n\n    {}\n    th_a  evaluator.cpp:42 start_evaluate\n\n    {}\n    th_a  db_block.cpp:629 apply_operation\n\n    {\"trx\":{\"ref_block_num\":53074,\"ref_block_prefix\":2214551896,\"expiration\":\"2015-10-10T02:35:09\",\"operations\":[[19,{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":\"1.2.7174\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":353,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":96703,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":101538,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":353,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}]],\"extensions\":[],\"signatures\":[\"203cee9971e3ecbcbcb53cf0a31b00a0c10d81efc54f1ee9fa26407de9c08f868e739669a7c6342673284a11a75e147bc2900e2c6e93e82fba3316c70337e9ec42\"]}}\n    th_a  db_block.cpp:612 _apply_transaction\n\n    {\"trx\":{\"ref_block_num\":53074,\"ref_block_prefix\":2214551896,\"expiration\":\"2015-10-10T02:35:09\",\"operations\":[[19,{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":\"1.2.7174\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":353,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":96703,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":101538,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":353,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}]],\"extensions\":[],\"signatures\":[\"203cee9971e3ecbcbcb53cf0a31b00a0c10d81efc54f1ee9fa26407de9c08f868e739669a7c6342673284a11a75e147bc2900e2c6e93e82fba3316c70337e9ec42\"]}}\n    th_a  db_block.cpp:216 push_transaction","data":{"id":42,"error":{"code":1,"message":"10 assert_exception: Assert Exception\no.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id: \n    {}\n    th_a  asset_evaluator.cpp:599 do_evaluate\n\n    {\"o\":{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":\"1.2.7174\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":353,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":96703,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":101538,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":353,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}}\n    th_a  asset_evaluator.cpp:623 do_evaluate\n\n    {}\n    th_a  evaluator.cpp:42 start_evaluate\n\n    {}\n    th_a  db_block.cpp:629 apply_operation\n\n    {\"trx\":{\"ref_block_num\":53074,\"ref_block_prefix\":2214551896,\"expiration\":\"2015-10-10T02:35:09\",\"operations\":[[19,{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":\"1.2.7174\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":353,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":96703,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":101538,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":353,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}]],\"extensions\":[],\"signatures\":[\"203cee9971e3ecbcbcb53cf0a31b00a0c10d81efc54f1ee9fa26407de9c08f868e739669a7c6342673284a11a75e147bc2900e2c6e93e82fba3316c70337e9ec42\"]}}\n    th_a  db_block.cpp:612 _apply_transaction\n\n    {\"trx\":{\"ref_block_num\":53074,\"ref_block_prefix\":2214551896,\"expiration\":\"2015-10-10T02:35:09\",\"operations\":[[19,{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":\"1.2.7174\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":353,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":96703,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":101538,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":353,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}]],\"extensions\":[],\"signatures\":[\"203cee9971e3ecbcbcb53cf0a31b00a0c10d81efc54f1ee9fa26407de9c08f868e739669a7c6342673284a11a75e147bc2900e2c6e93e82fba3316c70337e9ec42\"]}}\n    th_a  db_block.cpp:216 push_transaction","data":{"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"asset_evaluator.cpp","line":599,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2015-10-10T02:34:41"},"format":"o.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id: ","data":{}},{"context":{"level":"warn","file":"asset_evaluator.cpp","line":623,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2015-10-10T02:34:41"},"format":"","data":{"o":{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.7174","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":353,"asset_id":"1.3.285"},"quote":{"amount":96703,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":101538,"asset_id":"1.3.0"},"quote":{"amount":353,"asset_id":"1.3.285"}}},"extensions":[]}}},{"context":{"level":"warn","file":"evaluator.cpp","line":42,"method":"start_evaluate","hostname":"","thread_name":"th_a","timestamp":"2015-10-10T02:34:41"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":629,"method":"apply_operation","hostname":"","thread_name":"th_a","timestamp":"2015-10-10T02:34:41"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":612,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-10-10T02:34:41"},"format":"","data":{"trx":{"ref_block_num":53074,"ref_block_prefix":2214551896,"expiration":"2015-10-10T02:35:09","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.7174","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":353,"asset_id":"1.3.285"},"quote":{"amount":96703,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":101538,"asset_id":"1.3.0"},"quote":{"amount":353,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":["203cee9971e3ecbcbcb53cf0a31b00a0c10d81efc54f1ee9fa26407de9c08f868e739669a7c6342673284a11a75e147bc2900e2c6e93e82fba3316c70337e9ec42"]}}},{"context":{"level":"warn","file":"db_block.cpp","line":216,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-10-10T02:34:41"},"format":"","data":{"trx":{"ref_block_num":53074,"ref_block_prefix":2214551896,"expiration":"2015-10-10T02:35:09","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.7174","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":353,"asset_id":"1.3.285"},"quote":{"amount":96703,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":101538,"asset_id":"1.3.0"},"quote":{"amount":353,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":["203cee9971e3ecbcbcb53cf0a31b00a0c10d81efc54f1ee9fa26407de9c08f868e739669a7c6342673284a11a75e147bc2900e2c6e93e82fba3316c70337e9ec42"]}}}]}}}}
    th_a  state.cpp:38 handle_reply

Offline Spectral


@Spectral @Bhuz

If you guys are having trouble publishing feeds, could you update to latest master and try again?  I made the error message you're getting more informative.

done.

Code: [Select]
$ git describe --tags
test6-41-g837e4f2


I tried running the price feed script again, and the cli_wallet produced the following output:

Code: [Select]
2595660ms th_a       wallet.cpp:1719               sign_transaction     ] Caught exception while broadcasting tx 53a3e9f8dc2e0205e20eafd845d7f6022575b0bc:  0 exception: unspecified
10 assert_exception: Assert Exception
o.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id:
    {}
    th_a  asset_evaluator.cpp:599 do_evaluate

    {"o":{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.73210","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":86,"asset_id":"1.3.285"},"quote":{"amount":23547,"asset_id":"
1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":24724,"asset_id":"1.3.0"},"quote":{"amount":86,"asset_id":"1.3.285"}}},"extensions":[
]}}
    th_a  asset_evaluator.cpp:623 do_evaluate

    {}
    th_a  evaluator.cpp:42 start_evaluate

    {}
    th_a  db_block.cpp:629 apply_operation

    {"trx":{"ref_block_num":48609,"ref_block_prefix":3433226527,"expiration":"2015-10-09T22:43:42","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.73210","asset_id":"1.3.285
","feed":{"settlement_price":{"base":{"amount":86,"asset_id":"1.3.285"},"quote":{"amount":23547,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_r
ate":{"base":{"amount":24724,"asset_id":"1.3.0"},"quote":{"amount":86,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":["205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c35
9e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744"]}}
    th_a  db_block.cpp:612 _apply_transaction

    {"trx":{"ref_block_num":48609,"ref_block_prefix":3433226527,"expiration":"2015-10-09T22:43:42","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.73210","asset_id":"1.3.285
","feed":{"settlement_price":{"base":{"amount":86,"asset_id":"1.3.285"},"quote":{"amount":23547,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_r
ate":{"base":{"amount":24724,"asset_id":"1.3.0"},"quote":{"amount":86,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":["205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c35
9e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744"]}}
    th_a  db_block.cpp:216 push_transaction
    {"error":"10 assert_exception: Assert Exception\no.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id: \n    {}\n    th_a  asset_evaluator.cpp:599 do_evaluate\n\n    {\"o\"
:{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":\"1.2.73210\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":86,\"asset_id\":\"1.3.285\"},\"quote\":{\"amo
unt\":23547,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":24724,\"asset_id\":\"1.3.0\"},\"quote\":{\"amou
nt\":86,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}}\n    th_a  asset_evaluator.cpp:623 do_evaluate\n\n    {}\n    th_a  evaluator.cpp:42 start_evaluate\n\n    {}\n    th_a  db_block.cpp:629 apply_oper
ation\n\n    {\"trx\":{\"ref_block_num\":48609,\"ref_block_prefix\":3433226527,\"expiration\":\"2015-10-09T22:43:42\",\"operations\":[[19,{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":
\"1.2.73210\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":86,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":23547,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio
\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":24724,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":86,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}]],\"extensio
ns\":[],\"signatures\":[\"205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c359e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744\"]}}\n    th_a  db_block.cpp:612 _apply_transac
tion\n\n    {\"trx\":{\"ref_block_num\":48609,\"ref_block_prefix\":3433226527,\"expiration\":\"2015-10-09T22:43:42\",\"operations\":[[19,{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":\
"1.2.73210\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":86,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":23547,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio\
":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":24724,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":86,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}]],\"extension
s\":[],\"signatures\":[\"205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c359e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744\"]}}\n    th_a  db_block.cpp:216 push_transactio
n","data":{"id":30,"error":{"code":1,"message":"10 assert_exception: Assert Exception\no.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id: \n    {}\n    th_a  asset_evaluator
.cpp:599 do_evaluate\n\n    {\"o\":{\"fee\":{\"amount\":100000,\"asset_id\":\"1.3.0\"},\"publisher\":\"1.2.73210\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":86,\"asset_
id\":\"1.3.285\"},\"quote\":{\"amount\":23547,\"asset_id\":\"1.3.0\"}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":24724,\"asset
_id\":\"1.3.0\"},\"quote\":{\"amount\":86,\"asset_id\":\"1.3.285\"}}},\"extensions\":[]}}\n    th_a  asset_evaluator.cpp:623 do_evaluate\n\n    {}\n    th_a  evaluator.cpp:42 start_evaluate\n\n    {}\n
 th_a  db_block.cpp:629 apply_operation\n\n    {\"trx\":{\"ref_block_num\":48609,\"ref_block_prefix\":3433226527,\"expiration\":\"2015-10-09T22:43:42\",\"operations\":[[19,{\"fee\":{\"amount\":100000,\"as
set_id\":\"1.3.0\"},\"publisher\":\"1.2.73210\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":86,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":23547,\"asset_id\":\"1.3.0\
"}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":24724,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":86,\"asset_id\":\"1.3.285\"}
}},\"extensions\":[]}]],\"extensions\":[],\"signatures\":[\"205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c359e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744\"]}}\n    th_
a  db_block.cpp:612 _apply_transaction\n\n    {\"trx\":{\"ref_block_num\":48609,\"ref_block_prefix\":3433226527,\"expiration\":\"2015-10-09T22:43:42\",\"operations\":[[19,{\"fee\":{\"amount\":100000,\"ass
et_id\":\"1.3.0\"},\"publisher\":\"1.2.73210\",\"asset_id\":\"1.3.285\",\"feed\":{\"settlement_price\":{\"base\":{\"amount\":86,\"asset_id\":\"1.3.285\"},\"quote\":{\"amount\":23547,\"asset_id\":\"1.3.0\"
}},\"maintenance_collateral_ratio\":1750,\"maximum_short_squeeze_ratio\":1500,\"core_exchange_rate\":{\"base\":{\"amount\":24724,\"asset_id\":\"1.3.0\"},\"quote\":{\"amount\":86,\"asset_id\":\"1.3.285\"}}
},\"extensions\":[]}]],\"extensions\":[],\"signatures\":[\"205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c359e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744\"]}}\n    th_a
  db_block.cpp:216 push_transaction","data":{"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"asset_evaluator.cpp","line":599,"method":"do_eval
uate","hostname":"","thread_name":"th_a","timestamp":"2015-10-09T22:43:15"},"format":"o.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id: ","data":{}},{"context":{"level":"wa
rn","file":"asset_evaluator.cpp","line":623,"method":"do_evaluate","hostname":"","thread_name":"th_a","timestamp":"2015-10-09T22:43:15"},"format":"","data":{"o":{"fee":{"amount":100000,"asset_id":"1.3.0"}
,"publisher":"1.2.73210","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":86,"asset_id":"1.3.285"},"quote":{"amount":23547,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximu
m_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":24724,"asset_id":"1.3.0"},"quote":{"amount":86,"asset_id":"1.3.285"}}},"extensions":[]}}},{"context":{"level":"warn","file":"evaluator.cp
p","line":42,"method":"start_evaluate","hostname":"","thread_name":"th_a","timestamp":"2015-10-09T22:43:15"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":629,"method":"ap
ply_operation","hostname":"","thread_name":"th_a","timestamp":"2015-10-09T22:43:15"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":612,"method":"_apply_transaction","hostn
ame":"","thread_name":"th_a","timestamp":"2015-10-09T22:43:15"},"format":"","data":{"trx":{"ref_block_num":48609,"ref_block_prefix":3433226527,"expiration":"2015-10-09T22:43:42","operations":[[19,{"fee":{
"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.73210","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":86,"asset_id":"1.3.285"},"quote":{"amount":23547,"asset_id":"1.3.0"}},"mainten
ance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":24724,"asset_id":"1.3.0"},"quote":{"amount":86,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions"
:[],"signatures":["205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c359e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744"]}}},{"context":{"level":"warn","file":"db_block.cpp",
"line":216,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-10-09T22:43:15"},"format":"","data":{"trx":{"ref_block_num":48609,"ref_block_prefix":3433226527,"expiration":"20
15-10-09T22:43:42","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.73210","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":86,"asset_id":"1.3.285"},"quote":
{"amount":23547,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":24724,"asset_id":"1.3.0"},"quote":{"amount":86,"asset_id"
:"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":["205c37c634a4e49c5d6a8e6cb47b00a51e9bd97df56cae1c96d92a1c2c359e05881989c26aa7e5494620202f5c478fb12d7260b16ea932f3b0ff6bcf5450bba744"]}}}]}}}}
    th_a  state.cpp:38 handle_reply

I'm also still having some strange problem with the transaction memos not decrypting. Output from the get_account_history command:

Code: [Select]
2989476ms th_a       wallet.cpp:2323               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k not in this wallet.
    {"k":"GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k"}
    th_a  wallet.cpp:2316 operator()
2989495ms th_a       wallet.cpp:2323               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw not in this wallet.
    {"k":"GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw"}
    th_a  wallet.cpp:2316 operator()
2990094ms th_a       wallet.cpp:2323               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k not in this wallet.
    {"k":"GPH8jnprUyAGGJ4M2HGD1kKNN5NgE85anQEdsvrFpLX4nvQ4CxA2k"}
    th_a  wallet.cpp:2316 operator()
2990122ms th_a       wallet.cpp:2323               operator()           ] Error when decrypting memo: 10 assert_exception: Assert Exception
wallet._keys.count(op.memo->to): Memo is encrypted to a key GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw not in this wallet.
    {"k":"GPH7B4bszRYW5SKGFUKuM6ta95MUR81ZsjUTyxLAn4Pezu5Ck9xsw"}
    th_a  wallet.cpp:2316 operator()
wallet is unlocked.
« Last Edit: October 09, 2015, 11:01:19 pm by Spectral »
Vote for BTS-2 witness: spectral (1.6.30)
0.9 DVS delegate: dvs1.bitspace
Stay tuned for bitspace-clains worker!

Offline svk

Would you guys mind doing some trading in the USD/CORE market? We have price history charts working now but the data is a bit sparse, would like some more to evaluate the charts.
Worker: dev.bitsharesblocks

Offline roadscape

Ok, disk space wasn't the issue.. I'm getting the following when I try to publish feeds:

Code: [Select]
grapheneapi.grapheneapi.RPCError: 0 exception: unspecified
10 assert_exception: Assert Exception
o.feed.settlement_price.base.asset_id == o.feed.core_exchange_rate.base.asset_id:
    {}
    th_a  asset_evaluator.cpp:590 do_evaluate

    {"o":{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.67704","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":3596211,"asset_id":"1.3.285"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":1000000000,"asset_id":"1.3.0"},"quote":{"amount":3596211,"asset_id":"1.3.285"}}},"extensions":[]}}
    th_a  asset_evaluator.cpp:610 do_evaluate

    {}
    th_a  evaluator.cpp:42 start_evaluate

    {}
    th_a  db_block.cpp:628 apply_operation

    {"trx":{"ref_block_num":48293,"ref_block_prefix":2029125297,"expiration":"2015-10-09T22:26:39","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.67704","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":3596211,"asset_id":"1.3.285"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":1000000000,"asset_id":"1.3.0"},"quote":{"amount":3596211,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures [........]

Updating to master.. my last build was about 20 hours ago
http://cryptofresh.com  |  witness: roadscape