Bitcoin Forum
March 16, 2025, 08:45:25 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Pools / ViaBTC vs ckpool for solo mining on: July 05, 2024, 11:19:18 AM
Lets say I want to send 1-20ph to a pool for solo...

I know I can see my best hash on ckpool...

ViaBTC is knocking out at least 1 block an hour...

What is behind the decision making when choosing between these 2 pools?

Perhaps there is a 3rd alternative, what would that be and why?
2  Bitcoin / Bitcoin Technical Support / bitcoind to display coinbase message/relayed by: string on: July 03, 2024, 11:20:24 AM
the block explorer sites show either a known pool or 'unknown' for this variable

how can i set up an argument for bitcoind to display the string which shows the 'relayed by'/coinbase message?

OS: ubuntu 22.04 default

example:

Code:
UpdateTip: new best=xxxx... blah1 blah2 blah3... coinbase message:'mined by pool'

i know i could use 'bitcoin-cli getinfo hash' manually after i see the updatetip from bitcoind but i was wondering if its possible to have this done in bitcoind automatically?

would something like:

Code:
bitcoind -blocknotify="bitcoin-cli getblock %s 2 | less | grep coinbase | awk -F '"' '{print $4}' | xxd -r -p"

be the answer?

this doesnt quite work and gives me a ">" (waiting for input) instead of running bitcoind

edit:

ive put the code:

Code:
bitcoin-cli getblock %s 2 | less | grep coinbase | awk -F '"' '{print $4}' | xxd -r -p

into blocknotify.txt (same directory) and using:
Code:
bitcoind -blocknotify="cat blocknotify.txt"

but im thinking that it wouldnt appear in the same terminal that bicoind is running...


final edit:

got it working:


blocknotify.sh (remember to 'chown +x blocknotify.sh'):
Code:
#!/bin/bash
bitcoin-cli getblock "$@" 2 | less | grep coinbase | awk -F '"' '{print $4}' | xxd -r -p

then run bitcoind with path to blocknotify.sh and argument %s:
Code:
bitcoind -blocknotify="/path/to/blocknotify.sh %s"

it now shows the coinbase message along with an audible beep 

3  Bitcoin / Bitcoin Technical Support / 0 transaction block on: May 16, 2023, 05:39:19 PM
Any comments on this block mined from antpool?

How could this happen? Such a waste, right? Or wrong?

https://www.blockchain.com/explorer/blocks/btc/789996
4  Bitcoin / Hardware / 50% off for antminer s19 XP by bitmain on: March 24, 2023, 06:47:32 PM
Fantastic deal but it looks complicated!  Huh

https://www.bitmain.com/

https://www.bitmain.com/pizza

Very nice price for an efficient machine like the XP

Discuss!
5  Bitcoin / Hardware / Heat pumps and bitcoin miners on: January 26, 2023, 10:13:11 AM
In the UK there exists a government scheme to get discounted heat pump installed.

https://www.gov.uk/apply-boiler-upgrade-scheme#:~:text=Through%20the%20Boiler%20Upgrade%20Scheme,to%20apply%20for%20the%20grant

If bitcoin mining immersion setup was utilised then its excess heat could be used to heat a house.

In the link above it mentions air source and biomass variants. Also ground source, with water mentioned and shared loops.

What way, if anything, is there possible to utilise this scheme with an immersion setup?

Has anyone here done this? In the UK or elsewhere? Would you care to comment?

If there was a problem with a single miner or the entire lot the house might be without heat until the repair was done...
6  Bitcoin / Hardware / New from bitmain: Antminer S19J Pro+ on: January 11, 2023, 10:53:54 AM
Antminer S19J Pro+ 122Th

https://m.bitmain.com/product/detail?pid=00020230108213609854b369SGwI0654

Has only 1 power cable!?

Think these are overclockable? Underclockable?

What are the implications of 1 power cable?

Any thoughts or comparisons to other models or other brands?

Discuss!
7  Bitcoin / Mining software (miners) / improving (cg)miner software speed with newer opencl kernels and/or code on: December 23, 2022, 10:40:56 AM
This post was created in the interest of academia (creating a paper on sha256 hashing speeds & collision attacks, if they can be increased and why? also quantum computing and the effects it can have on sha256 hashing is relevant do this discussion --- bitcoin mining and its software is a very good example)

some information from the users on this forum would be nice.

BITCOIN MINING INTRO & RULES OF THIS SUBFORUM
https://bitcointalk.org/index.php?topic=2415854.0
Mining software - This is for all posting of new BITCOIN mining and mining related software, pool software, proxies, controllers, monitors, web page design, apps etc. Discussion of software for education purposes to understand mining related functionality can go here. All altcoin mining related software will be moved to the altcoin mining section. No trojans, botnet, web page miners etc. are acceptable here - threads will be removed without warning and posters banned.

