Author Topic: [OVER] new testnet *WITH GUI! WOW!* inside  (Read 33374 times)

0 Members and 1 Guest are viewing this topic.

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
^^ that's a bug, I'll tackle that next
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
How can I vote against a delegate?

I tried to set the trust_level less then zero to delegate-4

Code: [Select]
wallet_set_delegate_trust_level delegate-4 -5

and make the transfer command
Code: [Select]
wallet_transfer 100000 XTS spartako-1 spartako-1

but I obtain this error:
Code: [Select]
amount_to_transfer: 100000
asset_symbol: XTS
from_account_name: spartako-1
to_account_name: spartako-1
assert
!error_code: Error evaluating transaction BTS_INVALID_NAME_ID
    {"error_code":"BTS_INVALID_NAME_ID","data":{"amount":5225880,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS88r6kmv39RirUR6nnohAgG9Xx9hA7WaTcTQxqdGXkK
Rg2g6uJL","encrypted_memo_data":"c6391ece215179633793b85b6e6fb52c898d7973797eb9bf8c013b40e5aaad89554ac99fdf57b27afd62c0db764ff1aec26c8718a21d621e6ee9eb159dc544cd","owner":"XTSATTi7pFCzMxeh71hTuPcK9o2aN3rCsJTP"}}
}}
    th_a  transaction.cpp:427 fail

    {"op":{"amount":5225880,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS88r6kmv39RirUR6nnohAgG9Xx9hA7WaTcTQxqdGXkKRg2g6uJL","encrypted_memo_data":"c639
1ece215179633793b85b6e6fb52c898d7973797eb9bf8c013b40e5aaad89554ac99fdf57b27afd62c0db764ff1aec26c8718a21d621e6ee9eb159dc544cd","owner":"XTSATTi7pFCzMxeh71hTuPcK9o2aN3rCsJTP"}}}}
    th_a  transaction.cpp:455 evaluate_deposit

    {"trx":{"expiration":null,"delegate_id":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS3dZr8LJUBhJiCmPG71ZgAQdZKiaSBdexr","amount":5335880,"claim_input_data":""}},{"type":"deposit_op_
type","data":{"amount":5225880,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS88r6kmv39RirUR6nnohAgG9Xx9hA7WaTcTQxqdGXkKRg2g6uJL","encrypted_memo_data":"c
6391ece215179633793b85b6e6fb52c898d7973797eb9bf8c013b40e5aaad89554ac99fdf57b27afd62c0db764ff1aec26c8718a21d621e6ee9eb159dc544cd","owner":"XTSATTi7pFCzMxeh71hTuPcK9o2aN3rCsJTP"}}}},{"type":"deposit_op_type","data
":{"amount":100000,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS51BP5SVVLicVqxKmc1hUdVvyq3kmy3z78UWXsibuf2rRftV4FG","encrypted_memo_data":"93407eb874629
c8425ddbb8533fc32d9c17032a59868d429e12ad51b48f07ebe1e2645121c45c8468a878796ede412893d0644bf1cdb34e11e47f31ce1b5ea5b","owner":"XTS6JUUB2RbDXyvQDtZoXiQdWEu27VC12i2T"}}}}],"signatures":["1f130332387d6565dc2abea4ff2
97bcbd2d3832fed4d971c28e78c32990e81941e3e512cc77faa3f8a0f73c1995737a9a14266839602a2b4546ec73f85dac2f04c"]}}
    th_a  transaction.cpp:89 evaluate

    {"trx":{"expiration":null,"delegate_id":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS3dZr8LJUBhJiCmPG71ZgAQdZKiaSBdexr","amount":5335880,"claim_input_data":""}},{"type":"deposit_op_
type","data":{"amount":5225880,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS88r6kmv39RirUR6nnohAgG9Xx9hA7WaTcTQxqdGXkKRg2g6uJL","encrypted_memo_data":"c
6391ece215179633793b85b6e6fb52c898d7973797eb9bf8c013b40e5aaad89554ac99fdf57b27afd62c0db764ff1aec26c8718a21d621e6ee9eb159dc544cd","owner":"XTSATTi7pFCzMxeh71hTuPcK9o2aN3rCsJTP"}}}},{"type":"deposit_op_type","data
":{"amount":100000,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS51BP5SVVLicVqxKmc1hUdVvyq3kmy3z78UWXsibuf2rRftV4FG","encrypted_memo_data":"93407eb874629
c8425ddbb8533fc32d9c17032a59868d429e12ad51b48f07ebe1e2645121c45c8468a878796ede412893d0644bf1cdb34e11e47f31ce1b5ea5b","owner":"XTS6JUUB2RbDXyvQDtZoXiQdWEu27VC12i2T"}}}}],"signatures":["1f130332387d6565dc2abea4ff2
97bcbd2d3832fed4d971c28e78c32990e81941e3e512cc77faa3f8a0f73c1995737a9a14266839602a2b4546ec73f85dac2f04c"]}}
    th_a  chain_database.cpp:872 evaluate_transaction

    {"trx":{"expiration":null,"delegate_id":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS3dZr8LJUBhJiCmPG71ZgAQdZKiaSBdexr","amount":5335880,"claim_input_data":""}},{"type":"deposit_op_
type","data":{"amount":5225880,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS88r6kmv39RirUR6nnohAgG9Xx9hA7WaTcTQxqdGXkKRg2g6uJL","encrypted_memo_data":"c
6391ece215179633793b85b6e6fb52c898d7973797eb9bf8c013b40e5aaad89554ac99fdf57b27afd62c0db764ff1aec26c8718a21d621e6ee9eb159dc544cd","owner":"XTSATTi7pFCzMxeh71hTuPcK9o2aN3rCsJTP"}}}},{"type":"deposit_op_type","data
":{"amount":100000,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS51BP5SVVLicVqxKmc1hUdVvyq3kmy3z78UWXsibuf2rRftV4FG","encrypted_memo_data":"93407eb874629
c8425ddbb8533fc32d9c17032a59868d429e12ad51b48f07ebe1e2645121c45c8468a878796ede412893d0644bf1cdb34e11e47f31ce1b5ea5b","owner":"XTS6JUUB2RbDXyvQDtZoXiQdWEu27VC12i2T"}}}}],"signatures":["1f130332387d6565dc2abea4ff2
97bcbd2d3832fed4d971c28e78c32990e81941e3e512cc77faa3f8a0f73c1995737a9a14266839602a2b4546ec73f85dac2f04c"]}}
    th_a  chain_database.cpp:1141 store_pending_transaction

    {}
    th_a  common_api_client.cpp:332 wallet_transfer

    {"command":"wallet_transfer"}
    th_a  cli.cpp:570 execute_command

and I have this transaction pending:

Code: [Select]
#    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                   AMOUNT                 FEE          VOTE                                        ID
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
8   pending   2014-06-05T14:46:59 spartako-1          spartako-1          vote against                     -100,000 XTS          10,000 XTS           N/A  58190998e6cfb4375f383450f90143fd158b106c

If I restore the trust level to 0 for delegate-4 I am able again to make transactions without errors.
wallet_account_set_approval spartako

Offline bytemaster

yep, sent me some XTS to myself after setting trust level for a few delegates.

Unrelated, but I seem to have found another (seemingly minor) bug:

at first, I had registered wackou2 as a normal account, but then tried to upgrade it to a delegate, but using the wallet_account_register instead of wallet_account_update_registration.
This failed (because the account was already registered) but created a transaction anyway that has been pending since then (the fee has not been credited, though). Even after a blockchain rescan it is still there. I then later tried to upgrade it using the wallet_account_update_registration, which worked, but I still have the old one pending in the wallet.

Code: [Select]
>>> wallet_account_transaction_history
  #    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                   AMOUNT                 FEE          VOTE                                        ID
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  1    892.0    2014-06-05T11:02:30 XTS8gUQbBB7Qevi4... wackou2                                             1,000,000 XTS               0 XTS           N/A  4e111ecf81c1b7700433183e42274fb9da9ff136
  2    902.0    2014-06-05T11:10:30 wackou2             wackou2             register wackou2                        0 XTS          10,001 XTS           N/A  f3fd0d12060d3d679558fc7d5deb16997000892d
  3    914.0    2014-06-05T11:21:30 XTS8gUQbBB7Qevi4... wackou2             呵呵啊哈哈                 1,111,111 XTS               0 XTS           N/A  86cf612424441627572874915884e0ffe6b54129
  4   1013.0    2014-06-05T12:44:00 XTS8gUQbBB7Qevi4... wackou2                                            50,000,000 XTS               0 XTS           N/A  87d30e30e56120367e1cdab5c182b1b13b1c614f
  5   pending   2014-06-05T12:46:05 wackou2             wackou2             register wackou2 as a...                0 XTS       4,324,117 XTS           N/A  367c95fce3db976f84a29aea978534610358310e
  6   1021.0    2014-06-05T12:50:00 wackou2             wackou2             register wackou-deleg...                0 XTS       4,324,117 XTS           N/A  74d7846eb57ac031943423f145de3599e8d4d1d0
  7   1093.0    2014-06-05T13:51:00 wackou2             brannigan           test send                      -1,000,000 XTS          10,000 XTS           N/A  677cfec362298eb03270b637b3df0e499f47dfc2
  8   1096.0    2014-06-05T13:53:30 brannigan           wackou2             send back                         100,000 XTS               0 XTS           N/A  fd70e7853d1f7a92e30ca3b80f454f7a15f70888
  9   1111.0    2014-06-05T14:07:00 wackou2             wackou2             update wackou2 as a d...                0 XTS       4,324,118 XTS           N/A  ff08ed23d8ff5786f392d2f0354447f2bd68100f

Also, is it better to report these type of issues here, while we're all looking at them in the heat of the moment, or on github, where it's easier to manage in the long run?

I think it is good to open a bug in github and cross-post it here so that people scanning this thread know what has been caught and can help debug.  Not everyone is on github.

This is a good bug to track down. 
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 coolspeed

  • Hero Member
  • *****
  • Posts: 536
    • View Profile
    • My Blog
amencon, npm install has to be executed in the web_wallet directory

coolspeed, --daemon disables command line.  Here is how I am running it:

./bitshares_client --data-dir default --server --rpcuser a --rpcpassword a --daemon &

Thank you Moroz,
then you can only command it by json-rpc? (manually construct a call json)
I guess not.
Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed

Offline Moroz

  • Newbie
  • *
  • Posts: 10
    • View Profile
amencon, npm install has to be executed in the web_wallet directory

coolspeed, --daemon disables command line.  Here is how I am running it:

./bitshares_client --data-dir default --server --rpcuser a --rpcpassword a --daemon &

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
When can I start producing blocks? Need more than the delegates?

Need to get into the top 7 for this test

Quote
Also, is it better to report these type of issues here, while we're all looking at them in the heat of the moment, or on github, where it's easier to manage in the long run?

Github is better
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline wackou

yep, sent me some XTS to myself after setting trust level for a few delegates.

Unrelated, but I seem to have found another (seemingly minor) bug:

at first, I had registered wackou2 as a normal account, but then tried to upgrade it to a delegate, but using the wallet_account_register instead of wallet_account_update_registration.
This failed (because the account was already registered) but created a transaction anyway that has been pending since then (the fee has not been credited, though). Even after a blockchain rescan it is still there. I then later tried to upgrade it using the wallet_account_update_registration, which worked, but I still have the old one pending in the wallet.

Code: [Select]
>>> wallet_account_transaction_history
  #    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                   AMOUNT                 FEE          VOTE                                        ID
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  1    892.0    2014-06-05T11:02:30 XTS8gUQbBB7Qevi4... wackou2                                             1,000,000 XTS               0 XTS           N/A  4e111ecf81c1b7700433183e42274fb9da9ff136
  2    902.0    2014-06-05T11:10:30 wackou2             wackou2             register wackou2                        0 XTS          10,001 XTS           N/A  f3fd0d12060d3d679558fc7d5deb16997000892d
  3    914.0    2014-06-05T11:21:30 XTS8gUQbBB7Qevi4... wackou2             呵呵啊哈哈                 1,111,111 XTS               0 XTS           N/A  86cf612424441627572874915884e0ffe6b54129
  4   1013.0    2014-06-05T12:44:00 XTS8gUQbBB7Qevi4... wackou2                                            50,000,000 XTS               0 XTS           N/A  87d30e30e56120367e1cdab5c182b1b13b1c614f
  5   pending   2014-06-05T12:46:05 wackou2             wackou2             register wackou2 as a...                0 XTS       4,324,117 XTS           N/A  367c95fce3db976f84a29aea978534610358310e
  6   1021.0    2014-06-05T12:50:00 wackou2             wackou2             register wackou-deleg...                0 XTS       4,324,117 XTS           N/A  74d7846eb57ac031943423f145de3599e8d4d1d0
  7   1093.0    2014-06-05T13:51:00 wackou2             brannigan           test send                      -1,000,000 XTS          10,000 XTS           N/A  677cfec362298eb03270b637b3df0e499f47dfc2
  8   1096.0    2014-06-05T13:53:30 brannigan           wackou2             send back                         100,000 XTS               0 XTS           N/A  fd70e7853d1f7a92e30ca3b80f454f7a15f70888
  9   1111.0    2014-06-05T14:07:00 wackou2             wackou2             update wackou2 as a d...                0 XTS       4,324,118 XTS           N/A  ff08ed23d8ff5786f392d2f0354447f2bd68100f

Also, is it better to report these type of issues here, while we're all looking at them in the heat of the moment, or on github, where it's easier to manage in the long run?
Please vote for witness wackou! More info at http://digitalgaia.io

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Don't forget, to vote you have to not only set the trust level but also make some transactions (even to yourself). "Votes" happen on the "deposit" operation.
Did so:
Quote
default (unlocked) >>> blockchain_get_account_record xeroc1
{
  "id": 351,
  "name": "xeroc1",
  "public_data": {},
  "owner_key": "XTS65PBcS2MNNQPRpdRDafYdVjAbe4GA7p8ShbPMrbrgC3vUDNWp5",
  "active_key_history": [[
      "20140605T071000",
      "XTS65PBcS2MNNQPRpdRDafYdVjAbe4GA7p8ShbPMrbrgC3vUDNWp5"
    ]
  ],
  "delegate_info": {
    "votes_for": 596145880,
    "votes_against": 0,
    "blocks_produced": 0,
    "blocks_missed": 0,
    "pay_balance": 0,
    "next_secret_hash": "0000000000000000000000000000000000000000",
    "last_block_num_produced": 4294967295
  },
  "registration_date": "20140605T071000",
  "last_update": "20140605T071430"
}

When can I start producing blocks? Need more than the delegates?

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Don't forget, to vote you have to not only set the trust level but also make some transactions (even to yourself). "Votes" happen on the "deposit" operation.
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline wackou

Please vote for me :)

Voted for you, now someone vote for me :)

Code: [Select]
wallet_set_delegate_trust_level wackou-delegate 5
Please vote for witness wackou! More info at http://digitalgaia.io

Offline wackou

Had the same
Just wait for the delegate to sign the next block .. the remaining XTS will reappear.
Otherwise you can do a "wallet_rescan_blockchain 1 5000"

waiting for the delegate to sign next block didn't help, however the wallet_rescan did fix it. Thanks!
Please vote for witness wackou! More info at http://digitalgaia.io

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile

Voted for xeroc1, coolspeed and spartako-1

Please vote for me :)

Code: [Select]
wallet_set_delegate_trust_level betax 5
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
Seems like I've run into a bug, or I'm doing something wrong...

- created my wallet
- sent me some XTS from the faucet (100,000,000)
- registered my account by doing "wallet_account_register wackou2 wackou2" (cost me 10,001 in fees)
- my balance is now 0...
Had the same
Just wait for the delegate to sign the next block .. the remaining XTS will reappear.
Otherwise you can do a "wallet_rescan_blockchain 1 5000"

Quote
Also, I have a founder ID, is it already possible to import my PTS keys to have access to the address that is registered in the genesis block? Thanks!
Not sure if you need the PTS key ... I thought we will need the keyhotee privkey .. but i am not sure.
Any info about that from Bytmaster/Stan?

Edit: I am also not so sure about the amounts in 'genesis.json' .. are the founder-donations already somewhere? Or will there be a different genesis block? I cannot find the amount I was sending for the founder id.
« Last Edit: June 05, 2014, 11:29:12 am by xeroc »

Offline wackou

Seems like I've run into a bug, or I'm doing something wrong...

- created my wallet
- sent me some XTS from the faucet (100,000,000)
- registered my account by doing "wallet_account_register wackou2 wackou2" (cost me 10,001 in fees)
- my balance is now 0...

Code: [Select]
protosmewt (unlocked) >>> wallet_account_transaction_history
  #    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                   AMOUNT                 FEE          VOTE                                        ID
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  1    892.0    2014-06-05T11:02:30 XTS8gUQbBB7Qevi4... wackou2                                             1,000,000 XTS               0 XTS           N/A  4e111ecf81c1b7700433183e42274fb9da9ff136
  2    902.0    2014-06-05T11:10:30 wackou2             wackou2             register wackou2                        0 XTS          10,001 XTS           N/A  f3fd0d12060d3d679558fc7d5deb16997000892d
protosmewt (unlocked) >>> get_info
{
  "blockchain_head_block_num": 903,
  "blockchain_head_block_time": "20140605T111130",
  "network_num_connections": 7,
  "wallet_balance": [[
      0,
      "XTS"
    ]
  ],
  "wallet_unlocked_seconds_remaining": 0,
  "wallet_next_block_production_time": null,
  "wallet_seconds_until_next_block_production": null,
  "wallet_local_time": "20140605T111132",
  "blockchain_bips_per_share": 12.500003743622216,
  "blockchain_random_seed": "4ac15e05bbf883609e75469c2476f3fa82146b4e",
  "blockchain_shares": 79999976040825,
  "network_num_connections_max": 12,
  "network_protocol_version": 101,
  "wallet_open": true,
  "wallet_unlocked_until": "19700101T000000",
  "wallet_version": 100
}

Also, I have a founder ID, is it already possible to import my PTS keys to have access to the address that is registered in the genesis block? Thanks!
Please vote for witness wackou! More info at http://digitalgaia.io

Offline coolspeed

  • Hero Member
  • *****
  • Posts: 536
    • View Profile
    • My Blog
Can the TPS of DPOS be as high as NXT Transparent Forging?

Place to follow this topic:
https://bitsharestalk.org/index.php?topic=4876.0
Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed