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

    Changing the hashing algorithm

    Technical Development
    58
    482
    344621
    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.
    • lizhi
      lizhi last edited by

      Hi guys, I’m still not successful . I was caught in the kernel . I refer to the KECCAK, try to write some code. But no progress. :'(

      I cannot write similar code for Nerscrypt in driver-opencl.c and ocl.c

      #ifdef USE_KECCAK
      static cl_int queue_keccak_kernel(_clState *clState, dev_blk_ctx *blk, __maybe_unused cl_uint threads)
      {
              cl_kernel *kernel = &clState->kernel;
              unsigned int num = 0;
              cl_int status = 0;
      
              status = clEnqueueWriteBuffer(clState->commandQueue,
                      clState->keccak_CLbuffer, true, 0,
                      KECCAK_BUFFER_SIZE, &blk->keccak_data[0],
                      0, NULL,NULL);
      
              CL_SET_ARG(clState->keccak_CLbuffer);
              CL_SET_ARG(clState->outputBuffer);
      
              return status;
      }
      #endif
      

      The biggest difficulty is to write neoscrypt140707.cl, This is a binary code .

      		case KL_NEOSCRYPT:
      			strcpy(filename, NEOSCRYPT_KERNNAME".cl");
      			strcpy(binaryfilename, NEOSCRYPT_KERNNAME);
      			/* Neoscrypt only supports vector 1 */
      			cgpu->vwidth = 1;
      			break;
      
      1 Reply Last reply Reply Quote 0
      • lizhi
        lizhi last edited by

        This is my project, It comes from cgminer 3.6.6

        How to build:

        cd /D/FTC/neoscrypt/max-cgminer-master

        autoreconf -fvi

        export LIBCURL_CFLAGS=-I/usr/local/curl/include

        export LIBCURL_LIBS=-L/usr/local/curl/lib

        CFLAGS=“-O2 -msse2” ./configure --enable-scrypt --enable-keccak --enable-neoscrypt

        make

        if have error information "undefined reference to `_imp__curl_easy_init’ "

        you edit Makefile file , add " LIBS = -lpdcurses -lpthread -lcurl -lcurldll "

        1 Reply Last reply Reply Quote 0
        • D
          DemocraticRepublicOfDave last edited by

          Hi there.

          Can anyone give me the github links to the “standard” neoscrypt cpuminer and wallet?

          Lizhi I have your source and am studying it. I am a newbie to opengl but I have been intending for a long time to get into it.

          Lizhi, am I correct in that the neoscrypt.c/.h files in the standard reference implementation?

          The main issue for me is to understand the neoscrypt algorithm first.

          Cheers

          Dave.

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

            People, I’m following this discussion quite long and I want to ask if audit was performed on the neoscrypt algo?

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

              People, I’m following this discussion quite long and I want to ask if audit was performed on the neoscrypt algo?

              What kind of audit?

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

                Example: What if someone manage to lower the complexity of the algorithm?
                Audit in the form of public review of the algorithm by crypto comunity.

                1 Reply Last reply Reply Quote 0
                • M
                  mirrax last edited by

                  Example: What if someone manage to lower the complexity of the algorithm?
                  Audit in the form of public review of the algorithm by crypto comunity.

                  It will be opensource…

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

                    Example: What if someone manage to lower the complexity of the algorithm?
                    Audit in the form of public review of the algorithm by crypto comunity.

                    I doubt they can get any sensible advantage, but it’s going public with the source code in a couple of days anyway. Anyone can test it until our livenets switch in 2 weeks or so.

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

                      Great, I’ll check it and share it! Thumbs up!

                      1 Reply Last reply Reply Quote 0
                      • B
                        bacobob last edited by

                        So if i get it right the new algo in 2 weeks ;)

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

                          Sort of.

                          It essentially hangs on the gpu miner been finished.

                          Their will be no algo change for ftc until the GPU miner is publicly available.

                          Let that be clear.

                          Stay tuned if you want to be best dressed my friends.

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

                            Stay tuned if you want to be best dressed my friends.

                            are we talking high heels and suspenders here?

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

                              JC%20realistic%20style10409.jpg

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

                                MULTIKILL!

                                I like Calems style >:D

                                1 Reply Last reply Reply Quote 0
                                • B
                                  bacobob last edited by

                                  If I’m not mistaken, the trolls in the box are waiting for the algo change too. Seems like the buying is heating up.

                                  how you mean ? we went down 1000 sat last night !

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mirrax last edited by

                                    how you mean ? we went down 1000 sat last night !

                                    I prefere to say 1 tick, but if you look at the long term chart, nothing really happened. Accumulation phase is continuing very well.

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      bacobob last edited by

                                      I prefere to say 1 tick, but if you look at the long term chart, nothing really happened. Accumulation phase is continuing very well.

                                      Sorry to say but i dont agree a lot, i trust in the communitie of Ftc but if you look at the long term chart it looks kinda depressing.

                                      and a 5 btc decrease in buy’s at this low rate is not nothing.

                                      But beside that i think a new algo can bring new power to FTC and hopefully a lot new investors

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        mirrax last edited by

                                        Sorry to say but i dont agree a lot, i trust in the communitie of Ftc but if you look at the long term chart it looks kinda depressing.

                                        and a 5 btc decrease in buy’s at this low rate is not nothing.

                                        But beside that i think a new algo can bring new power to FTC and hopefully a lot new investors

                                        Think about it that way, FTC was pumped over 100ksat 3 times as “litecoin clone”. I don’t know how long you actively trade or observe FTC, I remember few months ago somebody purchased 1000BTC+ of FTC at 40ksat and it seems he didn’t dumped those coins. Now we will be finaly recognized as not only litecoin clone. Anyway we should discuss this elsewhere, this is development thread. Price predictions or chart analysis doesn’t really belong here ;)

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

                                          Currently the source isn’t open. After the weekend though, it will be and anyone will be able to jump in and start on either an AMD or nVidia miner.

                                          What are your questions, I may be able to source some answer’s for you.

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

                                            Interesting… Hold that thought and we will see if we can help you make that happen.

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