Author Topic: Dry Run 2: The Real Deal  (Read 146750 times)

0 Members and 1 Guest are viewing this topic.

Offline boombastic

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
    • AngelShares Explorer
Can someone send me some test fund for applying delegate?

XTS8Eso3RfRDQviSKuQxhWL9hQCQ7siaZPbDzYULxcat1d1ncdhu1

My node is up and running with average 14 connections.  You are welcome to connect to it.

180.153.142.120:8764
http://bitshares.dacplay.org/r/boombastic
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
updated the latest codes

but it shows
Code: [Select]
wang (unlocked) >>> info
{
  "blockchain_head_block_num": 0,
  "blockchain_head_block_time": "20140616T071527",
  "blockchain_head_block_time_rel": "0 second old",
  "blockchain_confirmation_requirement": 194,
  "blockchain_average_delegate_participation": 0,
  "network_num_connections": 0,
  "wallet_unlocked_seconds_remaining": 9999891,
  "wallet_next_block_production_time": "20140616T071615",
  "wallet_seconds_until_next_block_production": 48,
  "wallet_local_time": "20140616T071527",
  "blockchain_random_seed": "0000000000000000000000000000000000000000",
  "blockchain_shares": 9999999983936,
  "network_num_connections_max": 12,
  "network_protocol_version": 101,
  "wallet_open": true,
  "wallet_unlocked_until": "20141010T010018",
  "wallet_version": 100
}
wang (unlocked) >>> about
{
  "bitshares_toolkit_revision": "bb16f2323fe66c31e6b8de8f5c774c7b35c877b5",
  "bitshares_toolkit_revision_age": "10 hours ago",
  "fc_revision": "888a01881aa5aa1313509aa7044455cac02359dc",
  "fc_revision_age": "13 hours ago",
  "compile_date": "compiled on Jun 16 2014 at 15:10:43"
}

You are not yet synced .. I run the same code. All fine here ..

Quote
  "network_num_connections": 0,
[/b]
Seems to be a connection issue at your end :(

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I'll just report - everything seems to work flawlessly. No crashes, no diminishing amount of connections. Log size is about 6.5GB since I restarted the client 32 hours ago. Restart was due to extremely large logfile filling up the assigned VM HDD size.

In your data folder run:
Code: [Select]
$ rm default.log ; ln -s /dev/null default.logThen all log entries will be 'deleted' by default :) No log-bloating .. but also no log file-content :)

