Bitcoin Forum
August 19, 2018, 04:15:06 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 »  All
  Print  
Author Topic: [GUIDE] Setup your own Ethereum mining pool.  (Read 22381 times)
foxbate
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 28, 2017, 04:40:42 AM
 #161

I'm seeing this message in geth console from time to time.

Quote
ERROR[12-28|05:34:28] write tcp 127.0.0.1:8545->127.0.0.1:56118: write: broken pipe
and also in pool log there is corresponding message

Quote
2017/12/28 05:39:25 Error while refreshing pending block on main: Post http://127.0.0.1:8545: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

Can someone guess why is this happening and what might be wrong?
1534652106
Hero Member
*
Offline Offline

Posts: 1534652106

View Profile Personal Message (Offline)

Ignore
1534652106
Reply with quote  #2

1534652106
Report to moderator
1534652106
Hero Member
*
Offline Offline

Posts: 1534652106

View Profile Personal Message (Offline)

Ignore
1534652106
Reply with quote  #2

1534652106
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1534652106
Hero Member
*
Offline Offline

Posts: 1534652106

View Profile Personal Message (Offline)

Ignore
1534652106
Reply with quote  #2

1534652106
Report to moderator
Ahrcoin
Jr. Member
*
Offline Offline

Activity: 72
Merit: 0

Operator of Mining.Akroma.org


View Profile WWW
January 05, 2018, 08:52:11 PM
 #162

If you would like to mine MUSIC please check out my new pool!

MusicMine.us

0% Fee, New Pool, +++++++potential bonus for helping me mine my first block!

