Bitcoin Forum
May 13, 2024, 08:49:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 »
341  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] CryptoSwitcher - Automatically mine the best coin. on: June 24, 2013, 08:45:17 PM
First of all thanks to salfter for all the hard work to code PyCrypsty --  bitcoins coming your way.  

PyCrypsty was working great until an error occurred around line 222 in Cryptoswithcer caused by line 80 in PyCrypsty.   Error   "Unbound Local Error: local variable 'mkt_id' referenced before assignment.

This error causes a fatal error in Cryptoswitcher.   After this fatal error occurs when you try to run Cryptoswitcher again, BTC-E Api returns "invalid noonce parameter".   I think the error caused by PyCrypsty causes the Cryptoswitcher to exit without saving the incremented noonce value to the BTC-E key file.

mkt_id comes back null (or "None," as Python calls it) if a currency trading pair can't be found on Cryptsy (whether due to a communication error or because that pair isn't traded).  PyCryptsy now catches this condition in its helper methods and should respond in a less-crashy manner.
342  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] CryptoSwitcher - Automatically mine the best coin. on: June 24, 2013, 08:18:13 PM
First of all thanks to salfter for all the hard work to code PyCrypsty --  bitcoins coming your way.  

PyCrypsty was working great until an error occurred around line 222 in Cryptoswithcer caused by line 80 in PyCrypsty.   Error   "Unbound Local Error: local variable 'mkt_id' referenced before assignment.

This error causes a fatal error in Cryptoswitcher.   After this fatal error occurs when you try to run Cryptoswitcher again, BTC-E Api returns "invalid noonce parameter".   I think the error caused by PyCrypsty causes the Cryptoswitcher to exit without saving the incremented noonce value to the BTC-E key file.

I think there needs to be error handling in Cryptoswitcher around line 581 and 593 to prevent submodules from causing fatal errors in Cryptoswitcher.

Error Below:

Traceback (most recent call last):
  File "F:\Users\CryptoSwitcher\cryptoSwitcher.py", line 593, in <module
>
    sellCoinCryptsy(abbreviation)
  File "F:\Users\CryptoSwitcher\cryptoSwitcher.py", line 222, in sellCoi
nCryptsy
    acct.CreateSellOrder(coin, "BTC", bal, acct.GetBuyPrice(coin, "BTC")*tradeMu
ltiplier)
  File "./PyCryptsy/PyCryptsy.py", line 84, in GetBuyPrice
    r=self.Query("marketorders", {"marketid": self.GetMarketID(src, dest)})
  File "./PyCryptsy/PyCryptsy.py", line 80, in GetMarketID
    return mkt_id
UnboundLocalError: local variable 'mkt_id' referenced before assignment

Yeah, there's probably not as much exception handling as there should be.  I'm looking into it.
343  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] CryptoSwitcher - Automatically mine the best coin. on: June 24, 2013, 08:16:40 PM
Salfter if I had coins to spare I'd donate, your software gives me piece of mind while I'm at work. One thing I'd like is to be able to specify different cgminer.confs to use for each coin.

You can do that with the script (or batch file) you use to start the miner for each coin:

Code:
cgminer --config=cgminer.conf.bitcoin ...
344  Bitcoin / Pools / Re: [700GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: June 24, 2013, 03:56:29 PM
I'm seeing only 84% efficiency with mine. What settings are you using? My miner name has +256 appended to it. A poster in the BFL forums is using /6000 and is getting results more like yours than mine. Given that share difficulty is only 1080 as I write this, though, wouldn't setting difficulty too high risk throwing out valid shares?

What would be a good input to have to guess how good these ASICs are would be people comparing what their efficiency was with low-latency mining devices (GPUs/Icarus/Cairnsmore1/Ztex/...) and what is their efficiency with their BFL ASIC without any p2pool node reconfiguration.
If they have a mixed setup, knowing the total hashrate of the low-latency devices and the total hashrate of the BFL ASICs can do too.

Warning: don't use different payout addresses on your node: it currently adds latency in the P2Pool process and would lower efficiency.

Currently they don't seem horrible: 84% efficiency is the worst I'm aware of. It's bad but not far from what is good enough to make it almost as good as most pools (I consider the 90-95% range to be where P2Pool starts to be the best solution for mining).
Try to tune your setup according to my guide to see if you can reach a better efficiency (see my sig).

I've done that...average bitcoind latency seems to be hanging around 300 ms since the upgrade to 0.8.2.  With 0.8.1, I was seeing multiple-second latencies.  Over the weekend, efficiency went up slightly to around 86%.  I've switched from +256 to /6000 to see if that makes any difference; it's only been running a few minutes, but the 204 rejected shares to 642 accepted shares so far isn't much different than what I was already getting. I double-checked my router QoS settings; p2pool traffic is running at a high priority.

One thing: my P2Pool node is at home, but my Jalapeņos are at work. Ping times tend to run 30-50 ms; both LANs are connected through Cox. Would even this little bit of added latency be enough to throw my efficiency into the basement?

By "don't use different payout addresses," are you suggesting that I should use an address from the bitcoind wallet, or only that I shouldn't use the "mine-to-the-address-in-the-username" feature (which I don't use)?

