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

Changing the hashing algorithm

Technical Development
58
482
357.2k
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 22 Jul 2014, 10:42

    Not connect http, why ?

    error1_pxc.jpg

    Maybe add rpcallowip=127.0.0.1, rpcuser=lizhi and rpcpassword=123 to data/testnet/phoenixcoin.conf?

    1 Reply Last reply Reply Quote 0
    • j_scheibel
      j_scheibel last edited by 22 Jul 2014, 17:19

      Hi, i assume you are using Hyper-V or VMware and assigning vCPUs, At a guess, i would imagine using HT cores could contend very quickly. Are you in a position to disable HT on the CPU and assign cores only? just to see if a single core gives more that 2 threads with HT on?

      Just a thought.

      Luke

      I wasn’t using any kind of virtual machine. I could go in to the bios and turn off the hyper threading but I can’t imagine that helping overall since you cut the overall power by half. I probably wont be in front of the computer to play with it for a day or so, regardless, I really expect this was more of a bottleneck imposed by the managing process (ie the wallet). I mean the wallet had locking issues when using pool settings with 12 or more threads . so there might be some bugs in there. however, the underlining code that does the new scrypt seems to be running ok though. (which I thought was the point of the test :) )

      1 Reply Last reply Reply Quote 0
      • M
        mirrax last edited by 23 Jul 2014, 07:24

        I don’t know if Lizhi is successfull with modification of cgminer?

        But now two scenarios trouble me a little:

        1st, botnets targeting Neoscrypt in CPU era

        2nd, if first GPU miner will be private

        Is this valid lamentation or not much?

        1 Reply Last reply Reply Quote 0
        • lizhi
          lizhi last edited by 23 Jul 2014, 09:30

          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 23 Jul 2014, 11:24

            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 23 Jul 2014, 14:19

              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 23 Jul 2014, 15:55

                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 23 Jul 2014, 15:59

                  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 23 Jul 2014, 16:31

                    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 23 Jul 2014, 16:42

                      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 23 Jul 2014, 17:16

                        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 23 Jul 2014, 17:28

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

                          1 Reply Last reply Reply Quote 0
                          • B
                            bacobob last edited by 24 Jul 2014, 11:31

                            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 24 Jul 2014, 11:40

                              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 24 Jul 2014, 12:07

                                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 24 Jul 2014, 12:19

                                  JC%20realistic%20style10409.jpg

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    Flobdeth Regular Member last edited by 24 Jul 2014, 12:33

                                    MULTIKILL!

                                    I like Calems style >:D

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      bacobob last edited by 24 Jul 2014, 14:15

                                      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 24 Jul 2014, 14:23

                                        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 24 Jul 2014, 14:37

                                          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
                                          • First post
                                            Last post