Pages:
Author

Topic: [ANNOUNCE] ecoinpool - A brand new pool mining software written in Erlang - page 6. (Read 28491 times)

full member
Activity: 210
Merit: 100
Well that actually shouldn't work because bitcoin is not fully synced to the network... if you get errors before block 166359 (at the time of writing) is reached, don't blame it on ecoinpool.

@EnergyVampire: Your issue should be fixed. Just pull the new version.

p2k

Thanks, p2k! This works great, cheers!
p2k
newbie
Activity: 33
Merit: 0
Well that actually shouldn't work because bitcoin is not fully synced to the network... if you get errors before block 166359 (at the time of writing) is reached, don't blame it on ecoinpool.

@EnergyVampire: Your issue should be fixed. Just pull the new version.

p2k
hero member
Activity: 686
Merit: 500
Finally:

Code:
[22:21:12.418][ebitcoin/warn] btc-chain: Connecting to localhost:8333...
[22:21:12.419][ebitcoin/warn] btc-chain: Connection established.
[22:21:49.771][ebitcoin/warn] btc-chain: Entering resync mode, getting 101129 block(s)...

Yay
p2k
newbie
Activity: 33
Merit: 0
This is a simple error: CouchDB is not running or ecoinpool is unable to connect.
hero member
Activity: 686
Merit: 500
I realized that I wasn't turning on bitcoind, so I ran it then went to run ecoinpool but I get this at startup:
Code:
 config_db - couchbeam:open_or_create_db/3 returned
an error:
{conn_failed,{error,econnrefused}}
{"init terminating in do_boot",{{badmatch,{error,{shutdown,{ebitcoin_app,start,[normal,[]]}}}},[{ecoinpool_test
_launch,start,0,[{file,"src/ecoinpool_test_launch.erl"},{line,34}]},{init,start_it,1,[]},{init,start_em,1,[]}]}
}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
Crash Dump File:
http://lazycrazygaming.net/downloads/erl_crash.dump
p2k
newbie
Activity: 33
Merit: 0

Ok, there was a slight design error on my part if the subpool crashes while starting. The real error message (the first error after starting) is pushed away in your console history. I've just committed a fix for that, please pull and try again, then send me the real error message.
hero member
Activity: 686
Merit: 500
p2k
newbie
Activity: 33
Merit: 0
Hi,

I've fixed the link in the original post (copy&paste fail). Here is it again, so you don't have to go back.

@Tittiez: You sent the supervisor report telling us that the restart logic has given up. Unfortunately this message doesn't provide anything about the actual error; try to scroll up and post the first error report you see instead (only the part about "** Reason for termination") - if it gets too long, consider using pastebin.com.

@EnergyVampire: Ok, thanks, I'm investigating. It has nothing to do with your browser.

p2k
hero member
Activity: 686
Merit: 500
Went to create a worker, but I got this:
Code:
While requesting a new user ID, the pool server did not
respond in time. This usually means that the pool server
is down or currently unreachable.

