Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
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, ...
Nerses Asaturyan's user avatar
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 ...
Mike C's user avatar
  • 1
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 ...
Lee's user avatar
  • 958
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 ...
Lee's user avatar
  • 958
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 "...
mathboi's user avatar
  • 191
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 ...
Vojtěch Strnad's user avatar
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 ...
Monte Conte's user avatar
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 ...
dassd's user avatar
  • 1,099
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 ...
Pedro D.'s user avatar
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 ...
karask's user avatar
  • 2,540
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 ...
xor's user avatar
  • 97
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 ...
greencappybara's user avatar
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 ...
Son Kaos999's user avatar
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 ...
MManke's user avatar
  • 212
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 ...
Lee's user avatar
  • 958

15 30 50 per page
1
2 3 4 5
12