Bitcoin Forum
May 13, 2024, 08:51:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Stratum Proxy for cryptonight  (Read 1096 times)
JerryQ (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
December 27, 2017, 06:05:08 PM
Last edit: December 30, 2017, 08:24:47 AM by JerryQ
 #1

Stratum Proxy

    Accumulates the miners.
    Supports auto complexity for miners.
    Configuring the pools in the Web panel.

  • Dynamic diff for each miner
  • Ability to change pool settings in the Web panel
  • Support nicehash (when using my miner)

Quote

config.json
Code:
{

stratum_servers: [

{
bind_address: "0.0.0.0:8888",
share_time: 20,
start_difficulty: 10000,
min_difficulty: 10,
ssl: false,
},

{
bind_address: "0.0.0.0:1443",
share_time: 20,
start_difficulty: 10000,
min_difficulty: 10,

ssl: true,

/**
ssl_options: {
key: "./path-to-key.pem",
cert: "./path-to-cert.pem",
}
*/
},

],

web_server: {
// enable
enable: true,

// bind web server address
bind_address: "0.0.0.0:8000",

// secret key
auth_key: "admin",

// open browser
open_browser: false,
},

}



  • stratum_servers[].bind_address - Address to which to connect miners
  • stratum_servers[].share_time - The time between shares. A proxy server will install it on each miner (by choosing the complexity)
  • stratum_servers[].start_difficulty - The initial difficulty for miners. If the pool sends a job with less complexity, it is set less
  • stratum_servers[].min_difficulty - Minimal difficulty for miners
  • ssl: true - Create an ssl server. For a claymore for example

  • web_server.enable - Enable / disable the web server.
  • web_server.bind_address - The address to open in the browser (showing web statistics, pool management).
  • web_server.auth_key - Access key
  • web_server.open_browser - open the browser at startup

  • The pool settings in the web panel are elementary (set the 'emu nicehash' flag).


If you use third-party miners, set the "Emu nicehash" flag to true
And in the settings of the miner, set the compatibility mode with nicehash


Installation
Quote

    Install nodejs, from here https://nodejs.org
    Install socketio by running the command npm i -g socketio
    Download the sources with https://github.com/JerryWm/Stratum-Proxy-XMR (there is a green button Clone or download)
    Create a bat file in the src folder @start /b node ./app/
    Run the bat file


Source
win32-portable-build

There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715590312
Hero Member
*
Offline Offline

Posts: 1715590312

View Profile Personal Message (Offline)

Ignore
1715590312
Reply with quote  #2

1715590312
Report to moderator
1715590312
Hero Member
*
Offline Offline

Posts: 1715590312

View Profile Personal Message (Offline)

Ignore
1715590312
Reply with quote  #2

1715590312
Report to moderator
1715590312
Hero Member
*
Offline Offline

Posts: 1715590312

View Profile Personal Message (Offline)

Ignore
1715590312
Reply with quote  #2

1715590312
Report to moderator
JerryQ (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
December 27, 2017, 11:27:06 PM
 #2

Added screenshots of the web panel
JerryQ (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
December 30, 2017, 07:43:50 AM
 #3

Added the ability to create ssl servers!
 https://github.com/JerryWm/Stratum-Proxy-XMR/releases/
JerryQ (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
December 30, 2017, 08:23:00 AM
 #4

Added a simplified description.
bitcoin1126
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 30, 2017, 08:39:02 AM
 #5

simplify
JerryQ (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
December 31, 2017, 10:26:25 AM
 #6

simplify
?
yslyung
Legendary
*
Offline Offline

Activity: 1500
Merit: 1002


Mine Mine Mine


View Profile
December 31, 2017, 02:39:48 PM
 #7

wont be using it ... just be careful especially those who have no idea what they are doing.
MATTX
Jr. Member
*
Offline Offline

Activity: 74
Merit: 1


View Profile
December 31, 2017, 03:57:08 PM
 #8

Can any one explain, what is benefit of using it.

DERO: CryptoNote Privacy + Smart Contracts   (https://bitcointalk.org/index.php?topic=2525508)
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
December 31, 2017, 04:00:37 PM
 #9

Can any one explain, what is benefit of using it.
If you have tens, hundreds or thousands of miners then point them at a proxy so you can just update the proxy's config to change pool instead of manually for every individual miner.
twizztid
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
December 31, 2017, 05:20:02 PM
 #10

wont be using it ... just be careful especially those who have no idea what they are doing.


What would yo suggest using? I am new to all of this, and would like to start mining.

Thanks!
MATTX
Jr. Member
*
Offline Offline

Activity: 74
Merit: 1


View Profile
December 31, 2017, 05:30:32 PM
 #11

Can any one explain, what is benefit of using it.
If you have tens, hundreds or thousands of miners then point them at a proxy so you can just update the proxy's config to change pool instead of manually for every individual miner.

Got it Smiley  I am just small miner so never needed such software. It is useful software for numerous miners.

DERO: CryptoNote Privacy + Smart Contracts   (https://bitcointalk.org/index.php?topic=2525508)
JerryQ (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
January 01, 2018, 11:15:08 AM
 #12

Can any one explain, what is benefit of using it.
The proxy shows the actual level of hashrate of each miner (miners can deceive on this), the total number of shares / hashes and the hashrate of the entire system (you can check the dashboard pool).
It is also convenient to change the settings of the pool in 1-2 clicks.
JerryQ (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
January 01, 2018, 11:22:57 AM
 #13

Can any one explain, what is benefit of using it.
If you have tens, hundreds or thousands of miners then point them at a proxy so you can just update the proxy's config to change pool instead of manually for every individual miner.

Got it Smiley  I am just small miner so never needed such software. It is useful software for numerous miners.

Even if you have 1 miner (for example, a cpu), changing the pool is more convenient on the web panel. Cpu miners lose [a large page of memory] during a reboot due to the inability to find non-interruptible physical memory (memory is already fragmented).
JerryQ (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
January 02, 2018, 09:40:34 PM
 #14

How to run this on ubuntu. Huh
What specifically does not work out?
I think something like this is necessary (although I do not have Linux).

Code:
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm

npm i -g socketio

 Download the sources with https://github.com/JerryWm/Stratum-Proxy-XMR (there is a green button Clone or download)
 Create a sh file in the src folder
Code:
node ./app/
vacarosie200
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
January 02, 2018, 09:50:32 PM
 #15

i'm not sure and i have to ask: it will just bypass share and jobs and count miners activity, or reduce dificullty according to miners? if not i'm not sure if i can use it on nicehash , i have 4 rigs of 15kh/s total, nicehash wil give me 800k diff and that is not acceptable
JerryQ (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
January 02, 2018, 10:08:02 PM
 #16

How to run this on ubuntu. Huh
What specifically does not work out?
I think something like this is necessary (although I do not have Linux).

Code:
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm

npm i -g socketio

 Download the sources with https://github.com/JerryWm/Stratum-Proxy-XMR (there is a green button Clone or download)
 Create a sh file in the src folder
Code:
node ./app/

Code:
module.js:557
    throw err;
    ^

Error: Cannot find module './paths'
    at Function.Module._resolveFilename (module.js:555:15)
    at Function.Module._load (module.js:482:25)
    at Module.require (module.js:604:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/ubuntu/Stratum-Proxy-XMR-master/src/app/main.js:4:15)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)

i get this error..
i will try in dif linux os

OK. In the app/main.js file, modify
Code:
const Paths = require('./paths');
on
Code:
const Paths = require('./Paths');

JerryQ (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
January 02, 2018, 10:11:48 PM
 #17

i'm not sure and i have to ask: it will just bypass share and jobs and count miners activity, or reduce dificullty according to miners? if not i'm not sure if i can use it on nicehash , i have 4 rigs of 15kh/s total, nicehash wil give me 800k diff and that is not acceptable
On nicehash only works 1 to 1. nicehash itself is a proxy.
I already responded to similar you can see here https://github.com/JerryWm/Stratum-Proxy-XMR/issues/2
If you dig on any other pool other than Nicehash then the proxy will collect up to 256 marquees in a single worker pool
Bitoken
Jr. Member
*
Offline Offline

Activity: 61
Merit: 7


View Profile
January 08, 2018, 03:07:42 AM
 #18

Interesting project, i am looking for solomining cryptonight coins.
Is it possible with your app ?
JerryQ (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
January 15, 2018, 02:24:59 AM
 #19

Interesting project, i am looking for solomining cryptonight coins.
Is it possible with your app ?
This is for the pool. You are connecting to a proxy, the proxy is connected to the pool.
Brenning
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
January 18, 2018, 06:36:58 AM
 #20

Anyone tried this?
Pages: [1] 2 »  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!