When I start the pool in general, the console gets this error:
Code:
=SUPERVISOR REPORT==== 11-Feb-2012::19:56:19 ===
     Supervisor: {global,
                                           ecoinpool_server_sup_1360b02e19d98482148d4c6dea0127eb}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:   [{pid,<0.753.0>},
                  {name,subpool},
                  {mfargs,
                      {ecoinpool_server,start_link,
                          [<<"1360b02e19d98482148d4c6dea0127eb">>]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]
full member
Activity: 210
Merit: 100
Hello EnergyVampire,

you need to be able to access the ecoinpool mining port you specified from your browser. The link in that error message should directly take you there (click it!), presenting you a greeting message. If your browser cannot connect to ecoinpool in this way, you either have too restrictive firewall settings (if not running on localhost only) or ecoinpool crashed because of bad configuration or it's unable to connect to bitcoind or bitcoind is still loading the blockchain or ecoinpool is unable to connect to CouchDB and other reasons which are fatal for ecoinpool.

If you get an error message, try to paste it on pastebin.com after you read this guide and send the link as a pm here or contact me on IRC. Maybe I can help you then.

p2k


Thanks for the reply p2k,

The link to your guide didn't work for me but I believe I found the guide elsewhere on your site.

When I followed my linked port, I get:
Code:
{"result":"Welcome! This server is running ecoinpool v0.3.17 by p2k. You have reached one of the coin mining ports meant to be used with coin mining software; consult the mining pool's homepage on how to setup a miner.","error":null,"id":1}

at the terminal, I get:
Code:
** Reason for termination == 
** {{case_clause,{error,[],function_clause}},
    [{ecoinpool_db,handle_cast,2,[{file,"src/ecoinpool_db.erl"},{line,213}]},
     {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,597}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}

I hope I followed your instructions correctly. Does my browser make a difference? I use the Gnome webbrowser and Iceweasel.
hero member
Activity: 686
Merit: 500
On ubuntu server 11.10:

Code:
root@garrysmod:~/bit/ecoin# ./rebar get-deps
==> ecoinpool (get-deps)
==> ebitcoin (get-deps)
==> rel (get-deps)
==> ecoin (get-deps)
Pulling protobuffs from {git,"git://github.com/basho/erlang_protobuffs.git",
                             "master"}
fatal: read error: Connection reset by peer
Cloning into protobuffs...
ERROR: git clone -n git://github.com/basho/erlang_protobuffs.git protobuffs failed with error: 128 and output:
fatal: read error: Connection reset by peer
Cloning into protobuffs...

Edit:

Nevermind, worked fine the 2nd time!
p2k
newbie
Activity: 33
Merit: 0
Hello EnergyVampire,

you need to be able to access the ecoinpool mining port you specified from your browser. The link in that error message should directly take you there (click it!), presenting you a greeting message. If your browser cannot connect to ecoinpool in this way, you either have too restrictive firewall settings (if not running on localhost only) or ecoinpool crashed because of bad configuration or it's unable to connect to bitcoind or bitcoind is still loading the blockchain or ecoinpool is unable to connect to CouchDB and other reasons which are fatal for ecoinpool.

If you get an error message, try to paste it on pastebin.com after you read this guide and send the link as a pm here or contact me on IRC. Maybe I can help you then.

p2k
full member
Activity: 210
Merit: 100
Hello,

I've been trying to play with this for solo mining.

I get the error "User ID Request Failed: While requesting a new user ID, the pool server did not respond in time. This usually means that the pool server is down or currently unreachable."

The terminel says:
Code:
[default/error] Could not start share logger default_couchdb_share logger, reason: {already_started, <0.157.0>}
[default/error] Could not start share logger default_logfile_share logger, reason: {already_started, <0.161.0}
This is followed by a Crash Report in the terminal.

Also on the ebitcoin page the Last Block is "(not implemented yet)".

Note: bitcoind is up-to-date with the latest block #166291.

Thanks in advance for your reply, Cheers!

p2k
newbie
Activity: 33
Merit: 0
Oh yeah, sorry that I didn't mention it here. Namecoin coinbasing is implemented since two weeks. But I need some more time to fix up the buit-in frontend and update documentation.
sr. member
Activity: 349
Merit: 250
BTCPak.com - Exchange your Bitcoins for MP!
I set this up today.  Very easy to install and configure.  The whole package is very polished.  I did find one bug, however p2k had it fixed within 5 minutes. 
vip
Activity: 980
Merit: 1001
ecoinpool running on the 2 remote servers - very impressed

Cant wait to get setup on main server

Awesome work p2k - Thank you Cheesy
sr. member
Activity: 349
Merit: 250
BTCPak.com - Exchange your Bitcoins for MP!
This looks very promising.  I intend to give it a shot for a small private pool I am setting up.  I will let you know what my experience is. 
vip
Activity: 980
Merit: 1001
Well, technically it does support merged mining but you cannot set a custom payout address for Namecoin yet (the getmemorypool coinbasing has to be implemented for that). Like this, the share processing scripts on ozcoin's main server would not be able to detect Namecoin blocks, because they depend on polling the local namecoind for generate transactions.

It all has to do with the multi-server setup of ozcoin, something that other pools usually don't have. If you run ecoinpool on a single site, merged mining is working fine.

PS: Thanks to all the ozcoin staff for supporting me and helping to set this up. This is the first real test in the Bitcoin world for ecoinpool.
oops my bad, in the excitement of spreading the word Smiley

**Important note** Ozcoin using ecoinpool does not yet support merged mining so no NMC will be generated by miners here.

Cheesy
p2k
newbie
Activity: 33
Merit: 0
Well, technically it does support merged mining but you cannot set a custom payout address for Namecoin yet (the getmemorypool coinbasing has to be implemented for that). Like this, the share processing scripts on ozcoin's main server would not be able to detect Namecoin blocks, because they depend on polling the local namecoind for generate transactions.

It all has to do with the multi-server setup of ozcoin, something that other pools usually don't have. If you run ecoinpool on a single site, merged mining is working fine.

PS: Thanks to all the ozcoin staff for supporting me and helping to set this up. This is the first real test in the Bitcoin world for ecoinpool.
vip
Activity: 980
Merit: 1001
Just started a live test of ecoinpool Cheesy
Huge thanks to p2k - he is a coding machine (and I mean that in the nicest possible way)

Please point some hashes there if you are able
http://test.ozco.in:8332 and http://test.ozco.in:80
shares are being counted in the main db and will be paid out as usual Cheesy

If you are not yet a member of Ozcoin go to https://ozco.in register and create a worker

**Important note** ecoinpool does not yet support merged mining so no NMC will be generated by miners here.

thanks,
Graeme
Pages:
Jump to: