Bitcoin Forum
November 15, 2018, 11:38:35 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Anyone can spend transaction  (Read 80 times)
Dante12
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
March 15, 2018, 04:16:56 PM
 #1

I read about the anyone can spend transaction on the wiki but how is it verified if the scriptsig only has OP_true and how do you create it since i am not aware of any client that allows you to.
1542281915
Hero Member
*
Offline Offline

Posts: 1542281915

View Profile Personal Message (Offline)

Ignore
1542281915
Reply with quote  #2

1542281915
Report to moderator
1542281915
Hero Member
*
Offline Offline

Posts: 1542281915

View Profile Personal Message (Offline)

Ignore
1542281915
Reply with quote  #2

1542281915
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1542281915
Hero Member
*
Offline Offline

Posts: 1542281915

View Profile Personal Message (Offline)

Ignore
1542281915
Reply with quote  #2

1542281915
Report to moderator
1542281915
Hero Member
*
Offline Offline

Posts: 1542281915

View Profile Personal Message (Offline)

Ignore
1542281915
Reply with quote  #2

1542281915
Report to moderator
ranochigo
Legendary
*
Offline Offline

Activity: 1568
Merit: 1094

Somewhat inactive.


View Profile WWW
March 15, 2018, 05:03:00 PM
 #2

I read about the anyone can spend transaction on the wiki but how is it verified if the scriptsig only has OP_true and how do you create it since i am not aware of any client that allows you to.
For P2SH, one of the component of scriptsig structure is the redeem script and the redeem script contains the criteria or the conditions for which the UTXO associated with the inputs can be spent. For a transaction like that to be valid, the script must consist of various data script to be evaluated to true.

With reference to the question I've answered yesterday[1], the redeem script of the address is actually just 51. The redeem script translates to the address itself and when its put to the script, its evaluated to OP_TRUE which thus makes the transaction valid.

However, without the signature, it is considered non-standard. There is no point trying to broadcast a transaction from such an address, unless you are a miner. It's also pointless for any client to create addresses like that, unless their users wants to lose money intentionally.

[1] https://bitcointalk.org/index.php?topic=3121601.msg32299509#msg32299509

It's actually the same person asking all the questions.
He creates new accounts and asks the same question (s) over and over.
The first post was laughably why his unsigned transaction spending bitcoin from an exchange address with almost a billion dollars in bitcoin wasn't being broadcast.
Yeah, kinda weird with the surge in the questions about this topic.

Anyhow, I won't be answering any of these again. Seems like theres more than enough resources on this.

Xynerise
Sr. Member
****
Offline Offline

Activity: 280
Merit: 281

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
March 15, 2018, 05:21:56 PM
 #3



With reference to the question I've answered yesterday[1],
[1] https://bitcointalk.org/index.php?topic=3121601.msg32299509#msg32299509
It's actually the same person asking all the questions.
He creates new accounts and asks the same question (s) over and over.
The first post was laughably why his unsigned transaction spending bitcoin from an exchange address with almost a billion dollars in bitcoin wasn't being broadcast.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!