TheWolf666 (OP)
Full Member
Offline
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
|
|
August 29, 2019, 11:07:50 AM |
|
I have a problem when mining with 2 coins using the same algo (sha256). I specify the coin with c= but it is always the same coin that is chosen. It seems that if you want to mine 2 different coins with the same algo, Yiimp is choosing the most profitable, or just the first in the list. Should I duplicate the sha256 algo, rename it as if it is a different one to get the 2 coins having a separate accounting? Or am I missing something? The pool is here: http://ncpool.net
|
|
|
|
MATHReX
|
|
August 29, 2019, 02:03:28 PM |
|
Are you using ASIC or GPUs to mine the said coins? Can you provide more details as to which miner software you are using?
|
|
|
|
joblo
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 29, 2019, 03:36:54 PM |
|
I specify the coin with c= but it is always the same coin that is chosen.
c= is the payout coin, you want mc=
|
|
|
|
TheWolf666 (OP)
Full Member
Offline
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
|
|
August 29, 2019, 04:37:01 PM Last edit: August 29, 2019, 05:42:22 PM by TheWolf666 |
|
I specify the coin with c= but it is always the same coin that is chosen.
c= is the payout coin, you want mc= I am using cpu-multi (tpruvot) and there is nothing such as mc= option. -a sha256 -o stratum+tcp://ncpool.net:3333 -u kxxxxxxxxxxxxxxxxxxxxxxxx -p c=KYF For FRANC I should use -a sha256 -o stratum+tcp://ncpool.net:3333 -u fxxxxxxxxxxxxxxxxxxxxxxxx -p c=FRANC However cpuminer always get KYF shares. To get it to mine FRANC I have to disable the KYF coin and then the mining goes to the right coin, however of course KYF is not mined anymore. If I enable both in the Yiiimp backend, I only mine for KYF but with a FRANC address, I lose rewards.
|
|
|
|
joblo
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 29, 2019, 06:10:17 PM |
|
A closed mind can't be helped.
|
|
|
|
TheWolf666 (OP)
Full Member
Offline
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
|
|
August 29, 2019, 08:20:16 PM |
|
A closed mind can't be helped.
Is that your answer? Are you here to confuse people or to help them. I am a C++ developer there is no mention of a mc= option in the stratum source code. What should I do to open my mind? Any help is welcome.
|
|
|
|
joblo
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 29, 2019, 11:47:57 PM |
|
A closed mind can't be helped.
Is that your answer? Are you here to confuse people or to help them. I am a C++ developer there is no mention of a mc= option in the stratum source code. What should I do to open my mind? Any help is welcome. It's your own fault you're confused, your second post made no sense. In your first post you said you're using c=. Don't. Use mc= instead. How difficult is that?
|
|
|
|
TheWolf666 (OP)
Full Member
Offline
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
|
|
August 30, 2019, 05:00:51 AM |
|
A closed mind can't be helped.
Is that your answer? Are you here to confuse people or to help them. I am a C++ developer there is no mention of a mc= option in the stratum source code. What should I do to open my mind? Any help is welcome. It's your own fault you're confused, your second post made no sense. In your first post you said you're using c=. Don't. Use mc= instead. How difficult is that? Do you know cpuminer? ./cpuminer: unsupported non-option argument -- 'mc=FRANC'
This option does not exist. Elaborate please, or give a link to that option with cpuminer...
|
|
|
|
yrk1957
Member
Offline
Activity: 531
Merit: 29
|
|
August 30, 2019, 05:34:33 AM |
|
m= and mc= are pool options to be specified in password field. Your miner is not supposed to interpret or support those.
|
|
|
|
Lafu
Legendary
Offline
Activity: 3080
Merit: 3189
|
|
August 30, 2019, 05:06:54 PM |
|
Do you know cpuminer?
Idiot! @joblo Looks like he dont know you !
|
|
|
|
joblo
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 30, 2019, 06:36:31 PM |
|
Do you know cpuminer?
Idiot! @joblo Looks like he dont know you ! There's a lot he doesn't know, like how to accept help when he asks for it. It seems to be a common theme. The person trying to help ends up being blamed and flamed. It's pretty childish but it's fun to see if they ever figure out their own stupidity or have to be spoon fed like a baby. We have the answer in this instance. Any chance he'll come back and say I was right all along? Not likely.
|
|
|
|
fr4nkthetank
Legendary
Offline
Activity: 2294
Merit: 1182
Now the money is free, and so the people will be
|
|
August 30, 2019, 06:41:20 PM |
|
why argue over something so ridiculous. YIIMP is an (correct me if im wrong) open source pool software anyone can use. so your pool operator didnt simply copy pasta compile, he added options, like the option to mine a specific coin with the mc option. if you get an incorrect command for your mining software thats because *you put it in the wrong place* edit: poor joblo lol
|
|
|
|
TheWolf666 (OP)
Full Member
Offline
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
|
|
August 31, 2019, 06:25:28 AM |
|
Do you know cpuminer?
Idiot! @joblo Looks like he dont know you ! There's a lot he doesn't know, like how to accept help when he asks for it. It seems to be a common theme. The person trying to help ends up being blamed and flamed. It's pretty childish but it's fun to see if they ever figure out their own stupidity or have to be spoon fed like a baby. We have the answer in this instance. Any chance he'll come back and say I was right all along? Not likely. Usually when heated argument gets suddenly silent, that is the moment when person understood his stupidity. Take the absence of the response as a good sign, today someone learned something Stupidity? There is no mc argument in cpuminer, no mc argument is programmed in the stratum. What else. I stop talking because arguing with these people is non sense. I need answers. Apparently these people do not have an answer. How to have 2 coins mining with different address and using the same algo, right now, it is impossible without modifying the stratum in yiimp AND the mining software if it doesn't support such an option. Insulting me is not going to fix the problem. I will report any insult thrown at me. If you give an answer, give an explanation, not a line that has no meaning.
|
|
|
|
TheWolf666 (OP)
Full Member
Offline
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
|
|
August 31, 2019, 06:27:39 AM |
|
why argue over something so ridiculous. YIIMP is an (correct me if im wrong) open source pool software anyone can use. so your pool operator didnt simply copy pasta compile, he added options, like the option to mine a specific coin with the mc option. if you get an incorrect command for your mining software thats because *you put it in the wrong place* edit: poor joblo lol
So the correct answer is that Yiimp cannot do that, you have to program it yourself. Thanks for saying something that is helpful.
|
|
|
|
JaredKaragen
Legendary
Offline
Activity: 1848
Merit: 1166
My AR-15 ID's itself as a toaster. Want breakfast?
|
|
August 31, 2019, 06:29:29 AM |
|
m= and mc= are pool options to be specified in password field. Your miner is not supposed to interpret or support those.
This is the relevant answer... for those who are interested. To understand why yiimp picks one coin over another on the same algo, requires following the code, to see what sources and data it uses in each instance. Compare, and understand its result. There is no simple answer for this part of the OP's question. Its been a big question for a long time, and it's complicated to accurately fully describe without writing out a flowchart of the code. *edit* mc= just allows you to manually select which coin you get served workunits for....
|
|
|
|
TheWolf666 (OP)
Full Member
Offline
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
|
|
August 31, 2019, 06:33:32 AM |
|
m= and mc= are pool options to be specified in password field. Your miner is not supposed to interpret or support those.
I know I have tested, this option is not supported by cpuminer. no mc option should I report my answers? https://rehmann.co/blog/cpuminer-help/I have posted the cpuminer version, the command line I use, please guys, read the post before answering, if you don't know the answers, go somewhere else.
|
|
|
|
TheWolf666 (OP)
Full Member
Offline
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
|
|
August 31, 2019, 06:38:11 AM |
|
m= and mc= are pool options to be specified in password field. Your miner is not supposed to interpret or support those.
This is the relevant answer... for those who are interested. To understand why yiimp picks one coin over another on the same algo, requires following the code, to see what sources and data it uses in each instance. Compare, and understand its result. There is no simple answer for this part of the OP's question. Its been a big question for a long time, and it's complicated to accurately fully describe without writing out a flowchart of the code. *edit* mc= just allows you to manually select which coin you get served workunits for.... This option does not exist in the stratum C core used with Yiimp Code in user.cpp Line 37: https://github.com/tpruvot/yiimp/blob/next/stratum/user.cpp void db_add_user(YAAMP_DB *db, YAAMP_CLIENT *client) {
db_clean_string(db, client->username); db_clean_string(db, client->password); db_clean_string(db, client->version); db_clean_string(db, client->notify_id); db_clean_string(db, client->worker);
if (strlen(client->username)==0) return;
char symbol[16] = { 0 }; char *p = strstr(client->password, "c="); if(!p) p = strstr(client->password, "s="); if(p) strncpy(symbol, p+2, 15); p = strchr(symbol, ','); if(p) *p = '\0';
This code is where the password option is gathered by the stratum server. If I use mc= it does not get the information. Maybe you guys are using another stratum version, which is supporting this option, I would like to know where the source code is. Thanks
|
|
|
|
JaredKaragen
Legendary
Offline
Activity: 1848
Merit: 1166
My AR-15 ID's itself as a toaster. Want breakfast?
|
|
August 31, 2019, 06:51:19 AM Merited by TheWolf666 (3) |
|
m= and mc= are pool options to be specified in password field. Your miner is not supposed to interpret or support those.
I know I have tested, this option is not supported by cpuminer. no mc option should I report my answers? https://rehmann.co/blog/cpuminer-help/I have posted the cpuminer version, the command line I use, please guys, read the post before answering, if you don't know the answers, go somewhere else. mc= is a option for yiimp; not your miner; your miner is served workunits via stratum from the pool. Check yiimp's documentation on how parameters are passed to it through the password input. You are not understanding yiimp fully.... I hope this example helps: Username : 1gtxc....... Password : c=BTC,mc=XRP,d=5.5 once you understand, my original answer will begin to make more sense. In that https://github.com/tpruvot/yiimp/blob/next/stratum/user.cpp snippet; you fail to understand it stores the whole password into the sql database; and any function can call and check the contents of it potentially... somewhere like the coin to mine selection portion of code.... yiimp is very complex.... zpool uses zap=COIN not mc=COIN.... so in theory, you could yourself add a single function there in that specific set of code to set the correct variable for coin selection; but you gotta also take into account all the portions of code that could set it as well after that initial call to take in the password and store the data in the SQL database.
|
|
|
|
Lafu
Legendary
Offline
Activity: 3080
Merit: 3189
|
|
August 31, 2019, 10:35:13 AM Merited by TheWolf666 (3) |
|
So looks like maybe its your pool ? Dont know but if so or you know the owner of the pool there is something that helps with the setup an specify port for one of the coins ! The normal sha256 port is 3333 and you can setup another port for the same Algo like 3334 or something else that is free ! Scrypt use port 3433 !
You have to create a new stratum port like 3334 for it and exclude the shares and blocknotify to the 3333 port file with include !
If you want to know more write here or pm me !
|
|
|
|
joblo
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 31, 2019, 01:10:10 PM Merited by TheWolf666 (3) |
|
I will report any insult thrown at me. If you give an answer, give an explanation, not a line that has no meaning.
So let me summarize: A supposed c++ developper installs pool software for a feature without verifying the feature is present, configured, or knowing how to use it, asks for help to use the feature, completely misunderstands the instructions, blames the responder, challenges his competence, then whines about being insulted. It's your competence that's in question.
|
|
|
|
|