Bitcoin Forum
April 24, 2024, 10:26:27 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: How to build your own Multipool - the Open Source Way  (Read 35414 times)
edric
Hero Member
*****
Offline Offline

Activity: 546
Merit: 501



View Profile
August 20, 2014, 10:36:40 PM
 #81

I'm working on something similar using LiveCode, possibly I can fill in the blanks once I get my head round it all.

1713997587
Hero Member
*
Offline Offline

Posts: 1713997587

View Profile Personal Message (Offline)

Ignore
1713997587
Reply with quote  #2

1713997587
Report to moderator
1713997587
Hero Member
*
Offline Offline

Posts: 1713997587

View Profile Personal Message (Offline)

Ignore
1713997587
Reply with quote  #2

1713997587
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713997587
Hero Member
*
Offline Offline

Posts: 1713997587

View Profile Personal Message (Offline)

Ignore
1713997587
Reply with quote  #2

1713997587
Report to moderator
1713997587
Hero Member
*
Offline Offline

Posts: 1713997587

View Profile Personal Message (Offline)

Ignore
1713997587
Reply with quote  #2

1713997587
Report to moderator
1713997587
Hero Member
*
Offline Offline

Posts: 1713997587

View Profile Personal Message (Offline)

Ignore
1713997587
Reply with quote  #2

1713997587
Report to moderator
jk9694
Full Member
***
Offline Offline

Activity: 274
Merit: 122


View Profile
August 21, 2014, 03:07:53 AM
 #82

Yes, now that I am getting much more familiar with node.js I have started working on my own pool software completely from scratch that will have this as a standard feature.  But I am taking our reddit as many people are not familiar with it and replacing it with mysql.  Back to people understanding the database.
OmarGsPools
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
August 22, 2014, 01:43:01 PM
 #83

Has anyone managed to get a multipool working? With at least proper coin switching and coin's being converted into target coin's using the exchange rates?

.
      ▄▄█▀▀█▄▄
  ▄▄█████▄▄█████▄▄
████  ███  ███  ████
  ▀▀█████▀▀█████▀▀

▀█▄▄  ▀▀█▄▄█▀▀   ▄▄█
 ▀▀███▄▄     ▄▄██▀██
     ▀███   ██▀  ▄█
██     ██  ██ ▄██▀██
▀██    ██  ███▀  ▄██
 ▀███▄▄██  ██ ▄███▀
    ▀▀███  ▀██▀▀
Just.Bet 
 
 
 
█▀▀▀▀▀










█▄▄▄▄▄
.
DICE
LOTTERY
PLINKO
.
COIN FLIP
CRASH
WHEEL
▀▀▀▀▀█










▄▄▄▄▄█
.
        ███████       ▄▄██▄
                  ▄▄███▀▀██▄
      ██████   ▄███████▄▄███▄
               ▀██  █████████▄
                ▀█████████▀▀██▄
████████████     ▀███▀▀███▄▄██▀
██  ████  ██      ▀██▄▄███▀▀
█████▀▀█████  ██   ▀██▀▀
█████▄▄█████
██  ████  ██   ██████
████████████
.
DECENTRALIZED
PROVABLY FAIR
ON CHAIN GAMES
█▀▀▀▀▀










█▄▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
PLAY NOW
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀▀█










▄▄▄▄▄█
[/center]
jk9694
Full Member
***
Offline Offline

Activity: 274
Merit: 122


View Profile
August 24, 2014, 02:25:14 AM
 #84

There is also a multipool located at easyp2pool.us

Yes, I have not changed the domain name to something more relevant.  The switching is custom and all in node.js.

However, I am working on new pool software now that will not use nomp as I am not seeing much support out there for it.
optiplex
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile WWW
August 24, 2014, 06:07:23 AM
Last edit: August 24, 2014, 07:08:02 AM by optiplex
 #85

Glad to see this thread is not totally dead, eagerly awaiting OP to return and continue the postings, I have a normal NOMP up and running but want to improve it Smiley
http://optiplexpool.ddns.net:8081
I'm building another pool for testing with the modifications listed so far but need the rest of the code Huh
MCDev
Sr. Member
****
Offline Offline

Activity: 680
Merit: 255



View Profile
August 25, 2014, 10:25:56 PM
 #86

I agree with this being a great post to start.  I'm also hoping the OP continues our journey into the NOMP world.  I have 3 standard installs working right now with 1 to 10 coins in each, and am in the process of going through this guide.

