Author Topic: Delegate questions  (Read 12993 times)

0 Members and 1 Guest are viewing this topic.

Offline Sonia Bzrgn

  • Newbie
  • *
  • Posts: 1
    • View Profile
Dear MeTHoDx
I have this problem now, for several time I try to install devtoolset but I face this error:

warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 1d1e034b: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern
GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern

did you solve this problem? how did you do that?
it's so important to me to solve this problem, please do me a  favour and share your experiment with me
Thanks in advance

Offline roadscape

It's tripped me up several times :)
http://cryptofresh.com  |  witness: roadscape

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
Thanks! So close to finishing.

Code: [Select]
Error: your chain database is in an inconsistent state.  Please shut down and relaunch using --rebuild-index or --resync-blockchain to repair the database
Any ideas what's going on with the wallet? Why isn't is scanning the blockchain correctly?

This might help... emski had a similar problem in KeyID.

Did the yum update help? Did you have to do anything different for the RedHat install?

Do you know what I type to rebuild the index? I input ./bitshares_client --data-dir dd --rebuild-index while in the /bitsharesx/ dir and I just get an error.

cd programs/client and try again. Should work!

Yeah I realized the mistake I made when posting. Wasn't deep enough into the dir tree. My bad.

Offline roadscape

Thanks! So close to finishing.

Code: [Select]
Error: your chain database is in an inconsistent state.  Please shut down and relaunch using --rebuild-index or --resync-blockchain to repair the database
Any ideas what's going on with the wallet? Why isn't is scanning the blockchain correctly?

This might help... emski had a similar problem in KeyID.

Did the yum update help? Did you have to do anything different for the RedHat install?

Do you know what I type to rebuild the index? I input ./bitshares_client --data-dir dd --rebuild-index while in the /bitsharesx/ dir and I just get an error.

cd programs/client and try again. Should work!
http://cryptofresh.com  |  witness: roadscape

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
Thanks! So close to finishing.

Code: [Select]
Error: your chain database is in an inconsistent state.  Please shut down and relaunch using --rebuild-index or --resync-blockchain to repair the database
Any ideas what's going on with the wallet? Why isn't is scanning the blockchain correctly?

This might help... emski had a similar problem in KeyID.

Did the yum update help? Did you have to do anything different for the RedHat install?

I bought access to a VPS in Singapore (safer than America) through Digital Ocean. It's running Ubuntu and I have successfully compiled the cli. Now I just need to deal with a few more barriers and hopefully I'll be finished by tonight. :-\

Offline roadscape

Thanks! So close to finishing.

Code: [Select]
Error: your chain database is in an inconsistent state.  Please shut down and relaunch using --rebuild-index or --resync-blockchain to repair the database
Any ideas what's going on with the wallet? Why isn't is scanning the blockchain correctly?

This might help... emski had a similar problem in KeyID.

Did the yum update help? Did you have to do anything different for the RedHat install?
http://cryptofresh.com  |  witness: roadscape

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
How do I import the private key for an account I created months ago? I know it's wallet_import_private_key but where do I find the private key?
You have a wallet backup that contains that account name?

if you open a wallet that contains the account you want to the private key for you can use

wallet_dump_private_key accountname

Thanks! So close to finishing.

Code: [Select]
Error: your chain database is in an inconsistent state.  Please shut down and relaunch using --rebuild-index or --resync-blockchain to repair the database
Any ideas what's going on with the wallet? Why isn't is scanning the blockchain correctly?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
How do I import the private key for an account I created months ago? I know it's wallet_import_private_key but where do I find the private key?
You have a wallet backup that contains that account name?

if you open a wallet that contains the account you want to the private key for you can use

wallet_dump_private_key accountname

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
How do I import the private key for an account I created months ago? I know it's wallet_import_private_key but where do I find the private key?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Hmm.. 1% of 50BTS gives 0.5BTS. Right?
Oh shit .. that hurts ..

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
https://github.com/BitShares/bitshares_toolkit/issues/879

10x I'd wait for the final version though.
Does this mean that a delegate can have max 100x TRX fees per block?

from what I know ... TX fees are BURNED .. you can get up to 100% of 50 BTS per block ..

