Comments (33)
If you use PM2 to run your pool this isn't much of a problem as the restart happens immediately (unless of course the new configuration contains an error)
npm install -g pm2@latest
pm2 install pm2-logrotate
pm2 startup (it may ask you to c/p a command)
pm2 start --name pool node -- init.js
pm2 save
pm2 restart pool - restart pool
pm2 logs pool - watch pool logs
pm2 start pool - start pool
pm2 stop pool - stop pool
pm2 del pool - delete pool
A good miner software I imagine will save the last share it submitted if it failed because of the connection and try to re-submit the share. I also think good software would try to re-submit any share that failed to submit for any reason. I am not sure if the underlying software and stratum protocol would support this though.
The only time I ever had issues with miners being disconnected is when I manually stop it and start it with time in between.
Usually when I use pm2 restart pool it does it so fast that there is 0 effect on the miners (no dropped shares due to jobid, lost connections, etc)
One thing I would add to this idea, is the ability to test the configuration before you deploy it - a command to check all configs are good (main, and individual coin configs) as well as fail-safe methods so if one coin's config is screwed it only affects that one single coin and the rest can still function.
All that being said though, dynamic reloading of configuration as well as config testing and fail-safe would be amazing.
from node-open-mining-portal.
This would be a great feature. It can be implemented once we get the frontend developed, and the admin page of the frontend developed :)
from node-open-mining-portal.
This is huge! I have to disconnect my entire network to add a coin right now!
from node-open-mining-portal.
+1
from node-open-mining-portal.
forever restart init.js disconnect all ppl ? Or its enough fast for do the job ?
from node-open-mining-portal.
yes it disconnects all workers
On Apr 12, 2014 10:59 AM, "bayo31" [email protected] wrote:
forever restart init.js disconnect all ppl ? Or its enough fast for do the
job ?โ
Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-40284174
.
from node-open-mining-portal.
We tryed adding pools on the fly by adding there configs but with the coins off started the portal and from there it throws an errer about the coins RPC Responce, but did seem to load up and allow pople to mine there coins, to actually add the coin for starting we jsut started the new coin (configs already loaded rememer) and waited for it to pool.
Been trying out lots of crazy ideas with this since a customer asked for it.
Devs need a pat on the back such a breeeeze to work with
from node-open-mining-portal.
I have almost finished this feature.
I also was pointed to https://www.bountysource.com/issues/1588495-adding-pool-on-the-fly so if anyone would like to contribute feel free to do so, if not, after i have polished the code i will submit PR.
For now, i have this working:
- Add new file
pool_configs/new_pool_name.json
- Send
node scripts/cli.js reloadpool new_pool_name
- New stratum instance is spawned, supporting clustering if enabled.
- New workers are auth'ed and can start mining
What needs to be polished:
- Profit switching to use new coin
- Payouts to new coin.
from node-open-mining-portal.
UPDATE
For now, i have this working:
- Add new file
pool_configs/new_pool_name.json
- Send
node scripts/cli.js reloadpool new_pool_name
- New stratum instance is spawned, supporting clustering if enabled.
- New workers are auth'ed and can start mining
- Profit switching to use new coin (new)
What needs to be polished:
- Payouts to new coin.
Also a bounty was met, that was quick, Thanks mineoncloud
All other backers still welcome to donate ๐
from node-open-mining-portal.
UPDATE
For now, i have this working:
- Add new file
pool_configs/new_pool_name.json
- Send
node scripts/cli.js reloadpool new_pool_name
- New stratum instance is spawned, supporting clustering if enabled.
- New workers are auth'ed and can start mining
- Profit switching to use new coin
- Payouts to new coin. (new)
What needs to be added:
- Update frontend to show new coin stats
All other backers still welcome to donate ๐
from node-open-mining-portal.
Looking forward to it!
-icecube45 ($50 Backer)
from node-open-mining-portal.
Nice.โ
Sent from Mailbox
On Thu, May 15, 2014 at 1:01 AM, icecube45 [email protected]
wrote:
Looking forward to it!
-icecube45 ($50 Backer)
Reply to this email directly or view it on GitHub:
#5 (comment)
from node-open-mining-portal.
Ping me when all done and when we can start test !!!
Mineoncloud.
from node-open-mining-portal.
Should be ready to test now. Will submit PR.
I need to rebase my branch before I can submit PR... Won't take that long...
from node-open-mining-portal.
@miningpoolhub @mineoncloud @icecube45 PR #211 is up.
Please test, it should work fine, but do it with test pools just in case...
from node-open-mining-portal.
Has anyone tested #211 already?
from node-open-mining-portal.
I go test today ! But one thing is to add this function in admin tabs too .
from node-open-mining-portal.
Sure, as soon as this is confirmed to work, I can try to call cli from admin section.
On May 19, 2014, at 1:22 PM, mineoncloud [email protected] wrote:
I go test today ! But one thing is to add this function in admin tabs too .
โ
Reply to this email directly or view it on GitHub.
from node-open-mining-portal.
Just add first pool with this functions report =
block count = ok
payout for fees = ok
stats = ok for now
payout for worker waiting confirm but all look good.
Also any error in log for now.
from node-open-mining-portal.
All work well on my side right now !! Add , payout , fees ( I just dont test multipool switch because dont use it atm ) !! I have also try disable pool ( turn enabled to false + reload it ) and it work.
from node-open-mining-portal.
So? Does this work for the others too?
from node-open-mining-portal.
Can this be merged already?
It will be easier for me so I can rebase to master with this merged.
Will also help with #214
from node-open-mining-portal.
This function is not working for me :(
from node-open-mining-portal.
What is wrong ?
I assume you have pulled my PR to test this, since this has not been merged yet... It won't work in a normal installation...
On May 27, 2014, at 6:02 PM, scorpio18 [email protected] wrote:
This function is not working for me :(
โ
Reply to this email directly or view it on GitHub.
from node-open-mining-portal.
so that why is not working , i have seen on my nomp folder and i tried on my nomp pool :) Sry
from node-open-mining-portal.
Ok that explains it, don't worry!
I'm waiting for repo owner to merge this, or other users to report any errors, I thinks it works fine.
As soon as this is confirmed to work and merged I will start with the other issue for removing and restarting a pool after modifying it.
On May 27, 2014, at 6:32 PM, scorpio18 [email protected] wrote:
so that why is not working , i have seen on my nomp folder and i tried on my nomp pool :) Sry
โ
Reply to this email directly or view it on GitHub.
from node-open-mining-portal.
@miningpoolhub @zone117x @mineoncloud So, can we merge #211 or let me know what's needed so I can continue working on CLI?
from node-open-mining-portal.
For me its good ! Why this is not yet merged ??
from node-open-mining-portal.
make it - -
from node-open-mining-portal.
@mrzeta I did not understand what you meant..
@mineoncloud I think that since repo owner did not merge this #211 at the time, it has now outdated code in it....... for some reason another PR got merged before this one.
Please @zone117x let me know if and what is needed for the rebase. Thanks!
from node-open-mining-portal.
When starting pool on the fly, the public key was not added to the drop down list to convert public key to importable key for the added pool.
from node-open-mining-portal.
I concur with sigwo. Coin is not added to key page.
All other functions seem to work fine for me.
from node-open-mining-portal.
Hey @zone117x you alive still? what's the status of this?
Thank you @nicoschtein and others for contributions and @zone117x for this awesome mining pool...however I'm disappointed that development has stopped :(
from node-open-mining-portal.
Related Issues (20)
- There are many blocks in pending and no payments. HOT 2
- kawpow algo support for rvn ravencoin mining pool
- Can't start node init.js HOT 5
- NOMP started but can't open web page
- blocknotify runCommand error returned 32512
- Litecoin no blocks pending, confirmed, orphaned
- Dependencys
- ้่ฆๅธฎๅฉๆญๅปบ่ฏฅ็จๅบ็ฟๆฑ ็่็ณปQQ:290756156 ๅฏไปฅๆๅฟๆไพๆๆฏๆฏๆๆๅก
- miner fails to connect to the Ubuntu pool HOT 2
- I cannot get this to work with my coin.
- Error trying to send payments
- init.js ESMLoader -- ECMAScript module loader -- Node 18; NPM 8.6.0; Bent; Ubuntu 20.04.04
- groestl not supported error message ?
- the website will not fully display after installation
- npm install error HOT 3
- Raspberry pi 4 ARM 64 bit ubuntu 18.04 installation fail HOT 3
- Error trying to send payments with RPC sendmany ("code":-5, "message": "Invalid Stohn address: 8H46Tjn") HOT 1
- quark based coin always rejects shares HOT 2
- anyway to use GPU for nomp pool mining?
- ASICBOOST SUPPORT HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-open-mining-portal.