Author Topic: Delegates, start your engines!  (Read 54088 times)

0 Members and 1 Guest are viewing this topic.

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
@sfinder  I'm not sure what's going on, have not encountered this issue yet on any build I tried. Which OS version?
my os is ubuntu 14.04 and i got following CMAKE error

CMake Error at programs/client/CMakeLists.txt:8 (target_include_directories):
  target_include_directories called with invalid arguments


daniel@ubuntu:~/bitshares_toolkit$ cmake .
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Configuring BitShares on Linux
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu                        /libdb_cxx.so
-- Found BerkeleyDB: /usr/include
-- Using custom FindBoost.cmake
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   filesystem
--   program_options
--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
-- Using custom FindBoost.cmake
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   coroutine
-- Configuring project fc located in: /home/daniel/bitshares_toolkit/libraries/f                        c
-- Configuring fc to build on Unix/Apple
-- Using custom FindBoost.cmake
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   filesystem
--   program_options
--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
--   coroutine
-- Setting up OpenSSL root and include vars to , /include
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.a;/usr/lib/x86_64-linux-gnu/l                        ibcrypto.a (found version "1.0.1f")
** for a debug build: cmake -DCMAKE_BUILD_TYPE=Debug ..
-- Finished fc module configuration...
-- Found Curses: /usr/lib/x86_64-linux-gnu/libcurses.so
-- Found Readline: /usr/include
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu                        /libdb_cxx.so
-- Found BerkeleyDB: /usr/include
-- Enabling Bitcoin Core Wallet Imports
CMake Error at programs/client/CMakeLists.txt:8 (target_include_directories):
  target_include_directories called with invalid arguments


-- Configuring incomplete, errors occurred!
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline cgafeng

Code: [Select]
cgafeng (locked) >>> wallet_list_receive_accounts
NAME                     BALANCE                  KEY                                                             REGISTERED            TRUST LEVEL
cgafeng (delegate)       670.177299 XTS           XTS5V87vRKu7K9z3nBDEprCnyyxESaTZDZubUPVc9uhfEdY6hj4Us           2014-06-09T03:57:45   0
I use wallet_account_register to register as delegate, are my delegate name is cgafeng?
when i use blockchain_list_delegates, i don't find my name.
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
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"
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 welk1n

  • Jr. Member
  • **
  • Posts: 26
    • View Profile
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"

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
@trog   looks fine to me. "blockchain_list_registered_accounts" shows ALL accounts, not just yours.
Yours were all pre-registered with 'init-delegate-N' and not the names you gave us.

That isn't the issue.  The issue is that my accounts don't seem to be properly linking to the blockchain registered accounts on rescanning, so it looks like my delegates are inactive even though I have their keys in the wallet and it's unlocked.

What do you mean? I see your 4 accounts in both lists, they are in reversed order though.
It looks like you are producing blocks too (2 or 3 per delegate just now)

edit: the only thing I see is that "registered" is "NO" when it should be "YES" - this is a display bug only I think
« Last Edit: June 09, 2014, 04:48:15 am by toast »
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 Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
@trog   looks fine to me. "blockchain_list_registered_accounts" shows ALL accounts, not just yours.
Yours were all pre-registered with 'init-delegate-N' and not the names you gave us.

That isn't the issue.  The issue is that my accounts don't seem to be properly linking to the blockchain registered accounts on rescanning, so it looks like my delegates are inactive even though I have their keys in the wallet and it's unlocked.

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
@sfinder  I'm not sure what's going on, have not encountered this issue yet on any build I tried. Which OS version?
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 toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
@xeldal   great point, totally need more room in display. For now you can use secret command "enable_raw" before "wallet_list_receive_accounts" to get a raw json dump and see your names. Will fix soon.