Thanks for the insight.  Is this new '1%' pay-rate similar to that of KeyID?
I think so ... current plans are .. 50 BTS can be generated each block .. with a 1% pay rate leads to 5BTS per solved block .. which is 5x of the current payrate ..

Hmm.. 1% of 50BTS gives 0.5BTS. Right?
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube
Are you required to used RedHat? Because you are certainly the first person to ever try to compile it on RedHat ..
Can't you choose Ubuntu, or Archlinux?

The server already has a few websites on it... so I would have to basically hire someone to switch everything over to Ubuntu with minimal downtime (some of the sites are for-profit).

It depends if the websites use third-party software.   In most cases, it should be ok.
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
https://github.com/BitShares/bitshares_toolkit/issues/879

10x I'd wait for the final version though.
Does this mean that a delegate can have max 100x TRX fees per block?

from what I know ... TX fees are BURNED .. you can get up to 100% of 50 BTS per block ..

Thanks for the insight.  Is this new '1%' pay-rate similar to that of KeyID?
I think so ... current plans are .. 50 BTS can be generated each block .. with a 1% pay rate leads to 5BTS per solved block .. which is 5x of the current payrate ..

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
https://github.com/BitShares/bitshares_toolkit/issues/879

10x I'd wait for the final version though.
Does this mean that a delegate can have max 100x TRX fees per block?

from what I know ... TX fees are BURNED .. you can get up to 100% of 50 BTS per block ..

Thanks for the insight.  Is this new '1%' pay-rate similar to that of KeyID?
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline roadscape

First, a warning: servers are fragile. If you have important apps/sites on this server, don't risk it unless you have the means to fix it.

It's faster, safer, and more secure to launch a new VPS with Ubuntu and install only the delegate there.
I'm in this process myself atm and can confirm that the wiki guide (while a little messy) is error-free.

But if you want to live on the wild side :D, I'd run yum update. That should fix the GCC error.
http://cryptofresh.com  |  witness: roadscape

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
ok .. then .. good luck compiling .. can't help you unfortunately .. never used RedHat :-\

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
Are you required to used RedHat? Because you are certainly the first person to ever try to compile it on RedHat ..
Can't you choose Ubuntu, or Archlinux?

The server already has a few websites on it... so I would have to basically hire someone to switch everything over to Ubuntu with minimal downtime (some of the sites are for-profit).

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Are you required to used RedHat? Because you are certainly the first person to ever try to compile it on RedHat ..
Can't you choose Ubuntu, or Archlinux?

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
Ok so I'm trying to install devtools-2 but NOW I'm getting this error:

Code: [Select]
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 1d1e034b: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern


GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern

Oh commandline... how I hate thee.

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
Doesn't yum just offer the latest?

Sent from my SM-G900T using Tapatalk

What if I gave you SSH access so you can mess around with it a bit? If it's not too much trouble I mean.

Offline Riverhead

Doesn't yum just offer the latest?

Sent from my SM-G900T using Tapatalk


Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
Looks like I probably need to install developer toolset BUT I don't know what version to install.

Here is the linux version of RedHat I'm running:

Code: [Select]
root@server13 [~]# uname -mrs
Linux 2.6.32-358.18.1.el6.x86_64 x86_64
« Last Edit: October 30, 2014, 02:48:37 pm by MeTHoDx »

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
Thank you tonyk and riverhead again for all the help.

Quote
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Offline Riverhead

tonyk2 has it correct.

The following command (except for the Ubuntu stuff of course :) )

gcc --version

Should return:

Code: [Select]
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

zerosum

  • Guest
BTW these are the specs on the dedicated server:

Xeon E3-1240 v3
4 Cores x 3.4 GHz
120 GB SSD

That any good?

I will (once again) post in a topic that is non of my business/expertise.!!!!
Those are more than you need as of today. So damn good, in other words.
You are missing the software (which someone here will help you install).


Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
BTW these are the specs on the dedicated server:

Xeon E3-1240 v3
4 Cores x 3.4 GHz
120 GB SSD

That any good?

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
Did you do the cmake step?

Sent from my SM-G900T using Tapatalk

Code: [Select]
root@server13 [~/bitsharesx]# cmake .
CMake Error at CMakeLists.txt:8 (message):
  GCC version must be at least 4.8!

Offline Riverhead

Did you do the cmake step?

