Bitcoin Forum
May 05, 2024, 02:58:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 7 »  All
  Print  
Author Topic: [ANNOUNCE] ecoinpool - A brand new pool mining software written in Erlang  (Read 28426 times)
Pontius
Full Member
***
Offline Offline

Activity: 225
Merit: 100


View Profile
April 23, 2012, 06:22:38 AM
 #61

A few weeks ago I installed 'ecoinpool' on a RHEL 5.7 box (running on VMWare).

Take the latest Erlang and build it as recommended by p2k; then build CouchDB using this http://wiki.apache.org/couchdb/Installing_on_RHEL5 (section "Building CouchDB from source "); then you can follow p2ks guide again.

HTH
1714921119
Hero Member
*
Offline Offline

Posts: 1714921119

View Profile Personal Message (Offline)

Ignore
1714921119
Reply with quote  #2

1714921119
Report to moderator
1714921119
Hero Member
*
Offline Offline

Posts: 1714921119

View Profile Personal Message (Offline)

Ignore
1714921119
Reply with quote  #2

1714921119
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714921119
Hero Member
*
Offline Offline

Posts: 1714921119

View Profile Personal Message (Offline)

Ignore
1714921119
Reply with quote  #2

1714921119
Report to moderator
rjk
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
April 24, 2012, 07:24:18 AM
 #62

A few weeks ago I installed 'ecoinpool' on a RHEL 5.7 box (running on VMWare).

Take the latest Erlang and build it as recommended by p2k; then build CouchDB using this http://wiki.apache.org/couchdb/Installing_on_RHEL5 (section "Building CouchDB from source "); then you can follow p2ks guide again.

HTH
Yes I was finally able to build CouchDB after some wrangling with SpiderMonkey, but the eventual install of ecoinpool was spewing errors of all kinds, and acting a bit funny. Likely something that I missed in the configuration. I've given it up for now.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
Pontius
Full Member
***
Offline Offline

Activity: 225
Merit: 100


View Profile
April 25, 2012, 12:17:07 PM
 #63

Yes I was finally able to build CouchDB after some wrangling with SpiderMonkey, but the eventual install of ecoinpool was spewing errors of all kinds, and acting a bit funny. Likely something that I missed in the configuration. I've given it up for now.
JS support is kind of tricky. Did you try with Xulrunner 1.9.x instead?
And don't forget to adjust your LD_LIBRARY_PATH - point it to the correct js install - before starting 'ecoinpool'.
Pontius
Full Member
***
Offline Offline

Activity: 225
Merit: 100


View Profile
April 25, 2012, 12:19:20 PM
 #64

Yes, until this project matures a bit more (i.e. beta 0.4 is reached) it will remain a solo project.

p2k: This project looks kind of stalled, last commit on GitHub 2 months old. Any near future update/development plans?
Graet
VIP
Legendary
*
Offline Offline

Activity: 980
Merit: 1001



View Profile WWW
April 25, 2012, 02:40:49 PM
 #65

Yes, until this project matures a bit more (i.e. beta 0.4 is reached) it will remain a solo project.

p2k: This project looks kind of stalled, last commit on GitHub 2 months old. Any near future update/development plans?
I keep in contact with him, he's currently working on a large (paid) project and is very busy but does plan to be back asap Smiley

| Ozcoin Pooled Mining Pty Ltd https://ozcoin.net Double Geometric Reward System https://lc.ozcoin.net for Litecoin mining DGM| https://crowncloud.net VPS and Dedicated Servers for the BTC community
roomservice
Full Member
***
Offline Offline

Activity: 199
Merit: 100



View Profile
April 25, 2012, 04:26:32 PM
 #66

Yes, until this project matures a bit more (i.e. beta 0.4 is reached) it will remain a solo project.

p2k: This project looks kind of stalled, last commit on GitHub 2 months old. Any near future update/development plans?
I keep in contact with him, he's currently working on a large (paid) project and is very busy but does plan to be back asap Smiley

looking forward Cheesy

"Tonight's the night. And it's going to happen again, and again. It has to happen. Nice night."
rjk
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
April 26, 2012, 01:59:05 AM
 #67

Wow. What a difference it makes to use the distro that the readme was written for. I blew away my CentOS 6.2 install and decided to have one last try with a minimal netinstall Debian stable. It was positively pleasant to set up, with only one or 2 places where I had to do some manual stuff. (Is wx actually needed? I was able to build couchdb without it, but ./configure kept complaining that it was missing.) It is now running with no errors as of yet, and I am going to have a poke at it to see if it works.


Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
rjk
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
April 27, 2012, 01:09:34 AM
 #68

