Bitcoin Forum
November 16, 2024, 05:12:38 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core: can it show OP_RETURN data on the GUI ?  (Read 186 times)
Lionel (OP)
Sr. Member
****
Offline Offline

Activity: 613
Merit: 305


View Profile
August 18, 2020, 10:56:06 PM
 #1

If i put a text message in a transaction as OP_RETURN data, will Bitcoin Core show it to my recipient in the transaction history?

What are the wallets that do that ?
pooya87
Legendary
*
Offline Offline

Activity: 3640
Merit: 11039


Crypto Swap Exchange


View Profile
August 19, 2020, 03:46:10 AM
 #2

- no
- i haven't seen any wallet that has such a feature, most of them don't even have the option to create any other custom pubkey scripts. there are only some block explorers that show OP_RETURNs as text or other information (omni stuff) like smartbit.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4284
Merit: 8808



View Profile WWW
August 19, 2020, 04:38:40 AM
 #3

No and I'd avoid any wallet that displayed it.  That data comes from an third party and can be malicious.  If not malicious, it can be and often is spam.

E.g. if FooWallet had a behaviour to display it what would happen if someone started spamming FooWallet users with "Emergency FooWallet Upgrade required: Load www.emergencyfoowalletupgrade.com for more info!"?

The best defence against malicious messages and spam is both to just to avoid displaying human readable information sourced from untrusted sources.
nc50lc
Legendary
*
Offline Offline

Activity: 2604
Merit: 6416


Self-proclaimed Genius


View Profile
August 19, 2020, 11:05:30 AM
 #4

What are the wallets that do that ?
Rather than a wallet, use blockexplorers that display human-readable format from OP_return data
Like: live.blockcypher.com/btc/ (displayed above) or blockstream.info when you expand "details".

There are wallets that will let you choose a blockexplorer when 'hotlinking' your TXID online,
Example: Bitcoin Core in "Settings->Option->Display tab" or Electrum though "Tools->Preferences->Transactions tab"

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
odolvlobo
Legendary
*
Offline Offline

Activity: 4508
Merit: 3417



View Profile
August 22, 2020, 07:49:54 PM
 #5

No and I'd avoid any wallet that displayed it.  That data comes from an third party and can be malicious.  If not malicious, it can be and often is spam.
The best defence against malicious messages and spam is both to just to avoid displaying human readable information sourced from untrusted sources.

Perhaps giving the user the ability to add simple regex plugins that could parse certain OP_RETURN transactions in their wallet and display relevant info would be a safe and useful feature.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
pooya87
Legendary
*
Offline Offline

Activity: 3640
Merit: 11039


Crypto Swap Exchange


View Profile
August 23, 2020, 03:59:55 AM
 #6

Perhaps giving the user the ability to add simple regex plugins that could parse certain OP_RETURN transactions in their wallet and display relevant info would be a safe and useful feature.

there are only two types of OP_Return that i can think of that contain relevant information that can be displayed.
- human readable strings, which should never be shown by the wallet due to the attack surface it introduces and is explained above. even with modifications it still isn't a good idea. besides the user can do the UTF8 decode of the hex themselves in a website online or in their terminal.
- Omni layer transactions which can be very simple to show but that would mean bringing an altcoin feature to a bitcoin client which won't happen.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!