Main Menu

Compiling Bitshares in Ubuntu

Started by betax, February 26, 2014, 12:21:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HardFork

All I see is:

>>> login
password:

There is nothing that tells me how to set my password

HackFisher

Quote from: HardFork on March 04, 2014, 12:30:38 PM
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.

HardFork

What is my password?  I never set a password.  I am trying to import the private key that was posted earlier in this thread.

HackFisher

try run command "unlock" first, you need login and input your private key password first.

Quote from: HardFork on March 04, 2014, 03:52:36 AM
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.

HardFork

#19
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

betax

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!.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

toast

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.

HackFisher

Quote from: betax on February 28, 2014, 01:57:22 PM
@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.

Quote from: bytemaster on March 02, 2014, 07:30:30 AM
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.

betax

Quote from: maqifrnswa on February 28, 2014, 01:32:02 PM

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.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

betax

@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.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

arubi


betax

[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

HackFisher

#11
Quote from: arubi on February 28, 2014, 01:31:48 PM
Quote from: HackFisher on February 28, 2014, 01:27:10 PM
Please refer this: https://github.com/InvictusInnovations/BitShares/issues/52
lack of genesis.json file causing dead loop rather throw exception in bts_server
Quote from: arubi on February 28, 2014, 11:33:23 AM
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)


...


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:
importkey d987064e501555cf3d2e4e68f093a94144bc876a85c520971b747af32fa6a4c3 rescan
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.

maqifrnswa

Quote from: betax on February 27, 2014, 10:55:46 AM
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: [url="https://launchpad.net/~showard314/+archive/ubuntu/bitshares"]https://launchpad.net/~showard314/+archive/ubuntu/bitshares[/url] [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

arubi

Quote from: HackFisher on February 28, 2014, 01:27:10 PM
Please refer this: https://github.com/InvictusInnovations/BitShares/issues/52
lack of genesis.json file causing dead loop rather throw exception in bts_server
Quote from: arubi on February 28, 2014, 11:33:23 AM
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)


...


Any idea what I may be doing wrong here?
thanks

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