Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - welk1n

Pages: 1 [2]
16
General Discussion / Re: Delegates, start your engines!
« on: June 12, 2014, 06:34:00 am »
Code: [Select]
[ 98%] Built target deterministic_signature_test
Scanning dependencies of target dev_tests
[ 98%] Building CXX object tests/CMakeFiles/dev_tests.dir/dev_tests.cpp.o
/data/bts/0612/bitshares_toolkit/tests/dev_tests.cpp:3:27: fatal error: dev_fixture.hpp: No such file or directory
 #include "dev_fixture.hpp"
                           ^
compilation terminated.
make[2]: *** [tests/CMakeFiles/dev_tests.dir/dev_tests.cpp.o] Error 1
make[1]: *** [tests/CMakeFiles/dev_tests.dir/all] Error 2
make: *** [all] Error 2


I compiled the project everyday and use the day time as  folder name .
This error is  occurred the first time. ( under the 0612 folder )

Code: [Select]
root@xxxx:/data/bts# ll
total 28
drwxr-xr-x  7 root root 4096 Jun 12 14:08 ./
drwxr-xr-x  3 root root 4096 Jun  8 09:36 ../
drwxr-xr-x  3 root root 4096 Jun  9 13:12 0609/
drwxr-xr-x  3 root root 4096 Jun 10 12:34 0610/
drwxr-xr-x  3 root root 4096 Jun 11 10:11 0611/
drwxr-xr-x  3 root root 4096 Jun 12 14:08 0612/

17
General Discussion / Re: Delegates, start your engines!
« on: June 10, 2014, 02:42:13 am »
My real public keys, and I have found the account are init-delegate-30 init-delegate-31 init-delegate-32 init-delegate-33
welk1n-d-1:XTS6f8fzmUDQp63nTYgsA2GQtvFoPvKrmTmuhkCvQUCnKUJwxTxtx
welk1n-d-2:XTS5urryfpdjZgwavKwufJ9A1d816LFaPbSQLu5eP2G76B7hbtuxj
welk1n-d-3:XTS7p56UNQLyWc3NB2yeT4VVtYhanf6wFC356c6vbfpvQ9CHUmg6X
welk1n-d-4:XTS7SDs7tmoYe96wjRzYqavAu4nehaMUTh3TbkGe9EPWNbA1P2XPA
welk1n-d-5:XTS6z7aMnBmXi7qL9uHfgWS6d1wedEpvQNTrwgeGb8h1MH9WVXtRC


After the latest  compiled project , and run it.

welk1n (unlocked) >>> wallet_list_receive_accounts
NAME                               BALANCE                  KEY                                                             REGISTERED            TRUST LEVEL   
init-delegate-12 (delegate)        XTS6yyGEujvofqgQRfwvwWxMjZiFJwE4kBE1BpXtGpmhZ8aC58Dmb           2014-06-01T00:00:00   0             
init-delegate-10 (delegate)        XTS7CoMc1xHodpiVYS8gukQRhmrpxaBEz7oMaUy434HBLbJegtFo1           2014-06-01T00:00:00   0             
init-delegate-8 (delegate)         XTS4u3cQJNLS9jDN1mCM9ynLNHQV9PuEVfwA2R95XnV7ZDNjJL89z           2014-06-01T00:00:00   0             
init-delegate-6 (delegate)         XTS5vXkQbGLEwaye3ZsLAtMMEe6tkh724nr2zoGHHeAUCsvVeywvc           2014-06-01T00:00:00   0             
init-delegate-4 (delegate)         XTS6XtS7F5Fy3dUVSUKHJHN1dC66VaruRFkKmo8um6QB24Xsf2mzF           2014-06-01T00:00:00   0             
"OK"


18
General Discussion / Re: Delegates, start your engines!
« on: June 10, 2014, 02:31:11 am »
look like we are sharing "init-delegate-5 (delegate) " and "init-delegate-7 (delegate)"