@trog   looks fine to me. "blockchain_list_registered_accounts" shows ALL accounts, not just yours.
Yours were all pre-registered with 'init-delegate-N' and not the names you gave us.
« Last Edit: June 09, 2014, 04:24:50 am by toast »
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 Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
Code: [Select]
Troglodactyl_dw (unlocked) >>> wallet_list_receive_accounts
NAME                     BALANCE                  KEY                                                             REGISTERED            TRUST LEVEL
troglodactyl-delegate-5  0.000000 XTS             XTS66egtaE9cVPqzNYew5tu2zYjGMroFUTHJYZfRmUukezVxEQ7mF           NO                    0
init-delegate-65         0.000000 XTS             XTS8TouigRWFaQ8Bxt5YrPQJwR77RKFuCmbs5hTtuiQbzgNexwzef           NO                    0
init-delegate-64         0.000000 XTS             XTS5EVghckGywFQL4StpqMiYEiRJvpSKBUUe35ePL4RMyDcwk97ko           NO                    0
init-delegate-63         0.000000 XTS             XTS8aNGydnsjGn2YH7xEvocgYF2tC6zTnuLosqYJ9DyD9n3sfrxGC           NO                    0
init-delegate-62         0.000000 XTS             XTS5DmPZBzrAxmQ5CQHQxfZ5fLWKVJ1kDvdqcBYbwBm7nuqBEcFX2           NO                    0
"OK"
Troglodactyl_dw (unlocked) >>> blockchain_list_registered_accounts init-delegate-62 4
NAME                     KEY                                                             REGISTERED            VOTES FOR      VOTES AGAINST  TRUST LEVEL
init-delega... (delegate)XTS5DmPZBzrAxmQ5CQHQxfZ5fLWKVJ1kDvdqcBYbwBm7nuqBEcFX2           2014-06-01T00:00:00   86821738348    0              0
init-delega... (delegate)XTS8aNGydnsjGn2YH7xEvocgYF2tC6zTnuLosqYJ9DyD9n3sfrxGC           2014-06-01T00:00:00   117449299698   0              0
init-delega... (delegate)XTS5EVghckGywFQL4StpqMiYEiRJvpSKBUUe35ePL4RMyDcwk97ko           2014-06-01T00:00:00   111941118448   0              0
init-delega... (delegate)XTS8TouigRWFaQ8Bxt5YrPQJwR77RKFuCmbs5hTtuiQbzgNexwzef           2014-06-01T00:00:00   105192196131   0              0
Troglodactyl_dw (unlocked) >>>

My account registration seems to be inconsistent.  Not sure what's going on there.  I cleared my data and then re-imported the wallet files.  I changed the names of the delegates that should be registered manually for consistency.

Does rescanning only check balances and not key registration?
« Last Edit: June 09, 2014, 04:10:52 am by Troglodactyl »

Xeldal

  • Guest
Name is cut off with ...

Code: [Select]
Xeldal-1 (unlocked) >>> wallet_list_receive_accounts
NAME                     BALANCE                  KEY                                                             REGISTERED            TRUST LEVEL
init-delega... (delegate)0.000000 XTS             XTS5iNWht2kEmdWNDf6cRz6HiVEs2zk3X61GpQvrQT1wQf66xucit           2014-06-01T00:00:00   0
"OK"

How to >>> wallet_get_account init-delega??

is there another way to find this name somewhere?

Edit: clarity
« Last Edit: June 09, 2014, 04:02:40 am by Xeldal »

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
Toast, have you updated GIT? I guess everyone will have the same problem as i experienced
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
daniel@ubuntu:~/bitshares_toolkit$ cmake /V
cmake version 2.8.12.2

What is your cmake --version?

Code: [Select]
cmake version 2.8.12.2

May need to Temporarily set CURSES_USE_NCURSES to TRUE to force the use of NCURSES, rather than letting CMake try to find CURSES.
« Last Edit: June 09, 2014, 03:35:06 am by sfinder »
微博:星在飘我在找|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
What is your cmake --version?

Code: [Select]
cmake version 2.8.12.2
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 sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
check in new code from git but not able to do cmake. please check following error message


--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
--   coroutine
-- Setting up OpenSSL root and include vars to , /include
-- Finished fc module configuration...
-- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- Found BerkeleyDB: /usr/include
-- Enabling Bitcoin Core Wallet Imports
CMake Error at programs/client/CMakeLists.txt:8 (target_include_directories):
  target_include_directories called with invalid arguments


-- Configuring incomplete, errors occurred!
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I'm ready, thank you  :)