Giter Site home page Giter Site logo

mining-visualizer / mvis-tokenminer Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 24.0 896 KB

Token miner for 0xBitcoin

License: MIT License

CMake 6.12% Shell 0.17% C++ 52.61% C 37.71% Assembly 0.43% Batchfile 0.16% Cuda 2.80%
0xbitcoin ethereum mining mining-visualizer

mvis-tokenminer's Introduction

Mining-Visualizer

Table of Contents


Introduction
Software Components
UI Elements
    Desktop Widgets
    Web Application
Platform Support
Download
Documentation
Build From Source
Donations


Introduction

Mining Visualizer is a suite of programs supporting Ethereum mining, with some special features for solo miners. Pool mining is currently not supported.

Solo Mining?

Of course, solo mining is not for everyone. It is generally only feasible for larger mining operations. For instance, if you only have 1 GPU, at the current level of difficulty the average time to mine a block is somewhere around 750 days! If that's you, you're best to stick with pool mining.

Larger mining operations, though, should definitely consider it. There's no mining fees, it helps to make the network more decentralized and secure, and you get the pride of mining your own blocks!

Software Components

This software suite is made up of two programs. The first is MVis-ethminer, the actual miner, which is a fork of Genoil's ethminer. The second program is the one contained in this repository, which is referred to as Mining Visualizer proper, or just MVis. It is a data collection / monitoring program written in Pascal that communicates with the miner and drives the desktop widgets and the web application. It would normally run on your desktop computer.

The whole package is free / open source software. No fees.

Desktop Widgets

Mining Visualizer comes with 4 desktop widgets that display various data items that let you monitor your mining operation at a glance. These are powered by Rainmeter for Windows, and GeekTool for the Mac. (Desktop widgets are possible under Linux using a program called Conky, but no development work has been done in this regard). Most of the items are pretty self explanatory, but I will comment on a few.

  • Hash faults: the total number of hash faults that have been reported from your mining farm over the last 24 hours. This line will display in Yellow if any of your miners has exceeded the user defined hash fault limit. The miner is a fork of Genoil's ethminer, and it checks for hash faults much more often then Genoil's did (1 hash check per kernel run), so don't be surprised if the numbers seem high. This will give you an early indicator if one of your GPUs is failing, or you're pushing it too hard with overclocking.

Mining Activity

  • Last Solution - the last time you mined a block
  • Next Solution - an estimate of when you will mine your next block, based on your current hash rate and the network difficulty. Remember, though, there is no guarantee that you will mine a block by this time. The computation of hashes (mining) is a completely random process. It is like rolling a dice. Variance will affect your mining results. Sometimes you will mine a block sooner, sometimes later.
  • Target - the upper 64 bits of the current network Target. If your miner finds a hash value lower than the target, you will become the miner of the next block, and receive the appropriate reward.
  • Best Hash: the upper 64 bits of the best hash found by your mining rigs, since you last mined a block. Remember, lower is better.

Network

  • Balance - Of course, mining a block is the big, exciting event that every solo miner waits for, due to the accompanying mining reward, so Mining Visualizer makes this stand out as much as possible. This line displays the current balance of your mining account. It will cycle through one of five colors every time you mine a block to give you an easy-to-see, visual indicator of this momentous event. You can customize the colors, or even disable it if you think it's too tacky.

Close Hits

The idea behind Close Hits is to record instances where you almost mined a block. The miner keeps track of hashes computed that are within a certain range of the Target value, and reports them as close hits. The desktop widget shows the last 5 close hits found by your mining farm, with an accompanying bar graph. Close hits are also displayed in the Web App graph page. Smaller values are better. For me personally as a solo miner, this feature really helps to keep me engaged and hopeful as I wait for the next mined block.

Web App

MVis comes with a 3 page web application to display information pertaining to your mining operation. There is some overlap between this and the desktop widgets, but the web app generally shows more detail.

Mining Rigs


