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

    [Dev] Hard fork to change retarget, averages and block time

    Technical Development
    23
    125
    52993
    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.
    • wrapper
      wrapper Moderators last edited by

      EnigmaMan, on 13 Mar 2014 - 4:51 PM, said:snapback.png

      Some questions I have:
      1. Will there still be a 9% +/- max difficulty?

      Bush and I have done further work on this and it will probably remain at 9%. There is little advantage in increasing it (increased reaction time), but some possible disadvantages.

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

        Just a couple of points.

        The difficulty algorithm change should not be confused with changing the hashing algorithm. That would be much harder and involve updated mining software.

        In developing our solution, we are not against coin hopping per say, in fact there is an obvious trend to large pools. The new algorithm just makes it more difficult and expensive to exploit by large “agents”. It is not limited to Feathercoin, so one advantage of our own solution is that we are not open to a common flaw, with other solutions being exploited instantly across all alt-coins.

        We will probably need a name. That has not been our priority but something like “Advanced Difficulty Averaging” ADA

        or ABC - Advanced block calculation. or FAB Feathercoin Advanced Block (Calc)

        The other thing is to thank Wellenreiter, who has put up with me and made a fantastic contribution to the development…

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

          maximum change on difficulty must be fixed ?

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

            I’m in full support if the idea.

            or ABC - Advanced block calculation.

            I like the sound of dubbing it “ABC”

            I think it would appeal to many who have yet to try out ftc. It makes the idea sound both simple and logical.

            1 Reply Last reply Reply Quote 0
            • E
              EnigmaMan last edited by

              maximum change on difficulty must be fixed ?

              Yes and no, this is where it becomes a double edged sword and may cause unintended consequences…

              Just like what Newton said “for every action, there is an equal and opposite reaction”. Even though this applies to physics specifically, it can apply to other factors in life.

              If you adjust it too quickly / great amount (say 30%), you may be suspect to an attack where a block may be solved too quickly, then difficulty goes way up up, the group leaves and then the next block may take a long period of time to be solved because there is not enough hashrate to solve it quick enough.

              Think of this as a difficulty attack.

              Just a thought… I dont think you can adjust difficulty mid block??

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

                As for the name we need to be careful as ACP has Advanced in the title and the two things are completely unrelated.

                Maybe something like

                Quondam Difficulty Adjustment

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

                  FOMP - Stands for, Please Go Away Multipools.

                  Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                    Just a thought… I dont think you can adjust difficulty mid block??

                    The difficulty is set so that the “current hash rate” will produce an answer (Transaction Block) at the correct time. There is no mid block. That is why driveing up the difficulty leaves longer times for loyal miners and less blocks being produced.

                    You are completely correct though about the difficulties of changing the algorithm, we spent most time making sure we did not open ourselves to other forms of “more evil” attacks, such as those against Terracoin…

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

                      :)

                      if(fNewDifficultyProtocol) //DigiShield implementation - thanks to RealSolid & WDC for this code
                      {
                      		// amplitude filter - thanks to daft27 for this code
                              nActualTimespan = retargetTimespan + (nActualTimespan - retargetTimespan)/8;
                              printf("DIGISHIELD RETARGET\n");
                              if (nActualTimespan < (retargetTimespan - (retargetTimespan/4)) ) nActualTimespan = (retargetTimespan - (retargetTimespan/4));
                              if (nActualTimespan > (retargetTimespan + (retargetTimespan/2)) ) nActualTimespan = (retargetTimespan + (retargetTimespan/2));
                      }
                      

                      This looks very simple, and we already have a comparable piece of code in feathercoin, if I read our source right ;)

                      Different values, but the same principle.

                      I doubt, that it will be sufficient for them in the long run

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

                        Re: DigiShield implementation

                        I can also see another problem we tried to avoid in using the nActualTimespan. The solution without reference to measuring actual time has fewer drawbacks.

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tuck Fheman last edited by

                          Just a couple of points.

                          We will probably need a name. That has not been our priority but something like “Advanced Difficulty Averaging” ADA

                          or ABC - Advanced block calculation. or FAB Feathercoin Advanced Block (Calc)

                          FMP

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

                            FOMP - Stands for, Please Go Away Multipools.

                            Lol

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tuck Fheman last edited by

                              FOMP - Stands for, Please Go Away Multipools.

                              Ah, didn’t see someone beat me to it!

                              1 Reply Last reply Reply Quote 0
                              • E
                                EnigmaMan last edited by

                                We def need to get this change going soon… This is killing loyal miners with the hash rate so low, and it will take over 9 hours to re-target???

                                Feathercoin.png

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

                                  Yes. Last week I have stopped my POOL, mining FTC no profit . Purchase cost than mining. I’m minging some of the new currency until the FTC Reply.

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

                                    If we drop the difficulty change then it increases the ability of multipools to manipulate us. The flip side is that hostile entities can push our difficulty up quicker, but there is still the averaging that stops it from being too rapid.

                                    Wrapper is happy with the 9% difficulty as it is and our difficulty change is still less than Dogecoin are planning. They now have a lot of resources and developers as they launched into a much bigger crypt community. We should give them some faith… Actually their new difficulty should have kicked in by now. I’m going to go take a look at how they are doing.

                                    Once we are past the fork we can look at the algo change to duck the Scrypt ASICs and who ever has been attacking us with what is presumed redirected Scrypt resources.

                                    Donate: 6hf9DF8H67ZEoW9KmPJez6BHh4XPNQSCZz

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      EnigmaMan last edited by

                                      Here we go again today with another 9hr High difficulty rate and only 1 hr at a lower difficulty rate once it resets.

                                      Any idea on the time frame these difficulty changes might be implemented?

                                      We def need to get this change going soon… This is killing loyal miners with the hash rate so low, and it will take over 9 hours to re-target???

                                      Feathercoin.png

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

                                        These changes need to be tested carefully before implementation.

                                        It’s in the testbed right now.

                                        We all are keen to get it implemented, but we need to be sure, that it works as expected before we can implement it in the production network.

                                        I’m sure, as soon as the tests are finished, Bushstar will announce the change and the new version of the wallet will be released

                                        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

                                          Inspirational . We need to deal with 30Ghash attacks. In the future may also be more.

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

                                            Yes lizhi, we are in the 30 GH/s right now… and they keep pushing at least to times a day.

                                            So, wellenreiter, keep up the good work!

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