How To Mine Bitcoins 比特币挖矿
linux 下查看 gpu 的信息: sudo lshw -C display
windows下查看cuda信息:In directory C:\Program Files\NVIDIA Corporation\NVSMI there is an utility nvidia-smi.exe it can query lots of different stats about your GPUs. To list all GPUs in your system run it with -L option.
比较有名的矿池:币网的矿池、比特币中国的矿池、鱼池F2Pool。
如果你不知道哪种货币最适合开采,有一个名为“Multipool”的矿池,它会在最赚钱的加密货币之间自动切换。Multipool更新每隔30分钟,随着时间的推移,你会看到,账户在多个币种分配过程中平衡增长。当然,如果你需要,它也会让你选择,仅挖一种货币。
其他需要考虑的因素是,矿池将从您挖掘的币中,收取多少费用。典型值的范围从1%到10%。然而,也有一些矿池不扣除任何费用(译者:例如GHash.io)。
Mining bitcoins – a process that helps manage bitcoin transactions as well as create new “wealth” – is the new Beanie Babies. Luckily for us, however, bitcoins seem to be going up in value and should maintain their value over time, unlike your mint condition Tiny the stuffed Chihuahua.
But how do you get bitcoins? You can begin by buying them outright, but the market is currently wild. At $188 per coin, the direction of the bitcoin is anyone’s guess right now and, unlike equities, these things don’t split. In short, you should probably mine. But what is bitcoin mining?
Think of it as work done by groups of people to find large prime numbers or trying keys to decrypt a file. You can read a lot more about it here but just understand that for every block mined you get 25 coins or, at current rates, $4,722.25. Currently a single bitcoin is valued at $188, an alarming result that is probably caused by money movements related to Cyprus and a general bubble-like excitement over the platform in general. In fact, many wager that the DDOS attacks on many bitcoin-related services are direct action by hackers to inject instability in order to reduce the price.
As it stands, mining solo is very nearly deprecated. The process of finding blocks is now so popular and the difficulty of finding a block so high that it could take over three years to generate any coins. While you could simply set a machine aside and have it run the algorithms endlessly, the energy cost and equipment deprecation will eventually cost more than the actual bitcoins are worth.
Pooled mining, however, is far more lucrative. Using a service like “Slush’s pool” (more on that later) you can split the work among a ground of people. Using this equation:
While this is simplified, it is basically how the system works. You work for shares in a block and when complete you get a percentage of the block based on the number of workers alongside you, less fees. Using this method, I have been able to raise about $1.50 over the weekend by running a dormant PC. The astute among you will note that I probably used twice that amount of electricity.
Being a neophile, I’m surprised it took me so long to start mining. My buddy Tom explained how to set up a pooled mining account so I thought it would be interesting to share the instructions.
1. Get a wallet. You can either store your wallet locally or store it online. Coinbase.com is an online wallet that is surprisingly simple to set up. Wallets require you to use or download a fairly large blockchain file – about 6GB – so downloading and updating a local wallet may be a non-starter. Like all wealth storage mediums, keeping your bitcoins “local” is probably a better idea than trusting a web service, but that’s a matter of private preference. There is no preferred wallet type and there are obvious trade-offs to both. Privacy advocates would probably say a local wallet is best.
You can download a local wallet here but make sure you keep a copy of your data backed up.
Once you’ve created a wallet, you get an address like this: 1BEkUGADFbrEShQb9Xr4pKPtM8jAyiNQsJ. This, without the period, is a direct way to send bitcoins to your wallet. Make a note of your address. In Coinbase, the wallet address found under linked accounts.