Also if you need help setting up pool let me know.

 (http://Mining.Akroma.org)
sellscript
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


View Profile
January 06, 2018, 08:22:51 PM
 #163

Hi

I'm trying to set up the open-ethereum-pool. I followed the guide but I always end in the following error up when I try to access the frontend url:

Error:

Stats API Temporarily Down
Usually it's just a temporal issue and mining is not affected.

Can someone help me on this?

Thx for answering
how fix this?
Ahrcoin
Jr. Member
*
Offline Offline

Activity: 72
Merit: 0

Operator of Mining.Akroma.org


View Profile WWW
January 07, 2018, 10:17:35 PM
 #164

Hi

I'm trying to set up the open-ethereum-pool. I followed the guide but I always end in the following error up when I try to access the frontend url:

Error:

Stats API Temporarily Down
Usually it's just a temporal issue and mining is not affected.

Can someone help me on this?

Thx for answering
how fix this?

There are a couple things to check:

First, go to your environment.js located in /open-ethereum-pool/www/config and ensure you put your local ip address or domain name into the API section here:

 APP: {
      // API host and port
      ApiUrl: '//example.net/',

make sure you put it in the format of let say for my site it is "//musicmine.us:8080"



Then check your config.json file and ensure the API section is either filled out with the same domain and port or just leave it as 0.0.0.0:8080 (that is what mine is and it works)






Once you have ensured that is correct go to your nginx configuration.

I did not need to change anything in the nginx.conf

You need to update the default file under the sites-enabled folder to follow the guide provided.

The first thing in the file should be:

upstream api {
server 127.0.0.1:8080;
}



Then, you need to specify the path for your /open-ethereum-pool/www/dist directory

you will need to change the default path in the file to read:

root <insert the path to your open-ethereum-pool/www/dist>




The last thing is to add


        location /api {
                proxy_pass http://api;
        }

just after the default location code below:

 location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
        try_files $uri $uri/ =404;
        }





After this is completed your NGINX should be set up and you should see your site rather than API stats message.



Let me know if this works or if you still get the API stats message.  Message me and I can drop you my full source code for the nginx config stuff.





And as always while your building please feel free to support me by mining at Musicmine.us

 (http://Mining.Akroma.org)
usman599
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 16, 2018, 09:04:25 PM
 #165

Hi

I'm trying to set up the open-ethereum-pool. I followed the guide but I always end in the following error up when I try to access the frontend url:

Error:

Stats API Temporarily Down
Usually it's just a temporal issue and mining is not affected.

Can someone help me on this?

Thx for answering
how fix this?

There are a couple things to check:

First, go to your environment.js located in /open-ethereum-pool/www/config and ensure you put your local ip address or domain name into the API section here:

 APP: {
      // API host and port
      ApiUrl: '//example.net/',

make sure you put it in the format of let say for my site it is "//musicmine.us:8080"



Then check your config.json file and ensure the API section is either filled out with the same domain and port or just leave it as 0.0.0.0:8080 (that is what mine is and it works)






Once you have ensured that is correct go to your nginx configuration.

I did not need to change anything in the nginx.conf

You need to update the default file under the sites-enabled folder to follow the guide provided.

The first thing in the file should be:

upstream api {
server 127.0.0.1:8080;
}



Then, you need to specify the path for your /open-ethereum-pool/www/dist directory

you will need to change the default path in the file to read:

root <insert the path to your open-ethereum-pool/www/dist>




The last thing is to add


        location /api {
                proxy_pass http://api;
        }

just after the default location code below:

 location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
        try_files $uri $uri/ =404;
        }





After this is completed your NGINX should be set up and you should see your site rather than API stats message.



Let me know if this works or if you still get the API stats message.  Message me and I can drop you my full source code for the nginx config stuff.





And as always while your building please feel free to support me by mining at Musicmine.us

Can you please share the nginx config, environment config, and config.json. Thanks.
Ahrcoin
Jr. Member
*
Offline Offline

Activity: 72
Merit: 0

Operator of Mining.Akroma.org


View Profile WWW
January 17, 2018, 04:20:45 PM
 #166

I will when I get home from work tonight.

One thing to check. In environment.js if you scroll down past all the http and stratum settings there is a "development" section. The default code has like an API URL which has "localhost:8080 in it. Change that local host to your local up address. This has solved the issue for me multiple times.

Check out my new ethereum pool.
EtherGrab.us

I just got it up and running and need miners!

 (http://Mining.Akroma.org)
Ahrcoin
Jr. Member
*
Offline Offline

Activity: 72
Merit: 0

Operator of Mining.Akroma.org


View Profile WWW
January 19, 2018, 05:35:42 PM
 #167

Here they are:

NGINX - /etc/nginx/sites-enabled/default *******Make Sure you change the "ROOT" location in this file******** i took mine out because i don't want to post my username on this forum.

Code:
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
##

# Default server configuration
#
upstream api {
server 127.0.0.1:8080;
}
server {
        listen 80 default_server;
        listen [::]:80 default_server;

        # SSL configuration
        #
        # listen 443 ssl default_server;
        # listen [::]:443 ssl default_server;
        #
        # Note: You should disable gzip for SSL traffic.
        # See: https://bugs.debian.org/773332
        #
        # Read up on ssl_ciphers to ensure a secure configuration.
        # See: https://bugs.debian.org/765782
        #
        # Self signed certs generated by the ssl-cert package
        # Don't use them in a production server!
        #
        # include snippets/snakeoil.conf;

        root {PUT YOUR PATH TO /open-ethereum-pool/www/dist HERE  It should look like /home/username/open-ethereum-pool/www/dist};

        # Add index.php to the list if you are using PHP
        index index.html index.htm index.nginx-debian.html;

        server_name _;

        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                try_files $uri $uri/ =404;
        }
        location /api {
        proxy_pass http://api;
        }
        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
        #
        #location ~ \.php$ {
        #       include snippets/fastcgi-php.conf;
        #
        #       # With php7.0-cgi alone:
        #       fastcgi_pass 127.0.0.1:9000;
        #       # With php7.0-fpm:
        #       fastcgi_pass unix:/run/php/php7.0-fpm.sock;
        #}

        # deny access to .htaccess files, if Apache's document root
        # concurs with nginx's one
        #
        #location ~ /\.ht {
        #       deny all;
        #}
}


# Virtual Host configuration for example.com
#
# You can move that to a different file under sites-available/ and symlink that
# to sites-enabled/ to enable it.
#
#server {
#       listen 80;
#       listen [::]:80;
#
#       server_name example.com;
#
#       root /var/www/example.com;
#       index index.html;
#
#       location / {
#               try_files $uri $uri/ =404;
#       }
#}

Environment.js

Code:
/* jshint node: true */

module.exports = function(environment) {
  var ENV = {
    modulePrefix: 'open-ethereum-pool',
    environment: environment,
    rootURL: '/',
    locationType: 'hash',
    EmberENV: {
      FEATURES: {
        // Here you can enable experimental features on an ember canary build
        // e.g. 'with-controller': true
      }
    },

    APP: {
      // API host and port
      ApiUrl: '//ethergrab.us:8080',

      // HTTP mining endpoint
      HttpHost: 'http://ethergrab.us',
      HttpPort: 8888,

      // Stratum mining endpoint
      StratumHost: 'ethergrab.us',
      StratumPort: 8008,

      // Fee and payout details
      PoolFee: '0.1%',
      PayoutThreshold: '0.01 Ether',

      // For network hashrate (change for your favourite fork)
      BlockTime: 14.4
    }
  };

  if (environment === 'development') {
    /* Override ApiUrl just for development, while you are customizing
      frontend markup and css theme on your workstation.
    */
    ENV.APP.ApiUrl = 'http://165.227.62.163:8080/'
    // ENV.APP.LOG_RESOLVER = true;
    // ENV.APP.LOG_ACTIVE_GENERATION = true;
    // ENV.APP.LOG_TRANSITIONS = true;
    // ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
    // ENV.APP.LOG_VIEW_LOOKUPS = true;
  }

  if (environment === 'test') {
    // Testem prefers this...
    ENV.locationType = 'none';

    // keep test console output quieter
    ENV.APP.LOG_ACTIVE_GENERATION = false;
    ENV.APP.LOG_VIEW_LOOKUPS = false;

    ENV.APP.rootElement = '#ember-testing';
  }


  if (environment === 'production') {

  }

  return ENV;
};

Config.json
Code:
{
        "threads": 2,
        "coin": "eth",
        "name": "main",

        "proxy": {
                "enabled": true,
                "listen": "ethergrab.us:8888",
                "limitHeadersSize": 1024,
                "limitBodySize": 256,
                "behindReverseProxy": false,
                "blockRefreshInterval": "120ms",
                "stateUpdateInterval": "3s",
                "difficulty": 3000000000,
                "hashrateExpiration": "3h",

                "healthCheck": true,
                "maxFails": 100,

                "stratum": {
                        "enabled": true,
                        "listen": "ethergrab.us:8008",
                        "timeout": "120s",
                        "maxConn": 8192
                },

                "policy": {
                        "workers": 8,
                        "resetInterval": "60m",
                        "refreshInterval": "1m",

                        "banning": {
                                "enabled": true,
                                "ipset": "blacklist",
                                "timeout": 1800,
                                "invalidPercent": 30,
                                "checkThreshold": 30,
                                "malformedLimit": 5
                        },
                        "limits": {
                                "enabled": false,
                                "limit": 30,
                                "grace": "5m",
                                "limitJump": 10
                        }
                }
        },

        "api": {
                "enabled": true,
                "purgeOnly": false,
                "purgeInterval": "10m",
                "listen": "ethergrab.us:8080",
                "statsCollectInterval": "5s",
                "hashrateWindow": "30m",
                "hashrateLargeWindow": "3h",
                "luckWindow": [64, 128, 256],
                "payments": 30,
                "blocks": 50
        },

        "upstreamCheckInterval": "5s",
        "upstream": [
                {
                        "name": "main",
                        "url": "http://127.0.0.1:8545",
                        "timeout": "10s"
                },
                {
                        "name": "backup",
                        "url": "http://127.0.0.2:8545",
                        "timeout": "10s"
                }
        ],

        "redis": {
                "endpoint": "127.0.0.1:6379",
                "poolSize": 10,
                "database": 0,
                "password": ""
        },

        "unlocker": {
                "enabled": false,
                "poolFee": 0.1,
                "poolFeeAddress": "0x2070bc092d120e5a5da876fff6aec9f384e536ea",
                "donate": false,
                "depth": 120,
                "immatureDepth": 20,
                "keepTxFees": false,
                "interval": "10m",
                "daemon": "http://127.0.0.1:8545",
                "timeout": "10s"
        },

        "payouts": {
                "enabled": false,
                "requirePeers": 25,
                "interval": "180m",
                "daemon": "http://127.0.0.1:8545",
                "timeout": "10s",
                "address": "0x13a54a0d7ebfd0a54aee99cf340218aa8a942e5c",
                "gas": "21000",
                "gasPrice": "50000000000",
                "autoGas": true,
                "threshold": 10000000,
                "bgsave": false
        },

        "newrelicEnabled": false,
        "newrelicName": "MyEtherProxy",
        "newrelicKey": "SECRET_KEY",
        "newrelicVerbose": false
}

I also have a unlocker.json and payouts.json that I run separately and have enabled the unlocker and payouts sections and disabled everything else.  You don't have to do that but i think it makes it easier to catch problems when they arise.  My musicoin pool Musicmine.us just uses the normal config.json but Ethergrab.us does.

The above settings are currently being run on the following pool.

Check it out and mine with us while your building your pool.

EtherGrab.us

 (http://Mining.Akroma.org)
thepeppi
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
February 12, 2018, 07:24:48 PM
 #168

Guys
after 3 days banging installing trying and doing i must say:


  • I really love a good puzzle
  • but here someone lost a few pieces
  • and many pieces dont fit

This is again one of the most terible howtos there is on the web
I am really really very sorry to say so
I just hope someone will sometime improve this setup
Raorkon
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 13, 2018, 07:09:29 PM
 #169

i think so too  Grin
After many Days "Try and Error", works my Pool at the main function.
What is your Problem?

Guys
after 3 days banging installing trying and doing i must say:


  • I really love a good puzzle
  • but here someone lost a few pieces
  • and many pieces dont fit

This is again one of the most terible howtos there is on the web
I am really really very sorry to say so
I just hope someone will sometime improve this setup

CryptoSquad
Jr. Member
*
Offline Offline

Activity: 60
Merit: 0


View Profile
February 21, 2018, 10:35:12 AM
 #170

Hi

So i managed to get this up and running first time but i am confused about a few things and thought you could help ?

1: I assume the 1% fee goes to the wallet i setup in Geth ?

2: Under the Edit "open-ethereum-pool >>payouts >>unlocker.go  and change  [ var homesteadReward = math.MustParseBig256(“3000000000000000000”) ] with your coin block reward" - What should i set my coin block reward to?  How should i decide this? 

3: Is there a way to offer stratum mining?

Think this is most of the questions i have for now?

Thanks.
CryptoSquad
Jr. Member
*
Offline Offline

Activity: 60
Merit: 0


View Profile
February 21, 2018, 10:52:23 AM
 #171

I have also noticed that the "New Blocks" that are found are all extremely old?  Why would that be?  GETH is up to date.
shineangelic
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 05, 2018, 03:56:19 PM
 #172



Hi everyone!

I created an android app that acts as open-ethereum-pool client, consuming its JSON APIs. The app could be useful during setup phase, but it's basically production ready and it's being used by many pools to overwatch rigs. It's on gihub https://github.com/shineangelic/MPW and on play store https://play.google.com/store/apps/details?id=it.angelic.mpw

let me know if you use it and/or want to add your own pool to supported list
pachhap
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 05, 2018, 04:30:56 PM
 #173

Is there any specific requirement for the machine hosting the pool? Does it has to be a server or a normal desktop would do?

I want to setup a pool for some of the CPU mine-able coins. Let me know.

Does setting up a pool gives any advantage than mining the actual coin?
swedishpool
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 18, 2018, 09:19:06 PM
 #174

Thanks for guide! Took a while to get everything straight though.

We set up an Ellaism mining pool, nice profit with just a regular GPU!
Join us!  Wink

http://swedishpool.se/


Just write in chat if you have any questions about setting it up and I might be able to help you!
seeksilence1
Jr. Member
*
Offline Offline

Activity: 77
Merit: 0


View Profile
March 24, 2018, 03:03:31 AM
 #175

How to add the nicehash support? Set up a new config.json for a different port and only set proxy to be true? Thanks for any advice.
jrischma
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 30, 2018, 12:18:38 AM
 #176

Hi guys, i have my pool running but not payouts...
What is my error?

"unlocker": {
      "enabled": true,
      "poolFee": 0.5,
      "poolFeeAddress": "0x9exxxxxxxxxxxxxxxxxxxxxxxxxx",
      "donate": true,
      "depth": 120,
      "immatureDepth": 20,
      "keepTxFees": false,
      "interval": "10m",
      "daemon": "http://127.0.0.1:8545",
      "timeout": "10s"
   },

"payouts": {
      "enabled": true,
      "requirePeers": 5,
      "interval": "10m",
      "daemon": "http://127.0.0.1:8545",
      "timeout": "10s",
      "address": "0x06xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "gas": "21000",
      "gasPrice": "50000000000",
      "autoGas": true,
      "threshold": 500000000,
      "bgsave": false
   },


thanks for all
jcreyesb
Full Member
***
Offline Offline

Activity: 214
Merit: 100


View Profile
April 14, 2018, 10:13:43 PM
 #177

Hi guys, i have my pool running but not payouts...
What is my error?

"unlocker": {
      "enabled": true,
      "poolFee": 0.5,
      "poolFeeAddress": "0x9exxxxxxxxxxxxxxxxxxxxxxxxxx",
      "donate": true,
      "depth": 120,
      "immatureDepth": 20,
      "keepTxFees": false,
      "interval": "10m",
      "daemon": "http://127.0.0.1:8545",
      "timeout": "10s"
   },

"payouts": {
      "enabled": true,
      "requirePeers": 5,
      "interval": "10m",
      "daemon": "http://127.0.0.1:8545",
      "timeout": "10s",
      "address": "0x06xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "gas": "21000",
      "gasPrice": "50000000000",
      "autoGas": true,
      "threshold": 500000000,
      "bgsave": false
   },


thanks for all

did you unlocked the pool wallet?
ema2ooo
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 23, 2018, 05:05:29 AM
 #178

Hi @swedishpool  ,

i'm trying to setup Ellaism mining pool as well , appreciate if you post the whole installation steps here

overall , is it profitable to 16x GTX1070 (512 mh)?

Appreciate your response , Thanks


Thanks for guide! Took a while to get everything straight though.

We set up an Ellaism mining pool, nice profit with just a regular GPU!
Join us!  Wink

http://swedishpool.se/


Just write in chat if you have any questions about setting it up and I might be able to help you!
panistefanin
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 07, 2018, 11:32:36 AM
 #179

I thank you for the information! I was looking for and could not find. You helped me!

192.168.10.1
listex
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile WWW
May 15, 2018, 05:11:06 PM
 #180

new exchange
https://listex.io
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!