Bitcoin Forum
November 07, 2024, 12:34:59 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Stratum server, how to find one, install it and set it up with my antminer? SOLO  (Read 163 times)
BitcoinSoloMiner (OP)
Member
**
Offline Offline

Activity: 145
Merit: 25


View Profile
January 19, 2021, 02:35:18 PM
Last edit: January 19, 2021, 11:00:36 PM by frodocooper
 #1

I need a painless solution to installing a stratum server, im currently trying to install the slush0 one but i am running into errors following their installation instructions, i have used bfgminer as a stratum proxy up until now however i would prefer a more uptodate version.

basically: i believe i need a stratum proxy to solo mine coins myself with my antminer [/b][/i]from what i have understoood so far, once i have success with reaching my antminer 'webpage reported hashrates with bitcoin' (14TH/s - not 200GH/s) i will move onto derivatives of the sha256 algorithm such as bitcoin cash or litecoin cash for a better chance at finding a block myself. I have had success with bfgminer as bridging the gap between my bitcoin core client located on my localhost and my antminer in my local network.

however the reported hash rates in bfgminer do not line up with reported hashrates in the antminer miner status webpage, bfgminer reports 200GH/s while antminer reports 14TH/s, which leads me to want to get a more up to date stratum proxy server, so i did a google for 'stratum proxy server bitcoin' and slushpool github page came up.

when it comes to installing slush0 stratum proxy server the errors i am receiving are to do with python and i am running into recursion limits while trying to execute their installation steps.

this is what i am trying to execute at the moment, yet it is not working for me, totally fresh ubuntu server install.

Code:

Code:
git clone git://github.com/slush0/stratum-mining-proxy.git
cd stratum-mining-proxy
sudo apt-get install python-dev
git pull
sudo python distribute_setup.py
sudo python setup.py develop
./mining_proxy.py --help

the 3rd to last command does not execute properly, gives me recursion limit error, google search is unhelpfull in finding a way to increase recursion limit, and so the last 2 commands wont work properly and im unable to setup the stratum proxy server.

I am running ubuntu server with no GUI so its quite difficult for someone fairly inexperienced in command line interface and now its getting fustrating Angry I have also tried in ubuntu desktop running into the same kind of issues with python, stratum and errors to do with these (except i didnt have recursion limit exceeded error ever before). I hope someone is able to educate me more-so i can begin solving my solo mining dilemma.

no, i dont wish to join a pool. I plan to scale up the mining operation once i have success with my single antminer Grin

How can i solve recursion limit in ubuntu server? How can i connect my antminer to my bitcoin core client ? my understanding is that i need to bridge them with a stratum proxy server so they can 'talk to each other'?

please advise.

P.S. i found something which looks odd in my kernel page on antminer

Code:
[  328.010724] random: nonblocking pool is initialized
[ 1013.782336] UBI: attaching mtd2 to ubi1
[ 1014.076237] UBI: scanning is finished
[ 1014.087388] UBI: attached mtd2 (name "upgrade-rootfs", size 80 MiB) to ubi1
[ 1014.094280] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1014.101059] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1014.107740] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1014.114577] UBI: good PEBs: 636, bad PEBs: 4, corrupted PEBs: 0
[ 1014.120497] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 1014.127618] UBI: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 14********
[ 1014.136625] UBI: available PEBs: 0, total reserved PEBs: 636, PEBs reserved for bad PEB handling: 36
[ 1014.145795] UBI: background thread "ubi_bgt1d" started, PID 27421
[ 1014.156822] UBIFS: background thread "ubifs_bgt1_0" started, PID 27468
[ 1014.207762] UBIFS: mounted UBI device 1, volume 0, name "rootfs"
[ 1014.213687] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 1014.222832] UBIFS: FS size: 74280960 bytes (70 MiB, 585 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 1014.232450] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 1014.237491] UBIFS: media format: w4/r0 (latest is w4/r0), UUID ***********************, small LPT model
[ 1014.332302] UBIFS: un-mount UBI device 1, volume 0
[ 1014.337095] UBIFS: background thread "ubifs_bgt1_0" stops
[ 1014.348944] UBI: detaching mtd2 from ubi1
[ 1014.353781] UBI: mtd2 is detached from ubi1

**** included for privacy

Code:
set full FAN speed...
FAN PWM: 100
read_temp_func Done!
CRC error counter=20933

What does this mean? it looks like something being mounted, with ubifs_bg1_0 loaded and thread started? What does crc error counter indicate? 20933 CRC ERRORS at 40 minutes run time.
NotFuzzyWarm
Legendary
*
Online Online

Activity: 3808
Merit: 2698


Evil beware: We have waffles!


View Profile
January 19, 2021, 06:28:09 PM
 #2

Have you tried -ck/Kano's software located here on page 2? While that thread has been locked since July 2019 there should still be very good info in it about using the software as a stratum server.

edit, looks like you want to start around here for using as a proxy that is the most recent post about it, ref p1 of the thread for links to the main areas of the software.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome!  3NtFuzyWREGoDHWeMczeJzxFZpiLAFJXYr
 -Sole remaining active Primary developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
