Bitcoin Forum
November 15, 2018, 12:50:02 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can someone explain this transaction?  (Read 158 times)
Skiddlez
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 14, 2018, 06:17:16 AM
 #1

I decoded this transaction but the scriptsig was weird. Can someone explain what is happening with it and how to create one like it.

Raw transaction:
0100000001a30562a1cd9e907a90d7367ceaf55e859417a53ffda6190086110b7f8a4b4d2201000 000020151ffffffff0130d397000000000017a91469d98314fbc4dbee037f86f51392a14c4c1d41 da8700000000
1542243002
Hero Member
*
Offline Offline

Posts: 1542243002

View Profile Personal Message (Offline)

Ignore
1542243002
Reply with quote  #2

1542243002
Report to moderator
1542243002
Hero Member
*
Offline Offline

Posts: 1542243002

View Profile Personal Message (Offline)

Ignore
1542243002
Reply with quote  #2

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

Posts: 1542243002

View Profile Personal Message (Offline)

Ignore
1542243002
Reply with quote  #2

1542243002
Report to moderator
1542243002
Hero Member
*
Offline Offline

Posts: 1542243002

View Profile Personal Message (Offline)

Ignore
1542243002
Reply with quote  #2

1542243002
Report to moderator
1542243002
Hero Member
*
Offline Offline

Posts: 1542243002

View Profile Personal Message (Offline)

Ignore
1542243002
Reply with quote  #2

1542243002
Report to moderator
nc50lc
Full Member
***
Offline Offline

Activity: 406
Merit: 148


∙Self-proclaimed-Genius ㊙️


View Profile WWW
March 14, 2018, 07:34:29 AM
 #2

That's the Raw transaction in HEX format.
To Decode Hex format to "human readable" format, use: https://blockchain.info/decode-tx
Code:
{
   "lock_time":0,
   "size":85,
   "inputs":[
      {
         "prev_out":{
            "index":1,
            "hash":"224d4b8a7f0b11860019a6fd3fa51794855ef5ea7c36d7907a909ecda16205a3"
         },
         "script":"0151"
      }
   ],
   "version":1,
   "vin_sz":1,
   "hash":"91c8b08f305d895d6bc8f43bbdd36dcbc7f1d998e3df5e8f13dd9cdeebf15cb5",
   "vout_sz":1,
   "out":[
      {
         "script_string":"OP_HASH160 69d98314fbc4dbee037f86f51392a14c4c1d41da OP_EQUAL",
         "address":"3BLhSgpY9xCFJv9Y6AyA9eSRZT6k3z6w4s",
         "value":9950000,
         "script":"a91469d98314fbc4dbee037f86f51392a14c4c1d41da87"
      }
   ]
}
0.0995BTC was sent to 3BLhSgpY9xCFJv9Y6AyA9eSRZT6k3z6w4s bitcoin address.
Transaction ID: 91c8b08f305d895d6bc8f43bbdd36dcbc7f1d998e3df5e8f13dd9cdeebf15cb5

(っ◕‿◕)っ Newbies and Newbies at heart! Remember to Lock your Thread(s) after receiving enough replies/sufficient answers. 
FEELING GENEROUS?: 39EKeFj43inkH6Ctkosh9E7oskx3tvhSXi ∙ Do not buy non-mainstream ASICs at second-batch and onwards, you know the risk!
Coding Enthusiast
Sr. Member
****
Offline Offline

Activity: 517
Merit: 400


Novice C♯ Coder


View Profile WWW
March 14, 2018, 09:16:14 AM
 #3

...

Dude, the problem is not with decoding the tx. The problem is that the ScriptSig of this transaction is too short!
Commenting here so I can follow!

Projects List+Suggestion box
Donation link using BIP21
Bech32 Donation link!
BitcoinTransactionTool (0.9.2):  Ann - Source Code
Watch Only Bitcoin Wallet (supporting SegWit) (3.1.0):  Ann - Source Code
SharpPusher (broadcast transactions) (0.10.0): Ann - Source Code

Thirdspace
Hero Member
*****
Offline Offline

Activity: 798
Merit: 609


Mixing reinvented for your privacy | chipmixer.com


View Profile
March 14, 2018, 09:33:32 AM
 #4