OK I think it works, but I'm a little confused by this display output (below) - it seems to increment the aux block numbers, but not the main chain?


Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
jjshabadoo
Hero Member
*****
Offline Offline

Activity: 535
Merit: 500



View Profile
May 04, 2012, 04:24:45 AM
 #69

Did anyone find out if this has to be run on a linux server? I already have a windows server set up for my business and I use a fraction of its resources currently. I'd love to get a small pool going and see if i could build it up from there.

Anyone notice any advantages to this software as far as pure mining performance? Or is the concept simply its usability?
wknight
Legendary
*
Offline Offline

Activity: 889
Merit: 1000


Bitcoin calls me an Orphan


View Profile WWW
July 14, 2012, 04:35:05 PM
 #70

I dont know anyone that has installed this on windows. All directions are around ubuntu and suggest using just that otherwise you will need to customize your install.

Mining Both Bitcoin and Litecoin.
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 780
Merit: 510


Bitcoin - helping to end bankster enslavement.


View Profile WWW
July 15, 2012, 07:10:44 AM
 #71

I got this thing working and I am a windows guy!

Anyhow I'm able to mine and see the shares there are a few popup dialogs stating a database is missing but other than that it's working flawlessly.

However...

I would like to use it with my pushpool tables in mySQL so I don't need to change my front end.  I tried using the ecoinpool mysql replicator however it does nothing except crash the ecoinpool and the replicator.

It looks like its doing the job because I see this...


Code:
mysql_conn:462: fetch <<"SET @1=158">> (id <0.79.0>)
mysql_conn:462: fetch <<"EXECUTE pool_worker_couch_id_q USING @1">> (id <0.79.0>)
mysql_conn:462: fetch <<"SET @1=158">> (id <0.79.0>)
mysql_conn:462: fetch <<"EXECUTE pool_worker_data_q USING @1">> (id <0.79.0>)
mysql_conn:462: fetch <<"SET @1='1-332de4a9e1f0b1da7bf0ed87c7734c17'">> (id <0.79.0>)
mysql_conn:462: fetch <<"SET @2=158">> (id <0.79.0>)
mysql_conn:462: fetch <<"EXECUTE pool_worker_upd_rev_q USING @1,@2">> (id <0.79.0>)
mycouch_replicator:251: MyId 719: Inserting.
mysql_conn:462: fetch <<"SET @1=719">> (id <0.79.0>)
mysql_conn:462: fetch <<"EXECUTE pool_worker_couch_id_q USING @1">> (id <0.79.0>)
mysql_conn:462: fetch <<"SET @1=719">> (id <0.79.0>)
mysql_conn:462: fetch <<"EXECUTE pool_worker_data_q USING @1">> (id <0.79.0>)
mysql_conn:462: fetch <<"SET @1='1-2b62e4011883a47e29bdd301838c300e'">> (id <0.79.0>)
mysql_conn:462: fetch <<"SET @2=719">> (id <0.79.0>)
mysql_conn:462: fetch <<"EXECUTE pool_worker_upd_rev_q USING @1,@2">> (id <0.79.0>)
mycouch_replicator:251: MyId 517: Inserting.
mysql_conn:462: fetch <<"SET @1=517">> (id <0.79.0>)
mysql_conn:462: fetch <<"EXECUTE pool_worker_couch_id_q USING @1">> (id <0.79.0>)
mysql_conn:462: fetch <<"SET @1=517">> (id <0.79.0>)


But then it crashes and I see this...


