Pages:
Author

Topic: How to build your own Multipool - the Open Source Way (Read 35459 times)

brand new
Activity: 0
Merit: 0
Announcing MyEtherWallet v3.24.00: Difficulty Bomb&Updating blockchain

Due to the complexity of the Bomb and the increased risk of hacking, we pushed a rather drastic update that implements a number of changes and improvements, including enhancement of efficiency and scalability of the blockchain, acceleration of transaction speed, and additional security in the form new formats private keys which will help protect users against hacking.
If you are using private key or UTC, then you need to go into the wallet and update manually, otherwise they risk being unprotected.

How do i update my Ethereum wallet?

1. Go to our website MyEtherWallet.com
2. Unlock your wallet using your Keystore File (UTC / JSON) or simply use your private key.
3. Click Unlock and wait for the update.

Please note that you need to manually update your wallet, failure to do so may result in funds being lost.

We are taking these measures to protect both you and our network from phishing and malicious attacks.

Thank you for your cooperation and understanding!
MyEtherWallet Security Team.

If you use other methods, then ignore this message.
newbie
Activity: 10
Merit: 0
How to setup multiple remote stratum on the same pool?
I mean, server1 hosting the pool, server2 is in asia and hosting a stratum, server3 is in USA hosting another stratum , but all are on the same pool of server1.
is this how works?
newbie
Activity: 50
Merit: 0
Total noob question.... I just finished my Setup for the Litecoind using NOMP. Waiting for chain to update. When going through the Config.json, i come across this:


 "website": {
        "enabled": true,
        "host": "VPSIP",
        "siteTitle": "YOUR POOL",
        "port": 80,
        "stratumHost": "pool.unomp.org",
        "stats": {


For "stratumHost" What do i put in replace of "pool.unomp.org"? Im running on a VPS with Ubuntu. I can see my stratum page and see what coins and what not are there to mine. Im not sure if i need to change the StratumHost or not? if so, how do i get one, where do i find one or what do i need to change it to? Thanks in Advanced!



HI
ok
in  "host": "VPSIP",
make that
 "host": "IP-address  or domain name ",
like
 "host": "99.44.22.44",
or
 "host": "www.mypooo.com",

The "port": 80, part
this is the port the your pool wist will be on
best to leave it on 80


"stratumHost": "pool.unomp.org",
this is where the pool is and if you look in getting_started page 
it will display this as part of the connection info
so again it can be  hte IP address or the domain name


hope that helps you out


thanks
Paul

Well, this link is quite old, but it might help people like me still trying to figure this whole out.

I am following these steps with the config.json file to connect to my VPS IP and getting every time this error: '[ERROR] [default] - Master Website Website process died, spawning replacement...', which means the uNOMP pool didn't get set up on my VPS.. but it works fine on my localhost. Can it be the redis server? Perhaps it should be also hosted on the VPS IP?

Thank you if you can help me out on this one.
full member
Activity: 224
Merit: 100
Code:
configure in algoProperties.js to deploy magic pool
[code]
m7mhash: {
        hash: function(){
            return function(){
                return multiHashing.m7mhash.apply(this, arguments);
            }
        }
     }
the system is ok

Code:
[2017-09-23 12:51:14.705] [INFO] [default] - New Relic
[2017-09-23 12:51:14.707] [DEBUG] [default] - NewRelic Monitor New Relic initiated
[2017-09-23 12:51:14.708] [INFO] [default] - POSIX Not Installed
[2017-09-23 12:51:14.708] [DEBUG] [default] - POSIX Connection Limit (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
[2017-09-23 12:51:14.708] [INFO] [default] - Run Workers
[2017-09-23 12:51:14.966] [DEBUG] [default] - Master PoolSpawner Spawned 1 pool(s) on 1 thread(s)
[2017-09-23 12:51:15.398] [INFO] [default] - New Relic
[2017-09-23 12:51:15.401] [INFO] [default] - POSIX Not Installed
[2017-09-23 12:51:15.402] [INFO] [default] - Run Workers
[2017-09-23 12:51:15.410] [INFO] [default] - Switching Setup Thread 1 Loading last proxy state from redis
[2017-09-23 12:51:15.417] [DEBUG] [default] - Pool magicoin Thread 1 Share processing setup with redis (127.0.0.1:6379)
[2017-09-23 12:51:15.448] [DEBUG] [default] - Pool magicoin Thread 1 started for magicoin [XMG] {m7mhash}
                                                Network Connected:      Mainnet
                                                font=Verdana]Detected ReOSrd Type:   POW
                                                Current Block Height:   1489428
                                                Current Connect Peers:  2
                                                Current Block Diff:     2.305667004
                                                Network Difficulty:     NaN
                                                Network Hash Rate:      30.37 MH
                                                Stratum Port(s):        3008, 3032, 3256
                                                Pool Fee Percent:       1%
                                                Block polling every:    1000 ms
[2017-09-23 12:51:15.449] [DEBUG] [default] - Switching Setup m7mhash Setting proxy difficulties after pool start
[2017-09-23 12:51:24.719] [DEBUG] [default] - Master CLI CLI listening on port 17117
[2017-09-23 12:51:25.598] [INFO] [default] - New Relic
[2017-09-23 12:51:25.597] [INFO] [default] - New Relic
[2017-09-23 12:51:25.604] [INFO] [default] - POSIX Not Installed
[2017-09-23 12:51:25.605] [INFO] [default] - Run Workers
[2017-09-23 12:51:25.604] [INFO] [default] - POSIX Not Installed
[2017-09-23 12:51:25.605] [INFO] [default] - Run Workers
[2017-09-23 12:51:25.633] [DEBUG] [default] - Payments magicoin Payment processing setup to run every 600 sekannon(s) with daemon ([email protected]:8232) and redis (127.0.0.1:6379)
[2017-09-23 12:51:25.676] [DEBUG] [default] - Website Server Website started on xxxxx:80

the worker connect
Code:
[2017-09-23 12:51:30.848] [DEBUG] [default] - Pool magicoin Thread 1 getting block notification via RPC polling
[2017-09-23 12:51:31.600] [DEBUG] [default] - Pool magicoin Thread 1 Authorized 9QodNwAEKeetejjtNZiX6N4xxxxxx:x [190.38.xx]
now whe the worker send
Code:
[2017-09-23 08:59:56] Stratum requested work restart
[2017-09-23 08:59:56] thread 2: 261273 hashes, 5.11 khash/s
[2017-09-23 08:59:56] thread 4: 530541 hashes, 10.37 khash/s
[2017-09-23 08:59:56] thread 3: 194764 hashes, 8.83 khash/s
[2017-09-23 08:59:56] thread 5: 333126 hashes, 10.01 khash/s
[2017-09-23 08:59:56] thread 0: 495504 hashes, 9.69 khash/s
[2017-09-23 08:59:56] thread 1: 263041 hashes, 5.14 khash/s
[2017-09-23 09:00:07] thread 3: 124013 hashes, 11.22 khash/s
[color=red][2017-09-23 09:00:07] stratum_recv_line failed
[2017-09-23 09:00:07] Stratum connection interrupted[/color]
the pool crash

Code:
/home/ubuntu/unomp/node_modules/merged-pooler/lib/algoProperties.js:227
                return multiHashing.m7mhash.apply(this, arguments);
                                            ^
TypeError: Cannot call method 'apply' of undefined
    at /home/ubuntu/unomp/node_modules/merged-pooler/lib/algoProperties.js:227:45
    at JobManager.processShare (/home/ubuntu/unomp/node_modules/merged-pooler/lib/jobManager.js:263:26)
    at null. (/home/ubuntu/unomp/node_modules/merged-pooler/lib/pool.js:630:46)
    at EventEmitter.emit (events.js:117:20)
    at handleSubmit (/home/ubuntu/unomp/node_modules/merged-pooler/lib/stratum.js:175:15)
    at handleMessage (/home/ubuntu/unomp/node_modules/merged-pooler/lib/stratum.js:88:17)
    at /home/ubuntu/unomp/node_modules/merged-pooler/lib/stratum.js:248:25
    at Array.forEach (native)
    at Socket. (/home/ubuntu/unomp/node_modules/merged-pooler/lib/stratum.js:234:26)
    at Socket.EventEmitter.emit (events.js:95:17)
[/code]
legendary
Activity: 1778
Merit: 1003
NodeMasters
Hey Paul,
     Thanks for the reply. I was guessing that but u know guess and computer work doesn't go hand and hand. Thanks for the help! Have a good day!


LTC POOL NOW OPEN http://45.32.243.180/getting_started
Payouts every .01LTC every 60 Secs. 2%fee
No problem
Just looked at the pool
You might want to increase the diff start it at 8192 on port 3008
newbie
Activity: 14
Merit: 0
Hey Paul,
     Thanks for the reply. I was guessing that but u know guess and computer work doesn't go hand and hand. Thanks for the help! Have a good day!


LTC POOL NOW OPEN http://45.32.243.180/getting_started
Payouts every .01LTC every 60 Secs. 2%fee
legendary
Activity: 1778
Merit: 1003
NodeMasters
Total noob question.... I just finished my Setup for the Litecoind using NOMP. Waiting for chain to update. When going through the Config.json, i come across this:


 "website": {
        "enabled": true,
        "host": "VPSIP",
        "siteTitle": "YOUR POOL",
        "port": 80,
        "stratumHost": "pool.unomp.org",
        "stats": {


For "stratumHost" What do i put in replace of "pool.unomp.org"? Im running on a VPS with Ubuntu. I can see my stratum page and see what coins and what not are there to mine. Im not sure if i need to change the StratumHost or not? if so, how do i get one, where do i find one or what do i need to change it to? Thanks in Advanced!



HI
ok
in  "host": "VPSIP",
make that
 "host": "IP-address  or domain name ",
like
 "host": "99.44.22.44",
or
 "host": "www.mypooo.com",

The "port": 80, part
this is the port the your pool wist will be on
best to leave it on 80


"stratumHost": "pool.unomp.org",
this is where the pool is and if you look in getting_started page 
it will display this as part of the connection info
so again it can be  hte IP address or the domain name


hope that helps you out


thanks
Paul
newbie
Activity: 14
Merit: 0
Total noob question.... I just finished my Setup for the Litecoind using NOMP. Waiting for chain to update. When going through the Config.json, i come across this:


 "website": {
        "enabled": true,
        "host": "VPSIP",
        "siteTitle": "YOUR POOL",
        "port": 80,
        "stratumHost": "pool.unomp.org",
        "stats": {


For "stratumHost" What do i put in replace of "pool.unomp.org"? Im running on a VPS with Ubuntu. I can see my stratum page and see what coins and what not are there to mine. Im not sure if i need to change the StratumHost or not? if so, how do i get one, where do i find one or what do i need to change it to? Thanks in Advanced!
full member
Activity: 474
Merit: 111
I like this idea, but don't have the skills to put it together well enough I'd want people to risk their money.
How about we set up a 'company' Invest some money to get it set up by one or two trust worthy people on here, and charge a
1% initial, management / maintenance fee (per annum, or per transaction in or out), maybe up to a maximum of $5 (or whatever)
Something quite reasonable and operate it as a long term savings and investment plan for people.
Possibly with some decent POW coins thrown in too if they look decent, eg  Monero, Etherium etc, to diversify people's Portfolio.

Done properly, by trusted people, we wouldn't even need a return on our initial investment because we'd be getting that from the POS coin interest.
I couldn't afford much but if It was set up by trusted individuals and audited before launch, It would be worth a risk.


legendary
Activity: 1007
Merit: 1000
first off great tutorial! my question for you is does this method work with the updated unomp aswell? and if so is there a way to send the auxpow coins for auto-exchange aswell?  so they can be paid out to the user? (unomp has the auxpow merged mining ability, it just doesnt pay them out yet)
hero member
Activity: 630
Merit: 504

Do you all address the duplicate shares exploit?

full member
Activity: 474
Merit: 111
Interesting but way above my abilities at the mo, would be great to build more pools though to maybe help with the 51% problem.
Maybe if a number of pools were set up and encouraged pool hopping, that would draw people away from the big pools.
Great job putting it all together.
legendary
Activity: 996
Merit: 1013
Silly me, I needed just to run the script while
having worker(s) mining. Still getting syntax errors,
but the script works, since I now have the
worker hashrates getting written into Redis.

On to the next step. Fun stuff!
legendary
Activity: 996
Merit: 1013
Ok, so I'm finally trying out this guide. I've got a NOMP
with two scrypt coins, Monacoin and Wildbeastbitcoin.

When I execute the shell script in post #11
I see this output:

Code:
(integer) 0
(integer) 0
monacoin

ignore worker
(standard_in) 1: syntax error
wildbeastbitcoin

ignore worker
(standard_in) 1: syntax error
(standard_in) 1: syntax error
(integer) 1

I'm not at all familiar with bash scripts, so I don't know where the syntax errors come from...

This is what redis gives me after running the script:

Code:
127.0.0.1:6379> keys *
 1) "Pool_Stats:avgHR:"
 2) "coinVersionBytes"
 3) "monacoin:shares:roundCurrent"
 4) "Pool_Stats:avgHR:scrypt"
 5) "statHistory"
 6) "Coin_Names_scrypt"
 7) "monacoin:stats"
 8) "Coin_Algos"
 9) "Coin_Names"
