Questions tagged [segregated-witness]

A 2017 softfork that introduced a new transaction format to fix third-party transaction malleability and increased the blocksize.

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.

611 questions
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 パトシ
  • 11,056
  • 18
  • 84
  • 158
14
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
  • 245
  • 1
  • 7
8
votes
3 answers

How would I explain SegWit to a non-technical friend?

How can I explain the potential ease of scaling and feature benefits of Segregated Witness to a non technical friend? How can I explain the potential drawbacks of Segregated Witness in a non technical manner?
cowboy4life
  • 394
  • 1
  • 6
7
votes
3 answers

How to see the number of segwit transactions in a block

Now that segwit is active I am interested to know how many segwit transactions are in each block. The Blockchain explorers I've looked at don't seem to be tracking this info. Is there any service that would allow me to view the number of segwit…
trampster
  • 303
  • 2
  • 10
7
votes
1 answer

What is the precise definition of "witness program"?

BIP 141 uses the term "witness program" extensively without, apparently, adhering to a consistent definition. From the heading "Witness Program": A scriptPubKey (or redeemScript as defined in BIP16/P2SH) that consists of a 1-byte push opcode (for 0…
Rich Apodaca
  • 2,361
  • 2
  • 15
  • 34
6
votes
3 answers

If SegWit only increases the capacity to only 2-4x only. Wouldn't we have the same issue in a few years again?

If I understand correctly. SegWit is one of the solutions to the full 1MB block problem that doesn't require a hard fork. But I've read this only increases the 1MB to maybe about 2-4x only. If that is the case, wouldn't we have the same problem down…
Patoshi パトシ
  • 11,056
  • 18
  • 84
  • 158
6
votes
2 answers

How could a 2 byte witness program make sense?

BIP141 requires the witness program to be 2-40 bytes for segwit versions 1-16 (for v0 it must be either 20 or 32 bytes). When would a 2 byte witness program ever make sense? The 16 bits entropy is nearly non-existent, so it can't make sense for…
Kalle Rosenbaum
  • 528
  • 2
  • 15
5
votes
3 answers

Could you provide an example of a SegWit transaction?

I'm looking for a transaction ID of a non-coinbase SegWit transaction on the Bitcoin network. Could you show me one? Google doesn't seem to do the trick.
tsusanka
  • 355
  • 3
  • 7
5
votes
2 answers

Can unupgraded nodes that accept zero confirmation be fooled after SegWit?

Considering the following scenario: After deployment of SegWit, there remain two old clients (with software that is unaware of SegWit) A & B. A funds a transaction to pay B using a SegWit output which appears to both as ANYONE_CAN_SPEND. Upgraded…
Murch
  • 75,206
  • 34
  • 186
  • 622
4
votes
3 answers

SegWit Version - is there a proposal for new versions?

I can see transactions with version 0. Are there any other versions of SegWit proposed or in existence?
Albert S
  • 1,630
  • 12
  • 21
4
votes
4 answers

Vanity address generation for Segwit?

Vanity address generation is currently strightforward for "old" Bitcoin addresses (starting with 1) with multiple software options available (oclvanitygen e.t.c). Is there any options to generate SegWit Vanity address (starting with 3)? Or it is…
BarsMonster
  • 227
  • 2
  • 8
4
votes
1 answer

Why does segwit save space on the blockchain?

I've had a hard time finding a good source online that explains segwit. I've read the basic idea is to store the scriptSigs separately as the scriptSig is potentially malleable, and then compute the txid without the scripSig. But the scriptSig still…
relG
  • 290
  • 2
  • 12
4
votes
2 answers

What's the purpose of ScriptSig in a SegWit transaction?

Here's an example of a SegWit transaction that also contains data in the ScriptSig field: { "txid": "954f43dbb30ad8024981c07d1f5eb6c9fd461e2cf1760dd1283f052af746fc88", "hash": "a5947589e2762107ff650958ba0e3a3cf341f53281d15593530bf9762c4edab1", …
inersha
  • 3,063
  • 1
  • 17
  • 41
4
votes
1 answer

How do you tell if witness data has been tampered with?

If you receive a block, how can you tell whether the witness data has been tampered with between when it was mined and when you received it? Where in the block is the wtxid root, and how do you compute the merkle root of the witness data?
Nick ODell
  • 29,396
  • 11
  • 72
  • 130
3
votes
1 answer

Is SegWit similar to/ derived from Hyperledger Fabric?

Segregating the witness (signature) data from the transactional data is similar to the structure used in Hyperledger Fabric. Curious about the derivation of SegWit?
Junaid Shaikh
  • 520
  • 4
  • 15
1
2 3 4