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

    [Dev] Feathercoin - P2Pool-Neoscrypt - Now Available

    Technical Development
    8
    88
    68323
    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.
    • Wellenreiter
      Wellenreiter Moderators last edited by

      @Ghostlander,
      The pools can connect now, but no share information is exchanged, so no common cloud is formed.
      I think it is due to the different handling of endianess, that is also influencing the communication between the pool nodes.
      I see messages like gent_x doesn’t match local gent_x (something like that )

      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

        http://pool.ftc-c.com:11554/static/

        my Local rate and Global pool rate always wrong , I don’t know what is that.

        But my GPMniner mine PXC normal. I can recevice PXC from p2pool.

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

          Wellenreiter, your P2Pool base code was forked in Dec-2013. It’s getting old.

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

            There seems to be three seperate p2pool pools from what I see from nodes: Wellenreiters, ghostlander’s and a 3rd which I seem to be joining with my node.

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

              That is not very likely.

              In the list of bootstrap addresses in the p2pool neworks file are only Ghostlanders two nodes and the two nodes using my flavour of p2pool, so your pool node will start to connect to one of these normally.

              Suggestion: delete the file ./data/phoenixcoin/addrs and then start your pool

              You can get a list of active peers with the link http://

              :10554/peer_addresses

              If the above doesn’t work, add the option -n with the ip address:port of one of the nodes in the list

              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
              • D
                darksaber last edited by

                Re-did p2pool again today (did that about 15 times yesterday), and it downloaded all the shares…not sure what was going on. Didn’t do anything different.

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

                  Today,I had test p2pool and cgminer again. I still find some problem.

                  GPU miner version : vehre’s cgminer 3.7.1

                  from https://github.com/vehre/neo-gpuminer

                  P2Pool version : ghostlander’s 13.4-54

                  from https://github.com/ghostlander/p2pool-neoscrypt

                  AMD Card 7850 and AMD 13.12 Catalyst + SDK 2.9

                  My p2pool is http://pool.ftc-c.com:10554/static/

                  Pool rate: 662kH/s

                  I think pool rate is right. :)

                  Issue #1:

                  Cgminer works abnormally and local rate always 0H/s .

                  If I use " --fix-protocol -o http:// " ,cgminer will not work. It say JSON error.

                  gpu_err1.jpg

                  If I use “-o stratum+tcp” , cgminer can run , but it work abnormally, local rate= 0H/s .

                  gpu_err2.jpg

                  my pool rate is right,it is 662K/s. local rate is 0, I think gpuminer or p2pool work abnormal.

                  gpu_pool1.jpg

                  wellenreiter01’s p2pool-neoscrypt still have some problem too. pool rate and local rate is very low.

                  I hope you git your codes from github, build a new pool , test again, I think you can find some error. I guess you may be miss something. :)

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

                    Wellenreiter, my gpu-miner can mine PXC norml in your p2pool, local rate about 10K/s.

                    I thinl pool20.neoscrypt.de is right. so please check your https://github.com/wellenreiter01/p2pool-neoscrypt/

                    I guess you may be miss something.

                    gpu_right1.jpg

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

                      If I use " --fix-protocol -o http:// " ,cgminer will not work. It say JSON error.

                      I have corrected this.

                      Getwork Fixed, Midstate Removed

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

                        After I change SANE_TARGET_RANGE = (2**256 - 1 >> 30, 2**256 - 1 >> 12) to SANE_TARGET_RANGE = (2**256//1000000000 - 1, 2**256//1000 - 1) , cgminer can work normal ,but pool have not hashrate , Local: 0H/s .

                        I will try Wellenreiter’s new version on git https://github.com/ghostlander/p2pool-neoscrypt

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

                          I have corrected this.

                          Getwork Fixed, Midstate Removed

                          I make your cgminer-neoscrypt , I have a error. can not compile success.

                            CC     cgminer-cgminer.o
                          cgminer.c: In function 'kill_mining':
                          cgminer.c:3237:11: error: invalid operands to binary && (have 'int' and 'pthread_t')
                          cgminer.c: In function '__kill_work':
                          cgminer.c:3286:2: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration]
                          make[2]: *** [cgminer-cgminer.o] Error 1
                          make[2]: Leaving directory `/D/FTC/neo2/cgminer-neoscrypt-100g'
                          
                          1 Reply Last reply Reply Quote 0
                          • lizhi
                            lizhi last edited by

                            **P2Pool version : ghostlander’s 13.4-54 **https://github.com/ghostlander/p2pool-neoscrypt

                            **GPU miner version : vehre’s cgminer 3.7.1 , **AMD Card 7850

                            Test Failure

                            If I use “SANE_TARGET_RANGE = (2**256 - 1 >> 30, 2**256 - 1 >> 12)” in p2pool/bitcoin/networks/phoenixcoin.py , p2pool always display " Accepted d94ffdc3 Diff 145/-2147483648 GPU 1" , This is a abnormally informtion.

                            local rate is 0, I think gpuminer or p2pool work abnormal.

                            If I use “SANE_TARGET_RANGE = (2**256//1000000000 - 1, 2**256//1000 - 1)” in p2pool/bitcoin/networks/phoenixcoin.py , p2pool display " Accepted 329bea3e Diff 3/1 GPU 1 ", This is a right .

                            But Local rate is 0 still , p2pool always display " Worker PfF9PKBjkmz7gFAkA7h6ajY5AHc9B1mijW submitted share with hash > target: " .

                            p2pool can not work ,mine pxc failure.

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

                              Your MinGW doesn’t declare sleep() and pth descriptors. My one does. See the last patch for Windows 64-bit and revert those changes you need.

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

                                **Wellenreiter’s p2pversion : 13.4-34-g1eb6d7b-dirty **https://github.com/wellenreiter01/p2pool-neoscrypt/

                                CAN WORK WITH A ISSUE

                                If I use “SANE_TARGET_RANGE = (2**256 - 1 >> 30, 2**256 - 1 >> 12)” in p2pool/bitcoin/networks.py , can not work too .

                                If I use “SANE_TARGET_RANGE = (2**256//1000000000 - 1, 2**256//1000 - 1)” in p2pool/bitcoin/networks.py , p2pool can work, cgminer can work normal.

                                But have a problem only , p2pool display "local rate is very low ". cgminer display 20K/s , but pool display about 400H/s only. :-[

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

                                  Strange thing is, that cpuminer works fine for me’ while gpu miner get’s very low hashrates on the pool only

                                  I wil investigate further.

                                  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

                                    Strange thing is, that cpuminer works fine for me’ while gpu miner get’s very low hashrates on the pool only

                                    I wil investigate further.

                                    Further examination

                                    I find my cpu miner work normal ,their hashrate is about 3K/s , correct .

                                    Only gpu miner’s hashrate is very low, about 400H/s. When they work at the same time, cpu miner work normal, but gpu miner can not work.

                                    I think your gpu miner too on pool.ftc-c.com:10554

                                    cpu_2miner_1.jpg

                                    When they work at the same time, cpu miner work normal, but gpu miner can not work.

                                    cpu_2miner_2.jpg

                                    cgminer 3.7.1 Look normal

                                    cpu_2miner_3.jpg

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

                                      Gpuminer 3.7.0 is working fine for me on p2pool.neosrypt.de:10554
                                      With 3.7.1 low hashrates of ~400 hash/sec is seen by the pool.

                                      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

                                        Gpuminer 3.7.0 is working fine for me on p2pool.neosrypt.de:10554
                                        With 3.7.1 low hashrates of ~400 hash/sec is seen by the pool.

                                        my miner 3.7.4exp is Ph5Cy7cGhF3qW14cD6w8DJcSVPrLmX4Goa ,it is working on your pool20.neoscrypt.de

                                        It look normal , have 20K/s hashrate.

                                        how to fix your p2pool ?

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

                                          mining at ~ 35 khash on p2pool.neoscrypt.de with gpumminer 3.7.5 , what is comparable to the hashrates the miner reports :)

                                          I pulled the latest p2pool code and currently test it on a private node.

                                          I will push that code as soon as the tests are finnished.

                                          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
                                          • Wellenreiter
                                            Wellenreiter Moderators last edited by

                                            A new version of the p2pool is available on Github.

                                            Changes:

                                            • import of latest master code with significant code changes

                                            • adaption to Ghostlanders pools, so the pools now can fully connect to each other and build a common pool.

                                            • tested with cpuminer and the latest version of gpuminer.

                                            • longpoll and stratum are supported

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