Sent from my SM-G900T using Tapatalk


Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
You could try using "yum" instead of "apt-get".

Yes that works! Next roadblock:

Code: [Select]
root@server13 [~/bitsharesx]# make
make: *** No targets specified and no makefile found.  Stop.

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
You could try using "yum" instead of "apt-get".

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
So... now that I have shell access via terminal.app how do I install the bitsharesx cli?

http://wiki.bitshares.org/index.php/BitShares_X_Delegate_How-To

Didn't know this existed... should def be stickied in this sub!

When I input sudo apt-get update I get: sudo: apt-get: command not found

What do?

Offline roadscape

http://cryptofresh.com  |  witness: roadscape

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
OMG I'm in!

So... now that I have shell access via terminal.app how do I install the bitsharesx cli?

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
K... how do I connect from terminal now. It should look something like
Code: [Select]
ssh example.com@s00000.gridserver.com but I'm not sure what it will be for my specific server...

It's [username]@[URL or ip address] if that helps...

EDIT: root@[URL or ip address], given that the keys you generated were for root.
« Last Edit: October 30, 2014, 04:00:28 am by Troglodactyl »

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
K... how do I connect from terminal now. It should look something like
Code: [Select]
ssh example.com@s00000.gridserver.com but I'm not sure what it will be for my specific server...

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
You want a plain terminal, not a file manager, just to clarify.

Offline Riverhead

Is there Putty for osx?  Also, OSX has a shell built in (OSX started out as FreeBSD). You can just use that without issue.

http://superuser.com/questions/178735/how-do-you-get-a-shell-on-a-mac
« Last Edit: October 30, 2014, 03:36:24 am by Riverhead »

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
Also, once you're in to a proper ssh shell it should be too bad to walk you through the install. You don't need a full GUI compile so that makes life easier.

Thanks for the help btw!

I've successfully generated a new SSH public and private key with NO PASSWORD, RSA and the key size is 1024.

I'm now looking for SSH file managers that work with OS X. I've found http://www.rbrowser.com/... any recommendations?

Offline Riverhead

Also, once you're in to a proper ssh shell it shouldn't be too bad to walk you through the install. You don't need a full GUI compile so that makes life easier.
« Last Edit: October 30, 2014, 03:26:12 am by Riverhead »

Offline Riverhead

rsa

Though if you can ssh in normally it's not really needed.

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
It works well for accessing the server without a password.

This may help with that: http://www.linuxproblem.org/art_9.html

DSA or RSA, what should I choose?

Also, it's Linux, forgot to mention that.

Offline Riverhead

It works well for accessing the server without a password.

This may help with that: http://www.linuxproblem.org/art_9.html


Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
What are your permissions on the server? What is the OS?

It's a dedicated server, looks like I have "normal shell" access (as opposed to "jailed shell"). I'm in a section of WHM called "Manage root’s SSH Keys"... it lets me generate a key for shell access. Do I need to do this?

Offline Riverhead

What are your permissions on the server? What is the OS?

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
Ok so I'm trying to install a delegate on a dedicated server I own. The server is located in California; I control it remotely through "WebHost Manager" (WHM). How do I install the cli (?) on the server?

I am no techy, by any stretch of the imagination, but you will not manage to install it using 'WebHost Manager'....

Yeah I def need to do this via the command line. I'll contact support and have them enable SSH if it isn't already.

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
Ok so I'm trying to install a delegate on a dedicated server I own. The server is located in California; I control it remotely through "WebHost Manager" (WHM). How do I install the cli (?) on the server?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
https://github.com/BitShares/bitshares_toolkit/issues/879

10x I'd wait for the final version though.
Does this mean that a delegate can have max 100x TRX fees per block?

from what I know ... TX fees are BURNED .. you can get up to 100% of 50 BTS per block ..

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
https://github.com/BitShares/bitshares_toolkit/issues/879

10x I'd wait for the final version though.
Does this mean that a delegate can have max 100x TRX fees per block?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
https://github.com/BitShares/bitshares_toolkit/issues/879

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation

Sounds good xeroc! So I just get delegate.methodx elected and once the new rules take effect it will be automatically be set to 1% inflation even though it's currently 10% pay?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
I registered delegate.methodx and set the pay rate to 10% a few months back. Can I change the % or do I have to register an entirely new delegate to do that?