Here's a link to my previous topic to this subforum which was moved (buried):

need help modifying cgminer/hashfast to create proofs with more leading zeros
https://bitcointalk.org/index.php?topic=5430939.0

The idea of this topic is slightly different.

In hashcat, a well known hashing program, the hashing speeds achieved by this user with the sha256 algorithm are (for a rx6700xt AMDGPU):

https://hashcat.net/forum/thread-10901.html
Code:
---------------------------
* Hash-Mode 1400 (SHA2-256)
---------------------------
Speed.#5.........:  5209.6 MH/s
Speed.#6.........:  5206.2 MH/s
Speed.#*.........: 10415.7 MH/s

My own benchmarking with the same rx6700xt gives:

Code:
Speed.#2.........:  5069.9 MH/s


CGMiner gives a speed of:

Code:
GPU0                | (5s):2.337G (avg):2.339Gh/s

CGMiner is producing sha256 hashes at a speed 60% less than hashcat


Why is this?

Is it the more -up to date- 'optimized' opencl kernels hashcat is using?

Is it the fact that cgminer is looking for hashes with 8 or more leading zeros?

We are going to attempt to supply these hashcat kernels to cgminer and see if we can achieve 5GH/s.

Just how newer ASIC firmware (from bitmain - or braiins with their rust implementation) increases their efficiency/speed, we think up to date opencl kernel and mining software code can increase GPU efficiency/speed

Can cgminer code be modified to look for hashes with a different number of leading zeros? if so, how?

since my last topic was moved(buried), i want to repeat: this is for education purposes and not for altcoin discussion. This topic is an exercise and discussion for coders and enthusiasts

8  Alternate cryptocurrencies / Mining (Altcoins) / need help modifying cgminer/hashfast to create proofs with more leading zeros on: December 22, 2022, 05:04:49 AM
We are attempting to modify the miner code to create proof with more leading zeros...


cgminer/hashfast code:

https://bitbucket.org/ckolivas/hashfast/src/hashfast/

example output:

Code:
Proof: 00000000e1e6043fa5689c5e54d1ba4caff323a7415c5387f852bd6c8cb3e26c
Target: 0000000000068db2ffffffffffffffffffffffffffffffffffffffffffffffff
TrgVal? no (false positive; hash > target)                    
Share below target

in the above example we can see that the proof contains only 8 leading zeros, the generated work contains 8 zeros but fails to meet the target of 11 zeros

It seems even after some runtime, work/proof containing more than 8 or 9 or 10 leading zeros is not produced:

