Bitcoin Forum
May 10, 2024, 02:57:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to get these testnet outputs?  (Read 73 times)
miner2251 (OP)
Jr. Member
*
Offline Offline

Activity: 34
Merit: 85


View Profile
March 23, 2021, 08:24:17 PM
 #1

Recently I found an interesting testnet transaction: 952656e19ce57698880ad6ada935f29ee2cae82c4e7486516908b630671dd84b. It seems to be some kind of puzzle, but probably even the author cannot just move the coins without actually solving it (which is not the case in well-known mainnet transaction 08389f34c98c606322740c0be6a7125d9860bb8d5cb182c02f98461e5fa6cd15). So, if I understand it correctly, the goal is to create any address with as low 160-bit hash as possible and then take these coins. I guess it is on testnet, because of the standardness limits on mainnet. The whole change seems to be quite simple, instead of "OP_EQUALVERIFY" there is "OP_LESSTHAN OP_VERIFY".
1715353046
Hero Member
*
Offline Offline

Posts: 1715353046

View Profile Personal Message (Offline)

Ignore
1715353046
Reply with quote  #2

1715353046
Report to moderator
1715353046
Hero Member
*
Offline Offline

Posts: 1715353046

View Profile Personal Message (Offline)

Ignore
1715353046
Reply with quote  #2

1715353046
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715353046
Hero Member
*
Offline Offline

Posts: 1715353046

View Profile Personal Message (Offline)

Ignore
1715353046
Reply with quote  #2

1715353046
Report to moderator
1715353046
Hero Member
*
Offline Offline

Posts: 1715353046

View Profile Personal Message (Offline)

Ignore
1715353046
Reply with quote  #2

1715353046
Report to moderator
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
March 24, 2021, 04:50:37 AM
 #2

Recently I found an interesting testnet transaction: 952656e19ce57698880ad6ada935f29ee2cae82c4e7486516908b630671dd84b. It seems to be some kind of puzzle, but probably even the author cannot just move the coins without actually solving it
There is no puzzle here, there is only simple outputs that are clearly unspendable because they are breaking the consensus rule.
Each output in this transaction has something like this:
Code:
<8000000000000000000000000000000000000000> OP_LessThan
Script evaluation fails here (which makes the output unspendable) simply because OP_LessThan pops two items from the stack (byte arrays) and it expects them to be at most 4 bytes. The last 2 items (one you see in the script and the other is the result of HASH160 which is 20 bytes) are clearly bigger so it fails.

Quote
(which is not the case in well-known mainnet transaction 08389f34c98c606322740c0be6a7125d9860bb8d5cb182c02f98461e5fa6cd15).
There is nothing special about this transaction. All of its outputs are the standard P2PKH script that we see every day, and the only way to spend them is to have the private key of those addresses.
Code:
OP_DUP OP_HASH160 <751e76e8199196d454941c45d1b3a323f1433bd6> OP_EqualVerify OP_CheckSig

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!