Bitcoin Forum
May 05, 2024, 10:39:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: coinbaseaux and ckpool  (Read 261 times)
fcojperez (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 07, 2021, 10:34:34 PM
Last edit: March 07, 2021, 11:23:52 PM by frodocooper
 #1

Hi. I am pretty new in all this stuff so as an exercise I am deploying the ckpool in one of my servers using the source code shared here, https://bitbucket.org/ckolivas/ckpool/src/master/.

The issue that I have is that I am getting this error below.

Code:
[2021-03-07 23:14:35.512] JSON failed to decode GBT 0000000000000000000d044b4decb68ed01c0ad5f135c15cc7a418e88b43713d 0000000000000000000d1f8c0000000000000000000000000000000000000000 536870912 1615155275 170d1f8c (null) with errno 11: Resource temporarily unavailable

So far I am aware, the issue is due to coinbaseaux is empty as it is an optional value. So I wonder how this pool is working, solo.ckpool.org:3333.

is that pool using other different code? or should I setup something before executing ckpool?

Please any help I will apreciate. Thanks.

Regards,
FP.
1714905546
Hero Member
*
Offline Offline

Posts: 1714905546

View Profile Personal Message (Offline)

Ignore
1714905546
Reply with quote  #2

1714905546
Report to moderator
1714905546
Hero Member
*
Offline Offline

Posts: 1714905546

View Profile Personal Message (Offline)

Ignore
1714905546
Reply with quote  #2

1714905546
Report to moderator
1714905546
Hero Member
*
Offline Offline

Posts: 1714905546

View Profile Personal Message (Offline)

Ignore
1714905546
Reply with quote  #2

1714905546
Report to moderator
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714905546
Hero Member
*
Offline Offline

Posts: 1714905546

View Profile Personal Message (Offline)

Ignore
1714905546
Reply with quote  #2

1714905546
Report to moderator
kano
Legendary
*
Offline Offline

Activity: 4494
Merit: 1805


Linux since 1997 RedHat 4


View Profile
March 16, 2021, 01:32:39 AM
 #2

It's using an old bitcoin version - yeah you have to pay him to fix his own pool Smiley

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
100knot2dae
Member
**
Offline Offline

Activity: 100
Merit: 29


View Profile
March 16, 2021, 07:11:23 PM
 #3

I wondered about that too. He's probably got a good reason not to upgrade, since fixing just this would be easy.

Only ck can tell his intentions. Smiley
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3626
Merit: 2531


Evil beware: We have waffles!


View Profile
March 16, 2021, 07:36:40 PM
Last edit: March 16, 2021, 07:53:11 PM by NotFuzzyWarm
 #4

Quote
He's probably got a good reason not to upgrade, since fixing just this would be easy.
The problem is that -ck just does not care about it anymore.

You have to remember that -ck is not a professional programmer: He is a medical doctor, specifically an anesthesiologist so bitcoin stuff is mainly a hobby for him and as a result he stopped updating/fixing cgminer & ckpool quite a while ago... The one other main coder for them was Kano who IS a professional programmer and several years ago due to irreconcilable differences over proper coding techniques and testing of said code -ck booted Kano from the gits Roll Eyes

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
100knot2dae
Member
**
Offline Offline

Activity: 100
Merit: 29


View Profile
March 16, 2021, 08:13:39 PM
Last edit: March 20, 2021, 11:05:11 AM by frodocooper
 #5

The problem is that -ck just does not care about it anymore.

Maybe it's really as simple as that.

For the rest, I tend to disagree, knowing his work also on the linux kernel. Unless you define "professional" only as getting paid for what one is doing. For that part, I agree. Wink
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3626
Merit: 2531


Evil beware: We have waffles!


View Profile
March 16, 2021, 08:38:51 PM
 #6

Quote
Unless you define "professional" only as getting paid for what one is doing.
I define Professional as one who's been formally trained in what they do and made a career out of it. Even more to the point, it is someone who cares about the quality of their work and if there is a problem - they fix it.

Given that, he is programming hobbyist. Not without some talent, but nonetheless still just a hobbyist.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
100knot2dae
Member
**
Offline Offline

Activity: 100
Merit: 29


View Profile
March 16, 2021, 11:23:31 PM
Merited by mikeywith (1)
 #7

@fcojperez: coming back to the original question:

Best use bitcoind 0.19 then if you want to run your own ckpool instance. Or amend the code to make the coinbaseaux flags in the response optional, similar to what I did for cgminer here: https://github.com/golden-guy/cgminer/commit/168a1bdfedb1408a690f5387e04e3c9af7842c5e

This should work just as well for the ckpool code.
kano
Legendary
*
Offline Offline

Activity: 4494
Merit: 1805


Linux since 1997 RedHat 4


View Profile
March 20, 2021, 11:29:14 AM
 #8

@fcojperez: coming back to the original question:

Best use bitcoind 0.19 then if you want to run your own ckpool instance. Or amend the code to make the coinbaseaux flags in the response optional, similar to what I did for cgminer here: https://github.com/golden-guy/cgminer/commit/168a1bdfedb1408a690f5387e04e3c9af7842c5e

This should work just as well for the ckpool code.
So have you tested this actually works with real blocks - or is it an untested change?

That's happened a number of times in the past with ck not testing code fully, and they've lost blocks due to it.
Nowadays, you're talking about 1/3million dollars lost if it doesn't work 100%

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
100knot2dae
Member
**
Offline Offline

Activity: 100
Merit: 29


View Profile
March 20, 2021, 12:11:42 PM
 #9

Feel free to test it. Smiley Or maybe you could just as well share your solution?

It is a suggestion after all, as indicated by *should work*. But when looking at the code, it's very likely to work with ckpool just as well.
As with every code under the GPL, no liability assumed and to be used at everyone's own risk.

It works for cgminer and was confirmed by at least one another user here: https://bitcointalk.org/index.php?topic=5053833.msg56477759#msg56477759
kano
Legendary
*
Offline Offline

Activity: 4494
Merit: 1805


Linux since 1997 RedHat 4


View Profile
March 20, 2021, 10:47:33 PM
 #10

...
It works for cgminer and was confirmed by at least one another user here: https://bitcointalk.org/index.php?topic=5053833.msg56477759#msg56477759
Confirmed? Oh he found a block with a gekko? Wow?

https://bitcointalk.org/index.php?topic=5053833.msg56614055#msg56614055

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
100knot2dae
Member
**
Offline Offline

Activity: 100
Merit: 29


View Profile
March 21, 2021, 09:32:06 AM
 #11

Wow, so this is one of those said moments when people are getting struck by your professionalism. Feeling almost proud to achieve this honour in such a short time here.  Grin
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3626
Merit: 2531


Evil beware: We have waffles!


View Profile
March 21, 2021, 04:31:51 PM
 #12

Wow, so this is one of those said moments when people are getting struck by your professionalism. Feeling almost proud to achieve this honour in such a short time here.  Grin
Do not forget that mining is a Financial endeavor and software/hardware MUST be properly vetted to be sure it works properly. A decent developer will do that by running it on their own network before releasing it to the world.

One does not just write code, see that it does not crash and then announce "it works!" You the developer should provide proof and NOT put others at risk by making them be testing guinea pigs.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
100knot2dae
Member
**
Offline Offline

Activity: 100
Merit: 29


View Profile
March 21, 2021, 09:15:56 PM
Last edit: March 21, 2021, 11:32:49 PM by frodocooper
Merited by citb0in (1)
 #13

Now this is getting bizarre  Shocked

The plain necessity of this simple change has been introduced by this upstream commit: https://github.com/bitcoin/bitcoin/commit/e9a27cf338dc618b8ecab8984abc54d588de8a05

How to verify? Similarly simple:

Does it mine with it? -> Yes
Does it mine without? -> No

Regarding the scope of this very change, no further verification is needed!

I won't discuss this any further. Anyone who feels the need for it, shall take it, and others shall just leave it. That's the beauty of open source.
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!