Author Topic: Compiling Bitshares in Ubuntu  (Read 10829 times)

0 Members and 1 Guest are viewing this topic.

Offline HardFork

  • Jr. Member
  • **
  • Posts: 26
    • View Profile
All I see is:

>>> login
password:

There is nothing that tells me how to set my password

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
What is my password?  I never set a password.  I am trying to import the private key that was posted earlier in this thread.

when you input the "login" command, the interface will remind you about how to set the passwords...
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 HardFork

  • Jr. Member
  • **
  • Posts: 26
    • View Profile
What is my password?  I never set a password.  I am trying to import the private key that was posted earlier in this thread.

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
try run command "unlock" first, you need login and input your private key password first.

I followed the instructions for unzipping the block.zip.  That solved the bts_server exception I had been having.  I was also able to run bts_wallet.  But when I tried the "importkey" command I got:

>>> importkey d987064e501555cf3d2e4e68f093a94144bc876a85c520971b747af32fa6a4c3 rescan
assert
!is_locked():
    {}
    th_a  blockchain_wallet.cpp:508 import_key
unable to import private key
    {}
    th_a  blockchain_wallet.cpp:516 import_key
>>>

Also: I am not sure what I am supposed to do with the genesis.json file

Sent from my GT-N7100 using Tapatalk

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 HardFork

  • Jr. Member
  • **
  • Posts: 26
    • View Profile
I followed the instructions for unzipping the block.zip.  That solved the bts_server exception I had been having.  I was also able to run bts_wallet.  But when I tried the "importkey" command I got:

>>> importkey d987064e501555cf3d2e4e68f093a94144bc876a85c520971b747af32fa6a4c3 rescan
assert
!is_locked():
    {}
    th_a  blockchain_wallet.cpp:508 import_key
unable to import private key
    {}
    th_a  blockchain_wallet.cpp:516 import_key
>>>

Also: I am not sure what I am supposed to do with the genesis.json file
« Last Edit: March 04, 2014, 03:54:49 am by HardFork »

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Thanks Hackfisher,

I have put a link for the genesis.json on the instructions as I have put it on github with a tool I quickly knocked out to check your balances.

I will post a new build later on, been busy with that tool ;)

Thanks toast for tips, appreciated!.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
betax + hackfisher: tips incoming, soon
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 HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
@Hackfisher I have added your chain to the instructions.

@All I have also added a simple get latest, build script, I just like to keep a history of builds just in case the latest breaks.

Hi guys, you might do not need my testing genesis chain any more because bytemaster just posted a thread having the source of genesis.json. But if you want to testing more with it, I'am afraid you need to modify it or have PTS/AGS before 2/28.

I have created a helper utility that will allow anyone with a PTS or Bitcoin-Qt wallet to see what their BTS balance is from the Feb 28th snapshot.

...


Inside the archive you will find genesis.json and an executable called get_bts_balance

...
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 betax

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

you may want to set up daily autobuilds on launchpad using build recipes and auto-importing from the bitshares github repo. saves you a lot of time and biulds a little bit of trust (if you trust canonical more than some random guy on the internet)

it'll be set up as a PPA so users can easily apt-get it up to date
https://help.launchpad.net/Packaging/SourceBuilds/GettingStarted

I have put this as a temporary measure to help other people that are interested to test BitShares and don't want to go through the same build pain as I had, there is a bounty already to do autobuild for Windows, Linux, etc. But your suggestion to have a PPA is great, I assume that is their plan.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
@Hackfisher I have added your chain to the instructions.

@All I have also added a simple get latest, build script, I just like to keep a history of builds just in case the latest breaks.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline arubi

  • Sr. Member
  • ****
  • Posts: 209
    • View Profile
Thanks!
Working 100%

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Awesome thanks HackFisher.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Please refer this: https://github.com/InvictusInnovations/BitShares/issues/52
lack of genesis.json file causing dead loop rather throw exception in bts_server
Hey,
maybe you can help me out,

I built the wallet and server using your tutorial, the wallet works but the server is throwing this error (in red)

Code: [Select]
...

Any idea what I may be doing wrong here?
thanks

Thanks for the info.
Is there a dummy genesis.json file somewhere?

Noop, I have not study the format of genesis.json yet, bytemaster might know that.
For testing, I modified the code using original genesis address and generate the testing genesis chain, you can download it and unzip in the folder of bts_server if you need.

https://dl.dropboxusercontent.com/u/5037011/chain.zip

after you start and login bts wallet, you can import genesis key:
Code: [Select]
importkey d987064e501555cf3d2e4e68f093a94144bc876a85c520971b747af32fa6a4c3 rescan
« Last Edit: February 28, 2014, 01:47:05 pm by HackFisher »
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 maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Compiled versions

I will try to post a daily compiled drop here (until a better solution is available).

Note: You don't know me, so for all you know this can be infected with a virus, (it is not) but nevertheless common sense apply.

Have fun.

2014-02-27https://www.dropbox.com/s/p0aggc29in3rucr/bts_wallet%202014-02-27.tar.gz
2014-02-28https://www.dropbox.com/s/vytze9qfhtw5qsp/bts_wallet_2014-02-28.tar.gz

you may want to set up daily autobuilds on launchpad using build recipes and auto-importing from the bitshares github repo. saves you a lot of time and biulds a little bit of trust (if you trust canonical more than some random guy on the internet)

it'll be set up as a PPA so users can easily apt-get it up to date
https://help.launchpad.net/Packaging/SourceBuilds/GettingStarted
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline arubi

  • Sr. Member
  • ****
  • Posts: 209
    • View Profile
Please refer this: https://github.com/InvictusInnovations/BitShares/issues/52
lack of genesis.json file causing dead loop rather throw exception in bts_server
Hey,
maybe you can help me out,

I built the wallet and server using your tutorial, the wallet works but the server is throwing this error (in red)

Code: [Select]
...

Any idea what I may be doing wrong here?
thanks

Thanks for the info.
Is there a dummy genesis.json file somewhere?