Author Topic: BitShares 0.9.0-RC1 Feedback  (Read 13763 times)

0 Members and 1 Guest are viewing this topic.

Offline monsterer

It looks like you have a local account or contact in your wallet named gatewayclient with different keys compared to the gatewayclient registered on the blockchain. You might have to use `wallet_account_rename` or `wallet_add_contact` to rename the local entry.

Hmmm, that's very odd. I do appear to have an unregistered account with that name, but I cannot rename it:

Code: [Select]
default (unlocked) >>> wallet_rename_account gatewayclient oisdjfosfjsf
20032 key_already_registered: key belongs to other account

or retract it:

Code: [Select]
default (unlocked) >>> wallet_account_retract gatewayclient monsterer
20025 duplicate_account_name: duplicate account name

    {"*local_account":{"index":190,"id":0,"name":"gatewayclient","public_data":null,"owner_key":"BTS
6hySPYfrGHLELX6TML6d8stR5wMdsoZyXPmJcBSiwHL31xaskB","active_key_history":[["2015-01-12T08:58:01","BT
S6hySPYfrGHLELX6TML6d8stR5wMdsoZyXPmJcBSiwHL31xaskB"]],"registration_date":"1970-01-01T00:00:00","la
st_update":"2015-01-12T08:58:01","last_child_key_index":0,"block_production_enabled":false,"custom_d
ata":{},"approved":0},"*chain_account":{"id":32380,"name":"gatewayclient","public_data":null,"owner_
key":"BTS5AfzawTGh4gmoDBmxgBgAn38UeiDLy2e8VdB6dgn6n3iE2SzHq","active_key_history":[["2015-01-14T08:4
5:50","BTS6hySPYfrGHLELX6TML6d8stR5wMdsoZyXPmJcBSiwHL31xaskB"],["2015-01-15T20:53:00","BTS5zU8LZUVPT
DV262RrNGoHHkyi7UCSj6t98e45z7YXeLaNN7r4H"]],"registration_date":"2015-01-14T08:45:50","last_update":
"2015-01-15T20:53:00","meta_data":{"type":"titan_account","data":""}}}
    th_a  wallet.cpp:1332 bts::wallet::wallet::get_account

    {"account_name":"gatewayclient"}
    th_a  wallet.cpp:1345 bts::wallet::wallet::get_account

    {"account_to_retract":"gatewayclient","pay_from_account":"monsterer","sign":true}
    th_a  wallet.cpp:3451 bts::wallet::wallet::retract_account

    {}
    th_a  common_api_client.cpp:6310 bts::rpc_stubs::common_api_client::wallet_account_retract

    {"command":"wallet_account_retract"}
    th_a  cli.cpp:626 bts::cli::detail::cli_impl::execute_command

What can I do?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BitShares: speedy
Well 0.9.0 is replaying the blockchain for the last 20 minutes (at 65% now). I had hoped the db changes would alleviate this.

Offline vikram

