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).

1
vote
1answer
713 views

bech32 addresses for segwit support in mycellium and coinomi?

Does mycellium and coinomi for android support bech32 addresses for segwit? If they don't would it throw an error if you tried to send it there?
4
votes
1answer
656 views

How to compute SegWit txid?

BIP141 says wtxid is SHA256 of [nVersion][marker][flag][txins][txouts][witness][nLockTime]. Is data that hashed as txid includes witness? And will txid be presented in block, e.g. be counted when ...
2
votes
1answer
681 views

SegWit address to Non-SegWit addresses

If I send from a segwit wallet to a non segwit wallet, does the tx not show up in the other wallet until there is a confirmation?
16
votes
2answers
4k views

Bitcoin Segwit was released in the summer of 2017 to reduce the blocksize congestion. Why is it still congested?

Segwit was released in the summer of 2017 to resolve the network congestion. Why is the network still congested? Didn't it enable 1MB blocks to become 2MB blocks? Or do you have to wait for wallet ...
4
votes
2answers
232 views

Is there a reason big Bitcoin companies wouldn't use only SegWit transactions?

As I understand, SegWit allows anyone to create a SegWit address where they can send their bitcoins and transact from that wallet just as easily as they would with a traditional address. The SegWit ...
0
votes
1answer
245 views

Which branch of bitcoinj should I sync to?

I am experimenting with Bitcoinj to design a stable node that is synced. Older versions of bitcoinj seem to drop connections and stop syncing. I currently see the following branches (see screenshots)...
2
votes
1answer
408 views

What was the number of the block in which SegWit got activated? And first transaction?

It was definitely on August 24th 2017, but not sure about the block number. Many sources reference block 481,822; but others state 481,824. Also, even if this was the first block to allow segwit ...
1
vote
3answers
173 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
429 views

What is ment by the “value of the output spent by this input” in BIP 143?

I'm looking into BIP 143 and I'm confused by item 6 in the specification of the transaction digest algorithm. It says: The item 6 is a 8-byte value of the amount of bitcoin spent in this input. I ...
1
vote
2answers
2k views

How to check if an address is valid in Bitcoin Cash?

A lot of users seem to be mistakenly sending Bitcoin Cash to Bitcoin addresses and vice versa. I understand Bitcoin Cash doesn't support SegWit and that if Bitcoin Cash is sent to a SegWit Bitcoin ...
1
vote
2answers
743 views

SegWit. Redeem script

I'm experimenting with Segwit transactions. Is it possible to restore redeem script, if I know 1. Address (Segwit) 2. Public key 3. Private key Thank you.
0
votes
2answers
321 views

How do I store coins during the bitcoin segwit2x hard fork?

Where should I securely store my coins during the fork? A Legacy address or a Segwit address? I keep them on a Segwit address right now but I want to be sure that the fork won't affect my funds if ...
3
votes
4answers
1k views
5
votes
1answer
2k views

Segwit address creation

I'm unable to create a segwit address in Bitcoin Core 15.0.1 64-bit Windows I have tried multiple times but keep getting the same error. The following is the output from the console $ getnewaddress ...
5
votes
1answer
1k views

Generate paper wallet SegWit address

I am trying to generate SegWit paper wallet address from WIF: My WIF is L5mHKZsCLS27nSoGM3RdAwuxjvg7XhJdP25LgqdXe6zF11wpWdbT. I am converting WIF to compressed public key: Compressed public key: ...
1
vote
1answer
50 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?
5
votes
3answers
2k views

Could you provide an example of a SegWit transaction?

I'm looking for a transaction ID of a non-coinbase SegWit transaction on the Bitcoin network. Could you show me one? Google doesn't seem to do the trick.
1
vote
2answers
662 views

Create Pay to Witness Script Hash in Pay to Script Hash Address

I'm trying to generate a multisignature, segwit compatible address as a P2WSH nested in BIP16 P2SH as described in BIP141. Basically, I want to construct a P2WSH-nested-in-P2SH address from n public ...
3
votes
2answers
1k views

SegWit, Bitcoin JSON-RPC and (strange?) addresses

I'm trying to analyse this transaction: https://blockchain.info/tx/a388d6f88373aacf2a5c170eeff4adf51f2c6744da26375d5890f42d653a2e6c I used to be able to just run bitcoin-cli getrawtransaction txid 1 ...
1
vote
1answer
41 views

What happens to witness blocks?

What happens to witness blocks after they are broadcast to other witness nodes? Are they kept or forgotten after some blocks?
4
votes
1answer
450 views

Can a Non-Segwit Miner mine segwit transactions?

I understand that non-segwit nodes interpret segwit txes as Anyone-Can-Spend txes, and they cannot validate txes that spend segwit outputs. But when an old style miner receives a segwit tx to mine he ...
1
vote
1answer
309 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…?
2
votes
0answers
214 views

SegWit with BitCore-Lib

How to create a SegWit address and transaction using bitcore-lib?
9
votes
2answers
2k views

Where is the Signature stored in a SegWit transaction?

I understand that SegWit makes transaction blockdata smaller, by not storing the signature in the Block, so that can fit more transactions in 1MB. This is because the signature is not anymore stored ...
2
votes
0answers
539 views

Is there any testnet faucet site that sends out to bech32?

I am writing a wallet for the far future and I am planning to completely drop the support for receiving to P2PKH addresses. I don't want to add P2SH over P2WPKH either.
1
vote
1answer
92 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
50 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 ...
0
votes
1answer
328 views

Armory and segwit addresses

I'm using Ledger wallet, and it recently prompted me to migrate to new Segwit address type. If I want to use Segwit transactions from Armory, do I have to do something similar (I have installed ...
2
votes
2answers
729 views

Segwit transaction from mixed addresses (segwit and non-segwit)

Is it possible to have partly segwit transactions? I.e. some utxos from segwit addresses and some from non-segwit addresses. Asking for the situation of Bitcoin core v0.15 wallet with coins in segwit ...
2
votes
1answer
109 views

Bitcoin Core - When is fAllowWitness evaluated to true?

In Bitcoin Core, when is fAllowWitness evaluated to true? transaction.h const bool fAllowWitness = !(s.GetVersion() & SERIALIZE_TRANSACTION_NO_WITNESS); In particular, I cant figure out the ...
1
vote
2answers
623 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 ...
10
votes
1answer
3k views

With 100% segwit transactions, what would be the max number of transaction confirmation possible on a block?

With 100% segwit transactions, what would be the max number of transaction confirmation possible on a block? And, how many utxo can be updated by a block full of segwit transactions?
1
vote
1answer
135 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
2answers
885 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
634 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
691 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
120 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: ...
1
vote
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
186 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
145 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
195 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
7k 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
769 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
393 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
139 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
952 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
283 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
1answer
244 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 ...