Bitcoin Forum

Bitcoin => Project Development => Topic started by: ThomasV on January 23, 2012, 11:13:01 AM



Title: bitcoin: URI expiration date
Post by: ThomasV on January 23, 2012, 11:13:01 AM
Recently I proposed (https://bitcointalk.org/index.php?topic=58534.msg689190#msg689190) to add digital signatures to bitcoin: URIs, in order to proof the identity of the payee (see http://ecdsa.org/bitcoin_URIs.html).
Here is another feature I would like to see added to bitcoin: URIs: expiration dates.

Here is an example: I recently bought a gift order at spendbitcoins.com. The merchant webpage displayed a bitcoin address and asked me to initiate payment within 15 minutes. I guess the 'within 15 minutes' constraint is in order to allow the merchant to delete the token if the customer does not send the money. I think this type of constraint should make it into bitcoin: URI specs. Example:
Code:
bitcoin:19mP9FKrXqL46Si58pHdhGKow88SUPy1V8?amount=1&label=hello&expiration=123456
The expiration date could be a block number or a date.
the expected behaviour is that a Bitcoin client should not send the coins if the URI is expired.


Title: Re: bitcoin: URI expiration date
Post by: HostFat on January 23, 2012, 04:22:46 PM
I think that the bitcoin client should give a warning to the user instead of blocking him completely.

Example:
"The time to use this address seems expired, are you really sure to make this transaction? You can lose all these Bitcoins"
[YES][NO]


Title: Re: bitcoin: URI expiration date
Post by: jim618 on January 23, 2012, 05:33:23 PM
It would also help merchants manage their exposure to exchange rate fluctuations.


Title: Re: bitcoin: URI expiration date
Post by: ThomasV on January 23, 2012, 07:02:51 PM
It would also help merchants manage their exposure to exchange rate fluctuations.
indeed.


Title: Re: bitcoin: URI expiration date
Post by: finway on January 24, 2012, 02:23:06 PM
The problem is: time is not synchronized.


Title: Re: bitcoin: URI expiration date
Post by: HostFat on January 24, 2012, 02:28:08 PM
But as he said, block number is the real time of the Bitcoin network :D


Title: Re: bitcoin: URI expiration date
Post by: mila on January 24, 2012, 02:41:55 PM
The problem is: time is not synchronized.
But as he said, block number is the real time of the Bitcoin network :D

+ 1
block numbers ftw!
seriously, this is the pulse of bitcoin and probably the only reliable indicator of time/progress not mentioning the account balances ;)


Title: Re: bitcoin: URI expiration date
Post by: ThomasV on January 24, 2012, 03:02:54 PM
block numbers are obviously easier to implement, but real time is possible too.
something like "Please pay within the next hour" is more user friendly that "please pay within the next six blocks". obviously.


Title: Re: bitcoin: URI expiration date
Post by: HostFat on January 24, 2012, 03:31:00 PM
Ok, but the user must be educated.
We can't leave him forever alone with his own stupidity :)
There must be an option/flag that enable the "advanced view" and it will show what the client is really waiting for ( the block number )
There aren't also only noob users, there are also user like me that prefer to see "everything" :D