Linked Questions
12 questions linked to/from What are the parts of a Bitcoin transaction in segwit format?
13
votes
1
answer
2k
views
What is the script assembly and execution in P2TR spend (spend from Taproot)
So I have found and fundamentally understand how P2PKH is assembled from inputs and outputs to create a bitcoin forth-like script for execution.
I looked at the SegWit BIP examples section and I found ...
4
votes
2
answers
1k
views
What are the scriptPubKey, scriptSig, redeem script and witness for the various output types?
scriptPubKey, redeem script, witness script, witness program are defined in this StackExchange post.
What are the scriptPubKey, scriptSig, redeem script and witness for the various output types (P2PKH,...
2
votes
1
answer
587
views
What are the components of the raw block shown in this image?
I'm wondering what the portion between the block header and the transaction data (the un-annotated section) is. I can't seem to find any information on it.
1
vote
2
answers
146
views
How do segwit nodes behave when they receive a transaction between two legacy nodes?
Segwit nodes know about the move of the witnesses to another part of the transaction block.
What would happen when they receive a transaction between two legacy nodes, knowing that they will build it ...
2
votes
1
answer
599
views
How can I get the destination address from raw transaction data?
I am writing a program that reads Bitcoin transactions from .blk files and performs some analysis on them. I would like to get the transaction destination addresses (like in some transaction explorers:...
1
vote
1
answer
510
views
In what format does a block store the transaction data?
Does it store the raw transaction data literally like (excuse the formatting inaccuracies):
0x24134i59435ej3...9 sends 0x9wri03vw3sdfsd...i 26.00000023423 Bitcoin.
Or is it stored differently?
0
votes
1
answer
643
views
How to decipher Bitcoin Hex code?
I have this hex code:
...
0
votes
1
answer
335
views
How to differentiate between BTC transactions and BRC20 transactions on a blockchain?
How to differentiate between BTC transactions and BRC20 transactions on a blockchain using the RCP interface?
This is a transaction record that contains BRC20 tokens which I found on a blockchain ...
3
votes
1
answer
138
views
Is it possible to retrieve input addresses and input values of bitcoin transactions from raw blk.dat files?
I'm developing a script that processes blk.dat files from bitcoin core. So far, I am able to retrieve the following attributes for transaction inputs:
"vin",
"index",
"...
1
vote
1
answer
122
views
How to compute a TXID of any bitcoin transaction in Python
there, I've already looked at other similar posts on here but with little luck. All im trying to do is calculate the TXID of a transaction after downloading the transaction in hexadecimal from a ...
1
vote
1
answer
162
views
Native P2WSH over P2SH | P2SH-P2WSH
I'm in the process of attempting to generate a transaction using the Python Bitcoin Utils library. that involves P2WSH-over-P2SH (P2SH-P2WSH). My activity is on the regtest network. Below is the code ...
-1
votes
1
answer
69
views
TX doesn't contain an equal number of transactions with bitcoin addresses
I'm researching bitcoin and noticed that when transactions come through my node I don't have an equal number of "amounts" (e.g everything between 88ac and 19) with addresses (e.g everything ...