Pages:
Author

Topic: [GUIDE] Setup your own Ethereum mining pool. - page 3. (Read 30140 times)

newbie
Activity: 1
Merit: 0
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!
full member
Activity: 224
Merit: 100
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?
newbie
Activity: 1
Merit: 0
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
newbie
Activity: 86
Merit: 0
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.
newbie
Activity: 1
Merit: 0
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!
newbie
Activity: 3
Merit: 0
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?
newbie
Activity: 2
Merit: 0


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
newbie
Activity: 60
Merit: 0
I have also noticed that the "New Blocks" that are found are all extremely old?  Why would that be?  GETH is up to date.
newbie
Activity: 60
Merit: 0
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.
newbie
Activity: 2
Merit: 0
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

newbie
Activity: 25
Merit: 0
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
newbie
Activity: 71
Merit: 0
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
newbie
Activity: 71
Merit: 0
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!
newbie
Activity: 1
Merit: 0
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




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.
newbie
Activity: 71
Merit: 0
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




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
sr. member
Activity: 462
Merit: 250
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?
newbie
Activity: 71
Merit: 0
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.
newbie
Activity: 4
Merit: 0
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?
newbie
Activity: 4
Merit: 0
Thank You Krayton.
Hi, you need install 1.9.2 version
Code:
sudo curl -O https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.9.2.linux-amd64.tar.gz
sudo mkdir ~/.go
echo "export GOROOT=/usr/local/go" >> ~/.bashrc
echo "export GOPATH=~/.go" >> ~/.bashrc
echo "export PATH=$PATH:$GOROOT/bin:$GOPATH/bin" >> ~/.bashrc
sudo update-alternatives --install "/usr/bin/go" "go" "/usr/local/go/bin/go" 0
sudo update-alternatives --set go /usr/local/go/bin/go
source ~/.bashrc
full member
Activity: 224
Merit: 100
i deployed a eth pool but the page is blank.. i can't see the stats.. no error  in nginx.. what i can do?
Pages:
Jump to: