Pages:
Author

Topic: [GLC] Globalcoin | 4 Year Anniversary 1.5.4! | NO IPO, NO PREMINE | [SCRYPT] - page 72. (Read 225832 times)

member
Activity: 105
Merit: 10
For anyone wanting to really help contribute to the network security it would be great if you could setup a dedicated node on a VPS, you can do this for as little as $5 a month with digitalocean.com (there's probably some coupons around as well to get first month free etc).

Here is a quick guide.

Register an account with https://www.digitalocean.com

Create a new droplet (512mb $5 a month will do fine) and select ubuntu 12.04 x64

Hostname: glcnode (or whatever you want)

Your root login details will be emailed to you

SSH to your server using putty or similar then issue the following commands (line by line):

Change your root password
Code:
passwd
You'll be prompted to type a new password twice.

Install updates
Code:
apt-get update -y
apt-get upgrade -y

Install ufw firewall and configure rules for globalcoin
Code:
apt-get install ufw
ufw allow 22/tcp
ufw allow 55789/tcp
ufw --force enable

Install requirements for globalcoin
Code:
apt-get install -y build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev
apt-get install -y git
cd ~
git clone git://github.com/muddafudda/globalcoin.git

Since we're on a 512mb server we need to make a swapfile otherwise globalcoin runs out of memory when compiling
Code:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile

Now let's compile globalcoind
Code:
cd globalcoin/src
mkdir obj
make -f makefile.unix USE_UPNP=-

This make command will take a few minutes then
Code:
sudo cp globalcoind /usr/bin

Time to setup globalcoin configuration
Code:
cd ~
mkdir .globalcoin
cd .globalcoin
nano globalcoin.conf

Copy and paste the following, edit in a username and password then press ctrl+k to save it as globalcoin.conf
Code:
rpcuser=USER
rpcpassword=PASSWORD
rpcallowip=localhost
rpcport=55788
port=55789
daemon=1
server=1
gen=0
maxconnections=50
addnode=162.243.239.107
addnode=162.243.106.159

Now we can start globalcoind, type the following:
Code:
globalcoind

It should say something about globalcoind starting, wait a minute then you can check your node with:
Code:
globalcoind getinfo
sr. member
Activity: 308
Merit: 250
Yes, is unlocked, i never set a password.
full member
Activity: 203
Merit: 100
I did what you said to me Mike but i don't see news transactions.

Maybe two blocks orphaned??I dont think so. Maybe a problem of set up?

Just a thought... are you sure your wallet is unlocked? Because you cannot solo-mine without unlocking the wallet first.

If the wallet is locked, execute this on your terminal/cmd prompt: globalcoind.exe walletpassphrase PASSWORDHERE 9999999

This will keep the wallet unlocked for the pool software for pretty much as long as it's running. You can confirm by doing globalcoind.exe getinfo, which should show in the bottom "unlocked_until" : .
full member
Activity: 203
Merit: 100
Using just the two nodes you suggested now, MinerMike. Network difficulty is up to 3 now, from 1 before. (and still reported as very high at 243k further up in the status display). Will see if I manage to solve a block this way.
sr. member
Activity: 308
Merit: 250
I did what you said to me Mike but i don't see news transactions.

Maybe two blocks orphaned??I dont think so. Maybe a problem of set up?
member
Activity: 105
Merit: 10
The network has reached 578,166.262 Kh/s

I'm setting up a few more nodes now.
member
Activity: 105
Merit: 10
I would suggest exiting your wallet then removing all nodes within your globalcoin.conf file and using the following:

Code:
rpcuser=USER
rpcpassword=PASSWORD
rpcallowip=localhost
rpcport=55788
port=55789
daemon=1
server=1
gen=0
maxconnections=100
addnode=162.243.239.107
addnode=162.243.106.159
addnode=162.243.104.134


Perhaps also delete your peers.dat file from %appdata%/globalcoin

These nodes are my own dedicated servers running the latest globalcoind with over 100 peers connected currently.
full member
Activity: 203
Merit: 100
Also doing some solo mining attempts from my own local pool. It appears the miner is doing proper work, but I keep getting network difficulty 1. What is wrong, or is this nothing to worry about?

sr. member
Activity: 308
Merit: 250
I found other block but no coins in my wallet :-(

sr. member
Activity: 308
Merit: 250
Ok, i gonna wait to find another block, if i dont receive the coins agains i will do that.

Thanks a lot! I will give you news.
member
Activity: 105
Merit: 10
Ok perhaps try a rescan with your wallet, this will rescan the blockchain for missing transactions. You'll need to stop the miner and exit your wallet.

Now we'll restart the wallet forcing a rescan, open up cmd and type:

Code:
cd path-to-your-globalcoin-qt.exe-folder-here
globalcoin-qt -rescan

Your globalcoin-qt directory looked to be: %appdata%/globalcoin from your screenshot. You can close the cmd window after running the above.

Your wallet will take a little while to rescan the blocks, you'll see the globalcoin icon in your taskbar and it will open the main wallet window when it's ready.

Now check for your mined block in transactions, if it's not there then perhaps it was orphaned Sad
sr. member
Activity: 308
Merit: 250
I still waiting the coins, i dont like that, How can i do minermike?
full member
Activity: 196
Merit: 100
I can't seem to get the solo mining started :/
How did you do it guys?

Can you explain to me in short what I need to do?

...

Configured miner for localhost:55789 with given u/p and cannot even connect.


You have the wrong port, you need 55788 and replace stratum+tcp with http

Code:
cgminer.exe" --scrypt -u ***-p *** -o http://localhost:55788 --gpu-platform 0 -d 0 -w 256 -v 1 -I 13 -g 1 -l 1 -T  --thread-concurrency 6720

Smiley

Oh YEAH! Freaking HTTP Smiley THANKS!
sr. member
Activity: 308
Merit: 250
No, only previous transactions from a pool.



I deleted the image with my rpc info, thanks!
member
Activity: 105
Merit: 10
Looks to be an accepted block, is anything showing within the transactions tab of your wallet?

Edit: Make sure to change your rpcuser and password after posting it here.
sr. member
Activity: 308
Merit: 250
here u have it:



Thank u so much again.

More info:
Deleted!
member
Activity: 105
Merit: 10
Now appear 91000Hashes accepted, but i don't see more coins in my wallet, is it ok?

Could you help me MinerMake?

When you find a block, when do you receive the coins?I have the wallet open but i dont see new transactions.

Post another screenshot of your cgminer. Coins should show in your wallet within a minute of being accepted.
sr. member
Activity: 308
Merit: 250
Now appear 91000Hashes accepted, but i don't see more coins in my wallet, is it ok?

Could you help me MinerMake?

When you find a block, when do you receive the coins?I have the wallet open but i dont see new transactions.
member
Activity: 105
Merit: 10
I can't seem to get the solo mining started :/
How did you do it guys?

Can you explain to me in short what I need to do?

...

Configured miner for localhost:55789 with given u/p and cannot even connect.


You have the wrong port, you need 55788 and replace stratum+tcp with http

Code:
cgminer.exe" --scrypt -u ***-p *** -o http://localhost:55788 --gpu-platform 0 -d 0 -w 256 -v 1 -I 13 -g 1 -l 1 -T  --thread-concurrency 6720

Smiley
full member
Activity: 196
Merit: 100
I can't seem to get the solo mining started :/
How did you do it guys?

Can you explain to me in short what I need to do?

Here's my part so far:
I just got my first rig today;
would love to mine this. Can you two above perhaps help me for a second?

I've started the QT and then it synced.
Then I closed it and created a globalcoin.conf in right place with this:

Quote
rpcuser=***
rpcpassword=***
rpcallowip=localhost
rpcport=55788
port=55789
daemon=1
server=1
gen=0
maxconnections=100
addnode=162.243.239.107
addnode=54.212.51.236
addnode=70.79.24.157
addnode=87.28.147.172
addnode=213.205.229.82
addnode=121.215.159.167
addnode=113.162.171.60
addnode=62.163.9.155
addnode=192.241.161.229
addnode=71.63.127.88
addnode=88.68.62.215
addnode=77.57.66.129
addnode=121.215.156.245
addnode=54.252.196.5
addnode=199.38.85.200
addnode=2.136.230.104
addnode=193.189.187.250
addnode=217.170.122.19
Configured miner for localhost:55789 with given u/p and cannot even connect.
I'm trying out guiminer now before I get it to work, and then I plan to use cg miner, but the here's the line anyway:

Quote
2013-12-13 01:20:26: Running command: "C:\Users\***\Desktop\guiminer\cgminer\cgminer.exe" --scrypt -u ***-p *** -o stratum+tcp://localhost:55789 --gpu-platform 0 -d 0 -w 256 -v 1 -I 13 -g 1 -l 1 -T  --thread-concurrency 6720
2013-12-13 01:20:26: Listener for "Default" started
2013-12-13 01:21:26: Listener for "Default": [2013-12-13 01:20:26] Started cgminer 3.1.0
2013-12-13 01:21:26: Listener for "Default": [2013-12-13 01:20:26] Probing for an alive pool
2013-12-13 01:21:26: Listener for "Default": [2013-12-13 01:21:26] No servers were found that could be used to get work from.
2013-12-13 01:21:26: Listener for "Default": [2013-12-13 01:21:26] Please check the details from the list below of the servers you have input
2013-12-13 01:21:26: Listener for "Default": [2013-12-13 01:21:26] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
2013-12-13 01:21:26: Listener for "Default": [2013-12-13 01:21:26] Pool: 0  URL: stratum+tcp://localhost:55789  User: *** Password: ***
2013-12-13 01:21:26: Listener for "Default": [2013-12-13 01:21:26] No servers could be used! Exiting.
I can't get it to work for a while now. Am I doing something wrong?
Thanks a bunch in advance; I seem to be lost here a bit. This was supposed to work, no?
Pages:
Jump to: