Bitcoin Forum
April 23, 2024, 09:52:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: SegWit question  (Read 1611 times)
konovalets (OP)
Sr. Member
****
Offline Offline

Activity: 248
Merit: 250


View Profile
August 27, 2016, 03:27:00 PM
 #1

I've read a bit about Segregated Witness and one thing is not clear for me.

Does it really save some place for blockchain keeping or it's just a trick to move some data out of blockchain? Will it help to save place for full nodes?
1713865937
Hero Member
*
Offline Offline

Posts: 1713865937

View Profile Personal Message (Offline)

Ignore
1713865937
Reply with quote  #2

1713865937
Report to moderator
1713865937
Hero Member
*
Offline Offline

Posts: 1713865937

View Profile Personal Message (Offline)

Ignore
1713865937
Reply with quote  #2

1713865937
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713865937
Hero Member
*
Offline Offline

Posts: 1713865937

View Profile Personal Message (Offline)

Ignore
1713865937
Reply with quote  #2

1713865937
Report to moderator
1713865937
Hero Member
*
Offline Offline

Posts: 1713865937

View Profile Personal Message (Offline)

Ignore
1713865937
Reply with quote  #2

1713865937
Report to moderator
1713865937
Hero Member
*
Offline Offline

Posts: 1713865937

View Profile Personal Message (Offline)

Ignore
1713865937
Reply with quote  #2

1713865937
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6530


Just writing some code


View Profile WWW
August 27, 2016, 03:57:14 PM
 #2

It does not actually reduce the storage requirements. More transactions means that there will be more data will be downloaded. What it does do is count the signatures as not being part of the transaction. This allows that data to be pruned at a later date once the the signatures are verified, so it can save space there.

Hazir
Legendary
*
Offline Offline

Activity: 1596
Merit: 1005


★Nitrogensports.eu★


View Profile
August 28, 2016, 04:43:22 AM
 #3

Some benefits of SegWit:

Quote from: CoinTelegraph
Primary the ability to make the current blockchain block size much more efficient, in real-world practical applications. 
Since old nodes will only download the witness-stripped block, they only enforce the 1 MB block size limit rule on that data.

New nodes, which understand the full block with witness data, are therefore free to replace this limit with a new one, allowing for larger block sizes.

Segregated Witness, therefore, takes advantage of this opportunity to raise the block size limit to nearly 4 MB,
and adds a new cost limit to ensure blocks remain balanced in their resource use (this effectively results in an effective limit closer to 2 MB).

Transaction times will shorten

Hopefully, this will help get transaction times closer to the optimal ten minutes than the current times of 30-60 minutes, at least in my personal experience.

Other benefits include , but may not be limited to malleability fixes, an easier implementation of the upcoming Lightning Network, simplification of the addition of “smart contracts” to Bitcoin’s protocol, more linear scaling of sighash operations, the ability to start signing input values, increased security for multi-sig via pay-to-script-hash (P2SH), can add script versioning functionality, reduction of UTXO growth and Compact fraud proofs.

Source: https://cointelegraph.com/news/summer-of-segwit-bitcoin-core-begins-segregated-witness-soft-fork

It will be certainly a breakthrough evolution and awesome much needed upgrade to the bitcoin protocol.
SegWit along with Lightnining Network has the potential to rise bitcoin price significantly, not to mention it will improve quality of life of every bitcoin user.


           █████████████████     ████████
          █████████████████     ████████
         █████████████████     ████████
        █████████████████     ████████
       ████████              ████████
      ████████              ████████
     ████████     ███████  ████████     ████████
    ████████     █████████████████     ████████
   ████████     █████████████████     ████████
  ████████     █████████████████     ████████
 ████████     █████████████████     ████████
████████     ████████  ███████     ████████
            ████████              ████████
           ████████              ████████
          ████████     █████████████████
         ████████     █████████████████
        ████████     █████████████████
       ████████     █████████████████
▄▄
██
██
██
██
██
██
██
██
██
██     
██
██
▬▬ THE LARGEST & MOST TRUSTED ▬▬
      BITCOIN SPORTSBOOK     
   ▄▄
██
██
██
██
██
██
██
██
██
██     
██
██
             ▄▄▄▄▀▀▀▀▄
     ▄▄▄▄▀▀▀▀        ▀▄▄▄▄          
▄▀▀▀▀                 █   ▀▀▀▀▀▀▀▄▄
█                    ▀▄          █
 █   ▀▌     ██▄        █          █              
 ▀▄        ▐████▄       █        █
  █        ███████▄     ▀▄       █
   █      ▐████▄█████████████████████▄
   ▀▄     ███████▀                  ▀██
    █      ▀█████    ▄▄        ▄▄    ██
     █       ▀███   ████      ████   ██
     ▀▄        ██    ▀▀        ▀▀    ██
      █        ██        ▄██▄        ██
       █       ██        ▀██▀        ██
       ▀▄      ██    ▄▄        ▄▄    ██
        █      ██   ████      ████   ██
         █▄▄▄▄▀██    ▀▀        ▀▀    ██
               ██▄                  ▄██
                ▀████████████████████▀




  CASINO  ●  DICE  ●  POKER  
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
   24 hour Customer Support   

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
damnMscollec
Full Member
***
Offline Offline

