Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
1answer
701 views

Get public key of SegWit address

I'm using bitcoin-cli and I need to get the public key of one of my SegWit addresses. My first attempt was to use 'validateaddress' command and take the 'scriptPubKey' field but that doesn't seem to ...
7
votes
2answers
1k views

How does SegWit reduce transaction size, when the signature is simply moved to another part of the transaction?

This video explains that the signature is moved out of the input section and moved to the new one called the witness. From what I can tell, the witness signature is still contained in this transaction ...
1
vote
2answers
304 views

Send Bitcoin cash to a Bitcoin address

by doing a mistake i have send BCH to my BTC address into my own Wallet,the wallet is Bitgo i know they have a tool to recover the BCH when they are send to a non segwit address i have already tried ...
1
vote
1answer
221 views

Why do we need SegWit (technical explanation)

After reading a lot of articles, whitepapers and videos I am still confused why do we need SegWit an Lightning instead of just bigger blocks. I don‘t want to debate Bitcoin vs Bitcoin Cash but what ...
1
vote
1answer
516 views

What is the difference between Segwit and non-segwit?

What's the difference? What is the definition of these two terms?
3
votes
1answer
2k views

Can i send bitcoin from non-segwit address to segwit address?

can i transfer bitcoins from my exchange(Koinex) which has address starting from 1xx... to a ledger nano s segwit address starting with 3x.... ? Although coinbase is not my exchange i am talking ...
5
votes
1answer
2k views

Which block explorers recognize bech32 addresses?

At this time, blockchain.info doesn't. Neither does blockchair or blockcypher.
2
votes
1answer
174 views

Where does the extended block in a segwit transaction get stored?

I understand where normal blocks get stored. They’re passed along and saved by various nodes. What about the extended blocks of a segwit transaction.
0
votes
1answer
125 views

Will Core ever adopt Segwit by default?

There is no excuse for current companies that do not adopt Segwit. It looks very scammy. However, does Core plan to adopt Segwit by default at some point? Is it a matter of money or anything else? ...
3
votes
1answer
533 views

How to quickly find the private key from Segwit P2SH address?

I have a very large list of Segwit addresses for bitcoin, starting with '3' and do not know the corresponding legacy '1' address for them. How can I quickly find the corresponding legacy address to ...
0
votes
1answer
71 views

Node doesn't find segwit transactions

I had to move around wallets and so on, and when I re-installed Knots (yeah I'm that edgy), it doesn't find the transactions to my segwit addresses. I can probably find the SW addresses somewhere, but ...
2
votes
1answer
161 views

How to set custom segwit change address in v0.15 Core via config

We generated segwit addressess via addwitnessaddress command in v0.15 core client. Therefore receiving funds to our segwit addresses. When spending those segwit UTXO, wallet creates a standard change ...
2
votes
1answer
155 views

Who witnesses a Segregated Witness transaction and what incentive do they have to witness the extended block containing signatures?

This video claims Segregated Witness is insecure because no one has an incentive to process (witness) the extended signature block. https://www.youtube.com/watch?v=VoFb3mcxluY It claims that as the ...
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
2answers
306 views

What changes did segwit do to minimum transaction fee?

If I understand this correctly, at the beginning, the minimum fee was 0, than it was .0001. Now, I can see that you can enter some really small amounts as fee for the transaction, however, with ...
2
votes
3answers
2k views

Calculate Segwit address from public address

I would like to calculate the segwit address of a public address. First step: take the compressed public address: 1L88S26C5oyjL1gkXsBeYwHHjvGvCcidr9 do a sha256 on that address: ...
2
votes
0answers
127 views

Why bitcoin does not generate and support Segwit addresses by default automatically?

I downloaded the latest bitcoin core, but the generated wallet and address was not a segwit. Why bitcoin core, does not support segwit by default? and when it will be changed?
1
vote
1answer
80 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. ...
4
votes
2answers
752 views

Can someone explain how this person hacked bitcoin?

I'm trying to fill a few gaps in my understanding how this transaction happened! It all started with this article In short, some vigilante/miner was able to scoop up all of the BCH sitting in ...
2
votes
0answers
178 views

pyminer for getblocktemplate/segwit?

I'm trying to resurrect my simpleminer.py script, based on pyminer, for use with Bitcoin 0.13.2 but the changes to the code over the last few years are overwhelming. I found out how to use ...
0
votes
1answer
310 views

P2SH-P2WPKH private key or revert to P2WPKH

Is there a way to get the private key out of an P2SH-P2WPKH address, using Bitcoin Core 0.15.1? If not, is there a way to get the origin P2WPKH address to get the private key out of this address?
3
votes
1answer
289 views

how to get address from transaction with empty ScriptSig?

look here https://blockchain.info/tx/d4223672c9043c17a2775abde858778fca38b53152e165757188ab747850770e why does address start with bc1q... ? Is it some standart? How can I derive this value from ...
0
votes
1answer
547 views

Segwit Address Supporting Testnet Faucet

Looking for a good Segwit supporting testnet faucet and preferably one that supports P2WPKH addresses, however answers that allow only P2WSH are fine too.
2
votes
1answer
177 views

Why is there an output with op-return in regtest mode?

Here is an output from getrawtransaction: { "txid": "a2b9e3aa4adeb68a9b8b8b0bbc8d4890585cd711e89cda83e7f236397fac6218", "hash": "6d96c04d49eefe3eab4934188841ef3592c818bf789517b90b1f71ff75a14c26",...
1
vote
3answers
243 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 ...
0
votes
2answers
146 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
397 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 ...
4
votes
1answer
528 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
407 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
234 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
1k 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
745 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
145 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
307 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
462 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
973 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
402 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
341 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
3k 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
154 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
632 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
826 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 ...
6
votes
2answers
1k 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
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
648 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 ...