Graphs

  • This shows Solutions, Close Hits and Work Units.
  • Work Units are the same idea as Close Hits, except with a much lower level of difficulty. You could also compare them to shares (from pool mining), except there is no reward when you find one. Their purpose is simply to give you a way to verify that your mining rigs are performing as they should.
  • Close Hits are graphed individually, whereas Work Units are grouped into 4 hour intervals and displayed as a histogram.


Hash Plots

  • This allows you to see a scatter plot of real-time, selected hash values from your miner.
  • The purpose of this feature is part educational (a nice visual representation of what miners actually do), part psychological (provides reassurance that the miner is still working and hasn't locked up or frozen), and also just because I thought it would look pretty cool!
  • The hashes are scaled down to values between 0.0 and 1.0.
  • The Current Target value (similarly scaled) is shown for reference.


Platform support

  • Mining Visualizer : Windows, Linux, OS X
  • MVis-ethminer : Windows, Linux

Download

For the latest binaries, please visit the Mining Visualizer Release page, and the MVis-ethminer Release page.

Documentation

Full documentation is available in the wiki for this repo, including instructions to install and setup this software.

Build From Source

  • Clone the repository.
  • Download and install Lazarus Pascal.
  • Launch the Lazarus Pascal IDE and use it to open MiningVisualizer.lpi.
  • Select Run / Compile from the menu.
  • You can also build from the command line if you wish. See the scripts in the Build folder for ideas.

Donations

Donations will be gratefully accepted at the following addresses:

- mining-visualizer.eth
- 0xA804e933301AA2C919D3a9834082Cddda877C205 (ETH)
- 0x29224Be72851D7Bad619f64c2E51E8Ca5Ba1094b (ETC)

mvis-tokenminer's People

Contributors

mickdegraaf avatar mining-visualizer avatar turboboost55 avatar

Stargazers

 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

mvis-tokenminer's Issues

"Switching to dev fee mining" while solo mining

Hi, I noticed that while solo mining I occasionally get "Switching to dev fee mining" and "Switching to user mining" a minute or so later. Is this intentional? I am pretty positive that you would not have embedded a private key into the miner.

If this time is used for pool mining to a dev address, please disregard this issue. I just figured there is a decent chance this is some unexpected interaction between solo mining and the later added dev fee feature.

Cpu usage

Hey Mvis,

Do you see room to improve CPU usage?
on multi gpu systems the miner tends to crash because theres not enough cpu power on a tiny celeron cpu

System crashes when using more than 3 GPUs

Hi,

when using the tokenminer with more than 3 GPUs my System reboots. It only happens when using 4 Cards. When i use 3 cards, and it doenst matter which cards, the system reboots.

ethminer is running without problems. Im using Windows 10 1809.

Version #

Version number for release 2.1.3 still shows the earlier version, MVis-tokenminer 2.1.2

Dev fee mining seems to fault.

Once switched to user mode, operation continues. Connection error also shows up in user mode as well but works out well.
d16 01:10:47.786> Switching to dev fee mining. Thank-you for your support!!
d16 01:10:58.283> An error occurred communicating with the node : Exception -32003 : Client connector error: libcurl error: 28 -> Operation timed out
d16 01:10:58.291> Trying again in 5 seconds ...
d16 01:11:03.295> Connecting to node at http://mike.rs:8586 ...
d16 01:11:04.051> Connection established.
d16 01:13:00.531> New challenge : f6c8f0be
d16 01:13:56.324> New challenge : e5dc6974
d16 01:15:17.355> An error occurred communicating with the node : Exception -32003 : Client connector error: libcurl error: 28 -> Operation timed out
d16 01:15:17.369> Trying again in 5 seconds ...
d16 01:15:22.373> Connecting to node at http://mike.rs:8586 ...
d16 01:15:23.015> Connection established.
d16 01:15:42.816> Error in routine tokenBalance: Exception -32003 : Client connector error: libcurl error: 28 -> Operation timed out
d16 01:15:43.207> Switching to user mining. Your contributions are appreciated!!
d16 01:15:43.413> Solution found; Submitting to pool
d16 01:16:56.887> New challenge : f7d28755

Rates: 122.0 MH/s | Temp: 0 | Fan: 0

gas limit

can you add option to change gas limit?

Repeated "hash fault" after switching to fallback pool

It appears that the miner could not find shares after switching over to a fallback pool. After re-starting the miner, hashing resumed normally. Copy of miner output:

d18 23:06:43.733> New challenge : 78215f80
d18 23:06:59.387> Solution found; Submitting to pool
d18 23:08:10.048> New challenge : 56f7f50b
d18 23:09:29.544> New challenge : 907374f3
d18 23:10:13.010> New challenge : e7033fb1
d18 23:17:18.240> Solution found; Submitting to pool
d18 23:18:41.250> Solution found; Submitting to pool
d18 23:20:20.899> An error occurred communicating with the node : Exceptio
n -32003 : Client connector error: libcurl error: 7 -> Could not connect t
o http://mike.rs:8586
d18 23:20:20.915> Trying again in 5 seconds ...
d18 23:20:25.934> Connecting to http://mike.rs:8586 ...
d18 23:20:26.323> Connection established.
d18 23:23:08.595> An error occurred communicating with the node : Exceptio
n -32603 : INTERNAL_ERROR: : <html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.10.3 (Ubuntu)</center>
</body>
</html>

d18 23:23:08.635> Trying again in 5 seconds ...
d18 23:23:13.653> Connecting to http://mike.rs:8586 ...
d18 23:23:13.966> An error occurred communicating with the node : Exceptio
n -32603 : INTERNAL_ERROR: : <html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.10.3 (Ubuntu)</center>
</body>
</html>

d18 23:23:13.992> Trying again in 5 seconds ...
d18 23:23:19.013> Connecting to http://mike.rs:8586 ...
d18 23:23:19.226> An error occurred communicating with the node : Exceptio
n -32603 : INTERNAL_ERROR: : <html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.10.3 (Ubuntu)</center>
</body>
</html>

d18 23:23:19.252> Trying again in 5 seconds ...
d18 23:23:24.283> Connecting to http://mike.rs:8586 ...
d18 23:23:24.595> An error occurred communicating with the node : Exceptio
n -32603 : INTERNAL_ERROR: : <html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.10.3 (Ubuntu)</center>
</body>
</html>

d18 23:23:24.622> Trying again in 5 seconds ...
d18 23:23:24.643> Mining paused ...
d18 23:23:24.664> Switching to failover node
d18 23:23:24.684> Connecting to http://tokenminingpool.com:8586 ...
d18 23:23:25.565> Connection established.
d18 23:23:25.585> New challenge : e7033fb1
d18 23:23:30.108> New challenge : 8d910467
d18 23:24:21.966> Solution found, but invalid.  Possible hash fault.
d18 23:24:42.227> Solution found, but invalid.  Possible hash fault.
d18 23:25:14.618> New challenge : 82ee1d7c
d18 23:26:36.584> New challenge : 7355dc5a
d18 23:27:12.290> Solution found, but invalid.  Possible hash fault.
d18 23:28:48.337> New challenge : e524528a
d18 23:30:30.988> Solution found, but invalid.  Possible hash fault.
d18 23:30:31.939> Solution found, but invalid.  Possible hash fault.
d18 23:30:49.838> Solution found, but invalid.  Possible hash fault.
d18 23:31:00.001> Solution found, but invalid.  Possible hash fault.
d18 23:31:18.853> Solution found, but invalid.  Possible hash fault.

(output trimmed)

d19 00:52:15.297> Solution found, but invalid.  Possible hash fault.
d19 00:53:44.688> New challenge : 5e058d68
d19 00:54:33.691> Solution found, but invalid.  Possible hash fault.
d19 00:55:02.451> Solution found, but invalid.  Possible hash fault.
d19 00:55:53.494> Solution found, but invalid.  Possible hash fault.
d19 00:56:24.560> Solution found, but invalid.  Possible hash fault.
d19 00:56:54.478> Shutting down ...
PS C:\tokenminer> .\tokenminer.exe -P -G --cl-local-work 256

 MVis-tokenminer 2.1.2
 =====================================================================
 Forked from github.com/Genoil/cpp-ethereum

 Please consider a donation to mining-visualizer.eth  (0xA804e933301AA2C91
9D3a9834082Cddda877C205)

d19 00:56:58.948> Connecting to http://mike.rs:8586 ...
d19 00:56:59.782> Connection established.
d19 00:56:59.802> New challenge : 5e058d68
d19 00:56:59.822> Initialising miner[0]
d19 00:56:59.844> Using platform: AMD Accelerated Parallel Processing
d19 00:56:59.863> Using device: Ellesmere, version = OpenCL 2.0 AMD-APP (2
442.12), deviceID = 0

compile error ubuntu

version from latest master brench 6a5c0b1

[100%] Linking CXX executable tokenminer
../libethash/libethash.so: error: undefined reference to 'typeinfo for CryptoPP::SHA3'
../libethash/libethash.so: error: undefined reference to 'CryptoPP::SHA3::TruncatedFinal(unsigned char*, unsigned long)'
../libethash/libethash.so: error: undefined reference to 'CryptoPP::SHA3::Update(unsigned char const*, unsigned long)'
../libethash/libethash.so: error: undefined reference to 'CryptoPP::SHA3::Restart()'
../libethash/libethash.so: error: undefined reference to 'vtable for CryptoPP::SHA3'
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
collect2: error: ld returned 1 exit status
ethminer/CMakeFiles/tokenminer.dir/build.make:321: recipe for target 'ethminer/tokenminer' failed
make[2]: *** [ethminer/tokenminer] Error 1
CMakeFiles/Makefile2:436: recipe for target 'ethminer/CMakeFiles/tokenminer.dir/all' failed
make[1]: *** [ethminer/CMakeFiles/tokenminer.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

full log:

# cd build
# cmake -DBUNDLE=miner ..
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.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
-- ctest path: /usr/bin/ctest
-- Found CryptoPP: /usr/local/include (found suitable version "5.6.5", minimum required is "5.6.2") 
 - CryptoPP header: /usr/local/include
 - CryptoPP lib   : /usr/lib/libcryptopp.so
-- Found leveldb: /usr/include  
 - LevelDB header: /usr/include
 - LevelDB lib: /usr/lib/x86_64-linux-gnu/libleveldb.so
-- Found jsoncpp: /usr/include/jsoncpp  
 - Jsoncpp header: /usr/include/jsoncpp
 - Jsoncpp lib   : /usr/lib/x86_64-linux-gnu/libjsoncpp.so
-- Found json_rpc_cpp: /usr/include (found suitable version "0.7.0", minimum required is "0.4") 
 - json-rpc-cpp header: /usr/include
 - json-rpc-cpp lib   : /usr/lib/x86_64-linux-gnu/libjsonrpccpp-common.so;/usr/lib/x86_64-linux-gnu/libjsonrpccpp-server.so;/usr/lib/x86_64-linux-gnu/libjsonrpccpp-client.so
-- Found mhd: /usr/include  
 - microhttpd header: /usr/include
 - microhttpd lib   : /usr/lib/x86_64-linux-gnu/libmicrohttpd.so
 - microhttpd dll   : 
-- Found readline: /usr/include  
 - readline header: /usr/include
 - readline lib   : /usr/lib/x86_64-linux-gnu/libreadline.so
-- Could NOT find miniupnpc (missing:  MINIUPNPC_INCLUDE_DIR MINIUPNPC_LIBRARY) 
-- Found gmp: /usr/include/x86_64-linux-gnu  
 - gmp header: /usr/include/x86_64-linux-gnu
 - gmp lib   : /usr/lib/x86_64-linux-gnu/libgmp.so
-- Found CURL: /usr/include/x86_64-linux-gnu  
 - curl header: /usr/include/x86_64-linux-gnu
 - curl lib   : /usr/lib/x86_64-linux-gnu/libcurl.so
-- Could NOT find cpuid (missing:  CPUID_INCLUDE_DIR CPUID_LIBRARY) 
-- 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") 
 - opencl header: /usr/include
 - opencl lib   : /usr/lib/x86_64-linux-gnu/libOpenCL.so
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing:  CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) 
 - jsonrpcstub location    : /usr/bin/jsonrpcstub
-- 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  
-- Boost version: 1.62.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   regex
--   chrono
--   filesystem
--   unit_test_framework
--   program_options
--   random
--   atomic
 - boost header: /usr/include
 - boost lib   : /usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so;/usr/lib/x86_64-linux-gnu/libboost_program_options.so;/usr/lib/x86_64-linux-gnu/libboost_random.so;/usr/lib/x86_64-linux-gnu/libboost_atomic.so;/usr/lib/x86_64-linux-gnu/libpthread.so
------------------------------------------------------------------------
--                  CMake Version                            3.7.2
-- CMAKE_BUILD_TYPE Build type                               Release
-- TARGET_PLATFORM  Target platform                          Linux
-- BUNDLE           Build bundle                             miner
--------------------------------------------------------------- features
--                  Chromium support                         1
--                  Hardware identification support          FALSE
--                  HTTP Request support                     TRUE
-- VMTRACE          VM execution tracing                     OFF
-- PROFILING        Profiling support                        OFF
-- FATDB            Full database exploring                  
-- JSONRPC          JSON-RPC support                         ON
-- OLYMPIC          Default to the Olympic network           OFF
------------------------------------------------------------- components
-- MINER            Build miner                              ON
-- GUI              Build GUI components                     OFF
-- ETHASHCL         Build OpenCL components                  ON
-- ETHASHCUDA       Build CUDA components                    OFF
-- ETHSTRATUM       Build Stratum components                 ON
------------------------------------------------------------------------

-- CXXFLAGS: -std=c++11 -w -pedantic -DLINUX -DSHAREDLIB -fPIC  -fuse-ld=gold
creating build info...
createBuildInfo()
-- Configuring done
-- Generating done
-- Build files have been written to: /root/mvis/2018-11-17/build


# make
Scanning dependencies of target BuildInfo.h
Files "/root/mvis/2018-11-17/build/BuildInfo.h.tmp" to "/root/mvis/2018-11-17/build/BuildInfo.h" are different.
[  0%] Built target BuildInfo.h
Scanning dependencies of target devcore
[  1%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Base64.cpp.o
[  3%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Common.cpp.o
[  5%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonData.cpp.o
[  7%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonIO.cpp.o
[  9%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonJS.cpp.o
[ 11%] Building CXX object libdevcore/CMakeFiles/devcore.dir/FileSystem.cpp.o
[ 13%] Building CXX object libdevcore/CMakeFiles/devcore.dir/FixedHash.cpp.o
[ 15%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Guards.cpp.o
[ 16%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Hash.cpp.o
[ 18%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Log.cpp.o
[ 20%] Building CXX object libdevcore/CMakeFiles/devcore.dir/MemoryDB.cpp.o
[ 22%] Building CXX object libdevcore/CMakeFiles/devcore.dir/RLP.cpp.o
[ 24%] Building CXX object libdevcore/CMakeFiles/devcore.dir/RangeMask.cpp.o
[ 26%] Building CXX object libdevcore/CMakeFiles/devcore.dir/SHA3.cpp.o
[ 28%] Building CXX object libdevcore/CMakeFiles/devcore.dir/StructuredLogger.cpp.o
[ 30%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TransientDirectory.cpp.o
[ 32%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieCommon.cpp.o
[ 33%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieDB.cpp.o
[ 35%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieHash.cpp.o
[ 37%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Worker.cpp.o
[ 39%] Linking CXX shared library libdevcore.so
[ 39%] Built target devcore
Scanning dependencies of target ethash
[ 41%] Building C object libethash/CMakeFiles/ethash.dir/io.c.o
[ 43%] Building C object libethash/CMakeFiles/ethash.dir/internal.c.o
[ 45%] Building C object libethash/CMakeFiles/ethash.dir/io_posix.c.o
[ 47%] Building CXX object libethash/CMakeFiles/ethash.dir/sha3_cryptopp.cpp.o
[ 49%] Linking CXX shared library libethash.so
[ 49%] Built target ethash
[ 50%] Generating OpenCL Kernel Byte Array
Scanning dependencies of target ethash-cl
[ 52%] Building CXX object libethash-cl/CMakeFiles/ethash-cl.dir/ethash_cl_miner.cpp.o
[ 54%] Linking CXX shared library libethash-cl.so
[ 54%] Built target ethash-cl
Scanning dependencies of target ethstratum
[ 56%] Building CXX object libstratum/CMakeFiles/ethstratum.dir/EthStratumClient.cpp.o
[ 58%] Linking CXX shared library libethstratum.so
[ 58%] Built target ethstratum
Scanning dependencies of target ethcore
[ 60%] Building CXX object libethcore/CMakeFiles/ethcore.dir/BlockInfo.cpp.o
[ 62%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Common.cpp.o
[ 64%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Ethash.cpp.o
[ 66%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashAux.cpp.o
[ 67%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashCPUMiner.cpp.o
[ 69%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashCUDAMiner.cpp.o
[ 71%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashGPUMiner.cpp.o
[ 73%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashSealEngine.cpp.o
[ 75%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Miner.cpp.o
[ 77%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Params.cpp.o
[ 79%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Sealer.cpp.o
[ 81%] Linking CXX shared library libethcore.so
[ 81%] Built target ethcore
Scanning dependencies of target tokenminer
[ 83%] Building CXX object ethminer/CMakeFiles/tokenminer.dir/ADLUtils.cpp.o
[ 84%] Building CXX object ethminer/CMakeFiles/tokenminer.dir/Common.cpp.o
[ 86%] Building CXX object ethminer/CMakeFiles/tokenminer.dir/DataLogger.cpp.o
[ 88%] Building CXX object ethminer/CMakeFiles/tokenminer.dir/Misc.cpp.o
[ 90%] Building CXX object ethminer/CMakeFiles/tokenminer.dir/MultiLog.cpp.o
[ 92%] Building CXX object ethminer/CMakeFiles/tokenminer.dir/ProgOpt.cpp.o
[ 94%] Building CXX object ethminer/CMakeFiles/tokenminer.dir/UDPSocket.cpp.o
[ 96%] Building CXX object ethminer/CMakeFiles/tokenminer.dir/main.cpp.o
[ 98%] Building C object ethminer/CMakeFiles/tokenminer.dir/secp256k1.c.o
[100%] Linking CXX executable tokenminer
../libethash/libethash.so: error: undefined reference to 'typeinfo for CryptoPP::SHA3'
../libethash/libethash.so: error: undefined reference to 'CryptoPP::SHA3::TruncatedFinal(unsigned char*, unsigned long)'
../libethash/libethash.so: error: undefined reference to 'CryptoPP::SHA3::Update(unsigned char const*, unsigned long)'
../libethash/libethash.so: error: undefined reference to 'CryptoPP::SHA3::Restart()'
../libethash/libethash.so: error: undefined reference to 'vtable for CryptoPP::SHA3'
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
collect2: error: ld returned 1 exit status
ethminer/CMakeFiles/tokenminer.dir/build.make:321: recipe for target 'ethminer/tokenminer' failed
make[2]: *** [ethminer/tokenminer] Error 1
CMakeFiles/Makefile2:436: recipe for target 'ethminer/CMakeFiles/tokenminer.dir/all' failed
make[1]: *** [ethminer/CMakeFiles/tokenminer.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Temperature control issue

My computer with 2xRX 580 were crashing (being shutdown) after running for about half an hour. Tried increasing the TEMP under [ThermalProtection] and it still happened. Then finally today commented out the complete [ThermalProtection] section and have been running for almost a day now, no shutdowns. Temperature of the cards are stable (75, 74). Using Radeon 18.2.1 version of driver.

Support classicBitcoin

Does this miner support classicBitcoin? This is a new token on ETC chain.
Noticed the miner freezes ever half an hour without a reason. Only workaround is to set a timer batch file to restart the miner every x minutes to avoid the freeze

Need to update README.md for Build miner in Ubuntu.

https://github.com/mining-visualizer/MVis-tokenminer#building-on-ubuntu
I'm build on U18.04

libcryptopp-dev -> libcrypto++-dev

sudo apt-get install git cmake libcryptopp-dev libleveldb-dev libjsoncpp-dev libjsonrpccpp-dev libboost-all-dev libgmp-dev libreadline-dev libcurl4-gnutls-dev ocl-icd-libopencl1 opencl-headers mesa-common-dev libmicrohttpd-dev build-essential -y

to

sudo apt-get install git cmake libcrypto++-dev libleveldb-dev libjsoncpp-dev libjsonrpccpp-dev libboost-all-dev libgmp-dev libreadline-dev libcurl4-gnutls-dev ocl-icd-libopencl1 opencl-headers mesa-common-dev libmicrohttpd-dev build-essential -y

Multi GPU NVIDIA AND AMD

is it possible to multi gpu mine with amd and nvidia

.\tokenminer.exe -G -S -t 2
doesnt work

also tried
.\tokenminer.exe -G -S -t 2 --opencl-devices 0 2

if i specify each opencl device they can mine individually my vega, or gtx 1070

Can't compile v2.1.13

Hello,
I just downloaded tar.gz source code, tried to compile it on Ubuntu 16.04 but failed. AMD drivers are installed as other miners are working well with all my cards.
I have the following error :

tiix@geonosis ~/cate/MVis-tokenminer-1.1.13/build % make                                                                                                                                                                          
[  0%] Built target BuildInfo.h
[ 39%] Built target devcore
[ 49%] Built target ethash
[ 50%] Building CXX object libethash-cl/CMakeFiles/ethash-cl.dir/ethash_cl_miner.cpp.o
In file included from /home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../libethcore/Miner.h:36:0,
                 from /home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../libethcore/Ethash.h:31,
                 from /home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../libethcore/EthashAux.h:28,
                 from /home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../libethcore/EthashGPUMiner.h:28,
                 from /home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/ethash_cl_miner.h:20,
                 from /home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/ethash_cl_miner.cpp:40:
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:65:72: error: ‘ADL_CONTEXT_HANDLE’ has not been declared
  typedef int(*ADL2_MAIN_CONTROL_CREATE)(ADL_MAIN_MALLOC_CALLBACK, int, ADL_CONTEXT_HANDLE*);
                                                                        ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:66:51: error: ‘ADL_CONTEXT_HANDLE’ has not been declared
  typedef int(*ADL2_ADAPTER_NUMBEROFADAPTERS_GET) (ADL_CONTEXT_HANDLE, int*);
                                                   ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:67:46: error: ‘ADL_CONTEXT_HANDLE’ has not been declared
  typedef int(*ADL2_ADAPTER_ADAPTERINFO_GET) (ADL_CONTEXT_HANDLE, LPAdapterInfo, int);
                                              ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:68:41: error: ‘ADL_CONTEXT_HANDLE’ has not been declared
  typedef int(*ADL2_ADAPTER_ACTIVE_GET) (ADL_CONTEXT_HANDLE, int, int*);
                                         ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:69:37: error: ‘ADL_CONTEXT_HANDLE’ has not been declared
  typedef int(*ADL2_OVERDRIVE_CAPS) (ADL_CONTEXT_HANDLE, int iAdapterIndex, int *iSupported, int *iEnabled, int *iVersion);
                                     ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:70:55: error: ‘ADL_CONTEXT_HANDLE’ has not been declared
  typedef int(*ADL2_OVERDRIVE6_THERMALCONTROLLER_CAPS)(ADL_CONTEXT_HANDLE, int iAdapterIndex, ADLOD6ThermalControllerCaps *lpThermalControllerCaps);
                                                       ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:70:94: error: ‘ADLOD6ThermalControllerCaps’ has not been declared
  typedef int(*ADL2_OVERDRIVE6_THERMALCONTROLLER_CAPS)(ADL_CONTEXT_HANDLE, int iAdapterIndex, ADLOD6ThermalControllerCaps *lpThermalControllerCaps);
                                                                                              ^
In file included from /home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../libethcore/Miner.h:36:0,
                 from /home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../libethcore/Ethash.h:31,
                 from /home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../libethcore/EthashAux.h:28,
                 from /home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../libethcore/EthashGPUMiner.h:28,
                 from /home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/ethash_cl_miner.h:20,
                 from /home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/ethash_cl_miner.cpp:40:
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:71:48: error: ‘ADL_CONTEXT_HANDLE’ has not been declared
  typedef int(*ADL2_OVERDRIVE6_TEMPERATURE_GET)(ADL_CONTEXT_HANDLE, int iAdapterIndex, int *lpTemperature);
                                                ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:72:45: error: ‘ADL_CONTEXT_HANDLE’ has not been declared
  typedef int(*ADL2_OVERDRIVE6_FANSPEED_GET)(ADL_CONTEXT_HANDLE, int iAdapterIndex, ADLOD6FanSpeedInfo *lpFanSpeedInfo);
                                             ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:72:84: error: ‘ADLOD6FanSpeedInfo’ has not been declared
  typedef int(*ADL2_OVERDRIVE6_FANSPEED_GET)(ADL_CONTEXT_HANDLE, int iAdapterIndex, ADLOD6FanSpeedInfo *lpFanSpeedInfo);
                                                                                    ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:73:49: error: ‘ADL_CONTEXT_HANDLE’ has not been declared
  typedef int(*ADL2_OVERDRIVEN_TEMPERATURE_GET) (ADL_CONTEXT_HANDLE, int, int, int*);
                                                 ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:74:48: error: ‘ADL_CONTEXT_HANDLE’ has not been declared
  typedef int(*ADL2_OVERDRIVEN_FANCONTROL_GET) (ADL_CONTEXT_HANDLE, int, ADLODNFanControl*);
                                                ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:74:73: error: ‘ADLODNFanControl’ has not been declared
  typedef int(*ADL2_OVERDRIVEN_FANCONTROL_GET) (ADL_CONTEXT_HANDLE, int, ADLODNFanControl*);
                                                                         ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:75:48: error: ‘ADL_CONTEXT_HANDLE’ has not been declared
  typedef int(*ADL2_OVERDRIVEN_FANCONTROL_SET) (ADL_CONTEXT_HANDLE, int, ADLODNFanControl*);
                                                ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:75:73: error: ‘ADLODNFanControl’ has not been declared
  typedef int(*ADL2_OVERDRIVEN_FANCONTROL_SET) (ADL_CONTEXT_HANDLE, int, ADLODNFanControl*);
                                                                         ^
/home/tiix/cate/MVis-tokenminer-1.1.13/libethash-cl/../ethminer/ADLUtils.h:98:2: error: ‘ADL_CONTEXT_HANDLE’ does not name a type
  ADL_CONTEXT_HANDLE context = NULL; 
  ^
libethash-cl/CMakeFiles/ethash-cl.dir/build.make:66: recipe for target 'libethash-cl/CMakeFiles/ethash-cl.dir/ethash_cl_miner.cpp.o' failed
make[2]: *** [libethash-cl/CMakeFiles/ethash-cl.dir/ethash_cl_miner.cpp.o] Error 1
CMakeFiles/Makefile2:265: recipe for target 'libethash-cl/CMakeFiles/ethash-cl.dir/all' failed
make[1]: *** [libethash-cl/CMakeFiles/ethash-cl.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Did someone encountered the same issue ?
Thank you !

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.