Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url stratum - g_tcp_server #226

Closed
wants to merge 26 commits into from
Closed

url stratum - g_tcp_server #226

wants to merge 26 commits into from

Conversation

phm87
Copy link

@phm87 phm87 commented Feb 10, 2018

  • Save in stratum table column url (why is it empty ?) the server variable of [TCP] block of each stratum
  • Display it in admin Dashboard (temporary acceptable display to enhance)

phm87 and others added 25 commits January 7, 2018 01:31
Update to keep up to date
if needed (already mining) you can do that to update the pool estimate graph values:

UPDATE hashrate SET price=price*1000.0, rent=rent*1000 WHERE algo='lbry' AND price < 0.01;
Implemented PROXY v2 protocol (https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) so that stratum can be run behind an haproxy instance.

iptables/ipset still work if haproxy is run on local machine. if run on remote machine switch to using client_block_ipset() and periodically sync the ipset to the machine running haproxy.
haproxy must be configured with send-proxy-v2, version 1 does not work
Avoid the override of global variables
g_stratum_max_cons, g_max_shares, g_stratum_segwit
by excluded coinds by checking the include/exclude filters earlier.
beware: this algo may have a variable hashrate, unlike timetravel

its ignored from benchs for this reason
Greetings, I am head dev for Magnet masternode and noticed the change
made in coinbase.cpp for recent masternode RPC as default.
This change has disabled masternode payments on pools using MAG client.
So, we would like to add it to oldmasternodes list with this pull request.
and restore bitstamp & cexio behavior to act like other trading exchanges

todo: kraken if possible... real pain, need to parse open orders..
wallets without getinfo will be handled in a later commit...

ps: remember to restart memcached service after the db change..
@phm87
Copy link
Author

phm87 commented Feb 10, 2018

This updated PR allows to see the details of stratums per algo.

I wont work because it needs a change in another file (see details here below) and I don't know how to add a change from another file into a PR.

Thank you

web/yaamp/modules/site/SiteController.php

  • public function actionGostratums()
  • {
  •   if(!$this->admin) return;
    
  •   $algo = substr(getparam('algo'), 0, 32);
    
  •   if ($algo == 'all') {
    
  •   	return;
    
  •   }
    
  •   user()->setState('yaamp-algo', $algo);
    
  •   $this->redirect("common");
    
  • }
  • /////////////////////////////////////////////////

@phm87 phm87 closed this Feb 10, 2018
@phm87
Copy link
Author

phm87 commented Feb 10, 2018

PR closed with another PR opened enhanced:
#228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants