当前位置: 首页 > 软件库 > Web3 > 开源货币/比特币 >

cpuminer-multi

授权协议 View license
开发语言 Python
所属分类 Web3、 开源货币/比特币
软件类型 开源软件
地区 不详
投 递 者 邬安邦
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

CPUMiner-Multi

This is a multi-threaded CPU miner,fork of pooler's cpuminer (see AUTHORS for list of contributors).

Table of contents

Algorithms

Currently supported

  • scrypt (Litecoin, Dogecoin, Feathercoin, etc..)
  • scrypt:N (Vertcoin [VTC])
  • sha256d (Bitcoin, Freicoin, Peercoin/PPCoin, Terracoin, etc..)
  • x11 (Darkcoin [DRK], Hirocoin, Limecoin)
  • x13 (Sherlockcoin, [ACE], [B2B], [GRC], [XHC], etc..)
  • x14 (X14, Webcoin [WEB])
  • x15 (RadianceCoin [RCE])
  • cryptonight (Bytecoin [BCN], Monero)
  • fresh (FreshCoin)

Implemented, but untested

  • ? keccak (Maxcoin HelixCoin, CryptoMeth, Galleon, 365coin, Slothcoin, BitcointalkCoin)
  • ? hefty1 (Heavycoin)
  • ? quark (Quarkcoin)
  • ? skein (Skeincoin, Myriadcoin)
  • ? shavite3 (INKcoin)
  • ? blake (Blakecoin)

Planned support for

  • scrypt-jane (YaCoin, CopperBars, Pennies, Tickets, etc..)
  • qubit (Qubitcoin, Myriadcoin)
  • groestl (Groestlcoin)

Dependencies

Download

Build

Basic *nix build instructions:

  • ./autogen.sh # only needed if building from git repo
  • ./nomacro.pl # only needed if building on Mac OS X or with Clang
  • ./configure CFLAGS="-march=native"
    • Use -march=native if building for a single machine

  • make

Notes for AIX users:

  • To build a 64-bit binary, export OBJECT_MODE=64
  • GNU-style long options are not supported, but are accessible via configuration file

Basic Windows build instructions, using MinGW:

  • Install MinGW and the MSYS Developer Tool Kit (http://www.mingw.org/)
    • Make sure you have mstcpip.h in MinGW\include
  • If using MinGW-w64, install pthreads-w64
  • Install libcurl devel (http://curl.haxx.se/download.html)
    • Make sure you have libcurl.m4 in MinGW\share\aclocal
    • Make sure you have curl-config in MinGW\bin
  • Install openssl devel (https://www.openssl.org/related/binaries.html)
  • In the MSYS shell, run:
    • ./autogen.sh # only needed if building from git repo
    • LIBCURL="-lcurldll" ./configure CFLAGS="-march=native"
      • Use -march=native if building for a single machine

    • make

Architecture-specific notes:

  • ARM:
    • No runtime CPU detection. The miner can take advantage of some instructions specific to ARMv5E and later processors, but the decision whether to use them is made at compile time, based on compiler-defined macros.
    • To use NEON instructions, add "-mfpu=neon" to CFLAGS.
  • x86:
    • The miner checks for SSE2 instructions support at runtime, and uses them if they are available.
  • x86-64:
    • The miner can take advantage of AVX, AVX2 and XOP instructions, but only if both the CPU and the operating system support them.
      • Linux supports AVX starting from kernel version 2.6.30.
      • FreeBSD supports AVX starting with 9.1-RELEASE.
      • Mac OS X added AVX support in the 10.6.8 update.
      • Windows supports AVX starting from Windows 7 SP1 and Windows Server 2008 R2 SP1.
    • The configure script outputs a warning if the assembler doesn't support some instruction sets. In that case, the miner can still be built, but unavailable optimizations are left off.

Usage instructions

Run "minerd --help" to see options.

Connecting through a proxy

Use the --proxy option.

To use a SOCKS proxy, add a socks4:// or socks5:// prefix to the proxy host
Protocols socks4a and socks5h, allowing remote name resolving, are also available since libcurl 7.18.0.

If no protocol is specified, the proxy is assumed to be a HTTP proxy.
When the --proxy option is not used, the program honors the http_proxy and all_proxy environment variables.

Donations

Donations for the work done in this fork are accepted at

  • MRO: 472haywQKoxFzf7asaQ4XKBc2foAY4ezk8HiN63ifW4iAbJiLnfmJfhHSR9XmVKw2WYPnszJV9MEHj9Z5WMK9VCNHaGLDmJ
  • BTC: 139QWoktddChHsZMWZFxmBva4FM96X2dhE

Credits

CPUMiner-multi was forked from pooler's CPUMiner, and has been developed by Lucas Jones.

  • tpruvot added some features and recent SHA3 based algorythmns
  • Wolf9466 helped with Intel AES-NI support for CryptoNight

License

GPLv2. See COPYING for details.

  • 一 需求: 测试cpu计算性能 二 方法: 1.使用一定规模方阵执行乘法运算,不需要保存结果。 2.根据CPU核数开启线程执行乘法运算 3.事先将线程执行任务放入线程对应的任务容器,然后开启线程,统计时间 4.采用cpu绑定,程序没有加锁,几乎没有系统开销。 三 代码 1.cpu_binding.hpp #ifndef CPU_BINDING_HPP_ #define CPU_BINDING_HP

 相关资料
  • cpuminer 是多线程的使用 CPU 计算的比特币挖矿机。

  • hub.docker.com/miner Introduction Dockerfile to build an CPU Miner for mining Bytecoin or Monero, or any other cryptocurrency that uses the cryptonight algorithm. This Container uses a customized Debi

  • 问题内容: 我仍在寻找解决这个问题的理想方法。总而言之,我正在用Java对电源子系统进行建模,并且需要一个有向无环图(DAG)类型的容器来存储数据。 我在C ++的标准模板库(STL)中找到了我真正需要的东西。它是multiset,它支持为同一键存储多个数据值。我可以清楚地看到如何使用此数据结构来存储电源节点和键及其作为值的上游/下游连接。 我的客户对我用Java编写电源子系统模型有严格的要求,因

  • 问题内容: I’d like to achieve drawing a diagram just like the image attached but I’m having trouble drawing the red vertical rectangle on the right along with putting other objects on top. The biggest con

  • 问题内容: 如果我有一个Guava Multimap,如何根据给定键的值数量对条目进行排序? 例如: 鉴于此,当遍历multiMap时,我将如何使“ bar”条目优先出现(因为“ bar”具有3个值,而“ foo”只有1个值)? 问题答案: 将条目提取到列表中,然后对列表进行排序: 然后遍历条目。 编辑: 如果您实际上想要遍历内部映射()的条目,请执行以下操作:

  • 问题内容: 我升级了httpmime程序包,现在我的字符串不作为UTF-8发送或接收 我想念什么?我曾经构建一个StringBody并在stringbody中设置字符集,但是现在已弃用了它,但似乎不起作用 问题答案: 解决了:)事实证明ContentType现在很重要,我发送的是纯文本,还有一些是JSON文本, 对于纯文本,可以使用: 对于JSON: 这样,字符集也可用于JSON字符串(很奇怪,但