Bitcoin Forum
May 25, 2024, 03:20:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Strayacoin: New mining pool, scrypt-NAH miner for Strayacoin  (Read 283 times)
bitcoinforktech (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
November 21, 2023, 04:32:39 AM
 #1

I have a modified cpuminer-opt for scrypt-NAH (Strayacoin), which can be found here:

https://github.com/catcoin-project/cpuminer-opt-scryptnah.

Currently there is only a Windows binary, but if you look at the first commit message there's a snippet of the changes to scrypt.c so you can compile for your system and mine Strayacoin on Linux, Mac, etc.

There's also a pool with a modified stratum server at https://pool.larahelpers.com which is the only Strayacoin pool that works with scrypt NAH that I am aware of.  If anyone wants to help me test it I would appreciate the help.  I want to ensure payment runs work properly etc.
elmo40
Member
**
Offline Offline

Activity: 675
Merit: 15


View Profile
November 21, 2023, 05:19:26 AM
 #2

wow, didn't know they made their own custom Scrypt algo.
bitcoinforktech (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
November 21, 2023, 06:13:14 AM
 #3

wow, didn't know they made their own custom Scrypt algo.

Actually there's no modifications to scrypt itself, my bad.  It's just the proof of work logic in Strayacoin - it's modified to look at the inverted bits of the scrypt hash of the block header.  So you use scrypt on the block header as usual, but invert the bits, then compare to the target. Smiley

elmo40
Member
**
Offline Offline

Activity: 675
Merit: 15


View Profile
November 21, 2023, 06:26:05 AM
 #4

ok, so this can be worked into ccminer?
bitcoinforktech (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
November 21, 2023, 06:34:07 AM
 #5

ok, so this can be worked into ccminer?

Probably, yes.  I will take a look.
pcfilm
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
November 21, 2023, 06:39:40 AM
 #6

how to create wallet?
bitcoinforktech (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
November 21, 2023, 06:50:28 AM
 #7

how to create wallet?


Go to the releases at https://github.com/StrayaCoin/StrayaCoin-Core and download Strayacoin qt wallet version 2.0.0. If you don't have Windows you will have to compile on Mac or Linux.

I can make Linux binaries available if anyone needs one.  I found it was difficult to try and compile with the latest build tools on e.g. Ubuntu 23 or Debian 12.  I had to spin up a VM with an older version of Ubuntu 18.04 LTS Bionic.
bitcoinforktech (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
November 21, 2023, 07:05:19 AM
 #8

ok, so this can be worked into ccminer?

I forgot this was a CUDA miner, I can't do it myself at the moment, I no longer have a PC with an NVIDIA card.  I could patch the code for https://github.com/tpruvot/ccminer which has a GPU implementation and you could try and built it yourself if you have the CUDA toolkit.
pcfilm
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
November 21, 2023, 07:22:46 AM
 #9

is it not an new coin?? blocks is since 5 years ago?
bitcoinforktech (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
November 21, 2023, 07:27:20 AM
 #10

is it not an new coin?? blocks is since 5 years ago?


No, but since the proof of work was updated there haven't been any mining software supporting it or mining pools, so I had to hack on the code myself.
elmo40
Member
**
Offline Offline

Activity: 675
Merit: 15


View Profile
November 21, 2023, 12:22:36 PM
 #11

Why does the pool say this?
"Strayacoin is a real Aussie crypto project, a community driven coin with its own PoS systems and everything!"

Where is the PoS ?
bitcoinforktech (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
November 21, 2023, 12:29:04 PM
 #12

Why does the pool say this?
"Strayacoin is a real Aussie crypto project, a community driven coin with its own PoS systems and everything!"

Where is the PoS ?

Scroll down at https://strayacoin.com/wallets/.  Email them for more details.  I've never used it myself, I'm not part of Strayacoin so I don't have any more details.
bitcoinforktech (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
November 21, 2023, 11:17:50 PM
 #13

I've seen a couple of new miners come along here and there.

Make sure your version has a patched scrypt hash for Strayacoin, as described in the first commit of cpuminer-opt-scryptnah, or use that as a guide to patch your own mining software for Strayacoin. Otherwise your miner won't find any shares if it's using plain old scrypt.
pcfilm
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
November 22, 2023, 07:39:17 AM
 #14

I've seen a couple of new miners come along here and there.

Make sure your version has a patched scrypt hash for Strayacoin, as described in the first commit of cpuminer-opt-scryptnah, or use that as a guide to patch your own mining software for Strayacoin. Otherwise your miner won't find any shares if it's using plain old scrypt.
cpuminer-opt-scryptnah from github doesn't works, issue erorr for miss some .dll, do you have any new link to download correct version, thanks!
bitcoinforktech (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
November 22, 2023, 10:39:55 AM
 #15

cpuminer-opt-scryptnah from github doesn't works, issue erorr for miss some .dll, do you have any new link to download correct version, thanks!

Can you tell me what version of Windows you are using, and can you tell me what DLL was missing?

I was certain I compiled a static-linked binary.  Smiley  I should investigate a bit further.  It's probably something to do with mingw or it's a system DLL missing.  If you can tell me your O/S version and any error message I can narrow it down.  Thanks!
bitcoinforktech (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
November 22, 2023, 11:08:44 PM
 #16

Hi, I have also some dll issues. I'm on windows 10.
I didn't find any source code so cannot compile and try on linux

The source has been updated at https://github.com/catcoin-project/cpuminer-opt

Did you get an error message with which DLL was missing?  I will upload a few DLLs it uses to the repository to see if that fixes any issues.
bitcoinforktech (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
November 22, 2023, 11:31:12 PM
 #17

DLLs have been uploaded. I will create a release but until then, select the Code button and Download Zip.  This should give you the entire master branch with the binary and its DLLs.

Otherwise the source code with a scrypt-NAH patch is there at https://github.com/catcoin-project/cpuminer-opt-scryptnah.git, I've found it compiles without many issues on Linux and Windows.  It needs libcurl-dev, libssl-dev (crypto and ssl), pthreads (or winpthreads) on top of the usual build tools (build-essential, autotools-dev, m4, libtool, automake, autoconf, git, .. that should do it).

Let me know how it goes!
pcfilm
Newbie
*
Offline Offline

Activity: 47
Merit: 0


View Profile
November 23, 2023, 06:46:26 AM
 #18

miner: https://drive.google.com/file/d/1tDGu9aohrz8ujvNfzNWyUni-7Ei1cRu-/view?usp=drive_link
manual in Chinese : https://youtu.be/6AmDvoAvTJc
good luck!!
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!