Bitcoin Forum
May 22, 2024, 04:40:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How are dev fee's included into firmware?  (Read 185 times)
bommachine (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
November 12, 2019, 03:55:45 PM
Last edit: November 13, 2019, 12:27:16 PM by frodocooper
 #1

Hi,

Wondering if anyone knows how developer fees are included into asic miner firmware? Are they baked into the compiled version of Cgminer.
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3640
Merit: 2549


Evil beware: We have waffles!


View Profile
November 12, 2019, 04:00:31 PM
Last edit: November 12, 2019, 06:11:08 PM by NotFuzzyWarm
 #2

Sort of. It is coded into the driver that cgminer uses to interface with a miner. More specifically it uses the #xnonce function to parallel mine to a different account (the dev ones). That in itself is one of the issues (using #xnonce) [edit: or is it #xnsub?] some folks have with the software as it opens a security hole to do work - ANY work, not just mining - that is invisible to the operator of the miner.

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

Activity: 5
Merit: 0


View Profile
November 12, 2019, 04:08:38 PM
 #3

thank you that is very helpfu. So in theory you can replace cgminer  and remove dev fee.
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3640
Merit: 2549


Evil beware: We have waffles!


View Profile
November 12, 2019, 04:20:06 PM
Last edit: November 12, 2019, 04:38:20 PM by NotFuzzyWarm
 #4

No, you can replace the driver that cgminer uses and use the OEM one but that would most likely break the modified cgminer code. cgminer is a generic mining program that relies on a driver to communicate with a miner. Each kind of miner has a custom driver that is written for it and that driver is (well, was) the 'secret sauce' that the manufacturers do not want released.

One has to assume that you are using non-OEM firmware for various reasons such as tweaking speeds & chip voltages. However if you change cgminer - or the driver - you lose those supposed advantages to the firmware making it a rather pointless excercise.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
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!