In any case, it looks like I should see some benefit from the upcoming changes to P2Pool. I'd like to see the concept succeed, so I think I can stick with it at least a little while longer.
345  Economy / Marketplace / Re: ["WAIT LIST"] BFL SC Pre-Order Information on: June 23, 2013, 08:15:36 PM
Order #6535 (placed 29 Aug 12) shipped today according to email received from BFL.  "Standard shipping" turned out to be Priority Mail, so I should have it Wednesday afternoon.

They ended up arriving in Las Vegas Wednesday morning (19 June). Working like a champ at 10.5-11 GH/s for the pair. One runs on 30 cores, while the other runs on 29.
346  Bitcoin / Pools / Re: [700GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: June 23, 2013, 08:08:24 PM
Been testing my upgraded Jally on p2pool after the reports that BFL asics seemed to be doing OK. After around 18 hours, I'm seeing this:



Efficiency seems OK? DOA is high though, should I be worried about that? Guess I will let it run a few more days and see how payouts go once we start actually solving some blocks.

I'm seeing only 84% efficiency with mine. What settings are you using? My miner name has +256 appended to it. A poster in the BFL forums is using /6000 and is getting results more like yours than mine. Given that share difficulty is only 1080 as I write this, though, wouldn't setting difficulty too high risk throwing out valid shares?
347  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] CryptoSwitcher - Automatically mine the best coin. on: June 20, 2013, 09:09:55 PM
Salfter, mine is up and running on windows but the auto sell function doesnt seem to be working. I have PyCrptsy.py in the appropriate folder and have put my api keys in the config file and set the ones i want to sell to true, although it doesnt seem to be selling? Is there a certain amount of coins you need before it will sell? Or am i missing something.

Thanks!
I was able to get the auto switching working with LittleDigger's guide. But I never got the auto selling features to work on Windows.

Has anyone else gotten that to work on Windows?

I've not had it on altcoins long enough for it to kick in, though it just switched over to Terracoin a bit ago.  We'll see what happens over the next several hours or so.
348  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] CryptoSwitcher - Automatically mine the best coin. on: June 20, 2013, 07:23:24 PM
Now that I have CryptoSwitcher running on Windows, I have it set up for altcoin mining with my Jalapeņos.  Altcoin mining with ASICs is a bit more limited as not many of them use the same sha256d proof-of-work as Bitcoin, but I have CryptoSwitcher set up to switch between Bitcoin and Freicoin.  Terracoin and PPCoin might also be worth setting up. I had my Jalapeņos aimed at Coinotron's FRC pool for an hour or so this morning for testing...kicked their hashrate up by 50% and found a block.  Grin
349  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] CryptoSwitcher - Automatically mine the best coin. on: June 20, 2013, 04:00:13 PM
Anyone gotten this working under windows.

I get this error:

Traceback (most recent call last):
  File "cryptoSwitcher.py", line 13, in <module>
    from PyCryptsy import PyCryptsy
  File "./PyCryptsy/PyCryptsy.py", line 25, in <module>
    import pycurl
ImportError: No module named pycurl

I have tried to install pycurl, but I keep getting errors, is there anyone that has a curl (that pycurl works with) that will share ?

I usually work with Linux, but am working on getting Python on Windows to the point where it'll run CryptoSwitcher.  In the meantime, you might give the PyCurl builds on this page a shot:

http://www.lfd.uci.edu/~gohlke/pythonlibs/

Edit: Confirmed working with the following configuration on Windows 7 Professional for AMD64:

