Bitcoin Forum
May 04, 2024, 07:22:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to read information put into a Bitcoin transaction?  (Read 237 times)
ideas500k.com (OP)
Member
**
Offline Offline

Activity: 271
Merit: 15


View Profile
September 29, 2019, 08:15:47 AM
 #1

I have been wondering what is the best approach to reading the information that can be supposedly put into a transaction.

Where do you look at it from and how do you read it?
1714807371
Hero Member
*
Offline Offline

Posts: 1714807371

View Profile Personal Message (Offline)

Ignore
1714807371
Reply with quote  #2

1714807371
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714807371
Hero Member
*
Offline Offline

Posts: 1714807371

View Profile Personal Message (Offline)

Ignore
1714807371
Reply with quote  #2

1714807371
Report to moderator
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10538



View Profile
September 29, 2019, 08:42:32 AM
Merited by dbshck (4), hugeblack (1), nc50lc (1)
 #2

are you talking about the OP_RETURN output scripts' content?

if so then you just have to parse the bytes into whatever format you want. since there is no rules for it, you have to know what that data is. it could be a text using ASCII or UTF8 encoding in which case you just have to decode it using those encoding schemes, or it could be some script or even a hash (ie. random data in your POV).
if you just want a site that shows these things then visit a block explorer like smartbit that has that option. https://www.smartbit.com.au/op-returns

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Heisenberg_Hunter
Legendary
*
Offline Offline

Activity: 1583
Merit: 1276


Heisenberg Design Services


View Profile WWW
September 30, 2019, 06:27:52 AM
Merited by dbshck (4), hugeblack (1)
 #3

OP_Return opcode is pretty much bad for network as a whole as they would be seemingly polluting the blockchain. Also they have been frowned upon by the developers since they reduce/burn the number of bitcoins in existense and make the outputs (txout) unspendable within the transaction. OP_Return can be viewed upon in various block explorers like Blockchain.info, Blockchain.com

Here is an example of how an arbitary data in bitcoin blockchain will look like :

https://www.blockchain.com/btc/tx/d276abe15791941649c3ca8425d79167cc1cf801f83aa99753fe7f42740c0f23

Check for the arbitary data in Output Scripts [RETURN PUSHDATA] part.
Heisenberg_Hunter
Legendary
*
Offline Offline

Activity: 1583
Merit: 1276


Heisenberg Design Services


View Profile WWW
October 01, 2019, 11:00:01 AM
 #4

AFAIK OP_RETURN don't burn bitcoin and create non-spendable UTXO. It's only true when people attempted to store information on Bitcoin's blockchain before OP_RETURN is introduced,

Yes, that's precisely the statement. But OP_Return are long used by people to make the coins unspendable by removing the UTXO set which will thus reduce the number of spendable coins in existance. Probably I should have been more clear in my above post.  Tongue
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10538



View Profile
October 01, 2019, 01:50:03 PM
Merited by ABCbits (1), hugeblack (1), Heisenberg_Hunter (1)
 #5

AFAIK OP_RETURN don't burn bitcoin and create non-spendable UTXO. It's only true when people attempted to store information on Bitcoin's blockchain before OP_RETURN is introduced,

Yes, that's precisely the statement. But OP_Return are long used by people to make the coins unspendable by removing the UTXO set which will thus reduce the number of spendable coins in existance. Probably I should have been more clear in my above post.  Tongue

what you are referring to is sometimes referred to as proof of burn and it is the least common way of using OP_Return output script types. the fact is the primary usage of this type of PublicScript is still to insert arbitrary data in the immutable bitcoin blockchain mostly used by altcoin miners who are doing some sort of merge mining (the data being their block hash) or altcoins such as those of Omni layer sending transactions that way.

.
.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!