BitcoinSoloMiner (OP)
Member
**
Offline Offline

Activity: 145
Merit: 25


View Profile
January 20, 2021, 12:45:39 AM
 #3

thanks for the links

i see his post "with the software from an era where it mattered", what options do i have to begin solo mining with my antminer ?

ive been using bfgminer which runs on getblocktemplate as i understand its very old and outdated now , however is there a newer protocol?

what options are there for people who want to truly solo mine with their sha256 asic miners?

i will trawl through the thread to see what i can find...
NotFuzzyWarm
Legendary
*
Online Online

Activity: 3808
Merit: 2698


Evil beware: We have waffles!


View Profile
January 20, 2021, 01:57:10 AM
Last edit: January 20, 2021, 04:43:07 PM by NotFuzzyWarm
 #4

Quote
i see his post "with the software from an era where it mattered", what options do i have to begin solo mining with my antminer ?
Your only option is to go through a "pool" that supports what solo mining gives you - winner finding the block gets all rewards and hopefully tx fees minus what the solo pool operator charges for using their service. For KanoPool the fee is 0.5%, -ck's is 2%. As I recall Antpoo and Slush charge even more.

The odds of a solo miner hitting is so massively low, AFAIK Bitcoin Core removed the option of directly mining to it several years ago. That is why you are having to setup a mini-pool/proxy. Solo mining is truly a lottery with  very very very very very low odds of winning unless you are using a large farm running a few hundred PH for the solo effort.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome!  3NtFuzyWREGoDHWeMczeJzxFZpiLAFJXYr
 -Sole remaining active Primary developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
Biffa
Legendary
*
Offline Offline

Activity: 3234
Merit: 1220



View Profile
January 20, 2021, 03:23:31 PM
Last edit: January 20, 2021, 10:49:45 PM by frodocooper
 #5

Or setup your own pool just for your one miner. Just have to wait some time between 1 second and 200 years for your 14TH to find a block.

Mine @ pools that pay Tx fees & don't mine empty blocks :: kanopool :: ckpool ::
Should bitmain create LPM for all models?
:: Dalcore's Crypto Mining H/W Hosting Directory & Reputation ::
philipma1957
Legendary
*
Online Online

Activity: 4298
Merit: 8799


'The right to privacy matters'


View Profile WWW
January 20, 2021, 03:58:14 PM
Last edit: January 20, 2021, 10:50:08 PM by frodocooper
 #6

pretty sure 200 years for 14 th is optimistic.

a block is worth about 205000 usd a s9 earns about 3.3 a day so 62000 days would be average luck.

many times poor luck happens

so 124000 days to 620000 days could be more like it.

I think people don’t realize how hard it is to hit one.
100 s9 is 1400 th or 1.4 ph

so if he had 100 with todays difficulty it would be 62000/100 = 620 days or 20 months.

the 2 ph i own and or manage has hit zero blocks since dec 2018.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
NotFuzzyWarm
Legendary
*
Online Online

Activity: 3808
Merit: 2698


Evil beware: We have waffles!


View Profile
January 20, 2021, 04:52:39 PM
Last edit: January 20, 2021, 08:15:11 PM by NotFuzzyWarm
 #7

Quote
pretty sure 200 years for 14 th is optimistic.
Very true however Luck certainly does come into play - my "Lucky" R4 running 8-9THs has hit 3 blocks in the several years it has been running, the last it found was block# 543875 March 7, 2019.

the 2 ph i own and or manage has hit zero blocks since dec 2018
Really? None?
April 3, 2019 one of my M10's hit block# 570025 and Dec. 16, 2019 one of my 841's in a 60TH cluster got block# 608428. Over that time I was only running between 300-375THs. I've hit a total of 10 blocks on Kano since I started there back in Oct. 2015...

Going a bit OT here but since I know you are a fan of 3rd party firmwares, it is stats like that which make me and a few others question if said FW's work as they should... Things like that is why Kano only allows miners running OEM firmware there. It's not say that Bitmain, Canaan or other makers can't bugger things up when they make changes but at least they have a record of finds.  Wink

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome!  3NtFuzyWREGoDHWeMczeJzxFZpiLAFJXYr
 -Sole remaining active Primary developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
Biffa
Legendary
*
Offline Offline

Activity: 3234
Merit: 1220



View Profile
January 20, 2021, 04:53:43 PM
Last edit: January 20, 2021, 10:50:39 PM by frodocooper
 #8

*shrug* its all luck as I said, 1 second to whenever. Its the individual asic inside the miner that hits the block not the other 13.9995 TH or 1.4PH of mining power.

To show how random it is, your 2ph has hit nothing since dec 2018, yet I managed to hit three blocks since then with between 1.2 and 1.4PH.

I was just trying to explain, as we all know, solo mining is just a lottery.

Mine @ pools that pay Tx fees & don't mine empty blocks :: kanopool :: ckpool ::
Should bitmain create LPM for all models?
:: Dalcore's Crypto Mining H/W Hosting Directory & Reputation ::
Pages: [1]
  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!