Author

Topic: Feathercoin [FTC] - page 184. (Read 460641 times)

member
Activity: 84
Merit: 10
April 17, 2013, 03:03:21 PM
For some reason I can't the wallet to connect, I tried redownloading it, opening and closing it a few times like was said to do below, still no luck.
I cannot get connections on the Feathercoin client..

Mine did that once I just had to restart the client a couple times.

If on windows go to appdata roaming feathercoin and make a feathercoin.conf with this in it and restart your client if your on linux then hopefully you know where to put the feathercoin.conf.

Code:
rpcuser=user
rpcpassword=password
server=1
daemon=1
rpcport=8100
rpcport=8101

Also make sure port 9336 is open on your firewall or router.
sr. member
Activity: 294
Merit: 250
April 17, 2013, 03:02:16 PM
For some reason I can't the wallet to connect, I tried redownloading it, opening and closing it a few times like was said to do below, still no luck.
I cannot get connections on the Feathercoin client..

Mine did that once I just had to restart the client a couple times.

Try opening port 9336
member
Activity: 112
Merit: 10
April 17, 2013, 02:57:55 PM
For some reason I can't the wallet to connect, I tried redownloading it, opening and closing it a few times like was said to do below, still no luck.
I cannot get connections on the Feathercoin client..

Mine did that once I just had to restart the client a couple times.
member
Activity: 112
Merit: 10
April 17, 2013, 02:53:39 PM
i was about to try that but i totally freezed on pushpool configuration it has issues with libmemcached
it seems i have too new software.. i just upgrated my archlinux to latest and now all software is like under week old and programs not compile very well Sad wallet i was able to compile but pushpool not, and also tried compile from source libmemcached also not able.. i have libmemcached installed from my distribution but it not working with pushpool configuration, i guess its too new... lol so i gave up for now xD
legendary
Activity: 1596
Merit: 1010
April 17, 2013, 02:48:32 PM
doing a quick test in cudaminer again, seems to connect faster than last time Smiley

1/1 accepted so far, last time it was 1/4 before i got the first valid share

EDIT & UPDATE : shares are 100% valid so far, great job, also received my third payment Smiley
legendary
Activity: 1064
Merit: 1000
April 17, 2013, 02:46:53 PM
Here are some instructions for creating one’s own private pushpool for any of the scrypt coins (the examples will be for feather coin)
Pushpool and pool software in general, is really designed around Linux and as such the instructions are for Linux,

1.   Download  (Git clone) Art Forz branch of Pushpool.
 https://github.com/ArtForz/pushpool

2.   Run the “autogen.sh” and then run “./configure”. Take note of the dependencies it finds missing and install those dependencies. Continue to run configure until all Dependencies are met.

From the ReadME:

Code:
Dependencies:
libmysql++-dev
libevent
libmemcached
pthreads
zlib
jansson
OpenSSL's libcrypto
libcurl
(The postgressql   C libraries, I do not remember the name off  hand)

3.   Run the make command. The pushpoold executable should now be available.

4.   Set up a database. You can download a SQL template from:
 https://github.com/simplecoin/simplecoin/tree/master/sql
Using mysql :
Code:

mysql -u root -p

create database pool (or whatever you want to name it);
When successful , quit mysql
To import the database : mysql -u root -p  pool < simplecoin-v5.sql
Enter password again and if you receive no error you should be ok.
Restart mysql prompt (mysql  -u root –p)
Use pool;  (or whatever you named the database)
INSERT INTO pool_worker (username ,password)  VALUES(<”any username you want”>,<”whatever password you want”>);
Note your username and password in the values section needs to be in quotes.

Example: INSERT INTO pool_worker (username ,password)  VALUES("iamuser", ”iampassword”);

 For more  information on using the mysql command line visit: http://www.pantz.org/software/mysql/mysqlcommands.html
You should get an ok, then exit mysql