Python 2.7.5 (install with default options)
   http://www.python.org/download/releases/2.7.5/

setuptools
   https://pypi.python.org/pypi/setuptools/0.7.4#windows
   open administrator command prompt, then install with
Code:
python ez_setup.py
   
pip, PyCurl, NumPy, simplejson
   http://www.lfd.uci.edu/~gohlke/pythonlibs/
   
Make sure c:\Python27 and c:\Python27\Scripts are in your PATH, then open an administrator command prompt and install beautifulsoup4:

Code:
pip install beautifulsoup4

urllib2 appears to be part of the base Python install, so with everything above installed, CryptoSwitcher should fire up.
350  Bitcoin / Mining / Re: BFL is shipping on: June 20, 2013, 03:27:23 PM
Quote

<snip>

For now, it's on my work computer, which runs Windows.  After a bit of work, I got the latest cgminer working within EasyMiner, and now have ~10.5 GH/s directed at BitMinter:


Eventually I'll take them home and plug them into my Gentoo mining rig.  For now, though, this will work.

Not to be devils advocate... but if you got them running at work, why not leave them there..... Will anyone really notice? $$$ savings...

They'd be more secure at home, and the power draw of two Jalapeņos is not much more than that of the 7750 in my mining rig. Besides, my work computer is getting long in the tooth (Athlon 64 3700+, though it is running Win7 now) and lately has been prone to bluescreening and/or freezing.  The mining rig doesn't have these problems.
351  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] CryptoSwitcher - Automatically mine the best coin. on: June 19, 2013, 08:23:56 PM
Hi,
when i try to run cryptoswitcher i get this error:
<<< Round 1 >>>
time: 2013-06-17 14:57:24
getting data... done
comparing profitabilty...
------------------------------------
    Bitcoin: 103  (fee:  0, src: cc)
FeatherCoin: 134  (fee:  2, src: cc)
DigitalCoin: 142  (fee:  2, src: cc)
  TerraCoin: 119  (fee:  2, src: cc)
    Devcoin:   0  (fee:  0, src: cc)
   Litecoin: 117  (fee:  0, src: cc)
     IXCoin:   0  (fee:  0, src: cc)
   NameCoin:   2  (fee:  0, src: cc)
------------------------------------
=> Best: 140, mining DigitalCoin
=> Switching to DigitalCoin (running dgcoin.sh)
Traceback (most recent call last):
  File "cryptoSwitcher.py", line 566, in <module>
    subprocess.Popen(coins[bestcoin].command)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Can someone help me?

Does dgcoin.sh exist?  It doesn't ship with CryptoSwitcher; you'll have to create it yourself.  Assuming that it does, you might want to enter it in cryptoSwitcher.config as ./dgcoin.sh, just to be safe.
352  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] CryptoSwitcher - Automatically mine the best coin. on: June 19, 2013, 08:22:09 PM
OP, please add Cryptsy to the auto sell option of CryptoSwitcher!

I've already done that. My changes were merged into this project's GitHub repo, so

Code:
cd CryptoSwitcher && git pull

should bring you up to date.  Check cryptoSwitcher.config.sample for updated options.
353  Bitcoin / Mining / Re: BFL is shipping on: June 19, 2013, 08:17:45 PM
Received email this morning...my Jalapeņos are on the way.  w00t!

"Standard shipping," at least for my smallish order, turned out to be Priority Mail.  Odds are they'll arrive here Wednesday afternoon. 

They arrived here this morning...our mail must get here earlier than I thought.  Click any of the pix to embiggen. :-)

They shipped in this box...



...into which this box was a snug fit:



Two Jalapeņos tucked away inside (power supplies and USB cables are in the two small boxes on the right):



One had this note wrapped up with it:



Unboxed:



For now, it's on my work computer, which runs Windows.  After a bit of work, I got the latest cgminer working within EasyMiner, and now have ~10.5 GH/s directed at BitMinter:




Ordered 29 Aug 12, arrived 19 Jun 13, order #6535.

To get EasyMiner working with something other than EclipseMC or Eligius, use the "manual mining" option under the settings tab.  Fill it with something like this:

Code:
cgminer-nogpu -o stratum+tcp://mint.bitminter.com:3333 -u user_worker -p password

Repeat the -o/-u/-p options for each additional pool you want to configure.