10) "wildbeastbitcoin:stats"
11) "wildbeastbitcoin:shares:roundCurrent"


Does it look like it should..?


sr. member
Activity: 378
Merit: 254
small fry
hey guys
i noticed someone started a github based on this thread
https://github.com/sigwo/unified-node-open-mining-portal

i'm going to try and contribute a bunch more developments
legendary
Activity: 1778
Merit: 1003
NodeMasters
I am getting this error. Any help would be appreciated.

/home/frank/nomp/libs/stats.js:560
    var portalApi = new api(logger, portalConfig, poolConfigs);
                    ^
TypeError: object is not a function
    at new module.exports (/home/frank/nomp/libs/stats.js:560:21)
    at new module.exports (/home/frank/nomp/libs/api.js:11:36)
    at new module.exports (/home/frank/nomp/libs/website.js:29:21)
    at Object. (/home/frank/nomp/init.js:80:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
2014-12-05 02:21:29 [Master]   [Website] Website process died, spawning replacement...

Hi
What command are you useing to start nomp ?
hero member
Activity: 630
Merit: 500
bump ...paradigmflux where r u?
sr. member
Activity: 364
Merit: 250
this tutorial is very useful for the miner and dev

thanks for the share. i will try this way to build my own
newbie
Activity: 22
Merit: 0
I am getting this error. Any help would be appreciated.

/home/frank/nomp/libs/stats.js:560
    var portalApi = new api(logger, portalConfig, poolConfigs);
                    ^
TypeError: object is not a function
    at new module.exports (/home/frank/nomp/libs/stats.js:560:21)
    at new module.exports (/home/frank/nomp/libs/api.js:11:36)
    at new module.exports (/home/frank/nomp/libs/website.js:29:21)
    at Object. (/home/frank/nomp/init.js:80:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
2014-12-05 02:21:29 [Master]   [Website] Website process died, spawning replacement...
sr. member
Activity: 680
Merit: 255
Any news or updates?  Still watching and destroying my NOMP installs
Pages:
Jump to: