Bitcoin Forum
November 07, 2024, 04:05:51 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Yiimp mining 2 different coins with the same algo  (Read 546 times)
TheWolf666 (OP)
Full Member
***
Offline Offline

Activity: 615
Merit: 154


CEO of Metaisland.gg and W.O.K Corp


View Profile WWW
August 31, 2019, 02:28:33 PM
 #21

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.

Thanks a LOT for a more detailed answer. I could not figure out anything from the answers before, I will investigate in that direction!!!

+++ merit for this answer

TheWolf666 (OP)
Full Member
***
Offline Offline

Activity: 615
Merit: 154


CEO of Metaisland.gg and W.O.K Corp


View Profile WWW
August 31, 2019, 03:17:22 PM
 #22

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.



If I ask the question here it is because I don't know the answer, you can say to same about anyone who is asking questions. "you are incompetent because you don't know the answer". That's supposed to be a smart answer.
Everybody has to learn.
If you don't know the answer no need to reply.
If you know the answer, show how you are smarter than I and explain exactly how the MC= parameter is sent from the cpuminer to the stratum, then from the stratum to the block notify to the right wallet.
This code is non existant in Yiimp. So actually only shared mining is supported. That's my problem.

I want to understand, and if you think that I am incompetent because I don't have the answer, then explain me, and show me your knowledge.

TheWolf666 (OP)
Full Member
***
Offline Offline

Activity: 615
Merit: 154


CEO of Metaisland.gg and W.O.K Corp


View Profile WWW
August 31, 2019, 03:23:45 PM
 #23

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 !



I know all of that.
But I want to mine 2 different coins who are using sha256 as algo... I can mine only one.
And I am not talking about 4 years old coins that are doing solo mining. I am talking about clones of latest bitcoin core, without solo, and with stratum mining only.

When I look into the code, I do not see the necessary code to follow up on what coin the address is from in stratum which is what is receiving the command line parameters.

I do mine sha256 shared, but the reception address will not match the coin I am mining, I mine the wrong coin.

Yiimp and stratum seems to only care about the algorithm, not the coin.


TheWolf666 (OP)
Full Member
***
Offline Offline

Activity: 615
Merit: 154


CEO of Metaisland.gg and W.O.K Corp


View Profile WWW
August 31, 2019, 03:37:45 PM
 #24

More info.

Some pool like blockmaster.co have changed Yiimp to support new features, like the mc= function set what coin has to be mined.
This code is NOT into Yiimp (original and open source) here: https://github.com/tpruvot/yiimp

It has to be implemented.

As a conclusion, what I want to do is not possible without modification of Yiimp.
That's where I am right now.

Shame on the trolls. You know who you are, specially the "Legendary" who insulted me, you do not deserve your status.

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!