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

    [Dev] Segregated witness and BIP 102

    Feathercoin Discussion
    8
    42
    25993
    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

      I think, we need a set of at triggers to change to block version 4.

      1. majority (> 80%? > 95%?) of nodes is capable to at least accept Block Version 4

        • Wallets could place a comment like ‘block v4’ in the BC with each transaction if they can read V4 blocks. As not many comments -if any- are manually placed in the BC this should work
          *when receiving a block clients check for that comment
        • when >xx% of blocks during a given time frame - at least 48 or 72 hours, mey be longer - meet the requirement the trigger is met.
      2. We define a block about 6 month in the future to trigger the switch to V4 as we did with the Neoscrypt switch and announce that block number and expected date/time to the community

      3. … ??

      If you think we need other or additional triggers please comment/add…

      We must make sure, that only V2 blocks are generated in the production chain until all triggers are met.
      All testing must be done in the Testnet, especially the switch over must be tested upfront.
      We can simulate this by using a mixture of 0.8.7, 0.9.3.1 and >= 0.9.3.2 clients in the testnet, starting with a majority of <0.9.3.2 and increasing the percentage of ‘V4 capable’ clients gradually until the trigger is met.

      In parallel we could run manual checks on the seed node and the explorer to determine the client versions, but this is no guarantee, so it only can be an additional check.

      I don’t like to pull any 0.11.x version to the master before we have a clear plan how we approach the switch.

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

        I think 0.9.3.2 accept block 2 and block 4 , but mine block 2 only . 0.11 mine block 4 only. so 0.9.3.2 is a bridge. When the main pool is installed, we will broadcast the V4.

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

          @lizhi It isn’t going to work.

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

            @ghostlander You are right, we can’t switch to block version 4 based on the wallet versions only.

            The idea is to use the time, until 0.11.X is ready to upgrade as many clients as possible to a version, that accepts blocks with version 4.
            In an ideal world we would have 100% of 0.9.3.2 clients in the network, then define a block to switch over in the 0.11.X version and have to deal with the mining clients only, which of course must be upated to 0.11.x before the switch.
            Any non-mining clients remaining on 0.9.3.2 then would not cause any harm and experience no change at all.

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

              Which Altcoins Are Implementing SegWit?

              SegregatedWitness (SegWit) — the proposed upgrade to the Bitcoin protocol developed by the Bitcoin Core developers — is still far from activation. Requiring 95 percent of hash power to signal support for the solution, miner-adoption has seemingly stagnated at around 25 percent for now.

              But, of course, SegWit’s open source code is out there. As such, altcoins based on Bitcoin’s codebase can take the code and implement the solution. Indeed, at least two altcoins are adopting SegWit: Litecoin and Viacoin …

              https://bitcoinmagazine.com/articles/which-altcoins-are-implementing-segwit-1481577969

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

                We clearly need a similar trigger as Bitcoin to implement BIP 102.
                I’d set the level above 90% better 95%.

                An alternate solution could be to advertize an upgrade to a new Version of code and announce the switch to BIP 102 for a given block number,like we did for the Neoscrypt fork

                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 wrapper

                  Looks like most coins are taking 75%. Looks like @Lizhi was right in one front, FTC might have got good publicity if we had gone first. Not so much if we did a Vertcoin!

                  Not Just Bitcoin: Top 6 Altcoins Supporting Segregated Witness
                  http://cwt.top/en/news/2131/not-just-bitcoin-top-6-altcoins-supporting-segregated-witness

                  S Wellenreiter 2 Replies Last reply Reply Quote 3
                  • S
                    SimonTower @wrapper last edited by

                    @wrapper Yeah, some attention and publicity would be awesome until this Segwit hype is going on.

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

                      @wrapper said in [Dev] Segregated witness and BIP 102:

                      Looks like most coins are taking 75%. Looks like @Lizhi was right in one front, FTC might have got good publicity if we had gone first. Not so much if we did a Vertcoin!

                      Not Just Bitcoin: Top 6 Altcoins Supporting Segregated Witness
                      http://cwt.top/en/news/2131/not-just-bitcoin-top-6-altcoins-supporting-segregated-witness

                      Well, other coins probably have more coders than we have at the moment…

                      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 3
                      • S
                        SimonTower last edited by SimonTower

                        Is there any chance to implement Segwit to FTC in the near future?

                        T ghostlander 2 Replies Last reply Reply Quote 2
                        • T
                          TrollboxChamp Regular Member @SimonTower last edited by

                          @SimonTower i wondered this too

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

                            @SimonTower No need actually. FTC has fast blocks with a lot of free space.

                            S 1 Reply Last reply Reply Quote 1
                            • S
                              SimonTower @ghostlander last edited by

                              @ghostlander Sure, but with Segwit we could use some kind of lightning network solution.

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

                                @SimonTower Is there anyone who will provide and support this solution?

                                S 1 Reply Last reply Reply Quote 1
                                • S
                                  SimonTower @ghostlander last edited by SimonTower

                                  @ghostlander Everybody talks about these because of Bitcoin scaling problems. Litecoin doesn’t need it too but made it just like Viacoin. Look at their price now. I think we could reach the mass with a working Lightning network until the hype is going on. With a 75% support limit the community could make the decision. It’s only an idea of course. I found somebody who support it, lol:
                                  https://twitter.com/TMetaphysical/status/863233570705293312

                                  ghostlander 1 Reply Last reply Reply Quote 4
                                  • ghostlander
                                    ghostlander Regular Member @SimonTower last edited by

                                    @SimonTower Well, I don’t see a problem. It can be done.

                                    1 Reply Last reply Reply Quote 4
                                    • T
                                      TrollboxChamp Regular Member last edited by

                                      It will definitely bring in more community members! Its a hot ticket right now.

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