Bitcoin Forum
May 24, 2024, 12:37:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: CK Pool installation guide for Ubuntu - working with Bitcoin core 22.0  (Read 205 times)
edgycorner (OP)
Sr. Member
****
Offline Offline

Activity: 1064
Merit: 382

Hurrah for Karamazov!


View Profile
May 18, 2022, 05:01:47 PM
Last edit: May 21, 2022, 07:09:45 AM by edgycorner
 #1

Hey everyone,

A user created a bounty of $50 to somehow make ckpool run on Ubuntu 18.04, so I got onto it and was able to run it successfully (pic rel: https://i.imgur.com/IyeJA3Z.png)

I am sharing the guide with everyone.
Since the og thread of CK pool has been locked and depreciated, I am creating a new thread.

You can follow it here:
https://github.com/edgycorner/CK-Pool-installation-with-Bitcoin-Core-22.0-with-fixes-on-Ubuntu-

I am pretty confident that it should run with other versions of Ubuntu and >=Bitcoin core 22.0

There's one minor change in the ckpool code, you need to allocate empty string to flags in coinbaseaux response. If you don't then it will cause a runtime error "No flags in coinbaseaux of GBT JSON".
Source:https://github.com/bitcoin/bitcoin/issues/19182#issuecomment-1013989241

You need to make a few changes in src/bitcoin.c before building ckpool(follow Step 10 of the guide)

Feel free to post your errors on this thread.
I am not super talented in C, but I will try my best to solve them for you.

Enjoy!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!