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
6
votes
3answers
1k views

Does a segwit based side chain like the lightning network allow for fractional reserve?

I'm confused. I've watched the video The Lightning Network Explained (Litecoin/Bitcoin), and read the following comments by Craig Wright: This occurs because schemes such as segregated witness ...
1
vote
0answers
308 views

use addwitnessaddress outside bitcoin core's wallet. Are there any libraries?

I want to create P2SH of witness script. I know bitcoin core has addwitnessaddress rpc method but I want to use it for addresses which are outside bitcoin core's wallet. I tried to find the tools on ...
1
vote
1answer
246 views

Has SegWit been activated yet?

Is SegWit activated and when exactly did that happen? I keep getting conflicting information, any help would be much appreciated!
1
vote
0answers
17 views

(Reference request) Is there a better (but also fully technical) source to read how exactly SegWit works other than the official BIP141 document?

I'm slowly making my way through https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki and while it seems that with more time I should be able to understand it properly, it's going rather ...
2
votes
1answer
272 views

Legacy blockchain after upgrade to SegWit

Let's suppose I run a legacy (non-SegWit) node after SegWit gets activated. My blockchain doesn't store any SegWit data. What happens when I upgrade my node? Will I have to re-download the blockchain ...
5
votes
1answer
755 views

Why does the Segwit developer guide recommend to estimate fees on basis of vsize instead of weight?

The Segwit Wallet Development Guide has a small section on fee estimation: Transaction Fee Estimation Instead of transaction size, a new metric is defined, called “virtual size” (vsize) ...
6
votes
2answers
239 views

Are SegWit signatures all required to follow BIP143?

...or is there any way for a SegWit witness to contain a "legacy" signature?
1
vote
1answer
105 views

Who is for SegWit and who is against? And what is the consensus?

I am a little lost in the whole political landscape of implementing SegWit, I understand that Bitcoin Core is for SegWit but are the miners against it? If not then who is against it and what is their ...
1
vote
1answer
750 views

I run Bitcoin Core 0.14.1, for Segwit they tell me to “upgrade” to 0.13.1. So confusing [duplicate]

Short version of my question: I run Bitcoin Core 0.14.1. Will I be fully compatible with the segwit soft fork after Aug 1 2017 with this version? IOW, I can simply do nothing and be segwit compatible? ...
3
votes
1answer
237 views

What do I have to do after Segwit activates if I'm running Bitcoin Core 0.14.1?

I have my bitcoins on a Linux Server. It runs Bitcoin Core 0.14.1. What do I have to do after Segwit activates?
1
vote
1answer
100 views

Default behaviour when network partitions/pruned network

From people oposed to SegWit I have heard about the argument, that after SegWit activation, nodes may chose to drop/prune all Witnesses. From my understanding, this may not be much different from ...
0
votes
1answer
5k views

Where can I buy bitcash

Is there any where I can buy bitcash ahead of the fork? Or do I need to keep my bitcoin in wallets that won't signal SegWit?
2
votes
0answers
180 views

How much will Segwit increase the number of transactions that can fit in each block?

How much weight would the witness data have on the total block size? What is the culminating effect of this on the number of transactions that can fit into each block? Thanks in advance :)
0
votes
1answer
177 views

What is impact of the possible nitwit fork on August 1? Will it double the coins I have?

If the Nitwit proposal is activated at the end of July then as I understand a hard fork will occur because miners and nodes that continue using the old software will generate blocks in the old format, ...
2
votes
1answer
353 views

BIP91 is activated, why BIP141 is still dormant?

The moment is BIP91 activated non-SegWit signaling blocks will be orphaned. Since BIP91 is now activated won't that immediately boost BIP9 to 100%? Why is it not happening?
1
vote
1answer
141 views

Can someone explain to me all of the scaling proposals?

What are Segwit, Segwit2x, UASF, BIP 141 and 91, emergent consensus, and core/Non-EC? All of these terms are confusing and I don't understand what they all signify. Also, could you give me a ...
5
votes
1answer
377 views

SegWit and previous hash: txid or wtxid, or either?

With segwit there will be two transaction ids wtxid and txid Can either one of them be used as previous hash or only txid?
4
votes
0answers
706 views

To sign raw transaction in Segwit

I am using Bitcoin core 0.14.1 testnet. I created a Segwit address. transfer some coins to this address. Now I want to spend it. I created a raw transaction using console command i.e. ...
1
vote
1answer
79 views

What was the last block before BIP91 activated?

https://www.xbt.eu/ says: BIP91 ACTIVATED! Non-SegWit signaling blocks will be orphaned. What was the last block before BIP91 activated?
2
votes
1answer
111 views

BIP9: What happens if I make a segwit transaction after lock in but before activation?

Will it be treated a anyone-can-spend or do the nodes enforce the new rules? Along the same lines, what exactly happens when we say a soft fork is activated? Are the enforced at the time SF becomes ...
1
vote
1answer
333 views

Why did Satoshi not choose for Segwit?

I know that the very early version of the Bitcoin code had a lot of advanced features, and was already very mature. But Segwit (storing signatures separately from the transactions in the block) is a ...
2
votes
3answers
424 views

