Bitcoin Forum
December 13, 2024, 10:15:47 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52] 53 54 55 56 »
  Print  
Author Topic: python OpenCL bitcoin miner  (Read 1239099 times)
coblee
Donator
Legendary
*
Offline Offline

Activity: 1654
Merit: 1354


Creator of Litecoin. Cryptocurrency enthusiast.


View Profile
July 31, 2011, 06:19:56 AM
 #1021

m0mchil, can you make it such that rate is not force to be 60 when verbose is set? I'd like to keep rate at 1 with verbose turned on.

tenzor
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
August 02, 2011, 10:00:17 AM
 #1022

Code:
ats@ats-desktop:~/poclbm$ ./poclbm.py -v -d1 http://l_0:p@deepbit.net:8332
01/08/2011 16:02:22, Setting server (l_0 @ deepbit.net:8332)
deepbit.net:8332 01/08/2011 16:02:23, Unexpected error:
Traceback (most recent call last):
  File "/home/ats/poclbm/HttpTransport.py", line 45, in loop
    self.queue_work(work)
  File "/home/ats/poclbm/Transport.py", line 115, in queue_work
    self.process(work)
  File "/home/ats/poclbm/Transport.py", line 74, in process
    self.set_difficulty(work.difficulty)
  File "/home/ats/poclbm/Transport.py", line 67, in set_difficulty
    true_target = '%064x' % (int(bits[2:], 16) * 2 ** (8 * (int(bits[:2], 16) - 3)),)
ValueError: invalid literal for int() with base 16: 'eefa1-1'
deepbit.net:8332 01/08/2011 16:02:23, LP connected to deepbit.net:8332
deepbit.net:8332 [268.906 MH/s (~0 MH/s)] [Rej: 0/0 (0.00%)]^C

mining works but no share submitted.

repost from russian newbie thread https://bitcointalk.org/index.php?topic=33432.0
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
August 02, 2011, 03:13:57 PM
 #1023

Code:
ats@ats-desktop:~/poclbm$ ./poclbm.py -v -d1 http://l_0:p@deepbit.net:8332
01/08/2011 16:02:22, Setting server (l_0 @ deepbit.net:8332)
deepbit.net:8332 01/08/2011 16:02:23, Unexpected error:
Traceback (most recent call last):
  File "/home/ats/poclbm/HttpTransport.py", line 45, in loop
    self.queue_work(work)
  File "/home/ats/poclbm/Transport.py", line 115, in queue_work
    self.process(work)
  File "/home/ats/poclbm/Transport.py", line 74, in process
    self.set_difficulty(work.difficulty)
  File "/home/ats/poclbm/Transport.py", line 67, in set_difficulty
    true_target = '%064x' % (int(bits[2:], 16) * 2 ** (8 * (int(bits[:2], 16) - 3)),)
ValueError: invalid literal for int() with base 16: 'eefa1-1'
deepbit.net:8332 01/08/2011 16:02:23, LP connected to deepbit.net:8332
deepbit.net:8332 [268.906 MH/s (~0 MH/s)] [Rej: 0/0 (0.00%)]^C

mining works but no share submitted.

repost from russian newbie thread https://bitcointalk.org/index.php?topic=33432.0
Same here

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
hugolp
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


Radix-The Decentralized Finance Protocol


View Profile
August 04, 2011, 08:02:55 AM
Last edit: August 04, 2011, 08:30:43 AM by hugolp
 #1024

Im using the version from git (updated two days ago) and I am getting miners stuck once a day at least. The program gets stuck at the screen saying that there has been an rpc connection problem( "Problems communicating with bitcoin RPC 0 2"), and it does nothing after that. Even Ctrl+C does not stop the program.


               ▄████████▄
               ██▀▀▀▀▀▀▀▀
              ██▀
             ███
▄▄▄▄▄       ███
██████     ███
    ▀██▄  ▄██
     ▀██▄▄██▀
       ████▀
        ▀█▀
The Radix DeFi Protocol is
R A D I X

███████████████████████████████████

The Decentralized