Code:
[2022-12-22 05:06:38]  Proof: 000000002ec40f195f3374089456d4f105909cbf4dcf5dcadd4aea1aecfd25a6
 [2022-12-22 05:06:40]  Proof: 0000000029f29347e9b0d42962d6f661404d234a2f543e05b18edfb5330c7fe3
 [2022-12-22 05:06:42]  Proof: 00000000a90a3de09d2abdd819c1625716bdc26c13973f13d3038ba4a5d00e75
 [2022-12-22 05:06:44]  Proof: 00000000cc4928d97fd68097d9ae16253250aa3371938d037fa1325e480fb079
 [2022-12-22 05:06:50]  Proof: 000000005ea8b5d09725d55ffb3a525994d2ae116c246f316c85981c0a74a1f3
 [2022-12-22 05:06:53]  Proof: 000000000bd06bfb227f02cfca4bacf52019afda29a6cf71d487b0ff9b630ab8
 [2022-12-22 05:06:53]  Proof: 000000007680b38625214fa1ff7d3194e3bd0e05cdbe439ad42845c9a9051882
 [2022-12-22 05:06:54]  Proof: 000000009f72dc47c35ffe490a1aff7b3a634eb0d3b75a6427b3ea8c53ad9067
 [2022-12-22 05:06:59]  Proof: 00000000e3fa5675607e8825be191a1f68d94b9217dbf050f0b3a0ef4ff351a8
 [2022-12-22 05:07:01]  Proof: 0000000061cf8e194e463dfc2b194bf1f95ac00901418e2e26ce9dbf988db33b
 [2022-12-22 05:07:02]  Proof: 00000000a047159116a39eae893cee5319149c363e4beb2e13efb68b0691df35
 [2022-12-22 05:07:06]  Proof: 00000000946da38c443690713a250ca8ca23b9839c55141874b5d9c4f8c62ace
 [2022-12-22 05:07:11]  Proof: 00000000cf989a94ae5c7cf93d32479e71596eb73a495dfceb9cbfa29611a13a
 [2022-12-22 05:07:11]  Proof: 00000000ebe732a8cd43cc3d99f4f8d25d5ec9ae57736589c812d85c23e9467d
 [2022-12-22 05:07:13]  Proof: 000000002d64313147f8ddfabf2630f8753bc55ab6c7c085cc01534b0f751da7
 [2022-12-22 05:07:14]  Proof: 0000000013a74911fa177010027b731d9ba6fba242e5627f51123a36afd7f008
 [2022-12-22 05:07:14]  Proof: 0000000013dc35a4e1e3ff0e6f3d3e5b618656e3555f38e0ddc7b56db0fc712f
 [2022-12-22 05:07:15]  Proof: 000000009e9759fd7eed957979cb03ecde4185ac8e29e593d776bfb332f4ae1f
 [2022-12-22 05:07:17]  Proof: 0000000087840096a2d88ae7daea8a0fc0febc38175ad438a12145becaf0c134
 [2022-12-22 05:07:19]  Proof: 00000000e4d015e0cbf2bb79a1bc39abe613725b62892a486cb86184e9bd693a
 [2022-12-22 05:07:20]  Proof: 000000008838f166e31d896e2dfb7025f595a828b101f6f248ce66dc54f10b20
 [2022-12-22 05:07:20]  Proof: 00000000349a569d338b56a9bf211b766892624aec9b07b56e60fada14e23323
 [2022-12-22 05:07:20]  Proof: 0000000013e5ab0f20155d377636741959a8f26491a49585e5737a236ee90589
 [2022-12-22 05:07:21]  Proof: 000000005543f3add031189d02775de297044e2374faa0eab05db32abc01935d
 [2022-12-22 05:07:23]  Proof: 0000000044fe3536d2100481eaa11d28c221f2f8eb6423170e81014bc6269612
 [2022-12-22 05:07:24]  Proof: 000000000bc3e6eddd8a1b0944f41c0d094553ea87d69b317195628c3bb84b68
 [2022-12-22 05:07:27]  Proof: 0000000063de0951cf83a2a62bd11757382c300930442509301caa8771178d8e
 [2022-12-22 05:07:27]  Proof: 000000005613d2ee2e67e69d6935274b8fa93c4d68d96a4f81e9de03dfdce588
 [2022-12-22 05:07:28]  Proof: 00000000b00fc850a25fe3c7d55542602bcdfa0037ca01a2b535b242f472cb85
 [2022-12-22 05:07:33]  Proof: 000000004e94fb0ce4b2b274c2e6d1b0679e352eb69cbf3e2557cc60a0dc408b
 [2022-12-22 05:07:33]  Proof: 00000000443f4c185da063289c1b91b4b99e9c806d6fccc3478c573977e3cbf8
 [2022-12-22 05:07:37]  Proof: 000000004d3c9375862c21f07a3ac9528ab9c2d4b7364cca4b88a42986d6a9d8
 [2022-12-22 05:07:37]  Proof: 000000004b87746e5eb9bcc8aea6a0b95a95beaccf2acdb6ba425c53acb1d6ff
 [2022-12-22 05:07:38]  Proof: 00000000d012cbf8e74ea85de5cfe135513c2b8287f7d5b39e4cf1af166acbb8
 [2022-12-22 05:07:38]  Proof: 000000006c702ff1b267810ac5409d0ae75f073698898a415ae2215f93ed7220
 [2022-12-22 05:07:39]  Proof: 0000000083539915deacc0688efd030361f8e8c7a0c7051277dc52cccb750589
 [2022-12-22 05:07:40]  Proof: 000000005a06c2d6b6297c15e782a2d1994af2784edc165d9fbe463633d3dc33
 [2022-12-22 05:07:42]  Proof: 00000000f381ce8244a513beba6e5487536e387307876ae9634e53ac05aa6bdf
 [2022-12-22 05:07:43]  Proof: 000000005b18b1c913e40d0eb87d084e5eba24ebfd182cb2f890347f1e638fe5
 [2022-12-22 05:07:43]  Proof: 000000002c03a65d81605817bb904af9a8936429f658d7244b475154e82bfeb3
 [2022-12-22 05:07:44]  Proof: 000000004eb4ceb510642cffdc65fcba43b4b21d94495216298d330f3aa74e50
 [2022-12-22 05:07:46]  Proof: 00000000929bf93e072d8f35635a260b610cee27332c27d075df0b4dea6c157d
 [2022-12-22 05:07:47]  Proof: 000000000254bc4b5f7b51bcdbb29a921d3f2a8b6a131dff935483343578fa4e
 [2022-12-22 05:07:48]  Proof: 000000008ab54428c887fab82883d28a32bb1286a5ec9f52b38f24ad26610502
 [2022-12-22 05:07:50]  Proof: 000000002b4b2d5cb6f7c35be09297b31b31df08bae8238d4804fc4e790fffab
 [2022-12-22 05:07:50]  Proof: 000000009308c4eaf6ff8895b5296606c991b8f4c59043daf6492ab0230169da
 [2022-12-22 05:07:51]  Proof: 000000006b1426607b691d044716aa543ee4cb9314983616e2379efb2172efa2
 [2022-12-22 05:07:56]  Proof: 0000000085e143b253c5b7e9ae7066021de1a425dbabccd4934f8cfe5778b7d0
 [2022-12-22 05:07:56]  Proof: 00000000e7a66f264fd411f68478dd2648eb493e57ae3edae54e54a42947c477

