We’re rewarding the question askers & reputations are being recalculated! Read more.

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
0
votes
2answers
157 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?
3
votes
1answer
467 views

Why does SegWit offer P2SH nesting?

I'm reading about SegWit and the BIP 141 in particular and I don't understand what is the motivation behind the P2SH nesting. At first I thought the P2WPKH is not valid on non-upgraded nodes, so ...
5
votes
1answer
578 views

(dis)Advantages of migrating funds to segwit?

For offline pre-segwit wallets (addresses starting with 1) what might be the advantages of migrating or not migrating to segwit (addresses starting with 3)? Even though segwit miner fees are or will ...
5
votes
2answers
422 views

How does a SegWit node verify a block?

I know that non-SegWit node could verify a block without witness. For SegWit node, is witness necessary to verify a block? Because I know witness are committed as wtxid merkle node in coinbase. What'...
4
votes
2answers
266 views

How segwit blocks are seen by segwit and non-segwit nodes?

Let's say a miner mines a block. In this block some transactions will be non-segwit and some will be segwit? The block contains two parts: The part with transactions The segregated part with ...
0
votes
1answer
2k views

How to get legacy address and private key from Segwit P2SH address?

I have a Segwit P2SH address (starting with 3...) with the corresponding private key and need to obtain the legacy address (starting with 1...) and the private key. Is this possible?
3
votes
1answer
758 views

Can Bitcoin Diamond be claimed on Segwit addresses?

I currently have my Bitcoin (BTC) on a Trezor hardware wallet with Segwit (Not in a "Legacy account"). Can I claim Bitcoin Diamond (BCD) with this or not? In general: Should I move my BTC to a ...
1
vote
1answer
157 views

What is the maximum size for SegWit transactions?

Before SegWit was activated, transactions were limited to 100,000 bytes or 100 kB. Bigger transactions were non-standard. What is the limit for transaction size after the activation of SegWit? Is ...
0
votes
1answer
331 views

Can I use same WIF/privkey to make myself a segwit address?

I think I know the answer, but want to make sure asking here. I have my old privkey/WIF and some funds on associated legacy bitcoin address. Reading this code https://github.com/bitcoinjs/bitcoinjs-...
2
votes
1answer
521 views

How to properly backup a address with private key after 'addwitnessaddress' command

I've received my balance to my addresss that starts with 3 which is after 'addwitnessaddress' command. I'd like to know that how do I properly backup my balance to keep safety. Bitcoin Core has a ...
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 ...
6
votes
2answers
1k views

generate a P2SH-P2WSH address and spend output sent to it

I am attempting generate a P2SH-P2WSH address and then spend an output sent to this address, but when I attempt signing I receive Invalid private key error from bitcoind (v0.15.1.0). So where am I ...
1
vote
1answer
417 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?
6
votes
1answer
2k views

Requirements to accept and send SegWit transactions?

I roughly understand how SegWit works, but not the details, got a few practical questions. If I understood correctly there are separate 'SegWit addresses'. How does that work, do they look like ...
2
votes
1answer
343 views

What is the recommended lowest fee for a segwit transaction when sending coins from a bc1 address? [closed]

What is the lowest fee for sending 1 btc from a segwit bc1 address?
2
votes
1answer
3k views

What is the difference between BTC and Bitcoin Core?

To my understanding BTC and bitcoin core are the same, when mentioned against S2X/B2X. Is that the case? (Bitcoin Core is BTC in the post segwit2x world?)
8
votes
2answers
4k views

Bech32 conversion to legacy P2PKH?

Electrum now generates Bech32 addresses for SegWit wallets. Example: bc1qnntcclssmtuvfw2te7q49lzvw67cfvpzxger4j Pubkey: 023f1b3421c6ae0c1758834d40806c2418194b507be261fa343a0636653f3ec75b If I ...
1
vote
4answers
1k views

Generating a segwit (bc1) address from a brain wallet?

Are there any brain wallet generators that can generate segwit (bc1) addresses yet?
2
votes
1answer
155 views

Would fees go down once more people start using segwit addresses for day to day activity?

Since the fees are high today, when more wallets and people start using segwit (bc1) addresses. Would sending from legacy address fees go down as everyone is using the newer address? Or it doesnt ...
0
votes
1answer
684 views

Which crypto currency exchanges are using segwit (bc1) addresses for its users?

Are any of the cryptocurrency exchanges using native segwit (bc1) addresses for any of its users?
0
votes
1answer
43 views

Is there an oveview of organizations support of segwit/segwit2X?

I'm trying to get an overview of what parts of the ecosystem that support what, preferably by economic activity. Is there any good lists or overviews?
0
votes
1answer
859 views

Would migrating my coins to a segwit (bc1) address reduce my fees as I send them out?

Currently fees are a bit ridiculous when sending from mycelium. I'm thinking of migrating all my coins to electrum 3 as a segwit (bc1) address. Then, would my fees be smaller? And if I exclusively use ...
7
votes
2answers
2k views

How do transaction costs compare between Bech32 addresses and legacy Bitcoin addresses?

Now that Electrum 3 supports Bech32 addresses for segwit, when sending coins to a legacy address are fees higher or cheaper?
1
vote
1answer
721 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
741 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
697 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
235 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
254 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
495 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
176 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
443 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
792 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
2k 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
51 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
3k 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
761 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
42 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
508 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
323 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
225 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
569 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
96 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
54 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 ...