Further,
Quote
network_set_advanced_node_parameters {"desired_number_of_connections":25}
should increase you number of connections... however, there seems to be a bug currently, because I am stuck with 8 connections :(

Offline welk1n

  • Jr. Member
  • **
  • Posts: 26
    • View Profile
updated the latest codes

but it shows
Code: [Select]
wang (unlocked) >>> info
{
  "blockchain_head_block_num": 0,
  "blockchain_head_block_time": "20140616T071527",
  "blockchain_head_block_time_rel": "0 second old",
  "blockchain_confirmation_requirement": 194,
  "blockchain_average_delegate_participation": 0,
  "network_num_connections": 0,
  "wallet_unlocked_seconds_remaining": 9999891,
  "wallet_next_block_production_time": "20140616T071615",
  "wallet_seconds_until_next_block_production": 48,
  "wallet_local_time": "20140616T071527",
  "blockchain_random_seed": "0000000000000000000000000000000000000000",
  "blockchain_shares": 9999999983936,
  "network_num_connections_max": 12,
  "network_protocol_version": 101,
  "wallet_open": true,
  "wallet_unlocked_until": "20141010T010018",
  "wallet_version": 100
}
wang (unlocked) >>> about
{
  "bitshares_toolkit_revision": "bb16f2323fe66c31e6b8de8f5c774c7b35c877b5",
  "bitshares_toolkit_revision_age": "10 hours ago",
  "fc_revision": "888a01881aa5aa1313509aa7044455cac02359dc",
  "fc_revision_age": "13 hours ago",
  "compile_date": "compiled on Jun 16 2014 at 15:10:43"
}


Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
I'm typically getting about 8 connections immediately on startup, but they seem to gradually drop out as time goes on.  I just came back and was down to 4, so I restarted the client and I'm at 8 again.

I'll just report - everything seems to work flawlessly. No crashes, no diminishing amount of connections. Log size is about 6.5GB since I restarted the client 32 hours ago. Restart was due to extremely large logfile filling up the assigned VM HDD size.

Code: [Select]
emski (unlocked) >>> get_info
{
  "blockchain_head_block_num": 10037,
  "blockchain_head_block_time": "20140616T065300",
  "blockchain_confirmation_requirement": 288,
  "blockchain_average_delegate_participation": 67.737430167597765,
  "network_num_connections": 20,
  "wallet_unlocked_seconds_remaining": 99822822,
  "wallet_next_block_production_time": "20140616T070245",
  "wallet_seconds_until_next_block_production": 500,
  "wallet_local_time": "20140616T065425",
  "blockchain_random_seed": "934cc04728e99de2cddd3f44c55cb26814628f33",
  "blockchain_shares": 10000337282249,
  "network_num_connections_max": 50,
  "network_protocol_version": 101,
  "wallet_open": true,
  "wallet_unlocked_until": "20170814T152807",
  "wallet_version": 100
}

and delegate stats:
2           init-delegate-2          111301770268        0                   1.11298 %           145             47
3           init-delegate-3          100343412064        0                   1.0034 %            150             44
4           init-delegate-4          100943264829        0                   1.0094 %            147             46
25          init-delegate-25         97173533229         0                   0.971703 %          150             47

*inactive (this one was voted out):
1           init-delegate-1          70834712425         10000000            0.708223 %          32              38

High missed blocks are due to my timezone. When I woke up in the morning the test already had began.

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
I'm typically getting about 8 connections immediately on startup, but they seem to gradually drop out as time goes on.  I just came back and was down to 4, so I restarted the client and I'm at 8 again.

Offline BTSdac

  • Hero Member
  • *****
  • Posts: 1219
    • View Profile
  • BitShares: K1
Code: [Select]
roy (unlocked) >>> wallet_list_receive_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            TRUST LEVEL
zf                                 XTS85r3BqawzUQF6fSy8PHGvH2QS9Q8Fk8VSgZGvdN6zvcPdUNE9V           2014-06-14T01:02:00   0
testz-test *                       XTS8TR6PDqB1kpThaMHXMcJisUbRXWtNGv6ru4njQnGGaLSqsKRV9           2014-06-14T10:18:15   0
init-delegate-101                  XTS6g8JzHR9WFixKjXTw3vwN54KE3Bf4kbLjBKUcw7i9yEzzD1aj4           2014-06-13T12:43:15   0
roy (unlocked) >>> wallet_account_transaction_history init-delegate-101
BLK    .TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   pending   2014-06-13T15:13:08 init-delegate-101   init-delegate-101   register init-delegate-110                 0.000000 XTS        0.010001 XTS        10075a1e
   pending   2014-06-13T15:22:40 init-delegate-101   init-delegate-101   register init-delegate-110                 0.000000 XTS        0.010001 XTS        d628823e
   pending   2014-06-13T15:23:41 init-delegate-101   init-delegate-101   register init-delegate-110                 0.000000 XTS        0.010001 XTS        f8c2e9ba
   pending   2014-06-13T15:26:45 init-delegate-101   init-delegate-101   register init-delegate-110                 0.000000 XTS        0.010001 XTS        f59d8204
   pending   2014-06-13T15:31:54 init-delegate-101   init-delegate-101   register init-delegate-118                 0.000000 XTS        0.010001 XTS        e5d40c89
   pending   2014-06-13T15:33:28 init-delegate-101   init-delegate-101   register init-delegate-118                 0.000000 XTS        0.010001 XTS        11b6e455
   1638.0    2014-06-13T15:39:15 init-delegate-101   init-delegate-101   register zf                                0.000000 XTS        0.010001 XTS        a63d3a1e
   pending   2014-06-14T04:58:30 init-delegate-101   init-delegate-101   register init-delegate-118 as a...         0.000000 XTS       10.495701 XTS        cfa13613
   pending   2014-06-14T05:22:45 init-delegate-101   init-delegate-101   register init-delegate-118                 0.000000 XTS        0.010001 XTS        bc09a847
roy (unlocked) >>> wallet_account_transaction_history zf
    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
roy (unlocked) >>> wallet_account_transaction_history testz-test
    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
as up code show , I list all accouts in my wallet,and every translation of my accounts,
maybe I think there is some bug , why I have follow accounts, I never register it ,and more serious thing is I can get the private key of "testz-test"  and there is no translation for regester fee. BM ,what is wrong?
testz-test *                       XTS8TR6PDqB1kpThaMHXMcJisUbRXWtNGv6ru4njQnGGaLSqsKRV9           2014-06-14T10:18:15   0

I think what happened was that the old wallet sync bug affected you, and it won't go away just from updating because it has to do with your wallet not clearing its indices.

What you should do is dump all your private keys, erase data dir, and re-import.

Quote
and more serious thing is I can get the private key of "testz-test"

Really? Are you sure you are able to wallet_dump_private_key for that address? If so, are you sure it's not actually one of yours?

I would be very very surprised if private keys were somehow shared, that is almost certainly not the case.
I will double check it  after work ,
github.com :pureland
BTS2.0 API :ws://139.196.37.179:8091
BTS2.0 API 数据源ws://139.196.37.179:8091

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Code: [Select]
roy (unlocked) >>> wallet_list_receive_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            TRUST LEVEL
zf                                 XTS85r3BqawzUQF6fSy8PHGvH2QS9Q8Fk8VSgZGvdN6zvcPdUNE9V           2014-06-14T01:02:00   0
testz-test *                       XTS8TR6PDqB1kpThaMHXMcJisUbRXWtNGv6ru4njQnGGaLSqsKRV9           2014-06-14T10:18:15   0
init-delegate-101                  XTS6g8JzHR9WFixKjXTw3vwN54KE3Bf4kbLjBKUcw7i9yEzzD1aj4           2014-06-13T12:43:15   0
roy (unlocked) >>> wallet_account_transaction_history init-delegate-101
BLK    .TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   pending   2014-06-13T15:13:08 init-delegate-101   init-delegate-101   register init-delegate-110                 0.000000 XTS        0.010001 XTS        10075a1e
   pending   2014-06-13T15:22:40 init-delegate-101   init-delegate-101   register init-delegate-110                 0.000000 XTS        0.010001 XTS        d628823e
   pending   2014-06-13T15:23:41 init-delegate-101   init-delegate-101   register init-delegate-110                 0.000000 XTS        0.010001 XTS        f8c2e9ba
   pending   2014-06-13T15:26:45 init-delegate-101   init-delegate-101   register init-delegate-110                 0.000000 XTS        0.010001 XTS        f59d8204
   pending   2014-06-13T15:31:54 init-delegate-101   init-delegate-101   register init-delegate-118                 0.000000 XTS        0.010001 XTS        e5d40c89
   pending   2014-06-13T15:33:28 init-delegate-101   init-delegate-101   register init-delegate-118                 0.000000 XTS        0.010001 XTS        11b6e455
   1638.0    2014-06-13T15:39:15 init-delegate-101   init-delegate-101   register zf                                0.000000 XTS        0.010001 XTS        a63d3a1e
   pending   2014-06-14T04:58:30 init-delegate-101   init-delegate-101   register init-delegate-118 as a...         0.000000 XTS       10.495701 XTS        cfa13613
   pending   2014-06-14T05:22:45 init-delegate-101   init-delegate-101   register init-delegate-118                 0.000000 XTS        0.010001 XTS        bc09a847
roy (unlocked) >>> wallet_account_transaction_history zf
    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
roy (unlocked) >>> wallet_account_transaction_history testz-test
    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
as up code show , I list all accouts in my wallet,and every translation of my accounts,
maybe I think there is some bug , why I have follow accounts, I never register it ,and more serious thing is I can get the private key of "testz-test"  and there is no translation for regester fee. BM ,what is wrong?
testz-test *                       XTS8TR6PDqB1kpThaMHXMcJisUbRXWtNGv6ru4njQnGGaLSqsKRV9           2014-06-14T10:18:15   0

I think what happened was that the old wallet sync bug affected you, and it won't go away just from updating because it has to do with your wallet not clearing its indices.

What you should do is dump all your private keys, erase data dir, and re-import.

Quote
and more serious thing is I can get the private key of "testz-test"

Really? Are you sure you are able to wallet_dump_private_key for that address? If so, are you sure it's not actually one of yours?

I would be very very surprised if private keys were somehow shared, that is almost certainly not the case.
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 BTSdac

  • Hero Member
  • *****
  • Posts: 1219
    • View Profile
  • BitShares: K1
Code: [Select]
roy (unlocked) >>> wallet_list_receive_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            TRUST LEVEL
zf                                 XTS85r3BqawzUQF6fSy8PHGvH2QS9Q8Fk8VSgZGvdN6zvcPdUNE9V           2014-06-14T01:02:00   0
testz-test *                       XTS8TR6PDqB1kpThaMHXMcJisUbRXWtNGv6ru4njQnGGaLSqsKRV9           2014-06-14T10:18:15   0
init-delegate-101                  XTS6g8JzHR9WFixKjXTw3vwN54KE3Bf4kbLjBKUcw7i9yEzzD1aj4           2014-06-13T12:43:15   0
roy (unlocked) >>> wallet_account_transaction_history init-delegate-101
BLK    .TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   pending   2014-06-13T15:13:08 init-delegate-101   init-delegate-101   register init-delegate-110                 0.000000 XTS        0.010001 XTS        10075a1e
   pending   2014-06-13T15:22:40 init-delegate-101   init-delegate-101   register init-delegate-110                 0.000000 XTS        0.010001 XTS        d628823e
   pending   2014-06-13T15:23:41 init-delegate-101   init-delegate-101   register init-delegate-110                 0.000000 XTS        0.010001 XTS        f8c2e9ba
   pending   2014-06-13T15:26:45 init-delegate-101   init-delegate-101   register init-delegate-110                 0.000000 XTS        0.010001 XTS        f59d8204
   pending   2014-06-13T15:31:54 init-delegate-101   init-delegate-101   register init-delegate-118                 0.000000 XTS        0.010001 XTS        e5d40c89
   pending   2014-06-13T15:33:28 init-delegate-101   init-delegate-101   register init-delegate-118                 0.000000 XTS        0.010001 XTS        11b6e455
   1638.0    2014-06-13T15:39:15 init-delegate-101   init-delegate-101   register zf                                0.000000 XTS        0.010001 XTS        a63d3a1e
   pending   2014-06-14T04:58:30 init-delegate-101   init-delegate-101   register init-delegate-118 as a...         0.000000 XTS       10.495701 XTS        cfa13613
   pending   2014-06-14T05:22:45 init-delegate-101   init-delegate-101   register init-delegate-118                 0.000000 XTS        0.010001 XTS        bc09a847
roy (unlocked) >>> wallet_account_transaction_history zf
    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
roy (unlocked) >>> wallet_account_transaction_history testz-test
    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
as up code show , I list all accouts in my wallet,and every translation of my accounts,
maybe I think there is some bug , why I have follow accounts, I never register it ,and more serious thing is I can get the private key of "testz-test"  and there is no translation for regester fee. BM ,what is wrong?
testz-test *                       XTS8TR6PDqB1kpThaMHXMcJisUbRXWtNGv6ru4njQnGGaLSqsKRV9           2014-06-14T10:18:15   0
github.com :pureland
BTS2.0 API :ws://139.196.37.179:8091
BTS2.0 API 数据源ws://139.196.37.179:8091

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
just realized wallet need to be unlocked to produce blocks

Quote
Code: [Select]
  ],[
    "20140615T223301.398618",{
      "code": 10,
      "name": "assert_exception",
      "message": "Assert Exception",
      "stack": [{
          "context": {
            "level": "error",
            "file": "client.cpp",
            "line": 453,
            "method": "",
            "hostname": "",
            "thread_name": "th_a",
            "timestamp": "20140615T223301.398297"
          },
          "format": "_wallet->is_unlocked(): Wallet must be unlocked to produce
blocks",
          "data": {}
        }
      ]
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
We're all stuck there ATM, working on it
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 bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
Still having troubles with my delegate node. Rebuilt from latest source.

Code: [Select]
>>> about
{
  "bitshares_toolkit_revision": "4c439dd2a81b970646252893c36716d38c5fccc7",
  "bitshares_toolkit_revision_age": "47 minutes ago",
  "fc_revision": "888a01881aa5aa1313509aa7044455cac02359dc",
  "fc_revision_age": "3 hours ago",
  "compile_date": "compiled on Jun 15 2014 at 22:33:47"
}

Deleted  data dir, recreated wallet and imported delegate key. Now I am stuck on block 5685


Code: [Select]
>>> list_errors
[]
--- there are now 10 active connections to the p2p network
--- in sync with p2p network
default (unlocked) >>> get_info
{
  "blockchain_head_block_num": 5685,
  "blockchain_head_block_time": "20140615T040245",
  "blockchain_head_block_time_rel": "18 hours old",
  "blockchain_confirmation_requirement": 291,
  "blockchain_average_delegate_participation": 16.387903362054402,
  "network_num_connections": 10,
>>> approve bitcoiners

clout

  • Guest

Xeldal

  • Guest
my init-delegate-42 had 1.0000000 XTS

I used "wallet_account_register xeldal init-delegate-42" to register a new account "xeldal"

This was successful.

I then tried to "wallet_account_update_registration xeldal init-delegate-42 null true"

obviously I had insufficient funds and it failed but now when i check the balance of init-delegate-42 it reads 0.0000 XTS

Code: [Select]
xeldal (unlocked) >>> wallet_account_balance
init-delegate-42:
    0.000000 XTS

I didn't get a screen capture at the time but here is what i get when i try again
Code: [Select]
wallet_account_update_registration xeldal init-delegate-42 null true
20011 insufficient_funds: insufficient funds

    {"required":"10.495702 XTS","available":"0.000000 XTS"}

where did the remaining 0.989999 XTS go.

Edit: Nevermind wallet_rescan_blockchain fixed it.
Code: [Select]
xeldal (unlocked) >>> wallet_account_balance
init-delegate-42:
    0.989999 XTS
« Last Edit: June 15, 2014, 09:20:49 pm by Xeldal »

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
i already deleted ~/.BitsharesXTS

that's the data dir you're using?  Maybe you need a space:  https://github.com/BitShares/bitshares_toolkit/issues/291
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.