Code: [Select]
{\"jsonrpc\":\"2\",\"id\":1,\"method\":\"wallet_transfer\",\"params\":[\"0.0242\",\"USD\",\"gatewaytest\",\"gatewayclient\",\"mX: buy USD\",\"vote_recommended\"]}
Results in this error:

Quote
      result   "{\"id\":1,\"error\":{\"message\":\"duplicate account name (20025)\\n\\n\\n\\n\\n\\n\",\"detail\":\"20025 duplicate_account_name: duplicate account name\\n\\n    {\\\"*recipient_account\\\":{\\\"index\\\":190,\\\"id\\\":0,\\\"name\\\":\\\"gatewayclient\\\",\\\"public_data\\\":null,\\\"owner_key\\\":\\\"BTS6hySPYfrGHLELX6TML6d8stR5wMdsoZyXPmJcBSiwHL31xaskB\\\",\\\"active_key_history\\\":[[\\\"2015-01-12T08:58:01\\\",\\\"BTS6hySPYfrGHLELX6TML6d8stR5wMdsoZyXPmJcBSiwHL31xaskB\\\"]],\\\"registration_date\\\":\\\"1970-01-01T00:00:00\\\",\\\"last_update\\\":\\\"2015-01-12T08:58:01\\\",\\\"last_child_key_index\\\":0,\\\"block_production_enabled\\\":false,\\\"custom_data\\\":{},\\\"approved\\\":0},\\\"*registered_recipient_account\\\":{\\\"id\\\":32380,\\\"name\\\":\\\"gatewayclient\\\",\\\"public_data\\\":null,\\\"owner_key\\\":\\\"BTS5AfzawTGh4gmoDBmxgBgAn38UeiDLy2e8VdB6dgn6n3iE2SzHq\\\",\\\"active_key_history\\\":[[\\\"2015-01-14T08:45:50\\\",\\\"BTS6hySPYfrGHLELX6TML6d8stR5wMdsoZyXPmJcBSiwHL31xaskB\\\"],[\\\"2015-01-15T20:53:00\\\",\\\"BTS5zU8LZUVPTDV262RrNGoHHkyi7UCSj6t98e45z7YXeLaNN7r4H\\\"]],\\\"registration_date\\\":\\\"2015-01-14T08:45:50\\\",\\\"last_update\\\":\\\"2015-01-15T20:53:00\\\",\\\"meta_data\\\":{\\\"type\\\":\\\"titan_account\\\",\\\"data\\\":\\\"\\\"}}}\\n    th_a  wallet.cpp:146 bts::wallet::detail::wallet_impl::deposit_from_transaction\\n\\n    {\\\"transaction\\\":{\\\"expiration\\\":\\\"2015-04-21T15:37:43\\\",\\\"operations\\\":[{\\\"type\\\":\\\"withdraw_op_type\\\",\\\"data\\\":{\\\"balance_id\\\":\\\"BTS2omvvwP4A5cpxmT9K9WCm4YpaSewDaXXA\\\",\\\"amount\\\":13,\\\"claim_input_data\\\":\\\"\\\"}},{\\\"type\\\":\\\"withdraw_op_type\\\",\\\"data\\\":{\\\"balance_id\\\":\\\"BTSEUzXxEeuKR6eLTWBexdQqcnRxG6XVeBo7\\\",\\\"amount\\\":242,\\\"claim_input_data\\\":\\\"\\\"}}],\\\"signatures\\\":[]},\\\"amount\\\":{\\\"amount\\\":242,\\\"asset_id\\\":22},\\\"sender\\\":{\\\"index\\\":128,\\\"id\\\":32192,\\\"name\\\":\\\"gatewaytest\\\",\\\"public_data\\\":{\\\"gui_data\\\":{\\\"website\\\":\\\"\\\"}},\\\"owner_key\\\":\\\"BTS5dvyrpghWB9vmcZtcJVWJtYhLCQ4S8ptriskuLv45Qqi4FDe8X\\\",\\\"active_key_history\\\":[[\\\"2015-01-09T16:26:50\\\",\\\"BTS8mxPVLbNLbVqiy9Lk3woFdtFU6xzhMJhY4NRbyE3YuNJUL85YF\\\"],[\\\"2015-01-17T19:52:30\\\",\\\"BTS5SekcLhriLeAhtLrnNhoBjy4tqSgacgnWm95WB5x28sau1DsoX\\\"]],\\\"registration_date\\\":\\\"2015-01-09T16:26:50\\\",\\\"last_update\\\":\\\"2015-01-17T19:52:30\\\",\\\"meta_data\\\":{\\\"type\\\":\\\"titan_account\\\",\\\"data\\\":\\\"\\\"},\\\"last_child_key_index\\\":0,\\\"block_production_enabled\\\":false,\\\"custom_data\\\":{},\\\"approved\\\":0},\\\"recipient\\\":{\\\"index\\\":2256,\\\"contact_type\\\":\\\"account_name\\\",\\\"data\\\":\\\"gatewayclient\\\",\\\"label\\\":\\\"gatewayclient\\\",\\\"custom_data\\\":{}},\\\"memo\\\":\\\"mX: buy USD\\\"}\\n    th_a  wallet.cpp:204 bts::wallet::detail::wallet_impl::deposit_from_transaction\\n\\n    {\\\"amount\\\":{\\\"amount\\\":242,\\\"asset_id\\\":22},\\\"sender_account_name\\\":\\\"gatewaytest\\\",\\\"generic_recipient\\\":\\\"gatewayclient\\\",\\\"memo\\\":\\\"mX: buy USD\\\",\\\"strategy\\\":\\\"vote_recommended\\\",\\\"sign\\\":true}\\n    th_a  wallet.cpp:2830 bts::wallet::wallet::transfer\\n\\n    {\\\"amount_to_transfer\\\":\\\"0.0242\\\",\\\"asset_symbol\\\":\\\"USD\\\",\\\"from_account_name\\\":\\\"gatewaytest\\\",\\\"recipient\\\":\\\"gatewayclient\\\",\\\"memo_message\\\":\\\"mX: buy USD\\\",\\\"strategy\\\":\\\"vote_recommended\\\"}\\n    th_a  wallet_api.cpp:322 bts::client::detail::client_impl::wallet_transfer\\n\\n    {}\\n    th_a  common_api_client.cpp:3845 bts::rpc_stubs::common_api_client::wallet_transfer\",\"code\":20025}}"   string

This used to work in the previous version - it's a simple USD transfer from gatewaytest to gatewayclient.

It looks like you have a local account or contact in your wallet named gatewayclient with different keys compared to the gatewayclient registered on the blockchain. You might have to use `wallet_account_rename` or `wallet_add_contact` to rename the local entry.

Offline vikram

Any particular reason for the seemly arbitrary renaming of members inside the JSON returned by get_asset?

issuer_account_id -> issuer_id
current_share_supply -> current_supply
maximum_share_supply -> max_supply

etc?

Sorry, I've added a note about this in the API changes.

No real external reason for these particular renames. I believe I was renaming them to force compiler errors at all usages while I was writing the advanced UIA code.
« Last Edit: April 21, 2015, 03:04:48 pm by vikram »

Offline vikram

Right after the replay, BitShares encountered an exception. I relaunched it and got another:

Code: [Select]
Process:               BitShares [4396]
Path:                  /Applications/BitShares.app/Contents/MacOS/BitShares
Identifier:            org.bitshares.BitShares
Version:               .. (..)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           BitShares [4396]

Date/Time:             2015-04-20 21:30:07.859 -0500
OS Version:            Mac OS X 10.10.2
Report Version:        11

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000058

VM Regions Near 0x58:
-->
    __TEXT                 00000001040b4000-0000000105ed6000 [ 30.1M] r-x/rwx SM=COW  /Applications/BitShares.app/Contents/MacOS/BitShares

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.qt-project.QtCore          0x0000000109e6fc3e QMetaObject::activate(QObject*, int, int, void**) + 62
1   org.qt-project.QtNetwork      0x0000000109b4e2cc QNetworkReply::downloadProgress(long long, long long) + 76
2   org.qt-project.QtNetwork      0x0000000109ac8770 QNetworkReplyHttpImplPrivate::replyDownloadData(QByteArray) + 1280
3   org.qt-project.QtNetwork      0x0000000109b4ead4 QNetworkReplyHttpImpl::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 1828
4   org.qt-project.QtCore          0x0000000109e69393 QObject::event(QEvent*) + 755
5   org.qt-project.QtWidgets      0x000000010686932b QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
6   org.qt-project.QtWidgets      0x000000010686c648 QApplication::notify(QObject*, QEvent*) + 8136
7   org.bitshares.BitShares        0x00000001040ebc6e BitSharesApp::notify(QObject*, QEvent*) + 14
8   org.qt-project.QtCore          0x0000000109e3ea5b QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 971

Now I launched it for the third time, no problems logging in! A fleeting bug of some sort. On to more testing...

I had a similar experience. Crashed 3-4 times then made it through the replay to the login screen.

On the login screen, unlocking the wallet causes the program to hang at the loader. Wiping the app data and resetting the chain ended in a crashing scenario like above which eventually resolves but then the hanging issue happens.

OS X isn't stable but it sounds like this release is more stable for Windows users. That's a good sign at least.

edit: let it hang logging for about 10 minutes and it eventually authed me.

Wallet database will upgrade once on first open and can take some time--I've added a note to the changelog.

Offline vikram

What are we to do with the "include" folder in the .dmg?

Ignore it.

Offline monsterer

Code: [Select]
{\"jsonrpc\":\"2\",\"id\":1,\"method\":\"wallet_transfer\",\"params\":[\"0.0242\",\"USD\",\"gatewaytest\",\"gatewayclient\",\"mX: buy USD\",\"vote_recommended\"]}
Results in this error:

Quote
      result   "{\"id\":1,\"error\":{\"message\":\"duplicate account name (20025)\\n\\n\\n\\n\\n\\n\",\"detail\":\"20025 duplicate_account_name: duplicate account name\\n\\n    {\\\"*recipient_account\\\":{\\\"index\\\":190,\\\"id\\\":0,\\\"name\\\":\\\"gatewayclient\\\",\\\"public_data\\\":null,\\\"owner_key\\\":\\\"BTS6hySPYfrGHLELX6TML6d8stR5wMdsoZyXPmJcBSiwHL31xaskB\\\",\\\"active_key_history\\\":[[\\\"2015-01-12T08:58:01\\\",\\\"BTS6hySPYfrGHLELX6TML6d8stR5wMdsoZyXPmJcBSiwHL31xaskB\\\"]],\\\"registration_date\\\":\\\"1970-01-01T00:00:00\\\",\\\"last_update\\\":\\\"2015-01-12T08:58:01\\\",\\\"last_child_key_index\\\":0,\\\"block_production_enabled\\\":false,\\\"custom_data\\\":{},\\\"approved\\\":0},\\\"*registered_recipient_account\\\":{\\\"id\\\":32380,\\\"name\\\":\\\"gatewayclient\\\",\\\"public_data\\\":null,\\\"owner_key\\\":\\\"BTS5AfzawTGh4gmoDBmxgBgAn38UeiDLy2e8VdB6dgn6n3iE2SzHq\\\",\\\"active_key_history\\\":[[\\\"2015-01-14T08:45:50\\\",\\\"BTS6hySPYfrGHLELX6TML6d8stR5wMdsoZyXPmJcBSiwHL31xaskB\\\"],[\\\"2015-01-15T20:53:00\\\",\\\"BTS5zU8LZUVPTDV262RrNGoHHkyi7UCSj6t98e45z7YXeLaNN7r4H\\\"]],\\\"registration_date\\\":\\\"2015-01-14T08:45:50\\\",\\\"last_update\\\":\\\"2015-01-15T20:53:00\\\",\\\"meta_data\\\":{\\\"type\\\":\\\"titan_account\\\",\\\"data\\\":\\\"\\\"}}}\\n    th_a  wallet.cpp:146 bts::wallet::detail::wallet_impl::deposit_from_transaction\\n\\n    {\\\"transaction\\\":{\\\"expiration\\\":\\\"2015-04-21T15:37:43\\\",\\\"operations\\\":[{\\\"type\\\":\\\"withdraw_op_type\\\",\\\"data\\\":{\\\"balance_id\\\":\\\"BTS2omvvwP4A5cpxmT9K9WCm4YpaSewDaXXA\\\",\\\"amount\\\":13,\\\"claim_input_data\\\":\\\"\\\"}},{\\\"type\\\":\\\"withdraw_op_type\\\",\\\"data\\\":{\\\"balance_id\\\":\\\"BTSEUzXxEeuKR6eLTWBexdQqcnRxG6XVeBo7\\\",\\\"amount\\\":242,\\\"claim_input_data\\\":\\\"\\\"}}],\\\"signatures\\\":[]},\\\"amount\\\":{\\\"amount\\\":242,\\\"asset_id\\\":22},\\\"sender\\\":{\\\"index\\\":128,\\\"id\\\":32192,\\\"name\\\":\\\"gatewaytest\\\",\\\"public_data\\\":{\\\"gui_data\\\":{\\\"website\\\":\\\"\\\"}},\\\"owner_key\\\":\\\"BTS5dvyrpghWB9vmcZtcJVWJtYhLCQ4S8ptriskuLv45Qqi4FDe8X\\\",\\\"active_key_history\\\":[[\\\"2015-01-09T16:26:50\\\",\\\"BTS8mxPVLbNLbVqiy9Lk3woFdtFU6xzhMJhY4NRbyE3YuNJUL85YF\\\"],[\\\"2015-01-17T19:52:30\\\",\\\"BTS5SekcLhriLeAhtLrnNhoBjy4tqSgacgnWm95WB5x28sau1DsoX\\\"]],\\\"registration_date\\\":\\\"2015-01-09T16:26:50\\\",\\\"last_update\\\":\\\"2015-01-17T19:52:30\\\",\\\"meta_data\\\":{\\\"type\\\":\\\"titan_account\\\",\\\"data\\\":\\\"\\\"},\\\"last_child_key_index\\\":0,\\\"block_production_enabled\\\":false,\\\"custom_data\\\":{},\\\"approved\\\":0},\\\"recipient\\\":{\\\"index\\\":2256,\\\"contact_type\\\":\\\"account_name\\\",\\\"data\\\":\\\"gatewayclient\\\",\\\"label\\\":\\\"gatewayclient\\\",\\\"custom_data\\\":{}},\\\"memo\\\":\\\"mX: buy USD\\\"}\\n    th_a  wallet.cpp:204 bts::wallet::detail::wallet_impl::deposit_from_transaction\\n\\n    {\\\"amount\\\":{\\\"amount\\\":242,\\\"asset_id\\\":22},\\\"sender_account_name\\\":\\\"gatewaytest\\\",\\\"generic_recipient\\\":\\\"gatewayclient\\\",\\\"memo\\\":\\\"mX: buy USD\\\",\\\"strategy\\\":\\\"vote_recommended\\\",\\\"sign\\\":true}\\n    th_a  wallet.cpp:2830 bts::wallet::wallet::transfer\\n\\n    {\\\"amount_to_transfer\\\":\\\"0.0242\\\",\\\"asset_symbol\\\":\\\"USD\\\",\\\"from_account_name\\\":\\\"gatewaytest\\\",\\\"recipient\\\":\\\"gatewayclient\\\",\\\"memo_message\\\":\\\"mX: buy USD\\\",\\\"strategy\\\":\\\"vote_recommended\\\"}\\n    th_a  wallet_api.cpp:322 bts::client::detail::client_impl::wallet_transfer\\n\\n    {}\\n    th_a  common_api_client.cpp:3845 bts::rpc_stubs::common_api_client::wallet_transfer\",\"code\":20025}}"   string

This used to work in the previous version - it's a simple USD transfer from gatewaytest to gatewayclient.
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BitShares: speedy
Code: [Select]
git submodule update --init --recursivewill fix this

Thanks xeroc!

Offline lastagile

  • Full Member
  • ***
  • Posts: 144
    • View Profile
No way to do titan anymore?

Offline monsterer

Any particular reason for the seemly arbitrary renaming of members inside the JSON returned by get_asset?

issuer_account_id -> issuer_id
current_share_supply -> current_supply
maximum_share_supply -> max_supply

etc?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
git checkout bts/0.9.0-rc1
make forcebuildweb

Code: [Select]
The source directory

    /source/bitshares/libraries/fc/vendor/websocketpp

does not contain a CMakeLists.txt file.

Am I missing something?
Code: [Select]
git submodule update --init --recursivewill fix this

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BitShares: speedy
git checkout bts/0.9.0-rc1
make forcebuildweb

Code: [Select]
The source directory

    /source/bitshares/libraries/fc/vendor/websocketpp

does not contain a CMakeLists.txt file.

Am I missing something?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Where do I find that?
Is it not in the install path? I am not sure it's packed with the GUI :/

Offline onceuponatime

I've downloaded the 0.9.0-RC1 on my Windows 7 test machine and am having numerous problems.

It crashed several times and froze and had to be closed several times, but finally it loaded and synced.

But there are 21 accounts at the Dashboard page, 19 of them not mine! Some of them appear to be accounts that I sent 0.5BTS to when I was sending to newbies to register. Others, I have no idea, and they aren't registered.

And now the client says "Severe network problems" and is not syncing even though on my main machine with the 0.8.0 version there is no network problem.

Shut down and restarted again, twice. Same thing. "Severe network problems", not syncing, and still al the extra accounts at Dashboard.

I can't get to the console for information because the 21 accounts go below the page, and I can't scroll down past them to "Advanced".
Can you try the "bitshares_client.exe" that is packed with the GUI executable .. it should be the CLI version and help you sync with the network

Where do I find that?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I've downloaded the 0.9.0-RC1 on my Windows 7 test machine and am having numerous problems.

It crashed several times and froze and had to be closed several times, but finally it loaded and synced.

But there are 21 accounts at the Dashboard page, 19 of them not mine! Some of them appear to be accounts that I sent 0.5BTS to when I was sending to newbies to register. Others, I have no idea, and they aren't registered.

And now the client says "Severe network problems" and is not syncing even though on my main machine with the 0.8.0 version there is no network problem.

Shut down and restarted again, twice. Same thing. "Severe network problems", not syncing, and still al the extra accounts at Dashboard.

I can't get to the console for information because the 21 accounts go below the page, and I can't scroll down past them to "Advanced".
Can you try the "bitshares_client.exe" that is packed with the GUI executable .. it should be the CLI version and help you sync with the network