Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: joblo on July 17, 2019, 05:12:44 PM



Title: Do VEIL & GIN use different versions of X16RT?
Post by: joblo on July 17, 2019, 05:12:44 PM
Gin & veil both claim they use X16RT but they are listed seperately at zergpool.
Suprminer X16RT only works for VEIL.

For GIN the miner hangs after setting stratum difficulty message, waiting for work that never comes.
I've waiting several minutes. I've seen delays of a few seconds on occasion for
some algos/pools but eventually the work arrives. With GIN it never arrives.
It's the same at zergpool and zpool.

Clearly there's a difference if zergpool lists it seperately but what is it and how to
make it work?


Title: Re: Do VEIL & GIN use different versions of X16RT?
Post by: andrucrypt on July 17, 2019, 05:47:32 PM
Algo is the same, but Veil uses additional data in it block and job messages(for who knows why, data is useless for miner software). Check here (https://github.com/ocminer/suprminer/blob/4b4f9cdc87e6a78f0651f066473dab4fe4cd0cb2/ccminer.cpp#L1651) ccminer implementation, but as I remember there is some bug causes a crash, but pretty simple to fix.


Title: Re: Do VEIL & GIN use different versions of X16RT?
Post by: joblo on July 17, 2019, 06:15:17 PM
Thanks but that's the miner I'm using and it works for veil.

That extra code is only called after a job is received, with GIN the the job never comes.

Edit: OK I've found somehing. If I try mining GIN with X16R I get a job, so the x16rt code
in suprminer is breaking the protocol. I should be able to work around this by defining seperate
algos.


Title: Re: Do VEIL & GIN use different versions of X16RT?
Post by: andrucrypt on July 17, 2019, 06:24:45 PM
Thanks but that's the miner I'm using and it works for veil.

That extra code is only called after a job is received, with GIN the the job never comes.
Oh, misunderstood a bit, and didn't complete the answer. x16rt in GIN is x16rt without that parsing for VEIL and using default solution few lines below (https://github.com/ocminer/suprminer/blob/4b4f9cdc87e6a78f0651f066473dab4fe4cd0cb2/ccminer.cpp#L1713). Everything else is the same as for VEIL.

Quote
That extra code is only called after a job is received, with GIN the the job never comes.
probably zergpool problem, because there is no other difference.

update: checked x16rt on zerg - works for me.


Title: Re: Do VEIL & GIN use different versions of X16RT?
Post by: joblo on July 17, 2019, 06:31:02 PM

update: checked x16rt on zerg - works for me.

That's interesting. It doesn't for me with suprminer.

See my previous post, I may have a workaround to avoid the veil code with gin.


Title: Re: Do VEIL & GIN use different versions of X16RT?
Post by: andrucrypt on July 17, 2019, 06:33:02 PM
That's interesting. It doesn't for me with suprminer.
I checked my own miner, not suprminer. We are talking here about protocol and pool, not about concrete miner, right? :)


Title: Re: Do VEIL & GIN use different versions of X16RT?
Post by: joblo on July 17, 2019, 06:53:44 PM
I've got it working for both as 2 seperate algos. Many thanks

Suprnova has a bad habit of reusing algo names. When he made a veil miner he just
added the veil code without changing the algo name.