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
2answers
69 views

Segwit: dropping signature from relay

In the process of trying to understand the effects of segwit on Bitcoin I started watching this: https://www.youtube.com/watch?v=NOYNZB5BCHM Which are the cases in which the receiver does not need ...
1
vote
1answer
335 views

How to estimate the optimal fee for transaction(Segwit addresses)? [duplicate]

I am using Segwit addresses to create transactions. As per my knowledge usage of segwit addresses allows the transactions to process fast with fewer fees as it occupies less space in the block. Could ...
1
vote
1answer
106 views

Trying to understand SegWit

Can someone please help to confirm my understanding of SegWit ? My understanding: Originally, signatures are included in each block alongside each transaction, these signatures can be read by nodes ...
1
vote
1answer
321 views

Bitcoin segwit addresses from HEX

I loved those two https://github.com/grondilu/bitcoin-bash-tools https://www.bitaddress.org/ because you can convert HEX into WIF private key. Is there something similar what allows to create ...
1
vote
1answer
496 views

Understanding BIP 143 [hash computation, lockTime, sequence number, witness format]

I'm trying to grasp some of the concepts presented in BIP 143. These are the things I'm stuck on: (1) A new hash format is presented. This new format is used to create a hash, which when signed with ...
1
vote
1answer
227 views

Complete definition of 'tx_witness' data structure used in 'tx' data structure

I'm reading the Protocol Documentation page for the 'tx' data structure and cannot find a completely clear definition of the 'tx_witness' data structure. After the 'tx_out' table, there is short ...
1
vote
1answer
74 views

Can SegWit block weight be increased without a hard fork?

I know segwit's block weight is 4MB. Can it be increased without a hard fork? If no, was that option even considered, and is it even possible?
1
vote
1answer
106 views

What Does “Activation” Actually Mean In Bitcoin?

During the multiple issues with Bitcoin this year with soft and hard forks, and Segwit, I have read as much as I can about how all these changes are "deployed", eg BIP9, BIP91, BIP148, BIP's 141-146. ...
1
vote
1answer
423 views

Sent Bitcoin Cash to a Bitcoin segwit address by accident on my Ledger Nano S

Stupid but I sent bitcoin cash to a bitcoin segwit address I own on my Ledger Nano S. They are not shown in either wallet. Did I lose them or is there a way to get them back?
1
vote
3answers
181 views

SegWit 2x what is it really?

SegWit 2x anounced not so long time ago. Is it true, that SegWit2x take more network traffic and disk space? So what are the advantages of it's integration?
1
vote
1answer
53 views

Will any network participant be able to send to a native segwit address?

Does a wallet have to upgrade to send to a native segwit address provided by the recipient or can anyone send to them, as was the case with the P2SH-wrapped segwit addresses?
1
vote
1answer
336 views

Which wallets can send to native segregated witness output addresses today?

Which wallets today are able to send to P2WPKH addresses starting with bc1qf…?
1
vote
1answer
102 views

segwit is activated due to BIP91?

Segwit (BIP141) is active since block 481824 in 24th August. I wonder if it was the BIP91 that made the segwit happen? I mean lets say BIP91 never existed, would segwit be activated in 24th August ...
1
vote
1answer
55 views

What does the segwit upgrade path look like?

I've been wondering what the upgrade path for the ecosystem would look like to increase the number of segregated witness transactions. What should wallets do and what should exchanges do and in what ...
1
vote
2answers
758 views

signrawtransaction of a P2SH-P2WPKH spend seems to be broken?

I'm trying to spend a SegWit output on testnet using the Bitcoin core's RPC commands. Without importing the private key into my wallet (i.e. w/o addwitnessaddress). I wonder if anyone had luck ...
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
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 ...
1
vote
1answer
444 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
103 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
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 ...
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 ...
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
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?
1
vote
1answer
184 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 ...
1
vote
1answer
294 views

Multisig scripts hashing (p2sh): difference between legacy and segwit

Some time ago I noticed that, given the same inputs, addmultisigaddress and createmultisig Bitcoin core's methods were generating different p2sh (addresses). I asked around and a user from the ...
1
vote
0answers
70 views

Stripped segwit data