anyone can explain it ? must be a bug..... how can we both have the same keys in different wallet

Code: [Select]
wallet_list_receive_accounts
NAME                               BALANCE                  KEY                                                             REGISTERED            TRUST LEVEL   
pan2pan-05                         0.000000 XTS             XTS8T5M76CG8PFopcuSoAkvTfzkGhZMR44Dckd6JB5zYxxde1vqaU           NO                    0             
init-delegate-8 (delegate)         0.000000 XTS             XTS4u3cQJNLS9jDN1mCM9ynLNHQV9PuEVfwA2R95XnV7ZDNjJL89z           2014-06-01T00:00:00   0             
init-delegate-7 (delegate)         0.000000 XTS             XTS5H3qwDsnjm8yoiN1CAQg6LKTnSNuXZDePeGAQSa5CiALSFRFQ8           2014-06-01T00:00:00   0             
init-delegate-6 (delegate)         0.000000 XTS             XTS5vXkQbGLEwaye3ZsLAtMMEe6tkh724nr2zoGHHeAUCsvVeywvc           2014-06-01T00:00:00   0             
init-delegate-5 (delegate)         0.000000 XTS             XTS6tmvXdn2vJss4a4ADVUUi8GbAC37H6HJRcVeFyhzcsRUNyQJGE           2014-06-01T00:00:00   0             



After latest git pull things are starting to work.
I was able to import 4 of my delegate private keys. However I am not seeing these delegates among receive accounts..

These accounts show up, but these are not public keys that correspond to my imported private keys.

Code: [Select]
wallet_list_receive_accounts
NAME                               BALANCE                  KEY                                                             REGISTERED            TRUST LEVEL   
init-delegate-9 (delegate)         XTS6sSu1DhZUxpnoLz1wYvwsowUQpa4zyHFkqo972fKnU6xrEKVx8           2014-06-01T00:00:00   0             
init-delegate-7 (delegate)         XTS5H3qwDsnjm8yoiN1CAQg6LKTnSNuXZDePeGAQSa5CiALSFRFQ8           2014-06-01T00:00:00   0             
init-delegate-5 (delegate)         XTS6tmvXdn2vJss4a4ADVUUi8GbAC37H6HJRcVeFyhzcsRUNyQJGE           2014-06-01T00:00:00   0             
init-delegate-3 (delegate)         XTS7bUdQ41J4vhNVBkmbqDKGiftrmQNrL1vCx881Fg4R2hE5r6P2Z           2014-06-01T00:00:00   0             
"OK"

My public keys are:
Code: [Select]
XTS6ezsAe72hVoMq4mC4fnAAF2XYqprcpt4vZ5nkqUoZn8xsSWB5Z
XTS72Xc5wBYmWQrAqcPoU6RSEegB3CosNh82wbf4QkKquJtbhgPWL
XTS7DeMWhGV8P7oiKoigtGqFKDfauB83Nrxy5FpMwLEjMw7wC8UVe
XTS73iK3RkkijdfgzH5mioB4wzWFNsmsvwtsNPnkoHAApHK6cbMz3

Am I missing something?

Me too

19
General Discussion / Re: Delegates, start your engines!
« on: June 09, 2014, 09:00:16 pm »
I have found the 4 accounts 
They are  init-delegate-30   init-delegate-31  init-delegate-32  init-delegate-33.

And I check it with the command as follow, are they working well now?


