Bitcoin Forum
December 12, 2017, 10:40:58 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin URI  (Read 873 times)
Steve
Hero Member
*****
Offline Offline

Activity: 868



View Profile WWW
July 28, 2012, 02:07:55 AM
 #1

The bitcoin URI specifies the following query parameters:

  label: Label for that address (e.g. name of receiver)
  address: bitcoin address
  message: message that shown to the user after scanning the QR code
  size: amount of base bitcoin units (see below)
  send: used to send bitcoin, rather than to request them

It would be nice to add another parameter called singleUse (or something shorter) to indicate to the wallet that the bitcoin address should not be retained for future use.  At bitpay we see a few cases where people accidentally send coins to an old address…it would be nice if the addresses we present aren't retained in the senders wallet to prevent this from occurring.  It would also be nice if wallets didn't automatically remember any address unless explicitly requested.

(gasteve on IRC) Does your website accept cash? https://bitpay.com
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
dree12
Legendary
*
Offline Offline

Activity: 1246



View Profile
July 28, 2012, 02:22:23 AM
 #2

The bitcoin URI specifies the following query parameters:

  label: Label for that address (e.g. name of receiver)
  address: bitcoin address
  message: message that shown to the user after scanning the QR code
  size: amount of base bitcoin units (see below)
  send: used to send bitcoin, rather than to request them

It would be nice to add another parameter called singleUse (or something shorter) to indicate to the wallet that the bitcoin address should not be retained for future use.  At bitpay we see a few cases where people accidentally send coins to an old address…it would be nice if the addresses we present aren't retained in the senders wallet to prevent this from occurring.  It would also be nice if wallets didn't automatically remember any address unless explicitly requested.
Bitcoin supports a req- prefix for important fields. Simply add req-singleuse=1 to the URI, and non-conforming clients will ignore the URI. Conforming clients will not retain the address for future use.

The problem will not be solved until the Satoshi client implements singleuse, but this will completely remove the possibility of error.
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!