Questions tagged [segregated-witness]
A 2017 softfork that introduced a new transaction format to fix third-party transaction malleability and increased the blocksize.
632 questions
7
votes
1
answer
233
views
Why are 0.13.1 Core nodes connecting only to Witness (e.g. 0.13.1) nodes?
I have my Core 0.13.1 node configured to connect to 16 nodes, and invariably I see it connected only to other 0.13.1 nodes, even though, according to bitnodes leaderboard, these nodes form a minority.
...
7
votes
1
answer
670
views
When does signaling for SegWit start exactly?
I thought that signaling for SegWit (and other softforks deployed by means of BIP0009) would start with the first block after the Starttime defined in the BIP is reached.
Someone claimed that it only ...
4
votes
1
answer
298
views
If a block contains no SegWit transactions, does a miner send an (empty) witness?
Also, would that block's Coinbase contain some kind of empty witness commitment?
5
votes
2
answers
2k
views
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": "...
6
votes
1
answer
2k
views
How do I enable segwit in Bitcoin Core 13.1?
Bitcoin Core 13.1 includes the segregated witness (segwit) soft-fork. The release notes say:
Segregated witness (segwit) is a soft fork that, if activated, will allow transaction-producing software ...
8
votes
1
answer
2k
views
How do blocks signal whether it supports segwit for the 95% threshold?
Ideally, I'd also like to see graphs that indicate how close we are to segwit adoption and the number of minimum blocks we are away from actual segwit adoption.
2
votes
1
answer
1k
views
Using segwit and creating Pay-To-Witness (P2WPKH) addresses
I'm going through this guide: https://bitcoincore.org/en/segwit_wallet_dev/
I might be understanding this incorrectly, but it sounds like the users and/or wallet custodian (coinbase, blockchain.info, ...
3
votes
1
answer
890
views
How was the 95% miner adoption threshold determined?
SegWit does not need to utilized by all (or even most) nodes in order to be used safely, but it must be adopted by almost all miners in order to successfully minimize or virtually eliminate the risk ...
3
votes
1
answer
236
views
How is the transaction's nVersion field changed with segregated witness?
Do transactions have to have a minimum version to denote that they are using seg-wit? What changes have been made to the transaction's version field?
The MAX_STANDARD_VERSION is still set to 2 in src/...
4
votes
1
answer
217
views
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 ...
2
votes
0
answers
52
views
What new peer services do segregated witness nodes need to implement?
What new peer services do segregated witness nodes need to implement? In particular, if you want a node to relay both a block and its witness data, how do you request that?
10
votes
1
answer
3k
views
What does a segregated witness transaction look like?
I'd like to learn how segregated witness works, and I thought the raw transaction data would be a good place to start
If this is the structure of current transactions:
version | [inputcount] {[txid] ...
4
votes
1
answer
175
views
Does segregated witness allow to securely create LN channel opening transactions?
In Rusty Russell's paper about the simplified version of the Lightning Network, some problems about the practical implementation of the opening channel method from the original LN paper are mentioned:
...
4
votes
1
answer
1k
views
Does the bitcoin testnet3 network support Segwit and OP_CSV?
As far as I know, Segregated Witness and OP_CHECKSEQUENCEVERIFY are the last features needed to be able to fully implement a trustless bi-directional payment channel, from start to finish. (...
2
votes
0
answers
62
views
When is the estimated date that segregated witness gets fully implemented worldwide?
I read the news recently that reviews had already been done and that the segregated witness program will be on deployment soon, so when is it expected to be fully adapted worldwide? Or is there a ...
8
votes
1
answer
2k
views
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 ...
1
vote
0
answers
88
views
Can the first part of P2WSH witness data use non-push-data operations?
BIP 141 describes a new kind of authentication template called Pay-to-Witness-Script-Hash (P2WSH).
This template moves challenge and response scripts to witness data. The last element of witness data ...
4
votes
1
answer
156
views
Does any current SegWit or blocksize increase proposal also seek an increase in the OP_RETURN byte limit?
Does any current SegWit or blocksize increase proposal also seek an increase in the OP_RETURN byte limit?
https://en.bitcoin.it/wiki/OP_RETURN
Are there any current pull requests that seek an ...
12
votes
1
answer
2k
views
How many more transactions per second will be possible with SegWit?
On a percentage basis compared to the current theoretical limit how many more transactions per second will be possible after SegWit?
Will the answer to number 1 scale linearly with block size ...
4
votes
1
answer
458
views
What is the status of the "Hong Kong Agreement"
Are the bullet points below still valid?
We understand that SegWit continues to be developed actively as a soft-fork and is likely to proceed towards release over the next two months, as originally ...
11
votes
3
answers
2k
views
How to track Segregated Witness adoption rates
How can I find out what the current Segregated witness adoption rate is, so as to see how it is progressing towards the 95% readiness required for it to activate.
9
votes
3
answers
707
views
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 ...
7
votes
2
answers
371
views
segregated witness adoption
What happens if segregated witness never reaches the 95% adoption threshold from miners? Will it still take effect for those transactions where the miners have adopted it?
4
votes
1
answer
229
views
A common criticism of Segregated Witness is that it is "unnecessarily complex". Why is it chosen over alternatives?
Segregated Witness (SegWit) is well-along the way to being implemented and deployed as a soft-fork.
Facts:
SegWit eliminates most forms of transaction malleability.
Discounts input scripts in ...
6
votes
3
answers
322
views
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 ...
3
votes
1
answer
408
views
SegWit and SPV-mining. What if...?
Is the following scenario valid?
Some unhonest segwit mining pool takes top-1000 segwit utxo and mines a block at height N with a transaction which transfers all funds to his p2pkh address
This block ...
10
votes
3
answers
1k
views
Why is the witness data fee discounted by a factor of four?
I've read that it encourages users to consolidate UTXO sets. How would it be doing that?
17
votes
2
answers
484
views
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 ...
5
votes
2
answers
339
views
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 ...
2
votes
1
answer
377
views
Segregated witness soft fork: how is the funding Tx made "ANYONECANSPEND"
Reading the BIP:
https://github.com/bitcoin/bips/blob/master/bip-0142.mediawiki
I see that the scriptPubKey in a transaction that funds a segwit redemption is the same as a normal P2PKH but merely ...
13
votes
1
answer
403
views
What are the segregated witness tradeoffs?
Segregated witnesses sound like a win in a lot of ways, I'm just trying to understand how they apply to scalability. If I understand correctly, there is a second Merkle tree of witnesses mirroring the ...
18
votes
1
answer
1k
views
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?
...