Bitcoin Forum
May 11, 2024, 12:56:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Does this exist?  (Read 1090 times)
techkojj92 (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
August 22, 2013, 06:09:49 PM
 #1

Say i had 150 block erupters daisy chained across a few hubs.. say someone orders a 7 day mining contract from me at 333MH/s... is there a piece of software, lets call it a contract controller, that will allow me to dedicate x amount of miners to said worker id for X amount of time

Needed fuctionality

1. Ability to queue up contracts

If all miners are being used, have the ability to queue up a contract until said hardware is available.

2. Ability to save worker login details

for repeat customers

3. Quick Mine

if i had a client that had a 7 day 1 miner contract and i had no other hardware being used, the ability to use more hardware to complete contract quicker

4. Say i had a contract for 5 GH but i only have one miner avaliable, i would want the ability to at least start on the contract
1715388960
Hero Member
*
Offline Offline

Posts: 1715388960

View Profile Personal Message (Offline)

Ignore
1715388960
Reply with quote  #2

1715388960
Report to moderator
1715388960
Hero Member
*
Offline Offline

Posts: 1715388960

View Profile Personal Message (Offline)

Ignore
1715388960
Reply with quote  #2

1715388960
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715388960
Hero Member
*
Offline Offline

Posts: 1715388960

View Profile Personal Message (Offline)

Ignore
1715388960
Reply with quote  #2

1715388960
Report to moderator
RandomQ
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
August 22, 2013, 06:54:11 PM
 #2

Cgminer you can set to only mine on a certain device.
Havent tested on usb but its works on GPUs
OtaconEmmerich
Full Member
***
Offline Offline

Activity: 235
Merit: 100


View Profile
August 22, 2013, 08:13:36 PM
 #3

Wouldn't it be easier to just you know, Sell the BTC you mine in a day/week/whatever?  Is this the new thing to do on ebay now?
crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
August 22, 2013, 11:14:02 PM
 #4

CGMiner can be set to quit after N number of shares. 335MH/s is ~4.7Shares/minute. 60 minutes in a hour. 24 hours in a day. 7 days in a week.

cgminer.exe --shares 47360

Usage: . [-atDdGCgIKklmpPQqrRsTouvwOchnV]
Options for both config file and command line:
--shares <arg>      Quit after mining N shares (default: unlimited)

Con Kolivas <kernel@kolivas.org>
15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ

Then I would run a batch loop that writes the api output to a log file every 10 minutes, in case CGMiner crashed you could see how many of those 47300 shares were submitted.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
techkojj92 (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
August 23, 2013, 12:19:54 AM
 #5

it would just be a nice programming project if its possible


milone
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
August 23, 2013, 01:36:20 AM
 #6

As crazyates suggested you'd probably have an easier time converting that hashrate to shares and mining X total shares per customer, which can then be divided up onto whatever devices are available. Total shares would have to be accepted + rejected + stale since you're selling by hashrate, not accepted shares. I'm guessing --shares already does this. If you used this method, you can get these values via the miner's API.


You could also keep track of time and hashrate (or total hashes) and keep mining until the customer averaged 333Mh/s over the time frame they purchased. Since you're selling by hashrate, I think this is the most accurate (though the difference may be negligible.)


Or contract it on a per-erupter basis, one erupter per day/week/month (which may have a hashrate around 333Mh/s) will cost Y. Doing it this way you'd have to keep track of the time the erupter was running to account for any downtime caused by miner crashes, etc.

Either way it's possible.

CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
techkojj92 (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
August 23, 2013, 02:55:37 AM
 #7

im just trying to figure out a start point from a code script standpoint
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!