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

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

    Technical Development
    23
    125
    52987
    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.
    • 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
                                • MrWyrm
                                  MrWyrm administrators last edited by

                                  The people involved should rattle their tip jars a little more. :)

                                  Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                                    The people involved should rattle their tip jars a little more. :)

                                    rattle… rattle… rattle…

                                    Lol :D

                                    Look at my signature ;)

                                    But I’m not doing this for tips, even if every tip is appreciated ;)

                                    I want to keep feathercoin safe and solid in the long term.

                                    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

                                      Still, tipping culture is a positive one. :)

                                      Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                                        It is and it’s a nice motivation, indeed :)

                                        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
                                        • ghostlander
                                          ghostlander Regular Member last edited by

                                          Another way to stop multipools is to implement a block limiter. It accepts only a limited number of blocks per time frame and orphans the rest. Multipools waste about 90% of their hash power this way. I understand many may not like this solution, but PXC is going to adopt it in the next update. It doesn’t require a hard fork though.

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

                                            rattle… rattle… rattle…

                                            Lol :D

                                            Look at my signature ;)

                                            But I’m not doing this for tips, even if every tip is appreciated ;)

                                            I want to keep feathercoin safe and solid in the long term.

                                            Your work is appreciated :-)

                                            Edit: you too wrapper

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