Questions tagged [segregated-witness]

Segregated Witness (segwit) defines a transaction format introduced in 2017 which doesn't include signatures in the transaction identifier (txid).

Segregated Witness (BIP 141, 143, 144, 145) is an ambitious engineering effort that helped rectify several problems previously plaguing Bitcoin.

Among other benefits, SegWit solves third-party transaction malleability, reduces the computational complexity of signature verification, and introduces Script versioning.

The Segregated Witness Wallet Development Guide provides an overview about working with SegWit.

Segwit defines new output types which are the only outputs that can take advantage of these benefits. This was done in order to maintain backwards compatibility as Segwit is deployed as a soft fork. Segwit was activated on block 481824.

578 questions
25
votes
1 answer

How is segwit2x different from segwit?

Today everybody got the news about the potential segwit2x adoption. However, I am trying to understand: while both of them based on the same segwit principals how they are different? Is it about the blocksize, signaling or is it about the…
Sig Touri
  • 457
  • 1
  • 5
  • 7
21
votes
2 answers

Is there a difference between bytes and virtual bytes (vbytes)?

In an Optech newsletter, size is referred to using vbytes. Is there a difference between vbytes and bytes? If so, what is the difference?
21
votes
1 answer

How is SegWit a soft fork?

Reading this section of BIP144, I noticed the followng statement: Parsers supporting this BIP will be able to distinguish between the old serialization format (without the witness) and this one. The marker byte is set to zero so that this structure…
18
votes
1 answer

What is "segregated witness" and how can it improve network scalability?

I've just heard about it, and it is claimed to be a "turning point" in the block-size debate. What is "segregated witness?" how does it work? How can it be used for improving network scalability? Is this the answer to all of network's scalability…
shx2
  • 803
  • 1
  • 8
  • 14
17
votes
2 answers

Bitcoin Segwit was released in the summer of 2017 to reduce the blocksize congestion. Why is it still congested?

Segwit was released in the summer of 2017 to resolve the network congestion. Why is the network still congested? Didn't it enable 1MB blocks to become 2MB blocks? Or do you have to wait for wallet providers to make use of the segwit portion of the…
Patoshi パトシ
  • 10,956
  • 18
  • 80
  • 151
17
votes
2 answers

How thoroughly has Segregated Witness been tested?

I've encountered claims that Segregated Witness was "not really tested" and is being "rushed". It is my understanding that SegWit had been running on Elements for more than half a year already, and that it is currently being run on its own…
Murch
  • 71,155
  • 33
  • 180
  • 600
16
votes
2 answers

What is the User Activated Softfork (UASF) proposal? How do its risks compare to hardforks?

The Bitcoin community is abuzz with discussion about shaolinfry's proposal of a UASF to activate SegWit as an alternative to the Version Bits activation. I've seen frequent and extensive discussion of the proposal and especially questions about the…
Murch
  • 71,155
  • 33
  • 180
  • 600
15
votes
4 answers

Are all three Bitcoin address types interoperable (legacy, segwit, native segwit)?

is it possible to send transactions back and forth between all 3 address types (legacy, segwit, native segwit-bech32)? Or is one of them not able to send to another?
15
votes
1 answer

How to generate SegWit address

How do I generate a SegWit address using Bitcoin Core CLI? Also will I be able to redeem those outputs and send them to a "legacy" address? If so, will this second transaction be accepted by older, non-SegWit clients?
Paul
  • 361
  • 1
  • 3
  • 11
14
votes
1 answer

Is SegWit a blocksize increase or more efficient use of blockspace?

This question gets asked frequently on reddit, and I think it would be beneficial to have a canonical answer here: Is SegWit a blocksize increase or more efficient use of blockspace?
Murch
  • 71,155
  • 33
  • 180
  • 600
14
votes
2 answers

Why is witness data downloaded during IBD in prune mode?

Why do pruned nodes download (segregated) witness data during IBD if much of that data is marked as Assumevalid? These nodes seem to be downloading witness data just to prune it. Since we already know that such witnesses are valid, and we plan to…
13
votes
1 answer

With 100% segwit transactions, what would be the max number of transaction confirmation possible on a block?

With 100% segwit transactions, what would be the max number of transaction confirmation possible on a block? And, how many utxo can be updated by a block full of segwit transactions?
vi.su.
  • 1,842
  • 5
  • 23
  • 41
12
votes
2 answers

Bech32 conversion to legacy P2PKH?

Electrum now generates Bech32 addresses for SegWit wallets. Example: bc1qnntcclssmtuvfw2te7q49lzvw67cfvpzxger4j Pubkey: 023f1b3421c6ae0c1758834d40806c2418194b507be261fa343a0636653f3ec75b If I search for that Bech32 address on btc.com, I get…
Jonathan Cross
  • 1,410
  • 10
  • 30
12
votes
2 answers

Where is the Signature stored in a SegWit transaction?

I understand that SegWit makes transaction blockdata smaller, by not storing the signature in the Block, so that can fit more transactions in 1MB. This is because the signature is not anymore stored in the blockchain. The Signature makes nearly 70%…
laizess
  • 319
  • 2
  • 8
12
votes
1 answer

Why include the Segregated Witness Merkle Root in the input field of the coinbase transaction?

I just read this article to understand SegWit better: https://bitcoinmagazine.com/articles/segregated-witness-part-how-a-clever-hack-could-significantly-increase-bitcoin-s-potential-1450553618/ There's a part that doesn't quite make sense to…
Nikolai
  • 225
  • 1
  • 7
1
2 3
38 39