Finance Protocol
Scalable
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██
██                   ██
██                   ██
████████████████     ██
██            ██     ██
██            ██     ██
██▄▄▄▄▄▄      ██     ██
██▀▀▀▀██      ██     ██
██    ██      ██     
██    ██      ██
███████████████████████

███
Secure
      ▄▄▄▄▄
    █████████
   ██▀     ▀██
  ███       ███

▄▄███▄▄▄▄▄▄▄███▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀██
██             ██
██             ██
██             ██
██             ██
██             ██
██    ███████████

███
Community Driven
      ▄█   ▄▄
      ██ ██████▄▄
      ▀▀▄█▀   ▀▀██▄
     ▄▄ ██       ▀███▄▄██
    ██ ██▀          ▀▀██▀
    ██ ██▄            ██
   ██ ██████▄▄       ██▀
  ▄██       ▀██▄     ██
  ██▀         ▀███▄▄██▀
 ▄██             ▀▀▀▀
 ██▀
▄██
▄▄
██
███▄
▀███▄
 ▀███▄
  ▀████
    ████
     ████▄
      ▀███▄
       ▀███▄
        ▀████
          ███
           ██
           ▀▀

███
Radix is using our significant technology
innovations to be the first layer 1 protocol
specifically built to serve the rapidly growing DeFi.
Radix is the future of DeFi
█████████████████████████████████████

   ▄▄█████
  ▄████▀▀▀
  █████
█████████▀
▀▀█████▀▀
  ████
  ████
  ████

Facebook

███

             ▄▄
       ▄▄▄█████
  ▄▄▄███▀▀▄███
▀▀███▀ ▄██████
    █ ███████
     ██▀▀▀███
           ▀▀

Telegram

███

▄      ▄███▄▄
██▄▄▄ ██████▀
████████████
 ██████████▀
   ███████▀
 ▄█████▀▀

Twitter

██████

...Get Tokens...
Okama
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
August 05, 2011, 12:27:52 AM
 #1025

The same problem happend to me. And I also got this
Quote
long poll: IO error
with the newest git version.
hugolp
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


Radix-The Decentralized Finance Protocol


View Profile
August 05, 2011, 01:17:28 PM
 #1026

The same problem happend to me. And I also got this
Quote
long poll: IO error
with the newest git version.

Its getting very anoying. I have to be restarting the computer like once or twice a day. I guess its time to change miner for me.


               ▄████████▄
               ██▀▀▀▀▀▀▀▀
              ██▀
             ███
▄▄▄▄▄       ███
██████     ███
    ▀██▄  ▄██
     ▀██▄▄██▀
       ████▀
        ▀█▀
The Radix DeFi Protocol is
R A D I X

███████████████████████████████████

The Decentralized

Finance Protocol
Scalable
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██
██                   ██
██                   ██
████████████████     ██
██            ██     ██
██            ██     ██
██▄▄▄▄▄▄      ██     ██
██▀▀▀▀██      ██     ██
██    ██      ██     
██    ██      ██
███████████████████████

███
Secure
      ▄▄▄▄▄
    █████████
   ██▀     ▀██
  ███       ███

▄▄███▄▄▄▄▄▄▄███▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀██
██             ██
██             ██
██             ██
██             ██
██             ██
██    ███████████

███
Community Driven
      ▄█   ▄▄
      ██ ██████▄▄
      ▀▀▄█▀   ▀▀██▄
     ▄▄ ██       ▀███▄▄██
    ██ ██▀          ▀▀██▀
    ██ ██▄            ██
   ██ ██████▄▄       ██▀
  ▄██       ▀██▄     ██
  ██▀         ▀███▄▄██▀
 ▄██             ▀▀▀▀
 ██▀
▄██
▄▄
██
███▄
▀███▄
 ▀███▄
  ▀████
    ████
     ████▄
      ▀███▄
       ▀███▄
        ▀████
          ███
           ██
           ▀▀

███
Radix is using our significant technology
innovations to be the first layer 1 protocol
specifically built to serve the rapidly growing DeFi.
Radix is the future of DeFi
█████████████████████████████████████

   ▄▄█████
  ▄████▀▀▀
  █████
█████████▀
▀▀█████▀▀
  ████
  ████
  ████

Facebook

███

             ▄▄
       ▄▄▄█████
  ▄▄▄███▀▀▄███
