New answers tagged

0 votes

How can I generate SegWit addresses from a mnemonic using python?

how can I implement the btc_adress_dump in a good way, dou you have a complete python code for this. Would be very great.
JOjo's user avatar
  • 1
3 votes

Are all transactions, whether SegWit or non-SegWit, part of the commitment in a coinbase transaction?

The wtxids of all transactions are committed to by the witness commitment tree in the coinbase transaction (except the coinbase wtxid itself, as that would be a cyclic dependency). This includes non-...
Pieter Wuille's user avatar
1 vote

How could a 2 byte witness program make sense?

Gregory Sanders proposed Segwit Ephemeral anchors, in which a 2-bytes witness program in a transaction's output to make it opt in to different relay rules (BIP, Optech).
Antoine Poinsot's user avatar
5 votes

What would happen if we provide witness program different than 32 bytes for SegWit 1?

SegWit version 1 outputs with lengths other than 32 bytes remain unencumbered, which means their validation is unchanged and they remain anyone-can-spend. From BIP341: A Taproot output is a native ...
Vojtěch Strnad's user avatar
2 votes

Can a non-segwit transaction be serialized in the segwit format?

The extended serialization format introduced in BIP144, which is used for serializing witnesses, specifies: If the witness is empty, the old serialization format must be used. So, no, using the ...
Pieter Wuille's user avatar

Top 50 recent answers are included