Bitcoin Forum
May 27, 2024, 06:10:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core: can it show OP_RETURN data on the GUI ?  (Read 170 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: 3458
Merit: 10593



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.

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

Activity: 4186
Merit: 8426



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: 2422
Merit: 5641


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: 4326
Merit: 3239



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: 3458
Merit: 10593



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.

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