▀▀███▀ ▄██████
    █ ███████
     ██▀▀▀███
           ▀▀

Telegram

███

▄      ▄███▄▄
██▄▄▄ ██████▀
████████████
 ██████████▀
   ███████▀
 ▄█████▀▀

Twitter

██████

...Get Tokens...
CD-RW
Jr. Member
*
Offline Offline

Activity: 56
Merit: 22


View Profile
August 05, 2011, 04:05:43 PM
 #1027

Very stable and great info from the console. Thanks! Smiley
muyoso
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
August 08, 2011, 05:21:10 AM
 #1028

I am getting:

Code:
[Miner0] bitcoinpool.com:8334 08/08/2011 01:18:44, long poll: IO error
[Miner0] bitcoinpool.com:8334 08/08/2011 01:18:46, LP connected to bitcoinpool.c
om:8334

about once a minute on bitcoinpool.com with the latest.  My hash rate is being reported by the pool at about 20% lower than it should be consistently.  This IS the only pool that has given this error though, but its annoying none the less.

I drink it up!
hugolp
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


Radix-The Decentralized Finance Protocol


View Profile
August 08, 2011, 05:37:16 AM
 #1029

I am getting:

Code:
[Miner0] bitcoinpool.com:8334 08/08/2011 01:18:44, long poll: IO error
[Miner0] bitcoinpool.com:8334 08/08/2011 01:18:46, LP connected to bitcoinpool.c
om:8334

about once a minute on bitcoinpool.com with the latest.  My hash rate is being reported by the pool at about 20% lower than it should be consistently.  This IS the only pool that has given this error though, but its annoying none the less.

Curiously enough, the last changes solved my problems. I have been now like 36 hours without a problem.


               ▄████████▄
               ██▀▀▀▀▀▀▀▀
              ██▀
             ███
▄▄▄▄▄       ███
██████     ███
    ▀██▄  ▄██
     ▀██▄▄██▀
       ████▀
        ▀█▀
The Radix DeFi Protocol is
R A D I X

███████████████████████████████████

The Decentralized

Finance Protocol
Scalable
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██
██                   ██
██                   ██
████████████████     ██
██            ██     ██
██            ██     ██
██▄▄▄▄▄▄      ██     ██
██▀▀▀▀██      ██     ██
██    ██      ██     
██    ██      ██
███████████████████████

███
Secure
      ▄▄▄▄▄
    █████████
   ██▀     ▀██
  ███       ███

▄▄███▄▄▄▄▄▄▄███▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀██
██             ██
██             ██
██             ██
██             ██
██             ██
██    ███████████

███
Community Driven
      ▄█   ▄▄
      ██ ██████▄▄
      ▀▀▄█▀   ▀▀██▄
     ▄▄ ██       ▀███▄▄██
    ██ ██▀          ▀▀██▀
    ██ ██▄            ██
   ██ ██████▄▄       ██▀
  ▄██       ▀██▄     ██
  ██▀         ▀███▄▄██▀
 ▄██             ▀▀▀▀
 ██▀
▄██
▄▄
██
███▄
▀███▄
 ▀███▄
  ▀████
    ████
     ████▄
      ▀███▄
       ▀███▄
        ▀████
          ███
           ██
           ▀▀

███
Radix is using our significant technology
innovations to be the first layer 1 protocol
specifically built to serve the rapidly growing DeFi.
Radix is the future of DeFi
█████████████████████████████████████

   ▄▄█████
  ▄████▀▀▀
  █████
█████████▀
▀▀█████▀▀
  ████
  ████
  ████

Facebook

███

             ▄▄
       ▄▄▄█████
  ▄▄▄███▀▀▄███
▀▀███▀ ▄██████
    █ ███████
     ██▀▀▀███
           ▀▀

Telegram

███

▄      ▄███▄▄
██▄▄▄ ██████▀
████████████
 ██████████▀
   ███████▀
 ▄█████▀▀

Twitter

██████

...Get Tokens...
den11111
Member
**
Offline Offline

Activity: 246
Merit: 10



View Profile
August 10, 2011, 08:32:01 PM
 #1030

