Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Changing the hashing algorithm

    Technical Development
    58
    482
    344677
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ghostlander
      ghostlander Regular Member last edited by

      I’ve completed CPUminer nearly. The only issue left is endian conversion: all Bitcoin derivatives are little endian inside, so NeoScrypt is also little endian completely. SHA-256d and Scrypt are big endian ones due to SHA-256 being employed by both. CPUminer is also big endian inside.

      The P2Pool module seems to be a simple wrapper over the reference code, so this is an easy part.

      1 Reply Last reply Reply Quote 0
      • kris_davison
        kris_davison last edited by

        Great news thanks for all your hard work on this. I think some tips are in order!

        1 Reply Last reply Reply Quote 0
        • ghostlander
          ghostlander Regular Member last edited by

          CPUminer works now in both native (NeoScrypt) and legacy (Scrypt) modes. Not parallelised much yet, so the performance is the same to the internal wallet miner. NeoScrypt and Scrypt should deliver very comparable CPU performance, maybe NeoScrypt a little bit better.

          1 Reply Last reply Reply Quote 0
          • kris_davison
            kris_davison last edited by

            That’s great glad to hear the initial results are showing a performance improvement with neoscrypt.

            1 Reply Last reply Reply Quote 0
            • Wellenreiter
              Wellenreiter Moderators last edited by

              I’ll start on the p2pool modifications today.

              Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
              Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

              1 Reply Last reply Reply Quote 0
              • V
                voingiappone Regular Member last edited by

                I’d relly like to knwo how you “make” a miner… or a p2pool.

                Respect guys! You’re doing all this in two? three people?

                You rock!

                1 Reply Last reply Reply Quote 0
                • Wellenreiter
                  Wellenreiter Moderators last edited by

                  The glory goes to Bushstar and Ghostlander.

                  I don’t do veery much here, as my programming experience in the crypto area is not that much.

                  I can modify exsiting code a bit, that’s all. ;)

                  Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                  Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                  1 Reply Last reply Reply Quote 0
                  • lizhi
                    lizhi last edited by

                    Hi , I like cgminer ,who can build it ?

                    1 Reply Last reply Reply Quote 0
                    • ChekaZ
                      ChekaZ last edited by

                      I like my sgminer, but I think Iam not smart enough to modify it :/

                      BTC: 1Ges1taJ69W7eEMbQLcmNGnUZenBkCnn45
                      FTC: 6sxjM96KMZ7t4AmDTUKDZdq82Nj931VQvY

                      1 Reply Last reply Reply Quote 0
                      • Wellenreiter
                        Wellenreiter Moderators last edited by

                        Also, the thought crossed my mind, what we could do for those mining with Nvidia GPUs?

                        Anybody able to modify cudaminer?

                        Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                        Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                        1 Reply Last reply Reply Quote 0
                        • MrWyrm
                          MrWyrm administrators last edited by

                          Having support for all the camps from the off will make for a stronger launch.

                          Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

                          1 Reply Last reply Reply Quote 0
                          • kris_davison
                            kris_davison last edited by

                            I’m hoping we can deal with cudaminer (or sponsor/commission the guys who wrote it to implement neoscrypt?) Again I would be happy to chip in as I am one of the many who would benefit from nvidia support!

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User last edited by

                              I’m curios as to how Neo would work out on nVidia… x11 seems to have an advantage with em, could this be the case here?

                              1 Reply Last reply Reply Quote 0
                              • ghostlander
                                ghostlander Regular Member last edited by

                                NeoScrypt P2Pool module is ready. P2Pool works on a fake testnet using CPUminer.

                                1 Reply Last reply Reply Quote 0
                                • V
                                  voingiappone Regular Member last edited by

                                  So, ghostlander… now we need to modify the scrypt module in cg/sg-miner.

                                  I’ve been watching/messing out with the sph-sgminer for Darkcoin as I wanted to modify the algo (I’ll do wathever if it can distract me from my thesis! ;) ). For what I see, it’s enough to exactly “replicate” the algo from the hashing.cpp (in the wallet) to the algo.c file in the root directory. But I may be off-track… Do you think that’s the right path?

                                  I mean, some optimization should be done (I don’t know where to start) but having a working GPU miner (albeit a non-opt one) from day one looks like a very good start, don’t you think?

                                  So, the big question is: who is doing this? Is the algo accessible or is it still in a top secret state?

                                  1 Reply Last reply Reply Quote 0
                                  • lizhi
                                    lizhi last edited by

                                    Suffered a setback . :(

                                    I’m compiling cgminer on win32(x86) . My IDE is Visual Studio 2013 . After I add neoscrypt.cpp and neoscrypt.h to the cgminer.vcxproj, then compily it .

                                    But I get a lot of errors:

                                    ROTL32, Identifier not found

                                    SCRYPT_BLOCK_SIZE ,Undeclared identifier

                                    stack, Unknown size

                                    error_n.jpg

                                    1 Reply Last reply Reply Quote 0
                                    • ghostlander
                                      ghostlander Regular Member last edited by

                                      This is because NeoScrypt is supposed to be compiled by a C compiler, not a C++ one. The work-around is in a PM.

                                      1 Reply Last reply Reply Quote 0
                                      • wrapper
                                        wrapper Moderators last edited by

                                        Great work on the algo change. Looks like it might be worth haveing a p2pool test site, with all miner updates needed.

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          vizay Regular Member last edited by

                                          I believe it’s of very great importance that we don’t forget the nvidia cards out there, we want to be open and welcoming to all miners as fast as possible after release :)

                                          1 Reply Last reply Reply Quote 0
                                          • wrapper
                                            wrapper Moderators last edited by

                                            most of my GPUs have blown up in the last 2 months.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post