Bitcoin – Ufasoft CPU mining

Не так давно я писал про добычу биткоинов с помощью видеокарт Nvidia. Хотя использование процессоров для майнинга гораздо менее эффективно, тем не менее это возможно, и на некоторых процессорах можно получить мощность до 20 MH/s. Компанией Ufasoft разработан майнер, способный задействовать вычислительную мощность вашего процессора для добычи биткоинов с весьма высокой эффективностью (1 хеш за 1000 циклов).

Инструкция под катом. Кстати, не откажусь от вознаграждения на Bitcoin-кошелек 1MZyTawkrLNPmGL41idBrbBn2VNVivAhmB

Последнюю информацию об этом майнере можно получить в топике на форуме bitcoin.org. В этой же записи я покажу, как можно собрать майнер из исходников, на примере дистрибутива Gentoo. Основные шаги повторяются для любого дистрибутива Linux.

1. Скачиваем исходники майнера – http://ufasoft.com/

2. Распаковываем:

$ tar xf ufasoft_bitcoin-miner-0.10.tar.lzma

3. Конфигурируем исходники:

$ cd ufasoft_bitcoin-miner-0.10
$ ./configure

Скорее всего, каких-то компонентов в системе будет не хватать, поэтому их нужно будет доустановить.

4. К примеру:

checking for jwasm... no
configure: error: Cannot find jwasm.

Тогда этот компонент (ассемблер jwasm) нужно доустановить:

$ wget http://www.japheth.de/Download/JWasm/JWasm206bl.zip
$ unzip JWasm206bl.zip -d JWasm206bl
$ sudo cp JWasm206bl/jwasm /usr/bin
$ sudo chmod +x /usr/bin/jwasm

и продолжаем конфигурирование дальше: ./configure

5. Далее – скорее всего у вас GCC версии ниже 4.5, а здесь нужно именно 4.5:

checking for gcc 4.5... configure: error: requires gcc 4.5 or later

Для Gentoo делаем следующее:

$ sudo emerge sys-devel/gcc

Для Ubuntu:

$ sudo apt-get install gcc-4.5

После довольно длительного процесса у вас на системе окажется установленной новая версия Gnu Compiler Collection 4.5. Теперь нужно сообщить скрипту configure, где именно находятся его бинарники. К примеру, в Gentoo они установились в /usr/bin/gcc-4.5.2 и /usr/bin/g++-4.5.2. Значит, нужно при конфигурировании указать следующее:

$ CC=gcc-4.5.2 CXX=g++-4.5.2 ./configure

Если ошибок нет и файл Makefile создался, то значит все отлично! Идем дальше.

6. Собственно сборка программы из исходных кодов:

$ make

7. После сборки можно запускать майнера, к примеру, присоединить его к пулу deepbit.net:

$ ./bitcoin-miner -a 5 -o http://pit.deepbit.net:8332 -u POOLMINER -p POOLPASSWORD -v -t 2

Здесь я указал параметр -t 2, что соответствует количеству запускаемых потоков (должно быть меньше или равно числу ядер процессора).

Вот что выдает Ufasoft CPU miner на моем процессоре Pentium Dual-Core CPU E5400 @ 2.70GHz:

bitcoin-miner 0.10 Copyright (c) 2011 Ufasoft http://ufasoft.com/open/bitcoin
Mining for http://pit.deepbit.net:8332
2 threads Using SSE2
Switching to http://f1.deepbit.net:8332
6.07 MHash/s

Похожие статьи