welk1n (unlocked) >>> blockchain_get_account_record init-delegate-30
{
  "id": 30,
  "name": "init-delegate-30",
  "public_data": null,
  "owner_key": "XTS6f8fzmUDQp63nTYgsA2GQtvFoPvKrmTmuhkCvQUCnKUJwxTxtx",
  "active_key_history": [[
      "19700101T000000",
      "XTS6f8fzmUDQp63nTYgsA2GQtvFoPvKrmTmuhkCvQUCnKUJwxTxtx"
    ]
  ],
  "delegate_info": {
    "votes_for": 95353683578,
    "votes_against": 0,
    "blocks_produced": 36,
    "blocks_missed": 11,
    "pay_balance": 504042,
    "next_secret_hash": "f80e9fc97861a1c41c642065bdacef79627190c9",
    "last_block_num_produced": 1553
  },
  "registration_date": "20140601T000000",
  "last_update": "20140601T000000",
  "meta_data": null
}
welk1n (unlocked) >>> blockchain_get_account_record init-delegate-31
{
  "id": 31,
  "name": "init-delegate-31",
  "public_data": null,
  "owner_key": "XTS5urryfpdjZgwavKwufJ9A1d816LFaPbSQLu5eP2G76B7hbtuxj",
  "active_key_history": [[
      "19700101T000000",
      "XTS5urryfpdjZgwavKwufJ9A1d816LFaPbSQLu5eP2G76B7hbtuxj"
    ]
  ],
  "delegate_info": {
    "votes_for": 114694827064,
    "votes_against": 0,
    "blocks_produced": 38,
    "blocks_missed": 10,
    "pay_balance": 543807,
    "next_secret_hash": "8f90fc58b18a207ef2cae267c2ecfe95d05829f6",
    "last_block_num_produced": 1556
  },
  "registration_date": "20140601T000000",
  "last_update": "20140601T000000",
  "meta_data": null
}

20
General Discussion / Re: Delegates, start your engines!
« on: June 09, 2014, 09:11:56 am »
Also.  If there are any nix masters out there.  What is the purpose of splitting the screen -S and the running gdb?

It seems like I can get similar results from running
screen -S Bitshares ./bitshares_client
without the step of running gdb
from a theoretical viewpoint, I'd like to understand the difference.

**this is purely for my educational purposes, and is not at all important**

GDB is a debugger, if the client crashes for example GDB can give some meaningful info as to why that happened.

If all of my private keys give me:

Code: [Select]
10
registered_account:
    {}
    th_a  wallet.cpp:777 import_private_key

    {"account_name":""}
    th_a  wallet.cpp:812 import_private_key

    {"account_name":""}
    th_a  wallet.cpp:831 import_wif_private_key

    {}
    th_a  common_api_client.cpp:212 wallet_import_private_key

    {"command":"wallet_import_private_key"}
    th_a  cli.cpp:574 execute_command
mauritso (unlocked) >>>

That would mean that I am not an initial delegate right? (Is there a list somewhere?)

Maybe you can find the old wallets dir and copy it to the new wallets dir.
Then you can use command
>>> wallet_open $wallet_name

I just do like this, and now is working well.

21
General Discussion / Re: Delegates, start your engines!
« on: June 09, 2014, 05:57:57 am »
How to be registered?         

NAME                     BALANCE                  KEY                                                             REGISTERED            TRUST LEVEL   
welk1n-d-5               0.000000 XTS             XTS6z7aMnBmXi7qL9uHfgWS6d1wedEpvQNTrwgeGb8h1MH9WVXtRC           NO                    0             
welk1n-d-4               0.000000 XTS             XTS7SDs7tmoYe96wjRzYqavAu4nehaMUTh3TbkGe9EPWNbA1P2XPA           NO                    0             
welk1n-d-3               0.000000 XTS             XTS7p56UNQLyWc3NB2yeT4VVtYhanf6wFC356c6vbfpvQ9CHUmg6X           NO                    0             
welk1n-d-2               0.000000 XTS             XTS5urryfpdjZgwavKwufJ9A1d816LFaPbSQLu5eP2G76B7hbtuxj           NO                    0             
welk1n-d-1               0.000000 XTS             XTS6f8fzmUDQp63nTYgsA2GQtvFoPvKrmTmuhkCvQUCnKUJwxTxtx           NO                    0             
"OK"

