2013年6月

First time to buy stock in my life

长这么大,第一次买股票,各种小心翼翼啊。玩了几天后,确实学到了不少东西,比如说交易相关的英文词汇。还是那句话,股市有风险,入市需谨慎!

how to mining as p2pool method

自从加入挖矿大军后,就不断地尝试各种方法去挖矿,江湖传言,p2pool挖矿是比较难的方法之一,主要在于配置繁杂。下面是我配置p2pool挖矿的步骤,仅供参考。

1.Install three software packages

These are cgminer, bincoin client and p2pool.You can find it on google or github.Just install these follow each steps.

2.Prepare work1

Firstly, sync all block data from internet, when you intalled bitcoin client.This may be spent some hours.A tip, you need have a space disk to store these block data.I recommend you use next command:

bitcoin-qt -datadir=/media/work1/btcblock

The block data will store to btcblock directory in here.

Secondly, configure your bitcoin client as a server.Here, you need to write a config file and put it under btcblock directory.

bitcoin.conf
rpcuser=abc
rpcpassword=123
server=1

Next is restart bitcoin client.

bitcoin-qt -conf=/media/work1/btcblock/bitcoin.conf -datadir=/media/work1/btcblock -server

3.Prepare work2

Thirdly, execute the p2pool software.

python run_p2pool.py -a your_bitcoin_addr abc 123

That bitcoin addr was created by bitcoin client.You must be write correct rpcuse and rpcpasword.The reason is bitcoin doesn't use default directory as work directory to store config file and block data.

When you see three "success" words, congratulates!

4.Use cgminer to mining

I write a config file instead of parameters.

{
"pools" : [
{
"url" : "127.0.0.1:9332",
"user" : "123",
"pass" : "p2pool"
}
]
}

Save it as p2pool.conf and execute next command:

cgminer -G -c p2pool.conf -S /dev/ttyUSB0

Here, i use Icarus as a miner.That user and pass value is which you want to write.It's not important.

最新文章

最近回复

  • Blackrose: 感谢拍砖!嗯,那句话...
  • aa: “Raspberry...
  • Blackrose: 外部只是帮你把芯片启...
  • : 内部时钟比外部的频率...
  • Blackrose: 你这评论比正文更有内容么
  • 7hao: CR+LF ...
  • Blackrose: 可以是你更新软件源后...
  • sxk: 博主,我的系统是ub...
  • Blackrose: 你深得精髓么
  • qihao: 这篇文章的简单总结就...

分类

归档

其它