When is the earliest we will see SegWit transactions on main net

I am assuming that only after SegWit activation SegWit txs will be on mainnet, what i cannot determine is the date for that event. Can anyone help? So far i have seen references to late August.
1
vote
0answers
151 views

Parsing a SegWit transaction, what are stack items in witness data

For every input we can have multiple stack items, what do these represent? As a reference this question is helpful Are these defined here? For eg. P2WPKH would have a signature followed by a pubkey, (...
2
votes
2answers
342 views

Can BIP91 cause a chain split?

BIP91 forces BIP141 signaling, the blocks that do not signal BIP141 will be rejected by those who are pro-BIP91. The minority of miners that do not support BIP91 (and by extension BIP141), could start ...
3
votes
2answers
278 views

Can there be a half segwit, half normal Bitcoin transaction?

I was wondering if it's feasible to compile a bitcoin transaction that is somewhere in between (segwit and non-segwit), maybe one of these scenarios. I'll call the non-segwit inputs, normal inputs ...
3
votes
1answer
436 views

BIP91 Activation Period

I understand that BIP91 needs 269/336 signaled blocks. My question is is it a rolling window of any 336 blocks or are there activation periods of 336 blocks that start and end at predetermined block ...
1
vote
2answers
148 views

How to track UASF support?

It's easy to see that currently 50% of the hashrate supports Segwit. It's also simple to find that about 1000 nodes are supporting it. But I can't seem to figure out how significant that amount is, ...
8
votes
3answers
684 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 ...
5
votes
1answer
2k views

How does Segwit prevent ASICBOOST?

I know that ASIC BOOST exploits the fact that the blockheaders are not a multiple of 64 bytes, but what is the change in Segwit that prevents this? Are they always a multiple of 64 bytes now for ...
3
votes
2answers
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": "...
1
vote
1answer
437 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
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, ...
8
votes
1answer
1k 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.
3
votes
1answer
83 views

Do sigops count towards the block weight in SegWit?

I was just rereading the SegWit benefits page and noticed that the section Moving towards a single combined block limit contains an example in which sigops count towards the blockweight. Did this ...
0
votes
2answers
720 views

SegWit witness commitment merkle root location

BIP 141 defines the commitment structure here What i am unsure about is the location of this data. I know it will be in scriptPubKey. Does this mean Coinbase tx will have more than one output? Also is ...
3
votes
1answer
597 views

Parsing a SegWit transaction - what is the size of witness data?

I'm parsing s SegWit transaction, I got it done until i reach the witness data. How big is the witness data?
2
votes
1answer
180 views

What are the positives and negatives of “Flexible transactions”?

What are the positives and negatives of Bitcoin Classic's Flexible Transactions? (related BIP 134) Why aren't they used instead of Segwit? It seems that they solve the exact same issues as Segwit, in ...
2
votes
1answer
145 views

Blocks, scaling and segwit question

Somewhat new to bitcoin, trying to understand the tech... For my understanding all the transactions go into a block, every 10 minutes the block is mined and all transactions in it are confirmed. With ...
3
votes
1answer
687 views

After Segwit Activation, what is the largest block size possible?

The code says MAX_BLOCK_SERIALIZED_SIZE = 4000000, but that is actually not a actually consensus rule as stated here: https://github.com/bitcoin/bitcoin/issues/10289 The actual consensus rule is ...
1
vote
1answer
252 views

What happens to bitcoin when Segwit2MB activates?

Specifically what will happen with bitcoin in wallets. Do I have to try and quickly buy "Segwit coins" if the value of bitcoin core drops? Do I have equal amounts of Segwit and core coins? If so ...
25
votes
1answer
13k views

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 ...
1
vote
1answer
302 views

Segwit: Arbitrary data storage in witness?

Let's say I want to encode the text of the King James version of the Bible into the block chain, one piece at a time (replace this with any zany idea to consume copious quantities of block space). ...
1
vote
2answers
138 views

What is the weight of a block that contains no pay-to-witness scripts?

I'm trying to understand block weight, a metric introduced by segwit (BIP-141): block weight = 3 * base size + total size "base size" is the length of a pre-segwit block, which contains only ...
0
votes
1answer
293 views

Why is BIP-147 (Dealing with dummy stack element malleability, part of segwit) necessary?

Given BIP-11 (M-of-N Standard Transactions) it's not clear why BIP-147 (Dealing with dummy stack element malleability) is necessary. BIP-11 states: OP_CHECKMULTISIG transactions are redeemed using ...
2
votes
0answers
161 views

What is UASF, BIP148, Segwit, Segwit2x? [duplicate]

I keep reading these terms and I don't follow this everyday. Last I heard was that segwit was suppose to solve the block size debate. What are all these new terms like segwit2x and UASF?
2
votes
1answer
69 views

How does BIP9 handle expiration dates over retargeting periods?

Suppose a BIP9 feature is set to expire on day T. Suppose further that the retargeting period before T actually ends on day T+5, but the retargeting period (2016 blocks) actually signals for the BIP9 ...
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 ...
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?
2
votes
1answer
85 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
5 6 7
8
9