Git Product home page Git Product logo

bittube-miner's People

Contributors

7022andre avatar amoiseev avatar b-i-t-n avatar blacklion avatar chaosmarc avatar cheran-senthil avatar dimecoin avatar esfomeado avatar feugenea avatar fireice-uk avatar gnock avatar guillermorp avatar ilie1988 avatar imperdin avatar jagerman avatar jleni avatar jquesnelle avatar juugcatm avatar lehmax avatar magicminstrel avatar miziel avatar o2genum avatar psychocrypt avatar ruzickap avatar ryo-ru avatar schernykh avatar spudz76 avatar steveswinsburg avatar un1t avatar vtamara avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bittube-miner's Issues

Miner Identified as having a Virus by Windows 10

when I download the miner (both CUDA 8 & 9 versions. windows quarantines with the following warning:

Trojan:Win32/CoinMiner.C!cl

image

This program is dangerous and executes commands from an attacker.

any advice would be appreciated.

make install error

[root@alice03 bittube-miner-2.0.0.0]# make install
[ 23%] Built target bittube-miner-c
[ 92%] Built target bittube-miner-backend
[ 96%] Building CXX object CMakeFiles/bittube-miner.dir/xmrstak/cli/cli-miner.cpp.o
/opt/bittube-miner-2.0.0.0/xmrstak/cli/cli-miner.cpp: In function ‘bool check_expert_mode(bool*, bool*)’:
/opt/bittube-miner-2.0.0.0/xmrstak/cli/cli-miner.cpp:917:32: warning: unknown escape sequence: ')'
std::regex expertParamPattern(".(expert_mode).[:].(true|false).");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/bittube-miner-2.0.0.0/xmrstak/cli/cli-miner.cpp:917:32: warning: unknown escape sequence: '.'
/opt/bittube-miner-2.0.0.0/xmrstak/cli/cli-miner.cpp:917:32: warning: unknown escape sequence: '.'
/opt/bittube-miner-2.0.0.0/xmrstak/cli/cli-miner.cpp:917:32: warning: unknown escape sequence: '.'
/opt/bittube-miner-2.0.0.0/xmrstak/cli/cli-miner.cpp: In function ‘void restart_miner(bool, bool)’:
/opt/bittube-miner-2.0.0.0/xmrstak/cli/cli-miner.cpp:979:2: error: ‘httpd’ has not been declared
httpd::cls();
^~~~~
/opt/bittube-miner-2.0.0.0/xmrstak/cli/cli-miner.cpp: In function ‘int main(int, char**)’:
/opt/bittube-miner-2.0.0.0/xmrstak/cli/cli-miner.cpp:1036:3: error: ‘httpd’ has not been declared
httpd::miningState(true);
^~~~~
/opt/bittube-miner-2.0.0.0/xmrstak/cli/cli-miner.cpp:1053:5: error: ‘httpd’ has not been declared
httpd::miningState(true);
^~~~~
make[2]: *** [CMakeFiles/bittube-miner.dir/xmrstak/cli/cli-miner.cpp.o] Error 1
make[1]: *** [CMakeFiles/bittube-miner.dir/all] Error 2
make: *** [all] Error 2
[root@alice03 bittube-miner-2.0.0.0]# ls

Can't run on Ubuntu 16.04

./ipbc-miner
./ipbc-miner: error while loading shared libraries: libmicrohttpd.so.12: cannot open shared object file: No such file or directory

The library is installed... Can I disable the miner from using it? (I don't want or need it)

Httpd doesnt work right after compile

When I compile bittube miner, httpd doesnt work no matter what. [things seem to compile without any errors]
But, when I access httpd, it only says that "something isnt right"

If I compile original xmr-stak, there is no issue.

But it works fine if I download bittube-miner from releases.

Can't compile on Ubuntu

Main error is here:
CMakeFiles/cmTC_9477e.dir/CheckFunctionExists.c.o` -o cmTC_9477e -lpthreads
/usr/bin/ld: cannot find -lpthreads

find /lib -name "pthread"
/lib/i386-linux-gnu/libpthread-2.23.so
/lib/i386-linux-gnu/libpthread.so.0
/lib/x86_64-linux-gnu/libpthread-2.23.so
/lib/x86_64-linux-gnu/libpthread.so.0

nm /lib/x86_64-linux-gnu/libpthread.so.0 | grep "pthread_create"
0000000000007990 t __pthread_create_2_1
0000000000007990 T pthread_create@@GLIBC_2.2.5

is the issue -lpthreads, not lpthread?

cmake output:

cmake .. -CPU_ENABLE=ON -OpenCL_ENABLE=OFF -DCUDA_ENABLE=OFF
loading initial cache file PU_ENABLE=ON
CMake Error: Error processing file: PU_ENABLE=ON
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - found
-- Found OpenCL: /usr/lib/x86_64-linux-gnu/libOpenCL.so (found version "2.0")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.2g")
-- Configuring incomplete, errors occurred!
See also "/usr/local/miners/ipbc-miner/build/CMakeFiles/CMakeOutput.log".
See also "/usr/local/miners/ipbc-miner/build/CMakeFiles/CMakeError.log".


Error log:

Determining if the pthread_create exist failed with the following output:
Change Dir: /usr/local/miners/ipbc-miner/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_38cdb/fast"
/usr/bin/make -f CMakeFiles/cmTC_38cdb.dir/build.make CMakeFiles/cmTC_38cdb.dir/build
make[1]: Entering directory '/usr/local/miners/ipbc-miner/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_38cdb.dir/CheckSymbolExists.c.o
/usr/bin/cc -march=native -mtune=native -o CMakeFiles/cmTC_38cdb.dir/CheckSymbolExists.c.o -c /usr/local/miners/ipbc-miner/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_38cdb
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_38cdb.dir/link.txt --verbose=1
/usr/bin/cc -march=native -mtune=native CMakeFiles/cmTC_38cdb.dir/CheckSymbolExists.c.o -o cmTC_38cdb
CMakeFiles/cmTC_38cdb.dir/CheckSymbolExists.c.o: In function main': CheckSymbolExists.c:(.text+0x16): undefined reference to pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_38cdb.dir/build.make:97: recipe for target 'cmTC_38cdb' failed
make[1]: *** [cmTC_38cdb] Error 1
make[1]: Leaving directory '/usr/local/miners/ipbc-miner/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_38cdb/fast' failed
make: *** [cmTC_38cdb/fast] Error 2

File /usr/local/miners/ipbc-miner/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /usr/local/miners/ipbc-miner/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_9477e/fast"
/usr/bin/make -f CMakeFiles/cmTC_9477e.dir/build.make CMakeFiles/cmTC_9477e.dir/build
make[1]: Entering directory '/usr/local/miners/ipbc-miner/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9477e.dir/CheckFunctionExists.c.o
/usr/bin/cc -march=native -mtune=native -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_9477e.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_9477e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9477e.dir/link.txt --verbose=1
/usr/bin/cc -march=native -mtune=native -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_9477e.dir/CheckFunctionExists.c.o -o cmTC_9477e -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_9477e.dir/build.make:97: recipe for target 'cmTC_9477e' failed
make[1]: *** [cmTC_9477e] Error 1
make[1]: Leaving directory '/usr/local/miners/ipbc-miner/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_9477e/fast' failed
make: *** [cmTC_9477e/fast] Error 2

Ubuntu 18.10 error on make install

I go this error doing make install:

make install Scanning dependencies of target bittube-miner-c [ 2%] Building C object CMakeFiles/bittube-miner-c.dir/xmrstak/backend/cpu/crypto/c_blake256.c.o [ 5%] Building C object CMakeFiles/bittube-miner-c.dir/xmrstak/backend/cpu/crypto/c_groestl.c.o [ 8%] Building C object CMakeFiles/bittube-miner-c.dir/xmrstak/backend/cpu/crypto/c_jh.c.o [ 11%] Building C object CMakeFiles/bittube-miner-c.dir/xmrstak/backend/cpu/crypto/c_keccak.c.o [ 14%] Building C object CMakeFiles/bittube-miner-c.dir/xmrstak/backend/cpu/crypto/c_skein.c.o [ 17%] Linking C static library bin/libbittube-miner-c.a [ 17%] Built target bittube-miner-c Scanning dependencies of target bittube-miner-backend [ 20%] Building CXX object CMakeFiles/bittube-miner-backend.dir/xmrstak/backend/backendConnector.cpp.o [ 22%] Building CXX object CMakeFiles/bittube-miner-backend.dir/xmrstak/backend/cpu/crypto/cryptonight_common.cpp.o [ 25%] Building CXX object CMakeFiles/bittube-miner-backend.dir/xmrstak/backend/cpu/hwlocMemory.cpp.o [ 28%] Building CXX object CMakeFiles/bittube-miner-backend.dir/xmrstak/backend/cpu/jconf.cpp.o [ 31%] Building CXX object CMakeFiles/bittube-miner-backend.dir/xmrstak/backend/cpu/minethd.cpp.o [ 34%] Building CXX object CMakeFiles/bittube-miner-backend.dir/xmrstak/backend/globalStates.cpp.o [ 37%] Building CXX object CMakeFiles/bittube-miner-backend.dir/xmrstak/http/httpd.cpp.o /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp: In static member function ‘static std::__cxx11::string httpd::parseCPUFile()’: /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:159:24: warning: unknown escape sequence: '\)' std::regex regPattern("\[^_]*\(cpu_count\)\.*\([0-9]\+\)\.*"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:159:24: warning: unknown escape sequence: '\.' /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:159:24: warning: unknown escape sequence: '\+' /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:159:24: warning: unknown escape sequence: '\)' /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:159:24: warning: unknown escape sequence: '\.' /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:160:25: warning: unknown escape sequence: '\.' std::regex regPattern2("\.*\(current_cpu_count\)\.*\([0-9]\+\)\.*"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:160:25: warning: unknown escape sequence: '\)' /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:160:25: warning: unknown escape sequence: '\.' /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:160:25: warning: unknown escape sequence: '\+' /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:160:25: warning: unknown escape sequence: '\)' /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:160:25: warning: unknown escape sequence: '\.' /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp: In static member function ‘static std::__cxx11::string httpd::parseGPUNvidiaFile()’: /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:223:25: warning: unknown escape sequence: '\.' std::regex mainPattern("\.*\(gpu_info\)\.*"); ^~~~~~~~~~~~~~~~~~~~ /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:223:25: warning: unknown escape sequence: '\)' /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:223:25: warning: unknown escape sequence: '\.' /home/chabgood/bittube-miner/xmrstak/http/httpd.cpp:224:25: warning: unknown escape sequence: '\.' std::regex namePattern("\.*\(\"\.*\"\)\.*"); ^~~~~~~~~~~~~~~~~~~

html reports not working

I've configured httpd port 8080 but when I login it show something goes wrong. html page doesn't open.

NVIDIA Insufficient driver! backend NVIDIA disabled.

I compiled source code on Ubuntu 16.04 (cuda-9.1), and it said:

WARNING: NVIDIA Insufficient driver!
[2018-06-01 09:09:12] : WARNING: backend NVIDIA disabled.

Also I tried docker, there was the same error.

ccminer with cryptonight algorithm works fine on this machine

MEMORY ALLOC FAILED: mmap failed

[2021-07-27 15:59:50] : Starting 1x thread, affinity: 0.
[2021-07-27 15:59:50] : hwloc: memory pinned
[2021-07-27 15:59:50] : Starting 1x thread, affinity: 1.
[2021-07-27 15:59:50] : MEMORY ALLOC FAILED: mmap failed
[2021-07-27 15:59:50] : hwloc: memory pinned
[2021-07-27 15:59:50] : Starting 1x thread, affinity: 2.
[2021-07-27 15:59:50] : MEMORY ALLOC FAILED: mmap failed
[2021-07-27 15:59:50] : hwloc: memory pinned
[2021-07-27 15:59:50] : Starting 1x thread, affinity: 3.
[2021-07-27 15:59:50] : MEMORY ALLOC FAILED: mmap failed
[2021-07-27 15:59:50] : hwloc: memory pinned
[2021-07-27 15:59:50] : Starting 1x thread, affinity: 4.
[2021-07-27 15:59:50] : MEMORY ALLOC FAILED: mmap failed
[2021-07-27 15:59:50] : hwloc: memory pinned
[2021-07-27 15:59:50] : MEMORY ALLOC FAILED: mmap failed

What's the problem? I'm not sure if there's a problem with my configuration. But this error always occurs and cannot run!

Web server doesn't work

HTTP/1.1 200 OK
Content-Length: 56
Connection: Keep-Alive
Access-Control-Allow-Origin: *
Content-Type: text/html; charset=utf-8
Date: Tue, 12 Jun 2018 23:56:03 GMT

<html><body>This doesn't seem to be right.</body></html>

Miner execution in pause

1.1.6 issue
I have been trying to set up the BitTube miner first time, but got a bit of a problem.

When I start the miner first time:
bittube-miner_2018-05-26_01-55-52

And never continues.
Starting again:
bittube-miner_2018-05-26_02-07-50

When I go to the url, it will just show the download link and something thats loading in the bottom of the page...infinitely.
2018-05-26_02-01-40

I tried different browsers and also connecting over tor browser. It never loads up.

Am I supposed to go to the url and somehow unpause it? Or am I missing something?

I can run the original xmr-stak just fine.

Not sure if its a bug or Iam supposed to do something.

Note: I just tried the 1.1.5 version and it works no problem.

Compile with httpd support

Tried enabling port for that and said it wasn't compiled with this support...

Can you provide a httpd compatible version?

Thanks

SOCKET ERROR

SOCKET ERROR - [mining.bit.tube:13333] Login error: invalid address used
SOCKET ERROR - [mining.bit.tube:13333] RECEIVE error: A blocking operation was interrupted by a call to WSACancelBlockingCall.

PARSE error: Job error 2

Hi all,

[2021-04-14 17:13:32] : Pool mining.bittube.app:3400 connected. Logging in...
RECV: {"jsonrpc":"2.o","id":"226455721001997","method":"login","result":"ok"}
mt->GetString(): login
RECV: {"id":1,"jsonrpc":"2.0","method":"getjobtemplate","error":null,"result":{"id":"226455721001997","pre_pow":"0d0d8c06776000000000916eac4a86a895a6230754dae59217cb4d121221608613027590d3a4a614044e7be99fb85d1662b8925eb69ec26b34915d86e70d7229cacb76d6faa1f687386c0884fa852e000000fa","height":1486735,"algo":"cuckaroo","edgebits":29,"proofsize":40,"noncebytes":4,"job_id":"551668332249159","difficulty":1,"status":"OK"}}
mt->GetString(): getjobtemplate
GetObjectMember prv->jsonDoc(result):

[2021-04-14 17:13:32] : SOCKET ERROR - [mining.bittube.app:3400] PARSE error: Job error 2

Reported another issue with xmr-stak here: fireice-uk/xmr-stak#2721 with different error message.

Protocoll changed?
Thanks for any advice.
Regards

[CUDA] Error gpu 3[CUDA] Error gpu 4: <C:/Projects/bittube-miner/xmrstak/backend /nvidia/nvcc_code/cuda_extra.cu>:394

What is this? miner stop after 20-30min.

[CUDA] Error gpu 1: <C:/Projects/bittube-miner/xmrstak/backend/nvidia/nvcc_code/
cuda_extra.cu>:394
[CUDA] Error gpu 5: <C:/Projects/bittube-miner/xmrstak/backend/nvidia/nvcc_code/
cuda_extra.cu>:394
[CUDA] Error gpu 0: <C:/Projects/bittube-miner/xmrstak/backend/nvidia/nvcc_code/
cuda_extra.cu>:394
[CUDA] Error gpu 3[CUDA] Error gpu 4: <C:/Projects/bittube-miner/xmrstak/backend
/nvidia/nvcc_code/cuda_extra.cu>:394
[CUDA] Error gpu 2: <C:/Projects/bittube-miner/xmrstak/backend/nvidia/nvcc_code/
cuda_extra.cu>:394
: <C:/Projects/bittube-miner/xmrstak/backend/nvidia/nvcc_code/cuda_extra.cu>:394

D:\M\Cryptonight\Cryptonight_BitTubeV2\bittube-miner-win-x64-cuda8-v2.0.0.2>
pause
Press any key to continue . . .

To slow hash speed

When I use xmr-stak to mine xmr, the speed is 310 ~ 340 H/s (4 threads).
but in bittube-miner is to low tobe 90H/s.

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.