Looks like "registered" status is buggy.  Actually I see you made new accounts, you should not need to - if you just import your keys and rescan you will have pre-registered accounts "init-delegate-N". If you want to register new accounts you can use "wallet_account_register"

I just import the keys and rescan it, but the status is still no registered.

22
General Discussion / Re: Delegates, start your engines!
« on: June 09, 2014, 05:25:05 am »
@sfinder  I will look at your issue tomorrow, I have to sleep now. I cannot reproduce it easily

check following link. problem was caused by hackfish committed cmakelist for Keyhotee. manually fix

https://github.com/BitShares/bitshares_toolkit/commit/c182d24ae7ee569f5c601a915bea317477d24c2c#diff-d3cc6a7d9369a54a5ed80c1cf4f996a7

Yes ,  diff the two files , you will find it. 

23
General Discussion / Re: Delegates, start your engines!
« on: June 09, 2014, 04:44:44 am »
How to be registered?         

NAME                     BALANCE                  KEY                                                             REGISTERED            TRUST LEVEL   
welk1n-d-5               0.000000 XTS             XTS6z7aMnBmXi7qL9uHfgWS6d1wedEpvQNTrwgeGb8h1MH9WVXtRC           NO                    0             
welk1n-d-4               0.000000 XTS             XTS7SDs7tmoYe96wjRzYqavAu4nehaMUTh3TbkGe9EPWNbA1P2XPA           NO                    0             
welk1n-d-3               0.000000 XTS             XTS7p56UNQLyWc3NB2yeT4VVtYhanf6wFC356c6vbfpvQ9CHUmg6X           NO                    0             
welk1n-d-2               0.000000 XTS             XTS5urryfpdjZgwavKwufJ9A1d816LFaPbSQLu5eP2G76B7hbtuxj           NO                    0             
welk1n-d-1               0.000000 XTS             XTS6f8fzmUDQp63nTYgsA2GQtvFoPvKrmTmuhkCvQUCnKUJwxTxtx           NO                    0             
"OK"

24
General Discussion / Re: Initial delegates, let's get ready!
« on: June 08, 2014, 03:50:06 am »
Thanks all

Note:

Location: Beijing, China
os: ubuntu
cpu: one core
mem: 2G

welk1n-d-1:XTS6f8fzmUDQp63nTYgsA2GQtvFoPvKrmTmuhkCvQUCnKUJwxTxtx
welk1n-d-2:XTS5urryfpdjZgwavKwufJ9A1d816LFaPbSQLu5eP2G76B7hbtuxj
welk1n-d-3:XTS7p56UNQLyWc3NB2yeT4VVtYhanf6wFC356c6vbfpvQ9CHUmg6X
welk1n-d-4:XTS7SDs7tmoYe96wjRzYqavAu4nehaMUTh3TbkGe9EPWNbA1P2XPA
welk1n-d-5:XTS6z7aMnBmXi7qL9uHfgWS6d1wedEpvQNTrwgeGb8h1MH9WVXtRC

25
General Discussion / Re: Initial delegates, let's get ready!
« on: June 08, 2014, 03:18:20 am »
wei (unlocked) >>> wallet_import_private_key 5K1D1semMJdX6i4RSiWXHYLHhm7RhRXup2KswGzeEan3oqd2TY5 "welk1n-a"
10
is_valid_account( account_name ):
    {}
    th_a  wallet.cpp:784 import_private_key

    {"account_name":"welk1n-a"}
    th_a  wallet.cpp:811 import_private_key

    {"account_name":"welk1n-a"}
    th_a  wallet.cpp:830 import_wif_private_key

    {}
    th_a  common_api_client.cpp:202 wallet_import_private_key

    {"command":"wallet_import_private_key"}
    th_a  cli.cpp:574 execute_command

26
支持下
望给力,罗永浩式的情怀,1bts = 1锤子
3i工匠,加油!

Pages: 1 [2]