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

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

    Technical Development
    23
    125
    52996
    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.
    • V
      voingiappone Regular Member last edited by

      So I’d better compile the wallet for Bushstar’s new testnet then…

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

        Re: Kimoto Gravity Well, may be susceptible to Time Warp attack. Peter sent me this…

        Nite69 put a fix out for the time warp exploit in KGW, not seen it implemented in a coin yet.

        https://bitcointalk.org/index.php?topic=552895.0

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

          Since the smallest interval between blocks is 1 second, zero or negative values should not be allowed. This KGW patch eliminates the possibility of many blocks to have the same time stamp.

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

            Most coins have timewarp blocks, when I looked at it. So, they are not due or only due to KGW.

            Although, I also understood older blocks were not allowed, and those transactions would go to the next block? Needs a closer inspection how those timewarp blocks get past validation…We didn’t see any in the testnet, even with massive hash swings.

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

              I see KGW has no difficulty limiting at all. It gets straight to setting a new difficulty value once the history search crosses EventHorizonDeviation[Slow,Fast]. That’s definitely not good.

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

                I agree, one of the KGW issues we noted, that it over reacted somewhat to change.

                This theoretically could be a good thing, the large hash change generates a higher difficulty. However, that is open for exploitation and a main reason for leaving in difficulty damping, just in case. Which is what I suggested on Franko coin forum.

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

                  Good watch

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

                    I see KGW has no difficulty limiting at all. It gets straight to setting a new difficulty value once the history search crosses EventHorizonDeviation[Slow,Fast]. That’s definitely not good.

                    It’s definitively a bad idea to implement Kimoto without a limitation of the max diff change, especially if you apply it at every block.

                    The risk would be much less with a retarget of every 16 block or more.

                    But we are not implementing Kimoto and we have a limit for the max diff change anyway.

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

                      Has anyone read the Litecoin Development Team’s official position on whether to change Litecoin’s proof of work at https://litecointalk.org/index.php?topic=18166.0 ?

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

                        Gentlemen, We must as soon as possible .

                        GC 6M Scrypt ASICs will be selt.
                        https://bitcointalk.org/index.php?topic=556885.new;boardseen#new

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

                          Has anyone read the Litecoin Development Team’s official position on whether to change Litecoin’s proof of work at https://litecointalk.org/index.php?topic=18166.0 ?

                          That Lityecoin post is about a hard fork due to a POW (hashing/proof of work) not ReTargeting the difficulty calculation and changing the transaction speed.

                          POW is being discuses on another thread.

                          We are very aware hard forks are problematic, that is why we will give advance notice of a fork and have done extra specific extra fork testing.

                          There has already been much discussion on handling hard forks, I have advised the need to give good advance notice of any POW hard fork.

                          Interesting post though.

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

                            Hard forks are problematic, but this issue should be resolved.

                            I am mining on testnet:

                            minerd --freq=600 --gc3355=\\.\COM11 -o http://188.226.166.44:19328 -u TRN7fTZa8ezTnpzj43m2hV5w9pHdp8MX29 -p -x

                            1 Reply Last reply Reply Quote 1
                            • zerodrama
                              zerodrama Regular Member last edited by

                              Multipools make no sense for long confirmation time coins. Say a pool checks the difficulty every 5 minutes. Feathercoin has a 2.5 minute block time. Say the fast blocks when it gets hammered are 10 secs. The difficulty with any algo will have a temporary curve. With 10 sec blocks, it will bounce faster than a 5 minute polling multipool will even notice it. If the confirmation time were 5 minutes, the bounce would be even faster and the time of the attack would be shorter.

                              Having short confirmation times makes you react faster, but you react softer and you stay on the multipool radar longer.

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

                                The main problem with any blocks times below 1 min is that currently they can start to produce stales.There is always going to be compromise, between security and flexibility to react (when calculating difficulty).

                                Essentially the new FTC algorithm (eHRC) will make multipools run more fairly (in the energy they use to create coins compared to loyal miners). In order to create coins they need to mine, but just not for “free” by exploiting loopholes in ReTargeting times.

                                As there is no perfect technical solution to “evil pools”, they will end up breeding the coin police. nice one.

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

                                  Catcoin’s PID is reacting well, although it’s still a bit aggressive.

                                  We know how to detect incoming and outgoing hashrape though.

                                  We’re going to add that to the algorithm.

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

                                    OMGZ. Multipools are reading the difficulty of the SOLVED BLOCK. Not the difficulty of the CURRENT BLOCK. ROFL. I’m confident many of the coin stat sources make the same mistake.

                                    BAHAHAHA.

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

                                      Hey, don’t tell them everything we know!

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

                                        Looks like Feathercoin 0.8.6.1 is about to be released.

                                        Thanks to Wellenreiter and Bushstar to all the works to make this happen. We’ve completed 2 weeks of live testing at the weekend, and there has been no further issue identified.

                                        eHRC has performed completely as specified, even with the greater hash variability of the testnet. It bodes very well that it will perform as well as other methods of Hash Rate compensation, but with only minor changes to the standard protocol settings and calculations.

                                        The release also includes transaction time reduction to one minute, which would be would be basically incredible, just by it’self.

                                        We now need big publicity, so everyone knows this is a mandatory hard fork.

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

                                          We need to define and announce a block number and an estimated date for the fork, so everyone can prepare in advance and install the new clients.

                                          We also should pro-actively contact the pool operators, if we know their forum names or other contact data.

                                          When 0.8.6.0 was released, some pool operators missed the news…

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

                                            Wow great news thanks for all the hard work guys.

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