29 thoughts on “Bitcoin – Ufasoft CPU mining”

  1. Увы, не подходит для 64-битных систем. В этом руководстве сказано, как скомпилировать 32-битный ufasoft miner в 64-битной системе: http://forum.bitcoin.org/index.php?topic=8180.0 . Просто ключа -m32 недостаточно, нужно временно заменить оди файл в /usr/include на время компилирования. <== в этом собственно и весь смысл статьи по ссылке, но дополнительно там компилируют GCC 4.5 с зависимостями.

  2. Сам пользуюсь minerd, устанавливается просто (configure, make, make install), поддерживает алготирм перебора sse2_64. Есть ещё cgminer, котоырй умеет задействовать sse4_64 (у меня не работает) и CPU+GPU одновременно. У меня глючит, пока не использую. Делаю по-старому: два воркера, один для CPU, другой для GPU.

  3. This piece of writing will help the internet people for creating new weblog or even a blog
    from start to end.

  4. I am regular visitor, how are you everybody? This paragraph posted at this web
    page is truly good.

  5. Quality content is the crucial to invite the visitors to go to
    see the site, that’s what this website is providing.

  6. always i used to read smaller articles or reviews which also clear their motive, and that is also happening with this post which I am reading at this time.

  7. My developer is trying to persuade me to move
    to .net from PHP. I have always disliked the idea because
    of the expenses. But he’s tryiong none the less.
    I’ve been using WordPress on numerous websites for about a year and am nervous
    about switching to another platform. I have heard great things about blogengine.net.
    Is there a way I can import all my wordpress posts into
    it? Any kind of help would be greatly appreciated!

  8. It is not my first time to pay a quick visit this site, i am visiting this
    website dailly and get pleasant information from
    here every day.

  9. I know this website presents quality depending articles and extra data,
    is there any other website which gives such things
    in quality?

  10. I’m now not certain where you are getting your info, however
    good topic. I must spend some time learning much
    more or figuring out more. Thank you for magnificent info I used to be looking for this information for
    my mission.

  11. Simply wish to say your article is as astounding.
    The clearness to your publish is simply nice and i can assume you’re an expert in this subject.
    Fine along with your permission allow me to grasp your RSS feed to stay updated
    with imminent post. Thanks a million and please keep up the
    rewarding work.

  12. Very shortly this site will be famous among all blogging and site-building viewers, due to it’s nice articles

  13. Hello everyone, it’s my first pay a visit at this web page,
    and piece of writing is genuinely fruitful in favor of me, keep
    up posting such articles or reviews.

  14. Hello Dear, are you in fact visiting this web page on a regular basis, if so afterward you will definitely obtain nice experience.

  15. My coder is trying to persuade me to move to .net from PHP.
    I have always disliked the idea because of the costs. But he’s tryiong none the less.
    I’ve been using Movable-type on several websites for about a year and am
    concerned about switching to another platform. I have heard great things about blogengine.net.

    Is there a way I can transfer all my wordpress content into
    it? Any kind of help would be greatly appreciated!

  16. Good day! This post couldn’t be written any better! Reading through this post reminds me of my previous room
    mate! He always kept chatting about this. I will forward
    this page to him. Fairly certain he will have a good read.
    Thanks for sharing!

  17. Wow, awesome weblog structure! How long have
    you ever been blogging for? you make blogging look easy.
    The whole glance of your web site is excellent, let alone the content material!

  18. Your style is so unique compared to other folks I’ve
    read stuff from. Thanks for posting when you’ve got the opportunity, Guess I’ll just book mark this site.

  19. I enjoy looking through an article that can make people think.

    Also, thank you for permitting me to comment!

  20. You can definitely see your enthusiasm within the
    work you write. The world hopes for more passionate writers like
    you who aren’t afraid to mention how they believe. All the
    time go after your heart.

  21. If you want to grow your knowledge only keep visiting this site and be updated with the latest news update posted here.

  22. It’s hard to find experienced people on this subject, however, you sound like you
    know what you’re talking about! Thanks

  23. Hi there all, here every person is sharing these experience, therefore it’s good to read this blog, and I used
    to pay a visit this blog every day.

  24. Oi, você está usando o wordpress como plataforma do seu blog?
    Eu sou novo no mundo do blog, mas estou pensando em
    criar o meu próprio. Você precisou aprender alguma código
    para fazer seu próprio blog? Qualquer ajuda seria muito útil!

  25. Every weekend i used to go to see this web page,
    as i want enjoyment, since this this web page conations actually good funny data too.

Leave a Reply

Your email address will not be published. Required fields are marked *