We’re rewarding the question askers & reputations are being recalculated! Read more.

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
2
votes
1answer
84 views

Once SegWit is implemented, could updated miners still choose to ignore SegWit transactions?

Regular transactions can be ignored. What about SegWit transactions?
1
vote
1answer
2k views

What will happen on November 15th 2017, when the Segwit proposal expires?

The time duration for the BIP-148 UASF is from August 1st to November 15th. During this time, the BIP-148 nodes will reject blocks that do not signal for Segwit. Now, after Nov. 15th, even the BIP-...
1
vote
1answer
238 views

How do we “exchange coins on one blockchain for those on the other”?

With Segwit and BIP-148 coming, I have been trying to figure out what's exactly gonna happen with Bitcoin after August 1, by watching videos and reading articles. One thing (among many others) ...
2
votes
1answer
457 views

What is the “witness reserved value” for BIP-141?

BIP-141 defines a witness reserved value as part of a flexible commitment structure: Double-SHA256(witness root hash|witness reserved value) The purpose is to support commitments (i.e., data ...
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 ...
2
votes
2answers
220 views

Which kinds of transactions show quadratic signature-hashing scaling?

It has been stated: A major problem with simple approaches to increasing the Bitcoin blocksize is that for certain transactions, signature-hashing scales quadratically rather than linearly. https:/...
1
vote
0answers
53 views

What does the SegWit2MB proposal agreed upon at Consensus 2017 entail for the bitcoin network?

From what I've read, I know this proposal is the combination of a hardfork to 2MB blocks with the activation of SegWit, but I haven't actually seen the code for this proposal to understand what the ...
1
vote
0answers
53 views

What is segregated witness? [duplicate]

I have heard increased talk of an idea known as "segwit" or segregated witness. Quite simply, what is "segwit", why are people discussing it now and what are its main implications?
2
votes
1answer
234 views

Incentives for Segwit vs BTU

I had the (appearntly wrong) impression that miners as a whole would prefer limiting the block size / scalability / TPS in order to increase fees (basically limiting the supply), and users and ...
2
votes
2answers
142 views

Technical problems in deployment of segwit parallely on bit 4

Recently(as of May 24, 2017) segwit2mb HF has been proposed. A core developer has reported that another deployment of segwit via bip 109 on bit 4 would require code duplication. Although the above ...
1
vote
1answer
133 views

Is SegWit a step in the direction toward implementing pegged sidechains into Bitcoin?

Is Segregated Witness a step in the direction toward implementing pegged sidechains into Bitcoin?
4
votes
1answer
310 views

What is it that makes BIP149 safer to activate than BIP148?

There are currently two BIPs floating to enable a "user activated softfork" of Segregated Witness. BIP148 is meant to activate by flag day on August 1st 2017 whereas enforcing nodes stop accepting ...
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 ...
3
votes
1answer
397 views

Does Segwit mean easier government monitoring?

I have noticed a steady stream of PR articles talking ad nauseum of the dangers of a contentious hard fork and how miners refusing to signal segwit are screwing us all. Many are quite well written and ...
1
vote
1answer
316 views

How would segwit help bitcoin services like, blockstream profit, and miners to loose?

Segwit in the current form, How would it affect miners except, asicboost? How would blockstream (other than miners) kind of companies benefit from it, in such a way that miners can't? I'm looking ...
6
votes
1answer
679 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 ...
2
votes
0answers
351 views

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 ...
1
vote
0answers
226 views

How to make Simplecoin's powerpool to support Litecoin Segwit?

I tweek the code transation.py https://github.com/simplecrypto/cryptokit/blob/master/cryptokit/transaction.py#L150 add: if (self.default_witness_commitment is not None): data += b'\x00' ...
2
votes
1answer
330 views

How does a non-upgraded node read a SegWit transaction? [duplicate]

I'm trying to understand how my node would interperet a SegWit transaction if I do not upgrade. Even if I do not upgrade, I should be ...
0
votes
1answer
980 views

Can I get the wallet in bitcoind to use P2SH segwit (on testnet)?

Can I use the wallet functionality in bitcoin cli daemon with P2SH segwit on testnet/regtest? Meaning, can I receive on these addresses and send from them? And if I can, how? I cannot find it ...
3
votes
0answers
353 views

Scrypt CPU miner supporting segregated witness (for Litecoin testnet4) [closed]

I am interested in CPU mining on the Litecoin testnet (testnet4); the difficulty level is currently low enough to make this feasible. The standard Litecoin client no longer supports CPU mining. The ...
2
votes
0answers
52 views

What is preventing segregated witness from being activated

Segregated witness has been around since 2015 with good publicity and proponents since early 2016. It seems to have the benefits of solving transaction malleability, creating a good foundation for the ...
4
votes
1answer
923 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, ...
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?
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. ...
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 ...
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 ...
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 ...
2
votes
1answer
357 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 ...
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?
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 ...
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. ...
4
votes
1answer
223 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?
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 ...
3
votes
1answer
191 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/...
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 ...
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?
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 ...
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 ...
5
votes
2answers
278 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 ...
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 ...
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 ...
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?
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?
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 ...
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 ...
1
vote
1answer
263 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 ...