Help me please.
I'm download the latest version, but it's dont work with old configures...
start poclbm.exe --host=arsbitcoin.com --port=8344 --user=lolo.1 --pass=lolopass --device=0 -v 99 -f 7
I use win7 32bit
What's wrong?
hugolp
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


Radix-The Decentralized Finance Protocol


View Profile
August 11, 2011, 06:49:41 AM
 #1031

Help me please.
I'm download the latest version, but it's dont work with old configures...
start poclbm.exe --host=arsbitcoin.com --port=8344 --user=lolo.1 --pass=lolopass --device=0 -v 99 -f 7
I use win7 32bit
What's wrong?

Try:

Code:
poclbm.exe http://lolo.1:lolopass@arsbitcoin.com:8344 --device=0 -v 99 -f 7

The instructions are here: https://github.com/m0mchil/poclbm (scroll down to the end). You can now add a backup pool.


               ▄████████▄
               ██▀▀▀▀▀▀▀▀
              ██▀
             ███
▄▄▄▄▄       ███
██████     ███
    ▀██▄  ▄██
     ▀██▄▄██▀
       ████▀
        ▀█▀
The Radix DeFi Protocol is
R A D I X

███████████████████████████████████

The Decentralized

Finance Protocol
Scalable
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██
██                   ██
██                   ██
████████████████     ██
██            ██     ██
██            ██     ██
██▄▄▄▄▄▄      ██     ██
██▀▀▀▀██      ██     ██
██    ██      ██     
██    ██      ██
███████████████████████

███
Secure
      ▄▄▄▄▄
    █████████
   ██▀     ▀██
  ███       ███

▄▄███▄▄▄▄▄▄▄███▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀██
██             ██
██             ██
██             ██
██             ██
██             ██
██    ███████████

███
Community Driven
      ▄█   ▄▄
      ██ ██████▄▄
      ▀▀▄█▀   ▀▀██▄
     ▄▄ ██       ▀███▄▄██
    ██ ██▀          ▀▀██▀
    ██ ██▄            ██
   ██ ██████▄▄       ██▀
  ▄██       ▀██▄     ██
  ██▀         ▀███▄▄██▀
 ▄██             ▀▀▀▀
 ██▀
▄██
▄▄
██
███▄
▀███▄
 ▀███▄
  ▀████
    ████
     ████▄
      ▀███▄
       ▀███▄
        ▀████
          ███
           ██
           ▀▀

███
Radix is using our significant technology
innovations to be the first layer 1 protocol
specifically built to serve the rapidly growing DeFi.
Radix is the future of DeFi
█████████████████████████████████████

   ▄▄█████
  ▄████▀▀▀
  █████
█████████▀
▀▀█████▀▀
  ████
  ████
  ████

Facebook

███

             ▄▄
       ▄▄▄█████
  ▄▄▄███▀▀▄███
▀▀███▀ ▄██████
    █ ███████
     ██▀▀▀███
           ▀▀

Telegram

███

▄      ▄███▄▄
██▄▄▄ ██████▀
████████████
 ██████████▀
   ███████▀
 ▄█████▀▀

Twitter

██████

...Get Tokens...
den11111
Member
**
Offline Offline

Activity: 246
Merit: 10



View Profile
August 11, 2011, 09:10:17 AM
 #1032

Thanks!
+0.1 BTC for help))
Its working... but something wrong

Can I use onlu GPU? 1 kernel on my athlon is using by 100%...
And second question - what is the best settings for my 5870 with using the backup deepbit server?
RaTTuS
Hero Member
*****
Offline Offline

Activity: 792
Merit: 1000


Bite me


View Profile
August 11, 2011, 10:20:41 AM
 #1033

poclbm.exe -d0 -v -w128 lolo.1:lolopass@arsbitcoin.com:8344 lolo:deeppass@deepbit.net:8332
may help

In the Beginning there was CPU , then GPU , then FPGA then ASIC, what next I hear to ask ....

1RaTTuSEN7jJUDiW1EGogHwtek7g9BiEn
den11111
Member
**
Offline Offline

Activity: 246
Merit: 10



View Profile
August 11, 2011, 11:31:26 AM
 #1034