Create your server.json file:
Example:
Code:
{
# network ports
"listen" : [
# binary protocol (default), port 8336
{ "port" : 8336 },

# HTTP JSON-RPC protocol, port 8337
{ "port" : 8337, "protocol" : "http-json" },

# HTTP JSON-RPC protocol, port 8339,
# with trusted proxy appserver.example.com forwarding
# requests to us
{ "port" : 8339, "protocol" : "http-json",
 "proxy" : "xxx.xxx.xxx.xxx" },

# binary protocol, localhost-only port 8338
{ "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
],

# database settings
"database" : {
"engine" : "mysql",

# 'host' defaults to localhost, if not specified
#"host" : "mysql.example.com",

# 'port' uses proper default port for the DB engine,
# if not specified
#"port" : 12121,

"name" : "pool",
"username" : "root",
"password" : “",

"stmt.pwdb" :
 "SELECT password FROM pool_worker WHERE username = ?",
                "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"

},

# cache settings
"memcached" : {
"servers" : [
{ "host" : "127.0.0.1", "port" : 11211 }
]
},

"pid" : "/tmp/pushpoold.pid",

# overrides local hostname detection
#"forcehost" : "localhost.localdomain",

"log.requests" : "/tmp/request.log",
"log.shares" : "/tmp/shares.log",

# the server assumes longpolling (w/ SIGUSR1 called for each blk)
"longpoll.disable" : false,

# length of time to cache username/password credentials, in seconds
"auth.cred_cache.expire" : 75,

# RPC settings
"rpc.url" : "http://127.0.0.1:yyyy/",
"rpc.user" : "",
"rpc.pass" : "",

# rewrite returned 'target' to given number of zero bits, 32 equals difficulty-1
#"rpc.target.bits" : 32,

# how long before work expires?
"work.expire" : 120,

# allow clients to update the ntime field of their work
"roll.ntime.disable" : false
}


Some notes: Although I used the mysql root account to access the database, it can be a security risk if you network is exposed to the public (not such a large deal for a home network). One can set a user account and give it permission to access the pool database if desired.
xxx.xxx.xxx.xxx = what the IP address of the computer (server) you are running the pool .
yyyy =  The rpc port the coin daemon is listening to (either you set (which I normally do) or the default)
I also comment out the Difficulty statement as there is no need to difficulty change on a solo pool since you are not paying out shares. This means the pool difficulty will equal the real difficulty.
I have also removed the share logs statement as there is no need to keep logs in a solo pool.

Next we are going to set-up a little script for tripping long polls:

I name mine blocknotify.sh:

Code:
#!/usr/bin/env python

import sys
import os

os.system("killall -s SIGUSR1 pushpoold")
Place it in your pushpool directory, and chmod  +x  blocknotify.sh   to make it executable.
Also place a copy of your coin daemon in your Pushpool directory, and when it comes time to start it, start it from there. This saves some hassle.

In your coins.conf file (feathercoin.conf) add the line:

Code:
blocknotify=" /blocknotify.sh"

Example: blocknotify="/home/robert/pushpool/blocknotify.sh"
Ok, you should be all set up.

1.   Start your daemon (if using the command line version you will see a bunch of “cannot fins pushpoold.pid” type errors ,ignore them as you do not have Pushpool running yet.
The daemon is tripping the blocknotify script as it catches up and the script cannot find the Pushpool PID. This is harmless.

2.   Start Pushpool:
./pushpoold  –E  –F  --debug=2

The switches are optional, but I highly recommend them.

3.   You should see something like:
Code:
2013-04-17 19:41:5.676817] Debug output enabled
[2013-04-17 19:41:5.681610] Listening on host :: port 8336
[2013-04-17 19:41:5.681763] Listening on host :: port 8337
[2013-04-17 19:41:5.681842] Listening on host :: port 8339
[2013-04-17 19:41:5.681901] Listening on host 127.0.0.1 port 8338
[2013-04-17 19:41:5.686288] initialized

4 . Point your miners to the server @ port 8339 and you should be mining away using long poll.

The reason going through this to use long poll, is that long poll will switch your miners almost instantly when a new block is on the network.

With getwork, what you are using when connecting your miners to the daemon, your mining software checks for new blocks at certain intervals.

If a new block comes on the network just after your miner does a getwork, your miner will be working on a stale block until it checks again.

I know there will be many questions, but a review of this thread first, can help answer many of them:
https://bitcointalksearch.org/topic/pushpool-tech-support-10321



member
Activity: 112
Merit: 10
April 17, 2013, 02:42:25 PM
good work paul!
no rejects at all in 10min to me!
 [2013-04-17 19:43:42] (1s):482.3K (avg):467.3Kh/s | Q:51  A:32  R:0  HW:0  E:63%  U:3.2/m

its working, total expect earned 2 coin heh on that speed :DD lol
member
Activity: 84
Merit: 10
April 17, 2013, 02:38:59 PM
I cannot get connections on the Feathercoin client..

Mine did that once I just had to restart the client a couple times.
legendary
Activity: 1632
Merit: 1010
April 17, 2013, 02:37:48 PM
I cannot get connections on the Feathercoin client..
member
Activity: 84
Merit: 10
April 17, 2013, 02:35:59 PM
Awesome just got a payout thanks for the pool paul! Smiley
full member
Activity: 168
Merit: 100
April 17, 2013, 02:35:34 PM
Just got a payment and block is showing on http://fpool1.zapto.org:19327/static/

good stuff!

edit : boom another payment! Smiley
member
Activity: 84
Merit: 10
April 17, 2013, 02:30:01 PM
It seems to be working good now Paul, all accepts no rejects! Now just waiting on a payout.
hero member
Activity: 756
Merit: 500
April 17, 2013, 02:25:33 PM
I did a poor job of modifying p2pool but it seems to work, I got a block to pay out to my address anyway.

cgminer --scrypt  -o stratum+tcp://fpool1.zapto.org:19327 -s 1 --expiry 1 --queue 0 -u PUT_YOUR_FC_ADDR_HERE -p x (and other tuning stuff)

No GUI but you can go here http://fpool1.zapto.org:19327/static/  and on the bottom make sure your address shows up for a payout after you earn some shares. If you have a payout and you notice a new block is found (in the table) and you didn't get paid, then let me know / disconnect. I haven't tested it out enough yet.



Just got a payout, did your wallets see any action?

Not sure if it's bad luck but 40-50% rejected shares.
member
Activity: 112
Merit: 10
April 17, 2013, 02:23:59 PM
im testing also your pool paulm its mining ok, but there comes this info on miner:
 [2013-04-17 19:25:44] Stratum from pool 0 requested work restart
full member
Activity: 168
Merit: 100
April 17, 2013, 02:20:25 PM
My miners just flipped back to your pool paul21, seems to be 95%+ accept rate now....

If you want me to disable it for now let me know!
We'll go with this for a little bit. Did you see any payout at 3:15 EST?

yup got a small payout pretty much as soon as I noticed my miner flip across.
member
Activity: 70
Merit: 10
April 17, 2013, 02:19:36 PM
My miners just flipped back to your pool paul21, seems to be 95%+ accept rate now....

If you want me to disable it for now let me know!
We'll go with this for a little bit. Did you see any payout at 3:15 EST?
hero member
Activity: 756
Merit: 500
April 17, 2013, 02:18:23 PM
I did a poor job of modifying p2pool but it seems to work, I got a block to pay out to my address anyway.

cgminer --scrypt  -o stratum+tcp://fpool1.zapto.org:19327 -s 1 --expiry 1 --queue 0 -u PUT_YOUR_FC_ADDR_HERE -p x (and other tuning stuff)

No GUI but you can go here http://fpool1.zapto.org:19327/static/  and on the bottom make sure your address shows up for a payout after you earn some shares. If you have a payout and you notice a new block is found (in the table) and you didn't get paid, then let me know / disconnect. I haven't tested it out enough yet.



Pointing my 900kh/s to you now. Smiley
full member
Activity: 168
Merit: 100
April 17, 2013, 02:16:30 PM
My miners just flipped back to your pool paul21, seems to be 95%+ accept rate now....

If you want me to disable it for now let me know!
full member
Activity: 196
Merit: 100
April 17, 2013, 02:14:21 PM

Transisto yes ppcoin launch seems well throughout Smiley Thank you for pointing this out.

How can you claim there was no pre-mine when you haven't announced your coin before starting it ?

And no, announcing it 5 min before launch does not count.

Why not?  
I was in the forum at the right time.
when i started there was like 300 blocks.

Nobody told me... i was paying attention.

I think his point is that it's not fair to those of us who aren't available to stalk the forums all day long. A true "no pre-mine" is when a coin is announced days, weeks or months in advance (not minutes in advance) so everyone has a TRUE equal opportunity at being an "early adopter".

I'm not complaining since I could care less about his "nothing new / me too coin" ... but, You must usually allow a week or more to allow people to review the code or understand the concept.

In this case it was needed to start it fast because there was really nothing worthy to spend time understanding.

Here is an example of a coin that was released with no pre-mine.
Quote
That's 9 days of notice to the public before release, with precise release schedule, and announced right here on the most populated cryptocurrency forum
https://bitcointalksearch.org/topic/m.1847081
legendary
Activity: 2660
Merit: 1096
Simplemining.net Admin
April 17, 2013, 02:11:36 PM
how to check if i received any FC for found locks, so how to check is there any immature waiting for me ?
do i have to create account address before mining ?
Jump to: