Author Topic: Delegates, start your engines!  (Read 55037 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
cmake file broken again. please check following  error message

Code: [Select]
-- Configuring incomplete, errors occurred!
See also "/home/daniel/bitshares_toolkit/CMakeFiles/CMakeOutput.log".
daniel@ubuntu:~/bitshares_toolkit$ cmake .
CMake Error at CMakeLists.txt:8 (include):
  include could not find load file:

    GetGitRevisionDescription


CMake Error at CMakeLists.txt:9 (get_git_head_revision):
  Unknown CMake command "get_git_head_revision".


-- 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 muse-umum

  • Hero Member
  • *****
  • Posts: 717
  • BitShares everything
    • View Profile
Emmm. I re-installed Ubuntu 14.04. Then errors occurred when I was cloning the codes.

git submodule update

Quote
Cloning into 'libraries/fc'...
remote: Counting objects: 4972, done.
remote: Compressing objects: 100% (2245/2245), done.
remote: Total 4972 (delta 2585), reused 4716 (delta 2419)
Receiving objects: 100% (4972/4972), 2.81 MiB | 144.00 KiB/s, done.
Resolving deltas: 100% (2585/2585), done.
Checking connectivity... done.
fatal: reference is not a tree: 3d38c58691c1f4d3e93d94c30b655b17aa90a7b9
Cloning into 'programs/client/htdocs'...
remote: Reusing existing pack: 891, done.
remote: Counting objects: 315, done.
remote: Compressing objects: 100% (315/315), done.
remote: Total 1206 (delta 237), reused 0 (delta 0)
Receiving objects: 100% (1206/1206), 2.50 MiB | 91.00 KiB/s, done.
Resolving deltas: 100% (791/791), done.
Checking connectivity... done.
Submodule path 'programs/client/htdocs': checked out 'f316a1638927fb11eddb75d29df77ec43952fe4c'
Cloning into 'vendor'...
remote: Reusing existing pack: 171, done.
remote: Total 171 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (171/171), 345.64 KiB | 200.00 KiB/s, done.
Resolving deltas: 100% (2/2), done.
Checking connectivity... done.
Submodule path 'vendor': checked out 'f5a1391ae6e6b681f48fa14929de4acf075cb64d'
Unable to checkout '3d38c58691c1f4d3e93d94c30b655b17aa90a7b9' in submodule path 'libraries/fc'
« Last Edit: June 12, 2014, 01:12:16 am by heyD »

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
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
it is on the todo list
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
Hi bm,

Is there a way to get private key out of my bitshares wallet. I accidentally lost the key that i imported to my wallet

not yet
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
Hi bm,

Is there a way to get private key out of my bitshares wallet. I accidentally lost the key that i imported to my wallet
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline bytemaster


can't build because ntohl() in bitshares_toolkit/libraries/fc/src/network/ntp.cpp
add headfile
Code: [Select]
#include <arpa/inet.h>

This should be fixed in latest builds.
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 bytemaster

Fixed brain key size issue. 
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 puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
https://bitsharestalk.org/index.php?topic=4928.msg65426#msg65426


Yes, I saw that.
I rebuilt with latest and it got through # make

Now I'm having issues creating wallet.  I get "brain key is too short"

Code: [Select]
(wallet closed) >>> wallet_create Xeldal
new_passphrase:
new_passphrase (verify):
20015 brain_key_too_short: brain key is too short

    {}
    th_a  client.cpp:686 wallet_create

    {}
    th_a  common_api_client.cpp:212 wallet_create

    {"command":"wallet_create"}
    th_a  cli.cpp:586 execute_command
(wallet closed) >>>

I'm using a 26 character passphrase.

I'm getting the same error on windows and ubuntu.  I was able to copy my old wallet over into the .BitSharesXTS/wallets directory and open it just fine though.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Xeldal

  • Guest
https://bitsharestalk.org/index.php?topic=4928.msg65426#msg65426


Yes, I saw that.
I rebuilt with latest and it got through # make

Now I'm having issues creating wallet.  I get "brain key is too short"

Code: [Select]
(wallet closed) >>> wallet_create Xeldal
new_passphrase:
new_passphrase (verify):
20015 brain_key_too_short: brain key is too short

    {}
    th_a  client.cpp:686 wallet_create

    {}
    th_a  common_api_client.cpp:212 wallet_create

    {"command":"wallet_create"}
    th_a  cli.cpp:586 execute_command
(wallet closed) >>>

I'm using a 26 character passphrase.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
https://bitsharestalk.org/index.php?topic=4928.msg65426#msg65426
nevermind about my missing ./bitshares_client

I failed to notice it didn't finish # make

Code: [Select]
[ 39%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/ntp.cpp.o
/root/bitshares_toolkit/libraries/fc/src/network/ntp.cpp: In static member function ‘static fc::time_point fc::ntp::get_time()’:
/root/bitshares_toolkit/libraries/fc/src/network/ntp.cpp:40:70: error: ‘ntohl’ was not declared in this scope
      return fc::time_point() + fc::seconds( ntohl((time_t)recv_buf[4]) - 2208988800U);
                                                                      ^
/root/bitshares_toolkit/libraries/fc/src/network/ntp.cpp:41:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/network/ntp.cpp.o] Error 1
make[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
make: *** [all] Error 2

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
nevermind about my missing ./bitshares_client

I failed to notice it didn't finish # make

Code: [Select]
[ 39%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/ntp.cpp.o
/root/bitshares_toolkit/libraries/fc/src/network/ntp.cpp: In static member function ‘static fc::time_point fc::ntp::get_time()’:
/root/bitshares_toolkit/libraries/fc/src/network/ntp.cpp:40:70: error: ‘ntohl’ was not declared in this scope
      return fc::time_point() + fc::seconds( ntohl((time_t)recv_buf[4]) - 2208988800U);
                                                                      ^
/root/bitshares_toolkit/libraries/fc/src/network/ntp.cpp:41:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/network/ntp.cpp.o] Error 1
make[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
make: *** [all] Error 2

git submodule update?
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.

Xeldal

  • Guest
nevermind about my missing ./bitshares_client

I failed to notice it didn't finish # make

Code: [Select]
[ 39%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/ntp.cpp.o
/root/bitshares_toolkit/libraries/fc/src/network/ntp.cpp: In static member function ‘static fc::time_point fc::ntp::get_time()’:
/root/bitshares_toolkit/libraries/fc/src/network/ntp.cpp:40:70: error: ‘ntohl’ was not declared in this scope
      return fc::time_point() + fc::seconds( ntohl((time_t)recv_buf[4]) - 2208988800U);
                                                                      ^
/root/bitshares_toolkit/libraries/fc/src/network/ntp.cpp:41:3: warning: control reaches end of non-void function [-Wreturn-type]
   }
   ^
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/network/ntp.cpp.o] Error 1
make[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
make: *** [all] Error 2

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I have rip the date
still in the fork chain
Code: [Select]
delegate (unlocked) >>> info
{
  "blockchain_head_block_num": 2946,
  "blockchain_head_block_time": "20140611T203545",

Xeldal

  • Guest
The client is in ~/bitshares_toolkit/programs/client/
~/bitshares_toolkit/programs/client/bitshares_client  to run it.

I tried to ninja edit but you got me.  Its not in that location either. At least not in my build.