10 leading zeros:
Code:

 [2022-12-22 05:39:49]  Proof: 0000000000c37eea0a9ef2bdac4d4cb71f9b3a951ba501daa0f337359bae72f3
 [2022-12-22 05:42:43]  Proof: 0000000000a67e8767477b224da8aba793c9632aeac378eaeaaaacf94e7d2552

We would like the miner to produce proof with more leading zeros and not even consider/produce anything with less than, say, 11 zeros.

We've tried to find some variables to change in cgminer.c and driver-opencl.c, hoping to find a 'leading zeros = 8' or something, but unable to find anything so far.

We realise that perhaps hashing just cant be configured to produce a certain number of leading zeros and thinking of just letting it run a lot longer

However we are confident this code can be made faster in some way given how opencl/c/bandwidth/resources have advanced in the past 10 years since the time this code was produced


Any advice? Perhaps links to some learning resources in order to code something from scratch?

Perhaps some insights into sha256 collision attacks to create similar proofs?

Perhaps we can modify nonce length parameters like ckpool code allows?

Just to clarify, this topic is in the interests of academia

9  Bitcoin / Hardware / Antminer S19J Pro for under £1000 on: December 20, 2022, 10:26:51 AM
Is it a good deal?

They're supposed to be new

China --> UK

Would mean 20% tax on top + fees

So about 1200 all in for 1
10  Other / Archival / [WTB] - RX 6000 series GPUs - UK only on: December 18, 2022, 09:30:06 AM
Looking to buy RX 6600, 6600XT and 6700XT, 10 units maximum

Share your prices!

UK only
11  Bitcoin / Hardware / Antminer T19 84T from bitmain on: August 13, 2022, 08:32:18 AM
2 for $3530 plus 20% import charge.

A good deal? Brand new from bitmain

Discuss!
12  Economy / Computer hardware / WTS Antminer s19j Pro, United Kingdom on: June 09, 2022, 05:40:33 PM
104th model that runs at 107 on standard firmware

United Kingdom

£8400 incl VAT each

Runs perfectly 24/7

Bought direct from bitmain

Been running with no issues for about 6 months, there's about 6 months warranty left

Collection from our London business address or free delivery within M25

2 for sale

Cash or bank transfer on collection (part btc payment accepted)

PM me
13  Economy / Web Wallets / Blockchain.info forgotten password on: May 17, 2022, 06:38:35 PM
I have wallet ID

I have access to email

My password doesn't work

How can I go about recovering?

Customer Service can't help

14  Bitcoin / Mining / Air conditioning and miners on: November 02, 2021, 09:03:08 PM
We are looking at renting office space for s19j pro

There is a lack of air flow (fresh air) but there is air conditioning

Does air conditioning cause problems for miners?

The room is fairly small about 13 feet by 13 feet

Will the room be able to accommodate 1 miner? How about if the operation was scaled anywhere up to 5 miners?

15  Bitcoin / Mining software (miners) / Stratum server, how to find one, install it and set it up with my antminer? SOLO on: January 19, 2021, 02:35:18 PM
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.
16  Bitcoin / Mining support / Could someone help please? BFGMiner and antminer hashrate discrepancies - SOLO on: January 18, 2021, 10:08:12 PM
Can someone explain for me why BFGMiner setup with bitcoin core solo mining configuration is reporting 200GH/s whereas in the antminer firmware its reporting 14TH/s? I run for over hour with 200GH/s as average, so its not the refresh fault. I have tried pooled mining and get over 10TH/s accepted, so its working at hashrates advertised in firmware. It seems the issue is with BFGMiner but i could be wrong, i really have no idea what is causing it to only pull 200GH/s.

My PC is 'good enough' to handle BFGMiner, so wheres the bottle neck? is it BFGMiner? im really  Shocked Angry Huh I wouldn't want to bother the developer with my n00b question, but i just might, however perhaps a knowledgeable user on this forum could assist me in my adventure?

solo mining ftw  Smiley

around 10% rejected shares - is that bad? would that cause it to go as low as 200GHs though?

https://i.imgur.com/GmkRV6S.png
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!