Delete
dbf_user = request.getUser() dbuser_items = dbf_user.split('+')
Replace
pdb_c.execute("""INSERT INTO lminer_data (id,address,hashrate,timestamp,difficulty,ontime) VALUES (NULL, %s , %s , UNIX_TIMESTAMP() , %s, %s)""", (dbuser_items[0], db_diff * on_time, db_diff , on_time ) )
With
pdb_c.execute("""INSERT INTO lminer_data (id,address,hashrate,timestamp,difficulty,ontime) VALUES (NULL, %s , %s , UNIX_TIMESTAMP() , %s, %s)""", (user, db_diff * on_time, db_diff , on_time ) )
Good Luck!
|
|
|
I'll check on that error, must be a change to the newer version of p2pool. I'll post a fix soon.
|
|
|
to modify the p2pool code to run a litecoin pool with p2pool mining add the following after line 420 received_header_hashes.add(header_hash) in work.py try: dbf_user = request.getUser() dbuser_items = dbf_user.split('+') db_diff = bitcoin_data.target_to_difficulty(target) * 1000000000 proxy_db = MySQLdb.connect(host="localhost",user="jason",passwd="p2pool2012",db="p2pmining") pdb_c = proxy_db.cursor() pdb_c.execute("""INSERT INTO lminer_data (id,address,hashrate,timestamp,difficulty,ontime) VALUES (NULL, %s , %s , UNIX_TIMESTAMP() , %s, %s)""", (dbuser_items[0], db_diff * on_time, db_diff , on_time ) ) proxy_db.close() except: log.err(None, 'Error with database:') ###
Indent (spaces) the code to line up with line 420 Change the database info to match your database. As you can see, you will need a table called lminer_data. Also make sure you add import MySQLdb somewhere at the beginning of the work.py file with the other imports and also make sure you have python mysql support installed. No changes to the main.py required.
|
|
|
To get running you will need to compile the "bigpic" branch of bfgminer from github. I ran "sudo ./bfgminer -S bitfury:/dev/ttyASC01" from the command line. You can see what the device name is when you plug it in by looking at the /dev directory and see what new devices pop up. For me, it was /dev/ttyASC01
|
|
|
Does anyone have a p2pool that has all the merge-mined coins? Namecoin, Devcoin, IOcoin? (I forget the rest)
http://fuzzypool.mine.bz/ come join... 60GH is waiting in the back of a delivery van on its way to me now and 7GH on pool at the moment... all Merge Mined coins on the pool and 0% BTC fee ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) few minor bugs working out so sorry for the visual errors etc but mining works and need to test more on alt coins so your hashrate is appreciated FuzzyBear Glad to see someone has resurrected my code. Good luck.
|
|
|
2day 20hr block then 11 minute block. Don't you love variance!
|
|
|
I just received the V2 blade today. I plugged Ethernet and 12V power just as I did for the V1 blade but I get no LED response from Blade -- just a tiny bit of heat to indicate it could be alive. Power reads fine at 12V with a multimeter. I assume the Ethernet lights should be flashing when the board is powered up (like the V1 board does). I get 'page cannot be displayed' if I goto 192.168.1.254:8000 with a browser. The installed fuse still tests fine with a multimeter too. Any ideas? NOTE: ASICminer V2 blade instructional diagram here: http://www.minersource.net/asicminer-blade/4579132096Notice the holes in the corners for the standoff posts. The two sticking out on bottom were snapped off on mine even though it was sealed in an antistatic bag (anyone else have these holes snapped off?). The broken off pieces were in the sealed bag so it presumably happened in shipment. ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) Yes I had one snap off in the box before it got to me. They are very flimsy. I used wooden rods through those holes to mount several blades together and I snapped another one off myself. Mine come in with a few of those tabs snapped off also. I use the heat sink mounting holes for mounting. Much sturdier than the circuit board holes.
|
|
|
Yep, my node is down at the moment due to a popped PSU. It'll be back up in the next few days, and I'll have a couple of Blades connecting to it - along with what I'm already running, that should be ~30GH/s coming back to p2pool.
How are you running your blades on p2pool? I was using bfgminer as a getwork proxy and over 30% of the shares where rejected. What share reject rates are you getting?
|
|
|
Please don't pool hop. Most pools punish pool hopping unless your using PPS. We just need to stay the course with P2Pool.
|
|
|
280 USB Units received today.
Great Service.
|
|
|
I am going to provide hubs that will run 10 miners and cost ~ $3 per port.
They will run on rasberry Pi / linux / win7 .
They will not be anything special looking, in fact they will look like those cheap 10 port 2.0 hubs that you are lucky if they run 1 block erupter.
All of these hubs will have a burn in time to make sure they will work upon delivery.
I am waiting on delivery and soon will have these on sale at my website and on ebay. You will be able to pay by Bitcoin or Paypal. Should have a limited supply on sale this week.
I am sending a unit to CanaryInTheMine to review. I will make a post once they are for sale.
Thanks for the interest and suggestions.
P.S. The 3.0 hub that I was originally going to sell and posted a picture of is not going to be the one I will be selling.
|
|
|
COMING SOON
Shipment of 10 port USB 3.0 coming in this week.
-Next week -
-10 port USB 2.0 Hubs. -Works with Rasberry PI, Linux, Windows. -Tested sample unit and have been running 10 USB block eruptors for a week on Rasberry Pi with Minepeon OS without any problems. Hub also powering Rasberry Pi. -Less expensive option than 3.0 hubs -Intro price of ~$35 (Price varies based on method of purchase)
Store is in process of being setup to pay by Paypal or BTC.
|
|
|
JayCoin; 1; 10.25; 1Jo3spt84pHxAiViWYpuKh1uDapiDPUWCP
1 Blade!
|
|
|
JayCoin; 65; 21.125; 1BnEbVFMtkngEXs79xdM8nLHSZeDq3a5Wz
|
|
|
All I can say is AWESOME!
When is coupon inventory shipping?
|
|
|
JayCoin; 14; 7; 1BnEbVFMtkngEXs79xdM8nLHSZeDq3a5Wz
|
|
|
I received and tested my USB 3.0 10 port Hub from China and tested for a week. - Works good on win7 and linux.
- Spacing is a little tighter than previous hubs, but I had no trouble running all 10 ports.
- There is one charging port that also is a live USB port.
- Material of construction is plastic and unit is lightweight.
- It still comes with a 5amp power supply and USB cable.
- It is the same manufacturer as Anker / Juiced hubs that are currently available.
- Don't know if rasp Pi supported. From what I hear, Ankers don't work with them so I am guessing these wouldn't work with them either.
- The smaller foot print will be work better for mining farms based on these units.
I am still working on pricing from the manufacturer. For the first shipment I will probably be able to offer them for 0.5 btc ($50) shipping included.
|
|
|
JayCoin; 38; 20.9; 1Ma48L9UfubiGFjhfri4Tqp25M4DXPeTuG
|
|
|
JayCoin; 40; 22; 1Jo3spt84pHxAiViWYpuKh1uDapiDPUWCP
|
|
|
|