[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Taler] Exporting coins out of the wallet plugin

From: Christian Grothoff
Subject: Re: [Taler] Exporting coins out of the wallet plugin
Date: Fri, 21 Jul 2017 15:24:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Right, thus we need to include the exact value of coins that are being
exported in the export format.  We want to be able to export coins even
if we are offline, so we cannot rely on refresh *during* export. So for
coins that were 'broken up' on export, the receiving wallet should be
told if the coins have a partial value, and the exporting wallet should
note the residual value, mark the coin as dirty and attempt to refresh
it as soon as possible.  IF the exporting wallet has to export a dirty
coin (i.e. because it was not able to do the refresh prior to the export
request), the exported coin must be flagged as dirty and the receiving
wallet must then refresh it prior to use.

That way, we can always export/import even when offline, and (given that
we need to trust the exporting wallet anyway) can be sure to maintain

On 07/21/2017 03:04 PM, Sree Harsha Totakura wrote:
> Oh, I missed this one in the last message: what I meant with abdication
> is that the wallet that exported the coin will no longer have the coin
> history.  Hence, it will not know how much of the coin is left unspent,
> and therefore it cannot refresh or spend the coin unless the user tells
> it explicitly how much of the left is spendable.  But user telling the
> wallet is prone to human error.

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]