Code:
=ERROR REPORT==== 15-Jul-2012::06:29:31 ===
** Generic server <0.95.0> terminating
** Last message in was {'DOWN',#Ref<0.0.0.123772>,process,<0.22377.0>,normal}
** When Server state == {state,<<"btc_nmc_test_shares">>,
                         "btc_nmc_test_shares.state",
                         {db_state,
                          {db,
                           {server,"localhost",5984,[],
                            [{basic_auth,{"ecoinpool","abc"}}]},
                           "ecoinpool",
                           [{basic_auth,{"ecoinpool","abc"}}]},
                          #Ref<0.0.0.235>,<0.106.0>,1146},
                         {db_state,
                          {db,
                           {server,"localhost",5984,[],
                            [{basic_auth,{"ecoinpool","abc"}}]},
                           "btc-test",
                           [{basic_auth,{"ecoinpool","abc"}}]},
                          #Ref<0.0.0.123773>,<0.22379.0>,0},
                         undefined,0,53280,ecoinpool_mysql_replicator,
                         "shares",
                         {interval,#Ref<0.0.0.260>},
                         [],[],[],
                         #Fun<ecoinpool_mysql_share_deployer.3.49379825>,
                         <<"INSERT INTO `shares` (`rem_host`, `username`, `our_result`, `upstream_result`, `reason`, `solution`) VALUES\n">>,
                         [3,4,5,8,9,11]}
** Reason for termination ==
** {conn_failed,{error,econnrefused}}


working on this for hours any help will get some bitcoins. I'm going to bed now it's 3 am.
DavinciJ15
Hero Member
*****
Offline Offline

Activity: 780
Merit: 510


Bitcoin - helping to end bankster enslavement.


View Profile WWW
July 16, 2012, 02:15:06 PM
 #72

100 BTC bounty if someone can get this working with MySQL or get me a new pool mining software that works.
rjk
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
July 16, 2012, 02:16:35 PM
 #73

100 BTC bounty if someone can get this working with MySQL or get me a new pool mining software that works.
Hit up IRC and talk to Graet and his cronies Grin and see if they can help. Ozcoin runs ecoinpool, so they ought to know.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
tvasconcelos
Member
**
Offline Offline

Activity: 66
Merit: 10


View Profile
August 07, 2012, 05:44:42 PM
 #74

Hi, would like to setup a small pool for private usage. Do i have to have my own machine or can i set this up on a remote server? i mean, a hosting service can do the trick??

If i have an account with a hosting service. have some space and an address. Can i have this running so that i can point my miners there?? How can i setup this? Have to set it up on a linux machine and copy the aal thing online?? sorry for the noob question, but i'd like to learn some more about this.
sippsnapp
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
August 30, 2012, 12:34:01 PM
Last edit: August 30, 2012, 02:44:39 PM by sippsnapp
 #75

Also going to give ecoinpool a try - a wonder i came that far but its still not working.

I installed couchdb (never worked with it before) from git https://github.com/apache/couchdb

I did all steps in the README.unix tutorial including:

Quote
Change the ownership of the CouchDB directories by running:

    chown -R couchdb:couchdb /usr/local/etc/couchdb
    chown -R couchdb:couchdb /usr/local/var/lib/couchdb
    chown -R couchdb:couchdb /usr/local/var/log/couchdb
    chown -R couchdb:couchdb /usr/local/var/run/couchdb

Change the permission of the CouchDB directories by running:

    chmod 0770 /usr/local/etc/couchdb
    chmod 0770 /usr/local/var/lib/couchdb
    chmod 0770 /usr/local/var/log/couchdb
    chmod 0770 /usr/local/var/run/couchdb

I have changed the couchdb password and used  -> user:couchdb pass:mycouchdbpass

Code:
root@j064:~/ecoinpool# ./test_launch.sh
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)
Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:4:4] [async-threads:0] [kernel-poll:true]

Eshell V5.9.1  (abort with ^G)
(ecoinpool_test@j064)1> [12:29:23.245][ebitcoin/fatal] config_db - couchbeam:open_or_create_db/3 returned an error:
{ok,"401",
    [{"Server","CouchDB/1.2.0 (Erlang OTP/R15B01)"},
     {"Date","Thu, 30 Aug 2012 12:29:23 GMT"},
     {"Content-Type","application/json"},
     {"Content-Length","67"},
     {"Cache-Control","must-revalidate"}],
    <<"{\"error\":\"unauthorized\",\"reason\":\"Name or password is incorrect.\"}\n">>}
{"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 ()
root@j064:~/ecoinpool#

Im really not a linux super geek and pretty happy i got that far, would be very happy about a little support.
Not much, but ill give 1 BTC to the person who gets this working (posts the right solution here).

EDIT: i have also edited the local.ini to bind the couchdb to 0.0.0.0.



Πάντα ῥεῖ
Bitcoin + Altcoin node pool setup - pm
sippsnapp
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
August 31, 2012, 02:51:50 PM
Last edit: August 31, 2012, 03:26:48 PM by sippsnapp
 #76

I still face this problem, would be nice if anybody knows whats wrong with my config.
RGDS

EDIT: Well, i posted this on stackoverflow.com http://stackoverflow.com/questions/12218312/ecoinpool-setup-error-with-couchdb

Πάντα ῥεῖ
Bitcoin + Altcoin node pool setup - pm
maaku
Legendary
*
Offline Offline

Activity: 905
Merit: 1011


View Profile
September 18, 2012, 04:13:30 AM
 #77

Also going to give ecoinpool a try - a wonder i came that far but its still not working.

Code:
root@j064:~/ecoinpool# ./test_launch.sh
==> ecoinpool (compile)
==> ebitcoin (compile)
==> rel (compile)
==> ecoinpool (compile)
Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:4:4] [async-threads:0] [kernel-poll:true]

Eshell V5.9.1  (abort with ^G)
(ecoinpool_test@j064)1> [12:29:23.245][ebitcoin/fatal] config_db - couchbeam:open_or_create_db/3 returned an error:
{ok,"401",
    [{"Server","CouchDB/1.2.0 (Erlang OTP/R15B01)"},
     {"Date","Thu, 30 Aug 2012 12:29:23 GMT"},
     {"Content-Type","application/json"},
     {"Content-Length","67"},
     {"Cache-Control","must-revalidate"}],
    <<"{\"error\":\"unauthorized\",\"reason\":\"Name or password is incorrect.\"}\n">>}
{"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 ()
root@j064:~/ecoinpool#

Im really not a linux super geek and pretty happy i got that far, would be very happy about a little support.
Not much, but ill give 1 BTC to the person who gets this working (posts the right solution here).

EDIT: i have also edited the local.ini to bind the couchdb to 0.0.0.0.

In case anyone else encounters this same problem, it appears to be a case of source code atrophy. The most recent builds of ecoinpool's dependencies no longer work together as expected. Pegging the dependencies to versions around the same time as p2k's last commit solved it for me:

Code: (rebar.config)
{sub_dirs, ["apps/ecoinpool", "apps/ebitcoin", "rel"]}.

{deps, [
    {protobuffs, ".*", {git, "git://github.com/basho/erlang_protobuffs.git", "e0f5f6ea4c3dcb4e7b824496d2b48333fbd5a8c8"}},
    {ejson, ".*", {git, "git://github.com/benoitc/ejson.git", "820ff1725008e664293b88e13c16193857afc072"}},
    {oauth, ".*", {git, "git://github.com/refuge/erlang-oauth.git", "f332b77371d334d0faa13e106d0c36f948b325b6"}},
    {ibrowse, ".*", {git, "git://github.com/cmullaparthi/ibrowse.git", "eb8b62cf84ccae141700c8fd251277df8be27f28"}},
    {mochiweb, ".*", {git, "git://github.com/mochi/mochiweb.git", "b7f3693a9008de6d31a67174f7184fe24093a1b4"}},
    {couchbeam, ".*", {git, "git://github.com/benoitc/couchbeam.git", "7148bbdb19aca91b7b74e5392a23c94d33ca4e27"}},
    {log4erl, ".*", {git, "git://github.com/SemanticSugar/log4erl.git", "ec580f75ef9e28dfcfac92dc0d42c435520bd3d7"}},
    {mysql, ".*", {git, "git://github.com/elbrujohalcon/erlang-mysql-driver.git", "1dd4e22a80546fa1bda81607d6397a549fd791ae"}},
    {epgsql, ".*", {git, "git://github.com/wg/epgsql.git", "fc434772276475ac4e5b0bed6b18ed4732502156"}}
]}.

@sippsnapp, does that offer for 1BTC still hold? 17SRxATG3LZrD7WWTCr5EfCapprShVEtP Wink

I'm an independent developer working on bitcoin-core, making my living off community donations.
If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
September 18, 2012, 08:28:58 AM
 #78

Thanks for the fix, it will work with prev version of bitcoind v0.6.3
how do we fix it for version v0.7.0?

I'm sending you a btc for finding the atrophy as a thanks.
sippsnapp
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
September 18, 2012, 04:12:55 PM
 #79

@sippsnapp, does that offer for 1BTC still hold? 17SRxATG3LZrD7WWTCr5EfCapprShVEtP Wink

HAHA, well, you got my by the balls  Roll Eyes

Quote
Status: 0/unconfirmed, broadcast through 7 nodes
Date: 9/18/2012 18:12
To: maaku 17SRxATG3LZrD7WWTCr5EfCapprShVEtP
Debit: -1.00 BTC
Net amount: -1.00 BTC
Transaction ID: 243a1d64540a04e290a2a1278c9f52985f6e43e613e20b35d569bcbc8161bfb8


SENT!

PS: Hopefully other guys who use this solution see it the same way... well done!

EDIT: Of course, i did not tested it but i beliefe its reasonable....


Πάντα ῥεῖ
Bitcoin + Altcoin node pool setup - pm
maaku
Legendary
*
Offline Offline

Activity: 905
Merit: 1011


View Profile
September 20, 2012, 05:55:25 AM
 #80

thx Smiley

Thanks for the fix, it will work with prev version of bitcoind v0.6.3
how do we fix it for version v0.7.0?
The system I was working on still has v0.6.3. What changed with v0.7.0? Does it throw a new error?

I'm an independent developer working on bitcoin-core, making my living off community donations.
If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
Pages: « 1 2 3 [4] 5 6 7 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!