Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rando

Pages: 1 2 3 4 5 6 [7]
91
BitShares PTS / Re: Mining on Linux instructions?
« on: November 05, 2013, 08:55:56 am »
Which part says how many blocks we've found? currentblocktx? (I'm assuming because it's zero  :))

92
BitShares PTS / Re: Mining on Linux instructions?
« on: November 05, 2013, 08:30:36 am »
Whoa. CPU shot way up to 100%. I'd say it's working now. Thank you.

Is there a command to view the hash rate?
EDIT: The new post below me answers it: ./protosharesd -gethashpersec

93
BitShares PTS / Re: Mining Begins November 5, 08:08:08 UTC
« on: November 05, 2013, 08:21:41 am »
Any tips on getting this actually running on Linux? Earlier, I had it to the point where it said it didn't have the genesis block. Then I ran git clone to pull down the new code and compiled it the same way.

But now ./protosharesd shows nothing (the terminal prints a blank line as if the process stays open, then stays that way.). If I open a 2nd SSH session, top shows protosharesd as running with only .3% CPU and .2% memory, so something is not right.


Maybe my conf isn't right. What is the /home/me/.protoshares/protoshares.conf supposed to look like? I have:

rpcuser=protosharesrpc
rpcpassword=xxxxxxxxxxxxxxxxxxxxxxxxxxx

Do I need to add any other config details to this?

94
BitShares PTS / Re: Mining on Linux instructions?
« on: November 05, 2013, 08:06:21 am »
How do you know if it's working? I pulled down the new code and ran the make process again, but when I run ./protosharesd, there is no output. Checking top, shows:

0.7% CPU   5.2 MEMORY protosharesd

Is it working?


95
BitShares PTS / Re: Mining on Linux instructions?
« on: November 05, 2013, 03:37:26 am »
In case anyone in the future also encounters this error... If you're trying to compile on a 512mb vps to try it out, it will probably fail because not enough memory. You can add swap space to get past that error:

sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile

96
BitShares PTS / Re: Post your Mining Performance
« on: November 05, 2013, 03:29:11 am »
How are you able to run ./protosharesd to test the speed when there isn't a genesis block yet? When I try running it, I get this:

$ ./protosharesd
protosharesd: src/main.cpp:2839: bool InitBlockIndex(): Assertion `hash == hashGenesisBlock' failed.
Aborted

EDIT: Nevermind. I see in the other thread that this is as far as we can go until the genesis block gets posted. Thanks.

97
BitShares PTS / Re: Mining on Linux instructions?
« on: November 04, 2013, 10:10:55 pm »
Okay. Thanks!

98
BitShares PTS / Re: Mining on Linux instructions?
« on: November 04, 2013, 10:01:13 pm »
Fantastic. I'll give that a try. Would you be able to answer my other questions too please?

1.) Do I need to alter any configuration settings (port #, etc) before running it?
2.) How do I generate a Protoshares public/private key pair and set it to send the mining proceeds to that address?
3.) What are the correct firewall setting for this? (Deny all, allow 3888 out only?)
4.) How can I verify that it's working?

Thanks!

99
Meta / https
« on: November 04, 2013, 09:07:30 pm »
Bytemaster, Can we get always on https on this forum please?

100
BitShares PTS / Mining on Linux instructions?
« on: November 04, 2013, 09:05:07 pm »
Can someone help me figure how to mine Protoshares on Linux (Debian/Ubuntu) please? Here is what I think I know so far:

# Install dependencies
sudo apt-get install build-essential
sudo apt-get install libssl-dev

# Download
git clone https://github.com/InvictusInnovations/ProtoShares.git protoshares
cd protoshares

# Compile
cd src
make -f makefile.unix protosharesd

# Usage
protosharesd start
protosharesd stop
protosharesd --help

What dependencies are needed?
Do I need to add/alter a configuration anywhere (port, etc)?
How do I generate a protoshares public/private key pair and set it to send the mining proceeds to that address?
How do I configure UFW (uncomplicated firewall) for P2P software like this? Deny all TCP and allow xxx UDP?
How can I see that it's working?

Pages: 1 2 3 4 5 6 [7]