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

P2WSH, witness_v0_scripthash: how to derive an address

Is there an address associated with P2WSH scripts? for testnet txid =6717c8971dccbf826790efc16fb357f1e225fed3448247b8556c9f13a6c0ce42, i get: "vout": [ { "value": 0.05994165, "n": 0, ...
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 ...
5
votes
1answer
375 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?
0
votes
2answers
719 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
595 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?
0
votes
1answer
70 views

Which BIP-148 branch is the most recommended?

I want to run an BIP-148 ("segwit UASF") node. However, I am not sure which of the various branches is most maintained and recommended to run. There is this pull request by earonesty (386 commits ...
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 ...
4
votes
6answers
390 views

Is the SegWit2X success due to concentration of mining power?

SegWit2X has been called a short-sighted & severely lacking proposal. There is nearly universal preference for its alternative among those listed on the segwit support overview (SegWit, BIP 141,...
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
685 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
301 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). ...
4
votes
2answers
1k views

Birthday attack on P2SH

The Segwit Benefits document has this to say about P2SH security for base transactions: Multisig payments currently use P2SH which is secured by the 160-bit HASH160 algorithm (RIPEMD of SHA256). ...
1
vote
2answers
137 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
290 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 ...
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
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?
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 ...
4
votes
2answers
2k views

What is block weight and how is it different from block size?

While reading about BIP141, I have encountered the following options: Block creation options: -blockmaxweight=<n> Set maximum BIP141 block weight (default: 3000000) -blockmaxsize=<n> ...
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 ...
6
votes
1answer
705 views

Transaction verification by miner VS full node with & without SegWit

I'm trying to fill a few gaps in my understanding of transaction verification and would appreciate any insight. Without SegWit Miners broadcast new blocks which contain the signature(s) with every ...
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-...
12
votes
1answer
518 views

Litecoin has had SegWit for one month, what impact did that have?

Litecoin activated SegWit about one month ago on May 10th (block 1201536). What impact did the SegWit activation on Litecoin have? How many blocks have a witness commitment? How many SegWit ...
1
vote
1answer
242 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
502 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
2answers
241 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 ...
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
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
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 ...
2
votes
1answer
235 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 ...
1
vote
1answer
135 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?
2
votes
2answers
145 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 ...
5
votes
1answer
318 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 ...
5
votes
1answer
815 views

Why does BIP141 define both virtual transaction size and weight?

Why does BIP 141 (segwit) define both virtual transaction size and weight? Weight seems to be just four times virtual transaction size (or vice versa, depending on what you define first). Why are ...
5
votes
2answers
198 views

What is the point of including the scriptCode of the input in the transaction digest of segwit?

BIP143 specifies "a new transaction digest algorithm". scriptCode of the input (serialized as scripts inside CTxOuts) What problems could arise if the scriptCode of the input were not ...
1
vote
1answer
318 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 ...
3
votes
1answer
393 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
235 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
344 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 ...
3
votes
1answer
411 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 ...
0
votes
1answer
1k 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
360 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 ...
3
votes
1answer
300 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
1k 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
143 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
63 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?

1
5 6 7
8
9