Fingers crossed for more to come.


             ▄▆▆▄
           ▄████████▄
        ▄██████████████▄
     ▄███████      ███████▄
  ▄███████            ███████▄
███████                  ███████
█████▀                    ▀▀██▀
█████
█████                       ▄▆█
█████                   ▆██████
█████                   ████████
  ▀█                   █▀ ▐████
▄                          ▐████
██▆▄▄                    ▄█████
███████                  ███████
  ▀███████            ███████▀
     ▀███████      ███████▀
        ▀██████████████▀
           ▀████████▀

Graphene Airdrop Coming Soon by Phore
  █████████████████████████████
███████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████           ▅▆████████▌
█████████     ▅▅▆████████████▌
█████████▆█████████████████████
████████████████████████████████
██████████████████████████████▀
██████████████████████▀▀▀
████████████████▀▀▀
█████████▀▀
█████████
█████████
paradigmflux (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 254

small fry


View Profile WWW
September 08, 2014, 03:53:07 AM
 #87

Hey guys, sorry, BTCD Pool flatlined.  I am currently in the middle of setting up BURSTMULTIPOOL.com and will finish off updating this thread as I get the various pieces going.

A bit more background information:

you will require a few things to be installed:

jq and webdis, both are fairly easy to google and figure out how to get installed. Check out burstmultipool.com to see how the new pool is coming along.

---
NXT Multipool! Mine Scrypt, SHA, Keccak or X11 for NXT! http://hashrate.org
http://hashrate.org/getting_started for port info!
utahjohn
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500


View Profile
September 08, 2014, 04:28:25 AM
Last edit: September 08, 2014, 04:41:56 AM by utahjohn
 #88

Hey thx for coming back Smiley
I want to build a multipool for Diamond (DMD), have basic NOMP running and a selection of coins ready to go (X11).
Will you be starting a github for this? 
paradigmflux (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 254

small fry


View Profile WWW
September 13, 2014, 03:14:12 AM
 #89

Hey thx for coming back Smiley
I want to build a multipool for Diamond (DMD), have basic NOMP running and a selection of coins ready to go (X11).
Will you be starting a github for this? 

lol
if someone wants to be so kind as to post in this thread a nice and simple guide (or a link to a guide) for how to actually use git
that isn't some stupid verbose 500 page man article
i will most certainly use github

---
NXT Multipool! Mine Scrypt, SHA, Keccak or X11 for NXT! http://hashrate.org
http://hashrate.org/getting_started for port info!
paradigmflux (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 254

small fry


View Profile WWW
September 14, 2014, 04:20:19 PM
 #90

Hey thx for coming back Smiley
I want to build a multipool for Diamond (DMD), have basic NOMP running and a selection of coins ready to go (X11).
Will you be starting a github for this? 

lol
if someone wants to be so kind as to post in this thread a nice and simple guide (or a link to a guide) for how to actually use git
that isn't some stupid verbose 500 page man article
i will most certainly use github


Come on folks
I've googled it a bit unsuccessfully
haha
I wanted to get the whole new burstmultipool.com source onto a git today if possible.

---
NXT Multipool! Mine Scrypt, SHA, Keccak or X11 for NXT! http://hashrate.org
http://hashrate.org/getting_started for port info!
MCDev
Sr. Member
****
Offline Offline

Activity: 680
Merit: 255



View Profile
September 14, 2014, 04:27:37 PM
 #91

Someone PLEASE help!  I would If I knew how  Sad


             ▄▆▆▄
           ▄████████▄
        ▄██████████████▄
     ▄███████      ███████▄
  ▄███████            ███████▄
███████                  ███████
█████▀                    ▀▀██▀
█████
█████                       ▄▆█
█████                   ▆██████
█████                   ████████
  ▀█                   █▀ ▐████
▄                          ▐████
██▆▄▄                    ▄█████
███████                  ███████
  ▀███████            ███████▀
     ▀███████      ███████▀
        ▀██████████████▀
           ▀████████▀

Graphene Airdrop Coming Soon by Phore
  █████████████████████████████
███████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████           ▅▆████████▌
█████████     ▅▅▆████████████▌
█████████▆█████████████████████
████████████████████████████████
██████████████████████████████▀
██████████████████████▀▀▀
████████████████▀▀▀
█████████▀▀
█████████
█████████
utahjohn
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500


View Profile
September 14, 2014, 04:46:38 PM
 #92

all I know about git is how to git clone the source from it, but I think that would be the best place for open source, then others can add issues, requests, and create sub forks and submit pull requests to main tree for your consideration ...
MCDev
Sr. Member
****
Offline Offline

Activity: 680
Merit: 255



View Profile
September 14, 2014, 04:58:06 PM
 #93

I'm in the same boat.  git is easy, I got lost in the dox for putting it up there.  If I weren't trying to catch up on 2 weeks work for my day job, I'd spend today trying to figure it out.  Hopefully someone will come through.  It will benefit all of us!!

Thanks for coming back!!!!


             ▄▆▆▄
           ▄████████▄
        ▄██████████████▄
     ▄███████      ███████▄
  ▄███████            ███████▄
███████                  ███████
█████▀                    ▀▀██▀
█████
█████                       ▄▆█
█████                   ▆██████
█████                   ████████
  ▀█                   █▀ ▐████
▄                          ▐████
██▆▄▄                    ▄█████
███████                  ███████
  ▀███████            ███████▀
     ▀███████      ███████▀
        ▀██████████████▀
           ▀████████▀

Graphene Airdrop Coming Soon by Phore
  █████████████████████████████
███████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████           ▅▆████████▌
█████████     ▅▅▆████████████▌
█████████▆█████████████████████
████████████████████████████████
██████████████████████████████▀
██████████████████████▀▀▀
████████████████▀▀▀
█████████▀▀
█████████
█████████
utahjohn
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500


View Profile
September 14, 2014, 05:31:49 PM
 #94

BTW I have successfully installed redis and node.js on a windows server 2008 R2 box Smiley
Have not tried using nomp on windows yet ...

Already have a running nomp pool on a linux box Smiley
YarkoL
Legendary
*
Offline Offline

Activity: 996
Merit: 1012


View Profile
September 14, 2014, 06:03:03 PM
 #95


Come on folks
I've googled it a bit unsuccessfully
haha
I wanted to get the whole new burstmultipool.com source onto a git today if possible.


okay..This is for ubuntu linux, the same principles apply elsewhere.

First go to github site and get yourself a new account there.

You'll then have your own place there, say https://github.com/paradigmflux

Next open a terminal and get git on your local machine

Code:
sudo apt-get install git

Go to your github place, go to your repositories, click New (the large green button)
From then on do as instructed. Github will ask the repo name then give you
the commands to be executed on your terminal.

Alternatively, once you've got your github page and git installed,
You can also push the repo entirely from the terminal (without using the browser)
with these commands:

(Let's say you want to make repository called "multipool"..)

Change to the directory where your code is, then

generate data that git needs
Code:
git init
add all your files to be pushed to repo
Code:
git add .
commit your changes and insert a comment
Code:
git commit -m "first commit"
tell where the repo is - where to upload
Code:
git remote add origin https://github.com/paradigmflux/multipool.git
upload the stuff
Code:
git push -u origin master

you'll then be asked for username and password that you gave when
you signed up at Github, and then your code will be moved to your new repo.

Hope this helps.





“God does not play dice"
paradigmflux (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 254

small fry


View Profile WWW
September 14, 2014, 09:17:23 PM
 #96


Come on folks
I've googled it a bit unsuccessfully
haha
I wanted to get the whole new burstmultipool.com source onto a git today if possible.


okay..This is for ubuntu linux, the same principles apply elsewhere.

First go to github site and get yourself a new account there.

You'll then have your own place there, say https://github.com/paradigmflux

Next open a terminal and get git on your local machine

Code:
sudo apt-get install git

Go to your github place, go to your repositories, click New (the large green button)
From then on do as instructed. Github will ask the repo name then give you
the commands to be executed on your terminal.

Alternatively, once you've got your github page and git installed,
You can also push the repo entirely from the terminal (without using the browser)
with these commands:

(Let's say you want to make repository called "multipool"..)

Change to the directory where your code is, then

generate data that git needs
Code:
git init
add all your files to be pushed to repo
Code:
git add .
commit your changes and insert a comment
Code:
git commit -m "first commit"
tell where the repo is - where to upload
Code:
git remote add origin https://github.com/paradigmflux/multipool.git
upload the stuff
Code:
git push -u origin master

you'll then be asked for username and password that you gave when
you signed up at Github, and then your code will be moved to your new repo.

Hope this helps.






ty for the crash course, I think i have this almost figured out.
I will update this thread once I have some of it committed.

---
NXT Multipool! Mine Scrypt, SHA, Keccak or X11 for NXT! http://hashrate.org
http://hashrate.org/getting_started for port info!
utahjohn
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500


View Profile
September 14, 2014, 09:31:43 PM
 #97

Once I get a clone of your pool modified, I will be working on API to UseCryptos exchange for buying DMD, we just got listed there recently Smiley (a few weeks ago) and need to build some volume there.
We have been using Cryptsy for ages but they are way slow to respond to support tickets and keeping Wallet daemon up to date LOL, sometimes weeks with no deposit/withdraw available ...
paradigmflux (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 254

small fry


View Profile WWW
September 14, 2014, 09:38:48 PM
 #98

Time for some extremely long posts again.

Let's go into some background first on how it is that NOMP works.
I strongly suggest each of you set up redis-commander, and use it to look at your database.  Be careful to use a good password, as someone could maliciously log into your instance of redis-commander and wipe your entire redis db.
https://www.npmjs.org/package/redis-commander

With NOMP, each coin that you have configured is going to have a seperate redis key.  Let's start with what is redis?
Redis is an in-memory key-value store, which means that it exists solely in RAM. This is the reason that NOMP is so much better than MPOS, which uses an on-disk SQL database.  Redis can scale up to millions of transactions a second easily, SQL cannot.

So in NOMP, each coin is going to have it's own seperate key.
Inside that key, you will see several other keys:

blocksConfirmed - these are previously solved blocks.
blocksKicked - for all intensive purposes, these are the same as blocksOrphaned
blocksOrphaned - solved blocks that wound up being orphans.
shares - this will usually consist of only a single key, roundCurrent which will contain numerous fields.  Each of your workers will be the name of a field, and their appropriate value will be the number of shares that they have successfully submitted for the current round.
hashrate - this will be a live log of the shares that are being submitted by each worker.  This is where the hashrate calculation are done from.  This is sorted set where the scores are the epoch timestamps, and the values are a string made up of the share difficulty, the worker name and the full javascript epoch time (down to milliseconds).
balances - This is where NOMP keeps track of who has earned what.  As blocks are solved, the block reward is divided up proportionately amongst the miners (ie, the currentRound key is checked and all of the value numbers are added together.  Each worker then is credited with their particular number of shares (ie, their value in the currentRound divided by the total of all of the values in the currentRound) multiplied by the block reward. This number is then added to any existing balance that may already exist in the balances key (so that a worker can have their reward for multiple blocks in a row add up) -  when a payout process happens, this key has to be cleared in order to prevent duplicate payouts.

In my pools, every single payout each coin has it's balances key renamed to the format Prev:<shiftnumber>:<coinname>:balances - this leaves a good audit trail as you can always look back at any previous round and see exactly how many coins each miner has earned, in any previous round.

---
NXT Multipool! Mine Scrypt, SHA, Keccak or X11 for NXT! http://hashrate.org
http://hashrate.org/getting_started for port info!
MCDev
Sr. Member
****
Offline Offline

Activity: 680
Merit: 255



View Profile
September 15, 2014, 12:48:36 AM
 #99

All I can say is FANTASTIC JOB!!!  Got me waiting for the next one!!
Thanks!!


             ▄▆▆▄
           ▄████████▄
        ▄██████████████▄
     ▄███████      ███████▄
  ▄███████            ███████▄
███████                  ███████
█████▀                    ▀▀██▀
█████
█████                       ▄▆█
█████                   ▆██████
█████                   ████████
  ▀█                   █▀ ▐████
▄                          ▐████
██▆▄▄                    ▄█████
███████                  ███████
  ▀███████            ███████▀
     ▀███████      ███████▀
        ▀██████████████▀
           ▀████████▀

Graphene Airdrop Coming Soon by Phore
  █████████████████████████████
███████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████           ▅▆████████▌
█████████     ▅▅▆████████████▌
█████████▆█████████████████████
████████████████████████████████
██████████████████████████████▀
██████████████████████▀▀▀
████████████████▀▀▀
█████████▀▀
█████████
█████████
utahjohn
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500


View Profile
September 15, 2014, 04:04:49 AM
 #100

I like the tutorial format Smiley please continue and get git up Smiley
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!