Bitcoin Forum
December 15, 2018, 03:51:27 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: RollProxy - a bandwidth-saving mining proxy  (Read 14231 times)
Pontius
Full Member
***
Offline Offline

Activity: 225
Merit: 100


View Profile
October 14, 2012, 04:31:21 PM
 #41

Sure, no problem. Just switched back to 0.5.2 and started logging to a file. If anything shows up I'll send it to you.
1544845887
Hero Member
*
Offline Offline

Posts: 1544845887

View Profile Personal Message (Offline)

Ignore
1544845887
Reply with quote  #2

1544845887
Report to moderator
1544845887
Hero Member
*
Offline Offline

Posts: 1544845887

View Profile Personal Message (Offline)

Ignore
1544845887
Reply with quote  #2

1544845887
Report to moderator
1544845887
Hero Member
*
Offline Offline

Posts: 1544845887

View Profile Personal Message (Offline)

Ignore
1544845887
Reply with quote  #2

1544845887
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1544845887
Hero Member
*
Offline Offline

Posts: 1544845887

View Profile Personal Message (Offline)

Ignore
1544845887
Reply with quote  #2

1544845887
Report to moderator
1544845887
Hero Member
*
Offline Offline

Posts: 1544845887

View Profile Personal Message (Offline)

Ignore
1544845887
Reply with quote  #2

1544845887
Report to moderator
1544845887
Hero Member
*
Offline Offline

Posts: 1544845887

View Profile Personal Message (Offline)

Ignore
1544845887
Reply with quote  #2

1544845887
Report to moderator
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
October 19, 2012, 05:26:17 AM
 #42

Unfortunately that doesn't help. What is needed is a way for RollProxy to connect to the Internet through a SOCKS4/5 proxy, not a way for the miners to connect to RollProxy through an additional local proxy.

Use socat.
 
for mining through tor,

socat tcp-listen:18332,fork,reuseaddr socks4a:127.0.0.1:pool.com:8332,socksport=9050
But that would still leak DNS requests, wouldn't it? That has always been the issue with tools like socat or tsocks.
or just use proxychains? Wink

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
Pontius
Full Member
***
Offline Offline

Activity: 225
Merit: 100


View Profile
October 20, 2012, 02:50:18 PM
 #43

Sure, no problem. Just switched back to 0.5.2 and started logging to a file. If anything shows up I'll send it to you.

Ok, so after six days of using v0.5.2 (again) everything is fine. Whatever my problem was I'm unable to reproduce it...
carlo
Full Member
***
Offline Offline

Activity: 133
Merit: 100


View Profile
October 27, 2012, 01:14:44 PM
 #44

Hi,

is it possible to connect with different workernames to a pool ? i lose controll which worker is down.

I could start a bunch of rollproxies on different ports, but that looks for me like a waste of recources.

Miner_1 =>> Rollproxy ==> worker1@abcpool
Miner_2 =>> same Rollproxy ==> worker2@abcpool

Thats what i mean.

Thanks
Pontius
Full Member
***
Offline Offline

Activity: 225
Merit: 100


View Profile
October 29, 2012, 07:17:39 AM
 #45

AFAIK that's not possible but RollProxy provides a webinterace where you can check your miners status...
knyaz-veks
Member
**
Offline Offline

Activity: 60
Merit: 10


View Profile
October 30, 2012, 09:02:11 AM
 #46

help me :
Quote
robin@ubuntu:~$ 2to3 -w rollproxy.py
RefactoringTool: Skipping implicit fixer: buffer
RefactoringTool: Skipping implicit fixer: idioms
RefactoringTool: Skipping implicit fixer: set_literal
RefactoringTool: Skipping implicit fixer: ws_comma
RefactoringTool: Can't parse rollproxy.py: ParseError: bad input: type=20, value=u'<', context=(u'', (1, 0))
RefactoringTool: No files need to be modified.
RefactoringTool: There was 1 error:
RefactoringTool: Can't parse rollproxy.py: ParseError: bad input: type=20, value=u'<', context=(u'', (1, 0))
robin@ubuntu:~$

Quote
robin@ubuntu:~$ python rollproxy.py -v "pool"
  File "rollproxy.py", line 1
    <!DOCTYPE html>
    ^
SyntaxError: invalid syntax
robin@ubuntu:~$


Pontius
Full Member
***
Offline Offline

Activity: 225
Merit: 100


View Profile
October 30, 2012, 11:48:58 AM
 #47

Looks like you've downloaded the github website but not the python code...

Try this:
Code:
wget https://raw.github.com/pooler/rollproxy/master/rollproxy.py -O rollproxy.py
2to3 -w rollproxy.py
python3 rollproxy.py -v "your pools"
juhakall
Sr. Member
****
Offline Offline

Activity: 630
Merit: 250



View Profile WWW
November 04, 2012, 12:18:43 AM
 #48

I'm getting noticeably higher rejects when mining through rollproxy. Long poll is enabled on both cgminer and rollproxy, but my rejects are still 1-2% compared to the 0.5% max when directly connecting. There's no additional network delay since rollproxy is running on localhost. Has anyone else noticed higher reject rates? What might be the cause?

