All Questions
Tagged with transactions script
167
questions
0
votes
1
answer
34
views
Can a Second Signer Add Data to a Bitcoin PSBT Transaction?
I'm working with Partially Signed Bitcoin Transactions (PSBTs) and have a question about the capabilities of secondary signers in the signing process. I understand that in a multi-signature scenario, ...
0
votes
2
answers
67
views
Can I spend a P2PKH transaction via the script-path of P2TR?
Is it possible to use a P2TR script-path to spend a legacy P2PKH UTXO? I have heard it is possible to "wrap" a P2PKH transaction with P2SH. Maybe it would be possible to "wrap" the ...
0
votes
1
answer
35
views
What is an example usage for Script pseudo words?
I see the following on bitcoin.it:
Pseudo-words
These words are used internally for assisting with transaction matching. They are invalid if used in actual scripts.
Word
Opcode
Hex
Description
...
1
vote
0
answers
49
views
Why does OP_CHECKSIG/OP_CHECKMULTISIG remove the signature from the subscript?
When OP_CHECKSIG is used, all instances of the signature are removed from the subScript before it's included in a transaction template to be verified. See also step 3 in this excellent diagram. The ...
2
votes
1
answer
108
views
What is the point of having a script language now?
When I first started learning how transaction are validated, it made sense why a script language was needed: the scriptPubKey was executed along the scriptSig, the software just executes this "...
4
votes
1
answer
242
views
How is this transaction valid?
Transaction in question: 16ac7736552c5791cff5643e6104c76c24018236b2193e014b308efea4f32f81
The P2SH input has a strange redeem script:
OP_DUP
OP_HASH160
OP_PUSHBYTES_20 ...
0
votes
1
answer
140
views
processing input tx in bitcoin's block response and obtain transaction value of each input
so i was parsing the block #496 of bitcoin which contains two transactions, first tx in the list is the reward tx and the second tx contains three inputs and one output. i tried to parse each ...
1
vote
2
answers
180
views
When the validity of scriptPubKey is checked?
I have a couple of questions related to validation of script in transaction output (scriptPubKey).
I apologize for a little more text, but I tried to explain in detail what I don't understand.
Since ...
0
votes
2
answers
59
views
How can one make a transaction that any address can claim it just by solving the scriptPubKey?
I just learned that Mike Hearn created a Bitcoin Puzzle transaction where the first person to solve its scriptPubKey, could claim that transaction's amount as a reward.
The thing is... Aren't all the ...
2
votes
1
answer
813
views
What are Bitcoin's transaction and script limits?
What are the limits of different transactions and scripts (by consensus and standardness)?
Some stack exchange questions discuss some of them (but not all) and all these are scattered around.
What is ...
2
votes
1
answer
486
views
Calculating addresses from Bitcoin transaction data
What would be the easiest way to retrieve addresses that are used in specific transaction? For instance, if you look at following transaction which is retrieved by getblock of JSON RPC with argument ...
0
votes
1
answer
235
views
What's the difference between decoderawtransaction and decodescript?
I'm looking for an explanation on the difference between the bitcoin CLI for decoderawtransaction and decodescript please.
From what I know, decodetransaction will undo the hash and ECDSA elliptic ...
2
votes
2
answers
82
views
Precedence of competing multisig spends
Imagine I want to create a multisig threshold (k-of-n) scheme where a spending transaction with more signatures takes precedence over other spending transactions with less signatures (but in both ...
2
votes
1
answer
170
views
Time delayed transactions as a solution for the inheritance problem?
Is it possible to construct a transaction which is delayed in time, more specifically blocks?
The idea being that you have a device which has a signed transaction, which sends all of your Bitcoin to ...
2
votes
2
answers
46
views
Divide unknown future input amount sent to a given address amongst known recipients in known proportions?
Is there a way to divide an unknown future input amount received by a given address amongst three recipients with proportions of, for example 0.2 , 0.3, 0.5?
This would need to be done in such a way ...