Bitcoin Forum
May 13, 2024, 03:56:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can next bitcoin client limit hash/sec?  (Read 1652 times)
Groc (OP)
Sr. Member
****
Offline Offline

Activity: 560
Merit: 250


Bounty manager (https://t.me/Gudwinn)


View Profile
May 15, 2011, 02:30:14 PM
 #1

With the next version of bitcoin client I would like to limit the hash/sec to a trickle or what ever limit I want.

Please help me gain support for this feature.

Thanks.

Groc
1715615809
Hero Member
*
Offline Offline

Posts: 1715615809

View Profile Personal Message (Offline)

Ignore
1715615809
Reply with quote  #2

1715615809
Report to moderator
1715615809
Hero Member
*
Offline Offline

Posts: 1715615809

View Profile Personal Message (Offline)

Ignore
1715615809
Reply with quote  #2

1715615809
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 755
Merit: 515


View Profile
May 15, 2011, 02:51:18 PM
 #2

Thats up to the miner, the in-built miner is moving towards miner removal (its already gone in GUI), though I kind of doubt it will be fully removed for a long time (if at all), no one will be adding more features to the miner in the client.

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 755
Merit: 515


View Profile
May 15, 2011, 03:41:17 PM
 #3

Quite the opposite, not having a Generate coins option keeps noobs from constantly complaining that they haven't gotten any coins and have been "mining" for a month.  Limiting khash is absolutely possible, but it should be done on the miner side.

Bitcoin Core, rust-lightning, http://bitcoinfibre.org etc.
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
wumpus
Hero Member
*****
qt
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
May 15, 2011, 03:52:03 PM
Last edit: May 15, 2011, 05:41:48 PM by witchspace
 #4

I have a pending pull request for m0mchil's miner to do exactly this, it adds a "-s <value>" option to reduce load on GPU/CPU when running the miner while doing other stuff:

https://github.com/m0mchil/poclbm/pull/10

It sleeps a fixed amount per frame, so you have to play with the sleep value a bit if you want to approximate a fixed nr of mhash/sec.

The built-in miner will never support this because it is already too slow to be of any use anyway, so it was removed.

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
just_someguy
Full Member
***
Offline Offline

Activity: 125
Merit: 100


View Profile
May 15, 2011, 04:46:28 PM
 #5

Isn't the whole point of bitcoin to get a lot of computers to verify the transactions?

Having your CPU hash with the goal of generating a block doesn't confirm the transactions or help the network confirm them at this point. (Unless you get reaaaalllly lucky.)
Your machine will still do all the hashes necessary to confirm a transaction/block whether or not you have the generate option turned on.
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
May 15, 2011, 04:58:35 PM
 #6

All nodes in the network - even those who are not lookin to generate new blocks - are verifying all transactions and blocks generated by others. This on itself is beneficial for the network (especially if you have a lot of connections).

Generating blocks is only as good as the (average) number of blocks generated. If a node would try one 1 khash per second, it will generate 1/2144027 of a block per year. Sorry, that's pointless.

The current network hashing speed is estimated around 1.8 Thash/s. It requires around 50000 normal desktop systems (4 Mhash/s each) to get a 10% share of this number. The same can be accomplished with 300 high-end graphic cards. Doing it with anything else, is just a waste of electricity.

I do Bitcoin stuff.
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!