No, empty fields still there
RaTTuS
Hero Member
*****
Offline Offline

Activity: 792
Merit: 1000


Bite me


View Profile
August 11, 2011, 11:50:41 AM
 #1035

^ I ment that is how you add a backup server
the blank lines are just the scroller - you cannot get rid of them ATM,

In the Beginning there was CPU , then GPU , then FPGA then ASIC, what next I hear to ask ....

1RaTTuSEN7jJUDiW1EGogHwtek7g9BiEn
spankymio
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
August 20, 2011, 03:22:07 PM
 #1036

Would you mind updating the windows executable please  Grin
bal3wolf
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250

Power to the people!


View Profile
August 21, 2011, 09:46:53 PM
 #1037

Any one know any tweaks to keep pocbm from freezing up my pc when im using it i can mine for days if i dont use my pc but at random if im using my pc it will just lock up.  I know im running some high clocks on my gpus but its wierd only happens when i try to play a video or open a web browser sometimes im using a 5870@1100/600mhz and a 5970@940/500mhz.
bal3wolf
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250

Power to the people!


View Profile
August 26, 2011, 04:53:27 PM
Last edit: August 26, 2011, 06:18:25 PM by bal3wolf
 #1038

Im trying to recompile python and learn how to do some stuff and i keep getting this error .


Traceback (most recent call last):
  File "poclbm.py", line 48, in <module>
    miner = BitcoinMiner(devices[options.device], options, VERSION, HttpTranspor
t.HttpTransport)
NameError: name 'devices' is not defined
antares
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
September 11, 2011, 12:38:14 PM
 #1039

hmm, there seems to be a bug in poclbm,

yesterday, me and some others experienced trouble mining with it. We were mining the solidcoin chain, and the problem seems to be difficulty-related(as soon as diff changed, things went back to normal). However, everytime the miner found a share, instead of submitting it, it put out a python stacktrace like this:

Quote
10/09/2011 16:38:06, Setting server (antares @ go.mine-for.us:16101)           
go.mine-for.us:16101 10/09/2011 16:38:07, Unexpected error:                     
Traceback (most recent call last):
  File "/home/jo/m0mchil-poclbm-076f85c/HttpTransport.py", line 45, in loop
    self.queue_work(work)
  File "/home/jo/m0mchil-poclbm-076f85c/Transport.py", line 117, in queue_work
    self.process(work)
  File "/home/jo/m0mchil-poclbm-076f85c/Transport.py", line 76, in process
    self.set_difficulty(work.difficulty)
  File "/home/jo/m0mchil-poclbm-076f85c/Transport.py", line 71, in set_difficulty
    self.true_target = np.array(unpack('IIIIIIII', true_target.decode('hex')), dtype=np.uint32)
error: unpack requires a string argument of length 32
go.mine-for.us:16101 10/09/2011 16:38:08, LP connected to go.mine-for.us:16101 
go.mine-for.us:16101 10/09/2011 16:38:12, Unexpected error:                     
Traceback (most recent call last):
  File "/home/jo/m0mchil-poclbm-076f85c/HttpTransport.py", line 50, in loop
    rv = self.send(result)
  File "/home/jo/m0mchil-poclbm-076f85c/Transport.py", line 88, in send
    is_block = belowOrEquals(h[:7], self.true_target[:7])
TypeError: 'NoneType' object is not subscriptable
go.mine-for.us:16101 10/09/2011 16:38:26, Unexpected error:                     
Traceback (most recent call last):
  File "/home/jo/m0mchil-poclbm-076f85c/HttpTransport.py", line 50, in loop
    rv = self.send(result)
  File "/home/jo/m0mchil-poclbm-076f85c/Transport.py", line 88, in send
    is_block = belowOrEquals(h[:7], self.true_target[:7])
TypeError: 'NoneType' object is not subscriptable
go.mine-for.us:16101 [204.392 MH/s (~0 MH/s)] [Rej: 0/0 (0.00%)]^C             
bye
nimnul
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile WWW
November 05, 2011, 09:45:37 AM
 #1040

Is the exe still up to date and includes the latest kernel? Is 100% CPU usage problem still there?

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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52] 53 54 55 56 »
  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!