Code Monkey home page Code Monkey logo

apoclypsebm's People

Contributors

brocktice avatar enolan avatar fpgaminer avatar gominoa avatar justintarthur avatar kylegibson avatar laanwj avatar luke-jr avatar m0mchil avatar wesleym avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

apoclypsebm's Issues

Does it start searching hash with randomization?

Yeah, trying to mine BTC with such a program is waste of time and electricity.

But if we need some heat on our room, we can use our GPU for heating.

Question is, does this program able to mine BTC before other ASIC's depending on luck?

I mean, does it start to searching BTC hash from a good randomized point?
I look at code but can't find where it is.

With it, might be useful for trying to win lottery with GPU while heating the room...

TypeError: %x format: an integer is required, not float

it is not working.
` 12/03/2020 19:54:58, started OpenCL miner on platform 0, device 0 (Intel(R) HD Graphics 6000 BroadWell U-Processor GT3)
12/03/2020 19:54:58, Setting server (dchen4 @ prohashing.com:3335)
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/yurun/miniconda3/lib/python3.7/site-packages/apoclypsebm/mining/opencl.py", line 369, in load_kernel
binary = open(cache_name, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'acbab1fcffe34393b82e590d4a8df7ae.elf'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/yurun/miniconda3/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/home/yurun/miniconda3/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/yurun/miniconda3/lib/python3.7/site-packages/apoclypsebm/mining/opencl.py", line 188, in mining_thread
self.load_kernel()
File "/home/yurun/miniconda3/lib/python3.7/site-packages/apoclypsebm/mining/opencl.py", line 374, in load_kernel
self.program = cl.Program(self.context, kernel).build(self.defines)
File "/home/yurun/miniconda3/lib/python3.7/site-packages/pyopencl/init.py", line 462, in build
options_bytes=options_bytes, source=self._source)
File "/home/yurun/miniconda3/lib/python3.7/site-packages/pyopencl/init.py", line 506, in _build_and_catch_errors
raise err
pyopencl.cffi_cl.RuntimeError: clBuildProgram failed: BUILD_PROGRAM_FAILURE -

Build on <pyopencl.Device 'Intel(R) HD Graphics 6000 BroadWell U-Processor GT3' on 'Intel Gen OCL Driver' at 0x7f7220a03ac0>:

fatal error: malformed or corrupted AST file: 'could not find file '/home/conda/feedstock_root/build_artifacts/beignet_1571975919345/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/beignet/include/ocl_types.h' referenced by AST file '/home/yurun/miniconda3/lib/beignet//beignet.pch''

(options: -DOUTPUT_SIZE=256 -DOUTPUT_MASK=255 -I /home/yurun/miniconda3/lib/python3.7/site-packages/pyopencl/cl)
(source saved as /tmp/tmpw9ha_e7x.cl)

prohashing.com:3335 12/03/2020 19:54:59, Setting new difficulty: 131072.0
error: uncaptured python exception, closing channel <apoclypsebm.work_sources.stratum.Handler connected 50.225.198.65:3335 at 0x7f721c4e0e50> (<class 'TypeError'>:%x format: an integer is required, not float [/home/yurun/miniconda3/lib/python3.7/asyncore.py|read|83] [/home/yurun/miniconda3/lib/python3.7/asyncore.py|handle_read_event|422] [/home/yurun/miniconda3/lib/python3.7/asynchat.py|handle_read|171] [/home/yurun/miniconda3/lib/python3.7/site-packages/apoclypsebm/work_sources/stratum.py|found_terminator|343] [/home/yurun/miniconda3/lib/python3.7/site-packages/apoclypsebm/work_sources/stratum.py|handle_message|194] [/home/yurun/miniconda3/lib/python3.7/site-packages/apoclypsebm/work_sources/stratum.py|queue_work|317])
prohashing.com:3335 12/03/2020 19:55:12, IO errors - 1, tolerance 2
Traceback (most recent call last):
File "/home/yurun/miniconda3/bin/apoclypse", line 8, in
sys.exit(main())
File "/home/yurun/miniconda3/lib/python3.7/site-packages/apoclypsebm/command.py", line 128, in main
switch.loop()
File "/home/yurun/miniconda3/lib/python3.7/site-packages/apoclypsebm/switch.py", line 123, in loop
failback = self.server_source().loop()
File "/home/yurun/miniconda3/lib/python3.7/site-packages/apoclypsebm/work_sources/stratum.py", line 87, in loop
self.queue_work(self.current_job, miner)
File "/home/yurun/miniconda3/lib/python3.7/site-packages/apoclypsebm/work_sources/stratum.py", line 317, in queue_work
list(chunks('%064x' % self.server_difficulty, 2))[::-1])
TypeError: %x format: an integer is required, not float
`

4 and 8 item vector support

This is pretty easy to do in the kernel. Need to figure out good work sizes to default to in these larger vector formats.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.