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

Why is the bytestring 0xaa21a9ed used as the witness commitment header in SegWit?

As per BIP 141, the witness Merkle root hash is stored in a scriptPubkey field of a coinbase transaction output with a header consisting of the 4-byte string 0xaa21a9ed. What is the reasoning behind ...
2
votes
2answers
1k views

How to sign a SegWit transaction via NBitcoin?

Most tutorials out there just show how to sign it in the legacy way. And I know that NBitcoin already supports SegWit, so is there a snippet out there on how to sign it this way?
3
votes
1answer
680 views

How much does SegWit affect transaction size?

I know that SegWit transactions are bigger than normal transactions. But how much? 10% or 15% or..?
1
vote
1answer
697 views

What bitcoin wallets supports SegWit?

It's more than a week since SegWit activation, and still there seems to be almost no wallet out there supporting SegWit? Well, I've heard Trezor supporting it, but no ... I don't want to buy a ...
1
vote
1answer
132 views

Why does bitcoin-cli not show the correct TXID for this transaction?

I've been decoding some transactions on Testnet, and I've found one that bitcoin-cli decoderawtransaction seems to "fail" to decode correctly. Here's the TXID: ...
2
votes
1answer
3k views

Segwit to legacy address transaction possible?

If I have a segwit address and I want to send BTC to the exchange, which supports only legacy addresses, can I even tranfer the money?
1
vote
1answer
198 views

What happens if segwit node receives blocks from legacy node?

Scenario: segwit node receives all blocks from legacy node without segwit support, eg using --connect parameter. The legacy node stores/forwards max 1Mb blocks, so the extra segwit data logically ...
0
votes
1answer
150 views

Can a created segwit address match a non-segwit vanity address?

For example, if I have the following vanity address: 1abcde.... as my current bitcoin address, is it possible to create the same vanity address for Segwit: 3abcde... ?
0
votes
1answer
202 views

Why Segwit makes blockchain faster?

In Bitcoin blockchain, Segwit takes the script, which containers the signature and sender's public key, out of each transaction and stores them into an extended block. However, why having an extended ...
8
votes
1answer
8k views

Difference between a SegWit address and a P2SH address

Let there be an address 3ABCDEFGHJKDJHDH.... How can I understand if it's a SegWit address or a MultiSig address?
7
votes
3answers
6k views

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 ...
8
votes
1answer
1k views

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

How much will Segwit *actually* increase bitcoin capacity for realistic transactions?

I often see claims that Segwit increases transactions per block by 1.7x to 2x. I'm not sure if this is true, but if I do the math myself, I don't get this number. My understanding is: 1) The “weight”...
0
votes
2answers
149 views

What is the difference between Bitcoin Core and UASF?

I am a little confused about what the actual difference is between Bitcoin Core and UASF, are they both only for SegWit? If so who is then for SegWit2X?
1
vote
1answer
1k views

Spend Segwit address output

I want to create a segwit transaction using bitcoind on testnet2. For this I created a P2SH-P2WPKH address as mentioned here and sent coins to it. Now, how do I create a segwit transaction to spend ...
1
vote
1answer
346 views

What is a “serialized signed transaction”?

Shown in the gray area here, describing how to apply, I think, Segwit to a transaction (particularly a Bitcoin Cash tx). The last section is titled "serialized signed transaction" however ...
1
vote
1answer
245 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!
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
1answer
474 views

How does Segwit achieve backwards compatibility in terms of the block size? [duplicate]

If SegWit results in production of blocks that are larger than 1MB, how do old nodes see them as valid, instead of rejecting them due to exceeding the maximal allowed size of 1MB?
1
vote
0answers
307 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 ...
4
votes
1answer
486 views

What is 'ScriptCode'?

I don't understand what the 'ScriptCode' thing is. Is it a part of transaction format? The wiki https://en.bitcoin.it/wiki/Transaction describes scriptPubKey and scriptSig, mentioning nothing about '...
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
271 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 ...
15
votes
1answer
11k views

How to generate SegWit address

How do I generate a SegWit address using Bitcoin Core CLI? Also will I be able to redeem those outputs and send them to a "legacy" address? If so, will this second transaction be accepted by older, ...
5
votes
1answer
748 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) ...
3
votes
4answers
2k views

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

How much does the weight of 2-of-3 multisignature inputs change between P2SH and P2SH-P2WSH?

I'm trying to calculate the weight of a 2-of-3 multisignature P2SH-P2WSH input. I found the related question Predict multi signature transaction size, which I've calculated out with m=2, n=3 here: ...
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? ...
-5
votes
1answer
923 views

Could miners possibly steal SegWit transactions on The Real Bitcoin? [closed]

Going to be lolz epic when all the SegWit transactions are double-spent, i.e. stolen by miners on The Real Bitcoin (the legacy Satoshi blockchain). Can anyone offer any refutation, confirmation, or ...
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
98 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 :)
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 ...
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?
4
votes
0answers
697 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?
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
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 ...
4
votes
1answer
235 views

What library or wallet can be used to test segwit transactions on testnet?

Is there any code snippets / wallets to send segwit transactions on the testnet at the moment? I'm more looking for a code snippet or any library to support this to do some tests and make them ...
1
vote
0answers
149 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
277 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 ...
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
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, ...
2
votes
1answer
78 views

What is the difference between mauling and transaction malleability?

http://stevengoldfeder.com/papers/ZKCSP.pdf notes: The protocol presented in [5] is vulnerable to the so-called mauling problem, where an adversary which knows the hash identifier T of a ...
1
vote
1answer
347 views

Why is there so much uncertainty with SegWit2x when it has 85%+ mining support?

I'm confused about the uncertainty and pessimism about the Bitcoin scaling debate. I see coindance https://coin.dance/blocks is signalling a 85% support for SegWit2x. As far as I know SegWit kills 2 ...
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 ...

1
5 6
7
8 9