Bitcoin Forum
April 26, 2024, 06:44:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Delete this please  (Read 412 times)
KitKatZ (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 99
Merit: 4


View Profile
May 19, 2022, 03:18:55 PM
 #21



So the miner's address receives 98% of the rewards, and the 2% goes to the pool.

You can see this in the source code itself as I mentioned before:

https://bitbucket.org/ckolivas/ckpool-solo/src/master/src/stratifier.c#lines-623


 

Thank you again for your help. Have another question if you don't mind answering?

Code:
if (ckp->donvalid) {
d64 = g64 / 200; // 0.5% donation
g64 -= d64; // To guarantee integers add up to the original coinbasevalue
wb->coinb2bin[wb->coinb2len++] = 2 + wb->insert_witness;
In this code example 200 equals 0.5%? How does that work? if it was 50% to donation address what would be the d64 = g64 / Huh; // 50% donation value? What type of math is this

shhpool.com
“There is nothing impossible to they who will try.”
— Alexander the Great
1714113897
Hero Member
*
Offline Offline

Posts: 1714113897

View Profile Personal Message (Offline)

Ignore
1714113897
Reply with quote  #2

1714113897
Report to moderator
1714113897
Hero Member
*
Offline Offline

Posts: 1714113897

View Profile Personal Message (Offline)

Ignore
1714113897
Reply with quote  #2

1714113897
Report to moderator
1714113897
Hero Member
*
Offline Offline

Posts: 1714113897

View Profile Personal Message (Offline)

Ignore
1714113897
Reply with quote  #2

1714113897
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
nullama
Hero Member
*****
Offline Offline

Activity: 966
Merit: 956



View Profile
May 19, 2022, 04:13:26 PM
 #22

Thank you again for your help. Have another question if you don't mind answering?

Code:
if (ckp->donvalid) {
d64 = g64 / 200; // 0.5% donation
g64 -= d64; // To guarantee integers add up to the original coinbasevalue
wb->coinb2bin[wb->coinb2len++] = 2 + wb->insert_witness;
In this code example 200 equals 0.5%? How does that work? if it was 50% to donation address what would be the d64 = g64 / Huh; // 50% donation value? What type of math is this

That's out of scope for this thread.

You can ask for that in your bounty: https://bitcointalk.org/index.php?topic=5398809.msg60142954

~snip~
If I was able to replicate ck pool and see the full scope of how it works . Sure  I would retract my suspicions
~snip~

Since now you know how the 2% fee works I think it's time to do that.

███████████████████████████████
███████████████████████████████
█████████
▀▀▀▀▀█▀█▀▀▀▀▀█████████
███
▄▀▀▀   ▄▄▄▄   ▄▄▄▄   ▀▀▀▄███
███████
▀▀▀████▌ ▐████▀▀▀███████
█████
███▀█▀██▌ ▐██▀█▀████████
████
███▀▄▀▄███▌ ▐███▄▀▄▀███████
█████
██▄██▄██   ██▄██▄███████
███████
▄▄▄████   ████▄▄▄███████
██████████
▀▀▀▀   ▀▀▀▀██████████
██████████
▄▄▄▄▄▄▄▄▄▄▄██████████
███████████████████████████████
███████████████████████████████
█▀▀▀











█▄▄▄
#1 RATED CRYPTO
CASINO IN THE WORLD
██ ██ ██ ██ █Trustpilot
▀▀▀█











▄▄▄█
▄█████████████████████████████
██████████████████▀▀█████▀▀████
█████████████████▀█████████▀███
██████████████████████████████
███████████████████████████▄███
█████████████████████████▄▄████
███████████████████████████████
█████████████░░░███████████████
███████████░░░█████████████████
█████████░░████████████████████
█████░░░██████████████████████
███░░█████████████████████████
▀░░░█████████████████████████▀
.
SIGN UP & INSTANTLY
RECEIVE BONUS

[ NO DEPOSIT REQUIRED ]
█▀▀▀











█▄▄▄
▀▀▀█











▄▄▄█
willi9974
Legendary
*
Offline Offline

Activity: 3416
Merit: 2654


Escrow Service


View Profile
May 19, 2022, 07:29:50 PM
 #23

nice and slowly I can only say. please don't feed the troll.
@KitKatZ, WhatsApp up with you.
CK and the solo pool has 100% our trust, that is no question, and do not waste our time please.

@all other, do not feed the troll  Roll Eyes


I am a troll for asking simple questions in search of knowledge and understanding ? Nice. Thanks . All this could have been avoided if my post was not deleted by Con Kolivas in the CK pool thread. He answers many no brainer type questions in the CK pool thread but could not take the 5 seconds to reply to my very simple question. Classic case of lack of communication led us here. Do not try to gas light me with this. The error was not mine here. People come to this forum for communication, knowledge and understanding. If developers fails to communicate to simple queries. We end up in this situation. Deleting questions from main threads do not make the longing for the answer to disappear. Just brings the question to another thread with a little added negative overtones from someone being frustrated.
Asking questions is one thing, but accusing someone of something that doesn't run quite the way it should and then making insinuations is not the way to go about it.

You can also ask questions neutrally and if you don't understand something, ask again and don't make silly comments from the side.

the most of all user in this forum will help a lot and specaly new member like you, but for you to think about --> "the sound makes the music" or "The forest gets out what we put in" (deutsche Sprichwort: "Der Ton macht die Musik" oder "Wie man in den Wald hinein ruft so schallt es wieder raus"

peace
Willi

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3612
Merit: 2506


Evil beware: We have waffles!


View Profile
May 19, 2022, 09:45:42 PM
Last edit: May 20, 2022, 07:37:52 PM by NotFuzzyWarm
Merited by DaveF (2), willi9974 (1), nullama (1)
 #24

Odds are -ck deleted it from his pool thread because:
a) your post had nothing to do with the solo pool itself that he runs and -ck really wants to have nothing more to do with supporting the publicly available ckpool code. Hell, last year ck was considering closing the solo pool... It took some fools folks donating to him to pay for the servers that made him keep it open. Turns out it was good that he took them up on the offer considering he made a nice bit of coin off of his 2% cut of the several blocks the folks in the pool found since then... As he posted in the pool thread the other day it was more than enough to pay for the next year of running the pool Wink

b) Since he locked the ckpool software thread (and his git for it) long ago you should have opened a new topic in the Mining Software area - not the pools area.

That said, the ckpool software is not something that you just download, install, and run. There's good reason that the folks behind Laurentia pool paid -ck a hefty consultant fee to set it up for their project.

There are a lot of tweaks (settings) that the operator must do to even be able to run it some of which are not pre-coded - you have to know how/what to edit and/or add code to suit your needs. Um, things like having the block payout automatically sent to the main recipient be it a solo miner or a pool wallet for distribution to the pool members + a % of total rewards that you set to the pool operator wallet. That starts the history of newly generated coins with a perfectly clear record of where the new coins came from and were they were 1st sent to start their life as part of the BTC blockchain.
BTW: that initial identification of the 'parents' the coins went to is an entirely different thing vs the diversion of hash rate that several hacked miner firmwares use to enforce the fee for using their hacked (which by being closed source, violates the cgminer GPL) firmware.

Odds are the various readme files cover the bulk of you have to do.

- 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
mikeywith
Legendary
*
Offline Offline

Activity: 2212
Merit: 6359


be constructive or S.T.F.U


View Profile
May 20, 2022, 03:28:17 AM
Merited by NotFuzzyWarm (1)
 #25

Code:
if (ckp->donvalid) {
d64 = g64 / 200; // 0.5% donation
g64 -= d64; // To guarantee integers add up to the original coinbasevalue
wb->coinb2bin[wb->coinb2len++] = 2 + wb->insert_witness;
In this code example 200 equals 0.5%? How does that work? if it was 50% to donation address what would be the d64 = g64 / Huh; // 50% donation value? What type of math is this

Well apparently g64 is the coinbasevalue "which is maximum allowable input to coinbase transaction" this is returned by getblocktemplate and it's not a constant value and thus I don't think dividing it by 200 results in 0.5%, maybe it should be *.0005, I don't know, it's going to take a lot of digging into the code to figure that out, which should give you more proof that the source code isn't a plug and play, it's a functioning code, maybe, but for it to be running perfectly and not making any mistakes, it's going to take a lot of experience and work.

As for mining to a solo pool without being able to verify your hashrate isn't being stolen, it's really a matter of trust, which is why we the fools folks paid for cksolo server, I mean it's a pool that found over 200 blocks and paid all of them, ck is a trustworthy community member, there was no safer/better pool, even Kano's pool wasn't online by then.

You are right that this is an added risk, but what other choice do you have? solo mine to your own node that runs on your old PC? there is a lot more risk involved in that approach than trusting someone like CK or Kano, there is no way that your code, server, and connection can be better than said pools, or at least I know mine won't be.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
May 20, 2022, 05:51:35 AM
 #26

...
I mean it's a pool that found over 200 blocks and paid all of them
...
Incorrect, ck did not pay all of them.
Some of the blocks were lost due to mismanagement and negligence and were not paid.

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
KitKatZ (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 99
Merit: 4


View Profile
May 20, 2022, 03:23:24 PM
Last edit: May 20, 2022, 03:49:16 PM by KitKatZ
 #27

...
I mean it's a pool that found over 200 blocks and paid all of them
...
Incorrect, ck did not pay all of them.
Some of the blocks were lost due to mismanagement and negligence and were not paid.

Respect your work and am a huge fan. The more I learn about Bitcoin and it’s origins the bigger of a fan for the brilliant people that paved the bitcoin roads. People like yourself Luke Jr and Con Kolivas. Even if Con Kolivas has rubbed me the wrong way . Still a brilliant person.  Please do not take this the wrong way but your kind of like Bitcoin legends or celebrities. Honored you replied to this thread. Hope I did not just make it weird  Cheesy Undecided

that said. I am here to truly learn. I want to connect and engage. I want to try new things and fail if that is my destiny. I know some codding and wanted to use CK pool source and a starting point to my education in Bitcoin code understanding. I have a full node synced and working on setting up another one. My biggest goal is to honor my father who loved Bitcoin. Each day I move forward in my Bitcoin knowledge. I feel closer to him.

My original goal was to just throw my dads old butterfly labs jalapeno on the Ck pool and call it a day. Once I did that .I was hooked. I know drink my coffee every morning out of this butterfly labs mug that came with my dads miner.  Yes I get the irony cause how crappy that company was from my readings. The thing that I am grasping is bitcoin is a culture. It is a way of life. It is beautiful .Who would not want a part in that?

shhpool.com
“There is nothing impossible to they who will try.”
— Alexander the Great
Pages: « 1 [2]  All
  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!