It also wouldn't be a bad idea to replace the bundled cgminer (3.1.1) with the latest (3.2.2, as of this writing).  cgminer 3.2.x uses a rewritten USB communication layer. Instead of the FTDI USB-to-RS232 driver, you'll want to use a tool called "zadig" to install the driver that cgminer will use:

http://sourceforge.net/projects/libwdi/files/zadig/

Reboot and your miners will show up.

Eventually I'll take them home and plug them into my Gentoo mining rig.  For now, though, this will work.
354  Other / Beginners & Help / Re: Beer for bitcoin on: June 19, 2013, 12:35:09 AM
I plan on doing both. I am going to be a fully licensed nano brewery.

Good that you addressed that...no use in getting the revenuers crawling  up your six for selling alcohol without a license.
355  Economy / Service Discussion / Re: [ANN] Looks like cryptsy is adding an API on: June 18, 2013, 06:50:13 PM
The public market feeds are working fine.





I haven't seen anything on the private methods yet

Documentation popped up sometime in the past day or two:

https://www.cryptsy.com/pages/api

I've knocked together the beginning of a Python binding:

https://github.com/salfter/PyCryptsy

There's enough functionality in it to enable auto-trading on Cryptsy with CryptoSwitcher. My changes are already in the current version:

https://github.com/area/CryptoSwitcher

Cryptsy-related changes will likely show up in my fork first (though my pull requests have been accepted pretty quickly):

https://github.com/salfter/CryptoSwitcher
356  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] CryptoSwitcher - Automatically mine the best coin. on: June 18, 2013, 06:40:01 PM
Here's my first stab at it...waiting to build up enough coins for it to trigger:

https://github.com/salfter/CryptoSwitcher

PyCryptsy seems to have worked well enough for a couple of YAC-to-BTC exchanges earlier.  Integration was fairly simple; I designed it to work similarly with the Vircurex integration that had been done earlier.

This looks great, and I've merged it into CryptoSwitcher. I've also adjusted the TradeMultiplier to a default of 1.01, given the race-to-the-bottom nature of Cryptsy. To sell your altcoins for the highest price you can right now, return this to 1 in the config file.

Looks like it's trading on Cryptsy...one LTC-to-BTC trade went through; another is pending. 

It would be nice if their API provided a way to cash out your BTC to your wallet. I'd rather keep my coin in a wallet under my control.
357  Bitcoin / Hardware / Re: [Ann] US based Avalon ASIC chips and assembly: 3,733 remaining on: June 18, 2013, 04:56:16 PM
There's only a fixed number of people who want to mine BTC, so interest has to slow down / stop at some point.

It also might be a matter of wanting to catch up on what you already have in the pipeline before buying more.  I should have a couple of Jalapeņos arriving tomorrow. I have some Avalon ASICs on order from a couple of group buys (including #4 in this topic).  Once the Jalapeņos have made some money and the chips are built into boards and making some more money, odds are good I'll be in the market for more mining equipment.  Whether it's BFL or Avalon gear I'll be buying remains an open question.  (Avalon will probably end up cheaper, while BFL will most likely be more power-efficient (if not by as much as they had predicted).)
358  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] CryptoSwitcher - Now with Cryptsy support on: June 18, 2013, 05:24:26 AM
I have a minimal Python binding up:

https://github.com/salfter/PyCryptsy

I'm now looking into getting CryptoSwitcher to use it.

Here's my first stab at it...waiting to build up enough coins for it to trigger:

https://github.com/salfter/CryptoSwitcher

PyCryptsy seems to have worked well enough for a couple of YAC-to-BTC exchanges earlier.  Integration was fairly simple; I designed it to work similarly with the Vircurex integration that had been done earlier.
359  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANN] CryptoSwitcher - Automatically mine the best coin. on: June 17, 2013, 10:37:05 PM
Looks like Cryptsy's trading API is now documented.  A blob of PHP at the end is provided as an example.

I have a minimal Python binding up:

https://github.com/salfter/PyCryptsy

I'm now looking into getting CryptoSwitcher to use it.
360  Bitcoin / Mining / Re: BFL is shipping on: June 17, 2013, 08:41:47 PM
Received email this morning...my Jalapeņos are on the way.  w00t!

"Standard shipping," at least for my smallish order, turned out to be Priority Mail.  Odds are they'll arrive here Wednesday afternoon. 

What date did you order on?

29 August 2012.  Order number was 6535.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!