you posted similar thing on another thread https://bitcointalk.org/index.php?topic=3120917.0
did you find this rawtx somewhere? or you picked some random address, create unsigned rawtx and ask questions here
what exactly you are trying to achieve? Roll Eyes I'm pretty sure those aren't your addresses

ranochigo
Legendary
*
Offline Offline

Activity: 1568
Merit: 1094

Somewhat inactive.


View Profile WWW
March 14, 2018, 02:45:29 PM
Merited by Xynerise (1)
 #5

Yes, it is certainly a strange transaction. The reason the scriptsig is weird and small is because it doesn't contain any signatures. It's a special case since transactions without any signatures shouldn't be accepted. The scriptsig has to return true for the transaction to be considered valid and in most cases, the condition (ie. transaction is signed by n-of-m parties for multisig) has to be met.

Take the transaction and decode it.
Code:
"script":"0151"

You will notice that the script line is "0151". The redeem script for that address is basically the number 51. It's the hex for OP_True and it is thus valid without the need for a signature.

HCP
Hero Member
*****
Offline Offline

Activity: 784
Merit: 951

<insert witty quote here>


View Profile
March 14, 2018, 02:51:35 PM
Merited by mocacinno (1), Coding Enthusiast (1)
 #6

I suspect someone was just messing about... The "script" decoded as:
PUSHDATA(1)[51]... So it pushes 1 byte onto the stack... And that byte is [51]

[51] resolves to OP_TRUE.

So, it's an "Anyone-Can-Spend" output:
Anyone-Can-Spend Outputs
Conversely a transaction can be made spendable by anyone at all:

 scriptPubKey: (empty)
 scriptSig: OP_TRUE
With some software changes such transactions can be used as a way to donate funds to miners in addition to transaction fees: any miner who mines such a transaction can also include an additional one after it sending the funds to an address they control. This mechanism may be used in the future for fidelity bonds to sacrifice funds in a provable way.

Anyone-Can-Spend outputs are currently considered non-standard, and are not relayed on the P2P network.

Skiddlez
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 14, 2018, 04:40:28 PM
 #7

you posted similar thing on another thread https://bitcointalk.org/index.php?topic=3120917.0
did you find this rawtx somewhere? or you picked some random address, create unsigned rawtx and ask questions here
what exactly you are trying to achieve? Roll Eyes I'm pretty sure those aren't your addresses

I found it in a an article talking about strange inputs.
Asyifiah
Sr. Member
****
Offline Offline

Activity: 532
Merit: 262



View Profile
March 14, 2018, 11:56:19 PM
 #8

That's the Raw transaction in HEX format.
To Decode Hex format to "human readable" format, use: https://blockchain.info/decode-tx
Code:
{
   "lock_time":0,
   "size":85,
   "inputs":[
      {
         "prev_out":{
            "index":1,
            "hash":"224d4b8a7f0b11860019a6fd3fa51794855ef5ea7c36d7907a909ecda16205a3"
         },
         "script":"0151"
      }
   ],
   "version":1,
   "vin_sz":1,
   "hash":"91c8b08f305d895d6bc8f43bbdd36dcbc7f1d998e3df5e8f13dd9cdeebf15cb5",
   "vout_sz":1,
   "out":[
      {
         "script_string":"OP_HASH160 69d98314fbc4dbee037f86f51392a14c4c1d41da OP_EQUAL",
         "address":"3BLhSgpY9xCFJv9Y6AyA9eSRZT6k3z6w4s",
         "value":9950000,
         "script":"a91469d98314fbc4dbee037f86f51392a14c4c1d41da87"
      }
   ]
}
0.0995BTC was sent to 3BLhSgpY9xCFJv9Y6AyA9eSRZT6k3z6w4s bitcoin address.
Transaction ID: 91c8b08f305d895d6bc8f43bbdd36dcbc7f1d998e3df5e8f13dd9cdeebf15cb5
this right. how do you know about that ?
how do you search in such detail like that ?
can you give a complete tutorial of the process ?