I have two client Bitcoin, 0.17.0 and 0.12.0 and I want to see the difference between the same transaction. 0.17 has segwit, 0.12 doesn't have. If I do that RPC call in 0.17.0 /bin/bitcoin-cli -...
1
vote
2answers
177 views

Electrum's “script hash” form with NBitcoin?

I've come across how scripts are hashed in the electrum (stratum) protocol implementation by looking at the docs. I'm using NBitcoin, and I've tried to generate this hash from a segwit address, first ...
1
vote
0answers
14 views

I sent BCH to a segwit btc address, how can i get it back? [duplicate]

I accidentally sent bitcoin cash to a segwit bitcoin address, please can anyone help me on how i can get it back. i tried using this recovery service, https://bch.btc.com/docs/help/...
1
vote
0answers
54 views

Segwit versioning limitations

Currently my understanding is that if new version of Segwit script is introduced, you are free to create whatever crazy rules you want there as long as they do not go against any valid consensus rules....
1
vote
0answers
224 views

How to send Bitcoin Cash from BTC segwit address? [closed]

I'm trying to build a nodejs command with commander, bitcoinjs-lib, bitcoincashjs, blocktrail-sdk. Currently I got the problem when trying to spend the Bitcoin Cash of segwit address. Example: A is ...
1
vote
0answers
58 views

Segwit and block size limit

I'am learning about Bitcoin and I didn't understand something. Maybe someone could clarify. I [think] I understood what Segwit does (increases block size, solves malleability and works better with ...
1
vote
0answers
19 views

Segwit has been locked-in since Aug'17, has it been activated? If so, why are the communities not implementing it? [duplicate]

Since locked-in Segwit, why most exchanges, wallets & miners are not implementing it. Market complained BTC is slow & costly to transact now. Segwit did improved both, yet acceptance by ...
1
vote
3answers
268 views

Why do non-SegWit clients send witness data in the first place?

If SegWit leaves out witness data for backwards-compatibility, thus witness data isn't so important apparently, then why do clients even send that data in in the first place? Aren't they making their ...
1
vote
1answer
2k views

Can I send balances to Segwit address from non-segwit address?

I have some balance on my first exchange. It use 1~ address. I'm trying to withdraw this balance to my Bitcoin Core's 3~ address.(Which is Segwit address, right? I made this by addwitnessaddress ...
1
vote
1answer
144 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 ...
1
vote
1answer
342 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 it doesn't ...
1
vote
0answers
305 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
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 ...
1
vote
0answers
148 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, (...
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?
1
vote
0answers
234 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' ...
1
vote
0answers
151 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?
1
vote
0answers
66 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 ...
0
votes
2answers
71 views

Are non-SegWit transactions still malleable?

SegWit was (amongst other improvements) introduced to fix malleability issues. Does that mean that non-SegWit transactions are still malleable? If so, what types of malleability could still happen in ...
0
votes
1answer
853 views

How to verify if it's Segwit Transaction or not?

Segwit Usage chart example : https://p2sh.info/dashboard/db/segwit-usage?orgId=1 I Would like to verify by checking tx if it's Segwit Transaction or not. Is there any simple method to do this? ...
0
votes
3answers
1k views

Convert bech32 Bitcoin address to legacy

I know that similar tools exist for BCH (e.g. https://cashaddr.bitcoincash.org/). Is there a way to convert a native segwit bech32 Bitcoin address to a legacy format?
0
votes
2answers
172 views

Does segwit solve malleability of the witness part?

I understand that after segwit the transaction ID can't be malleated, but can't the witness part be malleated, just like the scriptSig can in a non-segwit transaction?
0
votes
1answer
39 views

How Segwit makes transactions smaller? What about the witness?

I have seen similar questions without a clear answer. So, how does Segregated Witness make transactions smaller? I understand it removes data from the transaction hash and solves malleability ... But ...
0
votes
2answers
185 views

SHA256 vs RIPEMD160 in SegWit

In Pay-To-Witness-Public-Key-Hash (P2WPKH), the RIPEMD160 hash function is used to hash the public key of the recipient in the locking script. On the contrary, Pay-To-Witness-Script-Hash (P2WSH) uses ...

1
5 6
7
8 9