Activity: 215
Merit: 100


View Profile
August 28, 2016, 05:26:37 AM
 #4

@NicolasDorier
NBitcoin 3.0 Released with Segwit support ! Will soon update my book to explain how it works. Smiley

https://twitter.com/nicolasdorier/status/690694058948231170

Segwit is designed by Nicolas Dorier, and if you have question, you can tweet and ask him. I don't think there are so many people eligible to answer you this question here. Maybe a btc expert will answer you.

achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6530


Just writing some code


View Profile WWW
August 28, 2016, 01:30:30 PM
 #5

Segwit is designed by Nicolas Dorier, and if you have question, you can tweet and ask him. I don't think there are so many people eligible to answer you this question here. Maybe a btc expert will answer you.
Segwit is not designed by Nicolas Dorier. Please stop spreading misinformation. It was designed and implemented in Bitcoin Core by Johnson Lau and Pieter Wuille. If you want full details for how Segwit works (and thus how to implement it), please read the BIPs. Segwit is specified in BIPs 141, 143, and 144.

damnMscollec
Full Member
***
Offline Offline

Activity: 215
Merit: 100


View Profile
August 28, 2016, 04:37:04 PM
 #6

Segwit is designed by Nicolas Dorier, and if you have question, you can tweet and ask him. I don't think there are so many people eligible to answer you this question here. Maybe a btc expert will answer you.
Segwit is not designed by Nicolas Dorier. Please stop spreading misinformation. It was designed and implemented in Bitcoin Core by Johnson Lau and Pieter Wuille. If you want full details for how Segwit works (and thus how to implement it), please read the BIPs. Segwit is specified in BIPs 141, 143, and 144.

Thanks for your correction dude, I thought Segwit was designed and develo[ed by Nicolas. It seems that he rewrite the code in C# language and in his NBitcoin codebase.

pianist
Legendary
*
Offline Offline

Activity: 954
Merit: 1003


View Profile
August 28, 2016, 10:38:15 PM
 #7

Segwit is specified in BIPs 141, 143, and 144.

BTW, why BIP 142 has not been accepted? And how will look segwit addresses?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6530


Just writing some code


View Profile WWW
August 28, 2016, 10:41:14 PM
 #8

Segwit is specified in BIPs 141, 143, and 144.

BTW, why BIP 142 has not been accepted? And how will look segwit addresses?

I don't quite remember why BIP 142 wasn't accepted.

There will not be segwit addresses. There will be segwit output types which map to a normal address. There will also be p2sh addresses in which the redeemscript is a segwit output.

cr1776
Legendary
*
Offline Offline

Activity: 4018
Merit: 1299


View Profile
August 28, 2016, 11:22:18 PM
Last edit: August 30, 2016, 12:06:25 PM by cr1776
 #9

Segwit is specified in BIPs 141, 143, and 144.

BTW, why BIP 142 has not been accepted? And how will look segwit addresses?

I don't quite remember why BIP 142 wasn't accepted.

There will not be segwit addresses. There will be segwit output types which map to a normal address. There will also be p2sh addresses in which the redeemscript is a segwit output.

BIP 0142 is deferred (could be considered later if there is reason) since it is not needed right now since there is no separate segwit address format.
jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1092


View Profile
August 29, 2016, 07:49:41 AM
 #10

Segwit is designed by Nicolas Dorier, and if you have question, you can tweet and ask him. I don't think there are so many people eligible to answer you this question here. Maybe a btc expert will answer you.
Segwit is not designed by Nicolas Dorier. Please stop spreading misinformation. It was designed and implemented in Bitcoin Core by Johnson Lau and Pieter Wuille. If you want full details for how Segwit works (and thus how to implement it), please read the BIPs. Segwit is specified in BIPs 141, 143, and 144.

Segwit is designed by many people, primarily by Pieter. The idea dates back to 2013 as early as I know. The softfork segwit is proposed by Luke Dashjr in 2015. I'm just contributing to a small part of it.

BIP142 was deferred and won't be implemented as currently described. People will use P2SH address for segwit at the beginning.

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
pianist
Legendary
*
Offline Offline

Activity: 954
Merit: 1003


View Profile
August 30, 2016, 07:20:09 AM
 #11

BIP142 was deferred and won't be implemented as currently described. People will use P2SH address for segwit at the beginning.

How will redeem script look like?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6530


Just writing some code


View Profile WWW
August 30, 2016, 12:37:45 PM
 #12

BIP142 was deferred and won't be implemented as currently described. People will use P2SH address for segwit at the beginning.

How will redeem script look like?

It will look like a segwit output script.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!