.
                           ▄▄▄▄▄▄▄▄
                       ▄▀▌         ▀▀█▄
                    ▄▀   █         ▄▀ █ ▀▄
                  ▄█     ▐        ▄    ▌  ▀▄
                ▄▄▀       █      ▀      ▌  ▓▀▄
              ▄███▄       ▐    ▄▀       █▄█   ▀
             ▄  ▌ ▀ ▀▀▄    █  █      ▄▄████▄▄   ▄
            ▓  ▐   ▀▄   ▀▀▄███▄▄ ▀▀    █ ▐    ▀▀▄▄
           ▌   ▓     █▄▄▄▄▀███▄      ▄▀   ▌      ▄█
          ▌    ▌    ▐███▀   ▄▄▄▄▀▄▄██▌    █    ▄▀  █
         ▓    █    ▄▀█ ▌          ████▄   ▐   ▀    ▄▌
        ▐▀▄   ▌  ▄▀ ▐   ▌         █ ▐   ▀▄███▄ ▀▀    ▌
        ▌  ▄ ▐ ▄▀  ▐    ▐ ▄▄▄█████▄▄ █   ▐███▄       ▐
       ▓    ███   ▐▀   ▄███████████████▄ ▓     ▀▄▄    ▌
       ▀ ▄███▀█   ▌  ████████████████████         ▀ ▄ ▐
      ▐▄▄▀██▀▀▄███▄ ██████████████████████▌▀▀▀   ▄▄▄▄▄▓▌
      █  █ █   ▀██▀████████████████████████▄           ▌
      ▌ ▌  ▐    ▌ ▀████████████████████████▌▀▄         ▌
      █▀   ▐▌  █  ▐████████████████████████▌   ▌      ▐▌
      ▐     ▌ ▐    ████████████████████████      ▀▄  ▐▓
       █    █ ▌     ██████████████████████▀        ███▌
        ▓▀▄ ▐▐    ▄ ▀████████████████████       ▄▄█▀▐█
         ▄ █████▄▄ ▄▄█ ▀██████████████▀     ▄ ▀ ▄▀  █
          ▀ █▀     ███  ▐ ▀▀▀▀██████▌  ▄▄▀▀   ▄▀   ▀
            ▌    ▒▐▀ ▌▀▄ ▀        ▀███     ▄▀    ▄
             ▀▄▄  ▀  ▐  ▌ ▀       ▄    ▀███
                ▀█    ▌  ▀▄█     ▄    ▄▀▀█  █▀
                   ▀▀▄█    ▄▌   █  ▄▀  ▄▐▀▀
                         ▀▀▀▀▀ ▀ ▀▀▀▀
.
      ██
     
     ▐█▌   ▄██████████████   ▄▄████████████▄   ██▄           ▄██   ▄█████████████▄
     ▐█▌ ▐██                ▐█▀            ██    ▀█▄       ▄██▀   ██▀           ▀██
     ▐█▌ ▐█▌                ██▌            ██      ▀█▄   ▄██▀     ██             ██
     ▐█▌  ▀██▄▄▄▄▄▄▄▄▄▄▄▄▄   ▀██▄▄▄▄▄▄▄▄▄▄██▀        ▀████         ███▄▄▄▄▄▄▄▄▄▄██
      ▀      ▀▀▀▀▀▀▀▀▀▀▀▀▀      ▀▀▀▀▀▀▀▀▀▀             ▀              ▀▀▀▀▀▀▀▀▀▀
Thirdspace
Hero Member
*****
Offline Offline

Activity: 798
Merit: 609


Mixing reinvented for your privacy | chipmixer.com


View Profile
March 15, 2018, 02:04:35 AM
 #9

That's the Raw transaction in HEX format.
To Decode Hex format to "human readable" format, use: https://blockchain.info/decode-tx
---snip---

0.0995BTC was sent to 3BLhSgpY9xCFJv9Y6AyA9eSRZT6k3z6w4s bitcoin address.
Transaction ID: 91c8b08f305d895d6bc8f43bbdd36dcbc7f1d998e3df5e8f13dd9cdeebf15cb5
this right. how do you know about that ?
how do you search in such detail like that ?
can you give a complete tutorial of the process ?

He clearly stated in his post how to do (decode) that
and to the OP if you extracted the actual rawtx, it would give you this
https://blockchain.info/rawtx/91c8b08f305d895d6bc8f43bbdd36dcbc7f1d998e3df5e8f13dd9cdeebf15cb5?format=hex
the rawtx you posted is just an unsigned rawtx version, easily created if you understand the basic of transaction format

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!