Questions tagged [anyone-can-spend]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
34 views

ANYONECANSPEND transaction vs. private key for giving bitcoin as a prize

I would like to create a game (kind of like a treasure hunt) where the winner finds a piece of hidden information that allows them to claim some bitcoin. One way to do it is to create a transaction ...
0
votes
1answer
51 views

How to spend an anyone-can-spend input

I'm trying to teach myself bitcoin script, and so far I'm failing with a seemingly trivial example. I'm using the Bitcoin Test Framework, and this is what I'm doing (simplified): # p2sh address for ...
1
vote
1answer
74 views

"At first, anyone could spend anyone's coins"?

I've been watching this Bitcoin video: https://youtu.be/ZIugzFygviw?t=294 At the linked-to timestamp, he claims that: Due to bugs, at first, anyone could spend anyone's coins! I'm not saying that I ...
1
vote
2answers
241 views

Were anyone-can-spend transactions valid before SegWit?

Non-segwit nodes (legacy nodes) see segwit transactions as anyone-can-spend (ACS) transactions. It is clear that such a nodes can (and do) validate blocks containing ACS transactions, because the ...
0
votes
2answers
102 views

What is stopping a Taproot spend following old Taproot rules (initially treated as anyone-can-spend) pre-activation creating a re-org post activation?

This question is similar to this Signet question on Signet nodes enforcing different Taproot rules (old and new) pre mainnet activation. Instead it is regarding how a valid Taproot spend on mainnet ...
2
votes
2answers
317 views

Why non-SegWit nodes do not reject SegWit block since there is no witness?

SegWit is meant to be backward-compatible. When a SigWit block is relayed to a non-SegWit node, the witness part is stripped. If this is the case, wouldn't it be invalid since the non-SegWit node sees ...
2
votes
1answer
387 views

What prevents anyone from spending utxos from a native segwit address?

I read that transactions spending utxos from a native segwit address ( an address starting with bc1) are seen as anyone can spend transactions by legacy nodes. So what prevents someone from taking a ...
1
vote
2answers
857 views

How can I create an anyone-can-spend output?

How can I create an anyone-can-spend transaction using p2pkh outputs? Also how would such a transaction in hex look like?
1
vote
1answer
179 views

Trying to understand SegWit

Can someone please help to confirm my understanding of SegWit ? My understanding: Originally, signatures are included in each block alongside each transaction, these signatures can be read by nodes ...
1
vote
1answer
115 views

anyonecanspend final condition of a script can be spotted just by looking at the script hash, without the redeem data?

Consider the following scenario. Alice, Carol and Bob create and fund a script with the following rules: if now, alice pubkey, bob pubkey else if now+500 blocks, bob pubkey, carol pubkey else if now+...
6
votes
1answer
767 views

Can a Non-Segwit Miner mine segwit transactions?

I understand that non-segwit nodes interpret segwit txes as Anyone-Can-Spend txes, and they cannot validate txes that spend segwit outputs. But when an old style miner receives a segwit tx to mine he ...
2
votes
1answer
313 views

Segregated witness soft fork: how is the funding Tx made "ANYONECANSPEND"

Reading the BIP: https://github.com/bitcoin/bips/blob/master/bip-0142.mediawiki I see that the scriptPubKey in a transaction that funds a segwit redemption is the same as a normal P2PKH but merely ...