Skip to content

Stealth CT amounts received as 0.00000001 one satoshi of Veil per stealth input #668

@seanPhill

Description

@seanPhill

I know this has been looked at before, but I can't find any issues relating to it, except for possible instances in January that were not noticed as a cause of the problem while looked at in Github issues.

This happened to me today twice within a few minutes and has been seen from time to time over a number of months. The first time noticed was when an exchange first allowed stealth withdrawals, and the exchange subsequently discontinued allow withdrawals to stealth addresses.

The situation is this.

  1. An amount, usually thousands of Veil is sent to a stealth CT recipient address. In my case today these were all coming from zerocoin spends, but other cases came from basecoin (in the exchange's case).
  2. The recipient may report this as a lost withdrawal, as it is so small and is not noticed, or they see that the amount received is just 2 satoshis or 4 or 6 depending on how many stealth amounts they are receiving, where CT divides each one into two amounts.
    My case today, I spent zerocoins from two wallets.
  3. 2 x 10K zerocoins to stealth resulting in two stealth outputs.
  4. 9000 Veil in various zerocoins resulting in four stealth outputs.

After rescanblockchain 360000 (to rescan the blockchain looking for the transactions) I did not notice the amount received.
I fully unlocked the wallet in order to rescanringctwallet no additional balance found.
I restarted the wallet, checked, unlocked and rescanringctwallet and finally realised there were six Satoshis of Veil 0.00000006 in the getbalances response, which was easy to miss in a column of eight decimal place zeroes.

So, please note, the solution above required unlock, rescanringctwallet, stop, start again, and unlock and rescanringctwallet again before the full 29000 Veil appeared in spendable CT.

There must be some underlying cause for this, and unless this cannot happen when we go full ringct, we should find a way to ensure that incoming Veil from transactions are fully detected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Coin Type: CTSpecifically related to CT transactionsCoin Type: RingCTSpecifically related to RingCT transactionsComponent: GUIPrimarily related to the display of the user interfaceTag: EncryptionWallet lock and unlock.Tag: TransactionRecordsThe display of transaction information

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions