Questions tagged [segregated-witness]

This tag should be used for questions regarding Segregated Witness (segwit), an activated softfork that defined a new transaction format which doesn't include signatures in the transaction identifier (txid).

Filter by
Sorted by
Tagged with
3
votes
1answer
294 views

Does Bitcoin Unlimited keep ASICBOOST intact vs going with segwit?

In light of the new findings about ASICBOOST from bitmain. Having that segwit disables ASICBOOST, does this mean that Bitcoin Unlimited leaves this ASICBOOST feature intact? Having that segwit ...
4
votes
1answer
924 views

What does “NODE_WITNESS (12)” mean as it is shown in bitnodes.21.co?

I'm running a pruned full node of bitcoin core version 0.14.0 and checking on https://bitnodes.21.co/nodes/ I can see that my node was labelled "NODE_WITNESS (12)" unlike of the others nodes shown, ...
1
vote
2answers
1k views

Which wallet libraries officially intend to use Bech32 addresses, and will the addresses generated by them be compatible?

I use several bitcoin wallets, and I would like to try Bech32 addresses when they come out. I initially thought to make a GitHub issue for Greenbits, but it seemed more appropriate to just ask such a ...
3
votes
1answer
135 views

What are the risks of a lower-than-95% activation threshold for soft forks (particularly SegWit)?

95% seems exceptionally conservative, especially given the evidence of vetoing by a subset of Bitcoin miners. What risks does, say, 60% over a longer activation period hold vs 95% for SegWit?
2
votes
1answer
62 views

Can Segregated Witness function in an Emergent Consensus environment?

Same as subject. I've been finding it difficult to find any discussion on the current Emergent Consensus implementation and theory, but I have seen reservations. Does it adversely impact the ...
9
votes
1answer
2k views

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?
17
votes
1answer
2k views

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. ...
16
votes
2answers
1k views

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 ...
5
votes
2answers
210 views

Are SegWit signatures all required to follow BIP143?

...or is there any way for a SegWit witness to contain a "legacy" signature?
6
votes
1answer
1k views

Will SegWit allow for m of n multisig with very large n and m?

By reading this answer, I understand that in m-of-n multisig addresses, m and n are limited by the maximum size allowed by the P2SH redeemScript (i.e. 520 bytes). However, in this section of BIP141, ...
3
votes
1answer
329 views

Does the introduction of Schnorr signatures require segwit?

What is the relationship of segwit and Schnorr signatures? Is segwit a prerequisit for Schnorr signatures? I've read that the transaction versioning of Segregated Witness would allow to just assign ...
4
votes
1answer
891 views

Redeem script for segwit addresses

How does one derive the Redeem Script for the new Pay-to-Witness Pubkey Hash addresses? With existing P2SH it's revealed after providing N number of Public Keys through a createmultisig function in ...
1
vote
1answer
181 views

Why doesn't getblockchaininfo reveal BIP9 signaling statistics?

An example of the output of getblockchaininfo is here: https://chainquery.com/bitcoin-api/getblockchaininfo The softforks field describes the number of required / found blocks signaling the soft ...
2
votes
1answer
358 views

How to compute double sha256 shown in examples of bip 143?

How do I compute the double sha256 shown in example of bip 143? The example in Native P2WPKH hashPrevouts: dSHA256(...
5
votes
1answer
733 views

Can old wallets redeem segwit outputs it receives? If so how?

There's some conflicting information out there on whether this is true or not. I'm looking for a technical answer to this in the hopes of clearing up future potential confusion over the matter. The ...
2
votes
1answer
155 views

Why is segwit support rising so smoothly?

I expect to see some noticeable random steps (e. g. when some relatively large pool on miner starts to support segwit). Instead I see almost perfect linear dependency. Why is that? I am afraid that I ...
3
votes
1answer
282 views

What new JSON-RPC calls are available with SegWit activation?

For example, I can see getblock now returns two fields for a block's size: size (all data) and strippedsize (base block size, NOT including witness data) Are there any more RPC updates to interact ...
1
vote
0answers
144 views

How to redeem a p2wsh transaction?

Now we know how to redeem standard P2SH and P2PK transactions, but now since witness scripts are no longer included in transactions, how would script evaluation work under segregated witnesses?
5
votes
2answers
1k views

What is a fraud proof?

In Pieter Wuille's presentation on Segregated Witness, he often mentioned "fraud proofs". What exactly are they? Do physical users actually have to go out of their way to manually produce these proofs ...
1
vote
1answer
428 views

How to produce a p2wsh transaction with bitcoin-cli?

With the impending adoption of segregated witness, users reliant on the bitcoin-cli API would require to reconstruct new methods to re-produce more efficient transactions. Is there some guide out ...
2
votes
1answer
703 views

Is there an address format for P2WPKH or P2WSH?

Is there an address format for P2WPKH or P2WSH? If P2WPKH uses the same address format as P2PKH, how does a wallet know which one to use?
10
votes
2answers
2k views

How to get addresses from scriptPubKey in segwit transactions?

I'm running through raw transaction data, and I'd like to be able to gather addresses (where possible). So far, I've made this diagram to help me understand when it's possible to figure out addresses ...
7
votes
1answer
207 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
1answer
622 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
1answer
225 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?
2
votes
2answers
1k 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
1answer
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
1answer
992 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
1answer
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
1answer
690 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
1answer
192 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
1answer
177 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
0answers
47 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?
7
votes
1answer
2k 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
1answer
152 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
1answer
847 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
0answers
57 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 ...
6
votes
1answer
680 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
0answers
65 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
1answer
111 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
1answer
1k 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
1answer
413 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
3answers
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.
8
votes
3answers
679 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
2answers
351 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?
2
votes
0answers
98 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
3answers
277 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
1answer
351 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 ...
5
votes
3answers
250 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?
16
votes
2answers
406 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 ...