2. Join a pool. To mine in a pool you have to work with a group of other miners on available blocks. The most popular is Slush’s Pool found here. You can also try guilds like BTC Guild as well as a number of other options. Each of the pools is characterized mostly by the fees they charge per block – 2% for Slush’s pool, for example – and the number of users. Pools with fewer users could also have a slower discovery time but pools with many users usually result in smaller payments.
How can you be sure the pool owner doesn’t steal all your bitcoins? You can’t. However, as one pool owner, Slush, notes:
For simplicity’s sake, I’m using Slush’s Pool and have created three workers. First, create a pool login. Then add workers. The workers are sub-accounts with their own passwords and are usually identified by [yourlogin].[workername]. I have three workers running, currently – one on my iMac and two on my old PC.
You must create workers to mine. The instructions are very
straightforward for most services so don’t become overwhelmed. Like any
online club, you can dig deeply into the subculture surround bitcoin as
you gain experience. I like to think of it as a financial MMORPG.
Also be sure to enter your wallet address into the pool information. This will ensure you get your bitcoins.
3. Get a miner. There are a number of mining options
for multiple platforms although OSX users may find themselves in a bit
of a pickle. Miners use spare GPU cycles to power the mining operation,
much like services like SETI@Home uses spare cycles for finding
intelligent life. Miners, on the other hand, use these cycles to help
handle peer-to-peer processes associated with bitcoins. Thus by doing
“work” you are maintaining the network as well.
GUIMiner is the
simplest solution for Windows users as it allows you to create miners
using almost all standard graphics cards. You can download it here. 50Miner is also a popular solution. Both require you to enter your worker info and pool and they’ll start mining.
Linux users can run miners like CGMiner. An excellent guide to installing a miner on Ubuntu is available here. (也可以试试 bitminter 和 GUIminer, bitminter it has an easy to use Java app for mining or GUIminer, both are much easier to use.)
OS X users can use DiabloMiner,
a two-year old command-line program that will mine using OpenCL. Sadly,
it uses deprecated calls to Bitcoin and is quite a bit slower. As a
result, you need to run your own proxy, Stratum,
that allows Diablo to connect with services like Slush’s pool. Both of
these programs usually run without issue on OS X although you may need
to install OpenCL for OSX.
To mine I’ve created a script that I run in Terminal that simply runs
the proxy in the background and then connects Diablo. Note the last two
arguments are necessary for Mountain Lion.
./DiabloMiner-OSX.sh -u WORKERNAME -p WORKERPASSWORD -o localhost -r 8332 -w 64 -na
RPCMiner
is far easier to run – you simply click an icon and enter some data –
and both have very rudimentary, text-based interfaces. Running Diablo on
my iMac has not had much effect on application performance under OS X
although it does slow down my Windows 8 machine considerably.
4. Keep your mind on your money. Bitcoins are
baffling in that they are wildly simple to use and mine. Speculators,
then, would probably be able to throw hundreds of machines at the
problem and gather bitcoins like raindrops, right? Wrong. As more
bitcoins are found, they become more difficult to find. This profitability calculator
will help you understand what you’re up against but understand that
this isn’t a sure thing. I’ve run my systems for a weekend and seen a
mere $1.50 – enough for a coke – but other users may have improved
hardware and methods to succeed. In short, if it costs more to run your
hardware than you gain in bitcoins, you’re probably doing something
wrong.
Good luck in your journey and enjoy your first foray into this wild and wooly world.
Download the software
Depending on which equipment you choose, you will need to run software to make use of it. Typically when using GPUs and FPGAs, you will need a host computer running two things: the standard bitcoin client, and the mining software.
Standard bitcoin client
This softwareconnects your computer to the network and enables it to interact with the bitcoin clients, forwarding transactions and keeping track of the block chain. It will take some time for it to download the entire bitcoin block chain so that it can begin. The bitcoin client effectively relays information between your miner and the bitcoin network.
Bitcoin mining software
The bitcoin mining software is what instructs the hardware to do the hard work, passing through transaction blocks for it to solve. There are a variety of these available, depending on your operating system. They are available for Windows, Mac OS X, and others.
You may well need mining software for your ASIC miner, too, although some newer models promise to ship with everything pre-configured, including a bitcoin address, so that all you need to do is plug it in the wall.
One smart developer even produced a mining operating system designed to run on the Raspberry Pi, a low-cost credit card-sized Linux computer designed to consume very small amounts of power. This could be used to power a USB-connected ASIC miner.
Join a pool
Now, you're all set up. Good for you. I bet you thought you were going to be mining more bitcoins than the Federal Reserve prints dollars, didn't you? Sadly not. You will stand little chance of success mining bitcoins unless you work with other people. You can find out more about that in our upcoming guide on how to join a mining pool.
Join a Bitcoin Mining Pool
While it is possible to mine for Bitcoins on your own it is not something I would recommend doing. Solo mining requires an incredible amount of processing power which most people don't have access to.
Pooled mining allows miners to group up to solve blocks and earn Bitcoins together. Each miner that joins the pool earns shares for the work they contribute.
Each time the pool finds a block (currently worth 25 BTC) the Bitcoins earned are divided among the users in the pool based on how many shares they earned in the particular round.
There are many different mining pools you can join, each pool has their on pros and cons. As you learn more about Bitcoins you will be able to make a more educated decision of which pool is best for you.
I recommend joining the Eclipse Mining Consortium because it has some great features and is easy to use.
How To Mine Bitcoins 比特币挖矿的更多相关文章
- 莱特币ltc在linux下的多种挖矿方案详解
莱特币ltc在linux下的多种挖矿方案详解 4.0.1 Nvidia显卡Linux驱动Nvidia全部驱动:http://www.nvidia.cn/Download/index.aspx?lang ...
- 比特币 Bitcoin 是什么,我勒个去,哈耶克果然超前——货币的非国有化,容我思量一下【转载+整理】
原文地址 比特币矿业史(上):故事的开始,CPU 时代 比特币矿业史(中):群众的觉醒 ,GPU 时代 比特币矿业史(下):巨头的诞生 ,ASIC 时代 本文内容 引子 0 序 1 故事的开始 : C ...
- 挖矿程序minerd入侵分析和解决办法
现在比特币的价格涨得很高,所以现在有黑客专门制造挖矿木马来诱导网友,从而达到控制电脑上的显卡来挖掘比特币.为什么木马要控制电脑中的显卡呢?因为显卡挖掘虚拟货币比特币的效率远比 CPU 要高.如果你是一 ...
- 什么是比特币(bitcoin)
一.什么是比特币? 比特币是一种由开源的P2P软件产生的电子货币,是一种网络虚拟货币.比特币使用遍布整个P2P网络节点的分布式数据库来记录货币的交易,并使用密码学的设计来确保货币流通各个环节安全性.比 ...
- 为什么用GPU挖比特币?
http://www.leiphone.com/gpubitcoin.html 呵呵,这么红火的东东,不了解就长不了见识. 转一下两个东东,这挖矿机天天在算什么内容,还有,当前为什么GPU比CPU有优 ...
- [C#]使用 C# 编写自己的区块链挖矿算法
[C#] 使用 C# 编写自己区块链的挖矿算法 文章原文来自:Code your own blockchain mining algorithm in Go! ,原始文章通过 Go 语言来实现的,这里 ...
- 一、Bitcoin比特币与BlockChain区块链技术
一.比特币历史 2008 年 10 月 31 日,一个网名叫中本聪(英文翻译过来滴)的家伙发布比特币唯一的白皮书:<Bitcoin:A Peer-to-PeerElectronic Cash S ...
- Bitcoin挖矿
目录 为什么要挖矿? 比特币挖矿 为什么要挖矿? 增加恶意行为的成本 增加记账权力,获取相应的奖励 比特币挖矿 每开采210000个区块,挖矿奖励减半 2009年1月-2012年11月,奖励50BTC ...
- 国内比特币bitcoin交易平台
火币网: www.huobi.com 比特币中国: www.btcchina.com okcoin: www.okcoin.cn 中国比特币: www.chbtc.com 比特币交易 ...
随机推荐
- MathType在字母上加虚线的方法
在数学中根据不同的需要,会对其中的公式或变量字母作不同的标记.这些标记在用MathType编辑数学公式时同样也要准确地编辑出来,例如在字母上方加虚线.这种数学样式在使用时也是根据自己的数学问题来使用的 ...
- delegate、Func、Action几个常用手法
委托是我们C#开发当中使用频率非常的高一个手段,好处我就不列举了. 委托早期版本中只有delegate,后期版本有了Func(有返回值)和Action(无返回值)两委托方法. 我这里将列举它们三个常用 ...
- 分布式缓存设计:一致性Hash算法
缓存作为数据库前的一道屏障,它的可用性与缓存命中率都会直接影响到数据库,所以除了配置主从保证高可用之外还需要设计分布式缓存来扩充缓存的容量,将数据分布在多台机器上如果有一台不可用了对整体影响也比较小. ...
- Java精选笔记_国际化
国际化 什么是国际化 指软件在开发时就应该具备支持多种语言和地区的功能,当应对不同国家和地区的用户访问,针对不同国家和地区的用户,提供相应的.符合来访者阅读习惯的页面和数据. 由于国际化interna ...
- ios - UILabel全属性
label是大家在开发过程中使用频率很高的一个用来显示文本信息的控件,但是她所有的属性你都了解吗,下面让我们来 重新认识一下label! 1.创建 CGRect rect = CGRectMake(, ...
- python2.0_day22_web聊天室二
上节内容已经实现了客户端使用长轮询的方式获取消息的功能.但是还没有展现到前端.本节内容将实现1.展现消息到前端窗口.2.客户端之间发送图片和文件.3.文件上传时显示进度条 下面我们来实现上面3个功能. ...
- 淘宝cnpm(可替代nodejs默认npm)
淘宝 NPM 镜像 这是一个完整 npmjs.org 镜像,你可以用此代替官方版本(只读),同步频率目前为 10分钟 一次以保证尽量与官方服务同步. https://npm.taobao.org/
- thinkjs——redis
前言: 后台某些操作的时候会用到缓存:比如用户登录或者校验次数的情景.而本次遇见的状况就是在点击“推送”按钮的时候,需要判断缓存中是否有其值,并将其次数限制为固定值. 过程: 刚听到此需求的时候,首先 ...
- django restframework 教程之Serialization(序列化)
介绍 本教程将会通过创建一个简单的粘贴代码项目,突出显示WebAPI,过程中,会介绍组成REST框架的各种组件,让你全面了解如何配合使用. 环境设置 建议使用virtualenv建立新的虚拟环境,确保 ...
- java三方---->dom4j解析xml数据
Dom4j是一个易用的.开源的库,用于XML,XPath和XSLT.它应用于Java平台,采用了Java集合框架并完全支持DOM,SAX和JAXP.今天我们就开始Dom4j的学习. Dom4j的使用 ...