CrownCloud
Sr. Member
****
Offline Offline

Activity: 467
Merit: 250


View Profile
November 29, 2012, 12:11:26 PM
 #49

any way to log mining data like shares submitted per worker etc ? like in a text file or something?

CrownCloud - Internet Services
Dedicated servers, OpenVZ and KVM based VPSes and  in 4 locations. (We accept Bitcoin !)
http://crowncloud.net/
pooler
Hero Member
*****
Offline Offline

Activity: 770
Merit: 501


View Profile
November 30, 2012, 10:07:20 PM
 #50

any way to log mining data like shares submitted per worker etc ? like in a text file or something?

Done. There's now a --sharelog option that allows you to specify a file for logging submissions.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
CrownCloud
Sr. Member
****
Offline Offline

Activity: 467
Merit: 250


View Profile
December 01, 2012, 08:07:24 AM
 #51

any way to log mining data like shares submitted per worker etc ? like in a text file or something?

Done. There's now a --sharelog option that allows you to specify a file for logging submissions.

Sweet thanks !

CrownCloud - Internet Services
Dedicated servers, OpenVZ and KVM based VPSes and  in 4 locations. (We accept Bitcoin !)
http://crowncloud.net/
Parazyd
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500


Space Lord


View Profile WWW
February 11, 2013, 07:08:47 PM
 #52

Hey. I need a small code addon. Is it possible?

Basically, I would like for the proxy to restart if there are >5% stale shares.

I think it's just a few lines of code. I'd do it myself, but I don't know Python.
Thanks a bunch!
senseless
Hero Member
*****
Offline Offline

Activity: 1097
Merit: 540



View Profile
April 13, 2013, 07:57:05 AM
 #53


You could turn this into a simple pool software that could mine on litecoind if you did the 2 following things:

#1) Allow the rollproxy to rewrite target difficulty

#2) Add the option to only submit shares that meet difficulty upstream.

Would you be willing to implement this for solo miners?

juhakall
Sr. Member
****
Offline Offline

Activity: 630
Merit: 250



View Profile WWW
April 13, 2013, 08:56:01 AM
 #54


You could turn this into a simple pool software that could mine on litecoind if you did the 2 following things:

#1) Allow the rollproxy to rewrite target difficulty

#2) Add the option to only submit shares that meet difficulty upstream.

Would you be willing to implement this for solo miners?


I used rollproxy to force reuse of work units when solo-mining ppcoin for a few days. It worked very well, fixing my problem with running out of work when pointing miners directly to ppcoind. I found 2 blocks and those were the only shares submitted to rollproxy. Why would you want any other difficulty "shares" on a setup like that, or are you thinking of something different?

senseless
Hero Member
*****
Offline Offline

Activity: 1097
Merit: 540



View Profile
April 13, 2013, 10:28:20 AM
 #55

I used rollproxy to force reuse of work units when solo-mining ppcoin for a few days. It worked very well, fixing my problem with running out of work when pointing miners directly to ppcoind. I found 2 blocks and those were the only shares submitted to rollproxy. Why would you want any other difficulty "shares" on a setup like that, or are you thinking of something different?

When you have multiple machines accessing the same pool server/proxy, it's nice to know that the miners are online and functioning properly. If they submit lower difficulty shares I will be able to tell this (even if they aren't difficulty 1.. 1 share every 5 or 10 minutes would be fine.)


serg771
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 10, 2013, 12:01:53 PM
 #56

 Hello. i setup pushpool + bitcoind.   is there appropriate mechanism to proxy to bigger mining pull to share profit with them? we are young and it will be difficult at first time to earn something.
it is possible to create something like that:
miners->  pushpool -> proxy -> another_pool? 

will i be able to gather statistics from Rollproxy via SimpleBTC?   now simplebtc connects to bitcoind via rpc and get all stat.

i looked at rollproxy and it seems it can help me.

  Thanks in advance.
shubhank008
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 30, 2013, 06:18:31 AM
 #57

Its working but it auto crashes at random times (10 mins or 30 mins) by itself for me

I am running in a centos dedicated server with python 2.6
Mikolo
Member
**
Offline Offline

Activity: 116
Merit: 10


View Profile
July 18, 2014, 03:34:33 PM
 #58

Is this proxy works with quark algorithm?
loszhor
Sr. Member
****
Offline Offline

Activity: 362
Merit: 250


View Profile
August 04, 2014, 09:52:39 AM
 #59

Love the program, I too wish to see a stratum version soon, as well.

One annoyance at the moment I would like to know how to solve, if possible, is getting the connection error to reset to normal after the miner disconnects. Right now it keeps saying:

"[Errno 10054] An existing connection was forcibly closed by the remote host"

After the miner is disconnected but I know it is running just fine after I reconnect. The current solution is to simply just close and reopen Rollproxy but I will lose my collected stats if I do so. So it's either lose my stats or not have a log in the mean time.

Thank you.

16wQCVFXYuSp4AYsBqV9Uqa2dd1V4YXvJ5
Pages: « 1 2 [3]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!