[Webfunds-users] README

Ian Grigg iang@systemics.com
Sat Mar 25 12:05:43 2000


Hi Craig,

Craig Haynie wrote:
> I just bought my first gram of DigiGold, and when I went back into my
> webfunds wallet, I found that the account I created had doubled, with the
> same name that I gave it, 'SnowDog'.

(I'm assuming here that you now have two accounts called 'SnowDog'  ...)

I've never ever seen anything like that, it's a bug, unless you somehow
created them.  (I'm not familiar with the address book code, so can't
really guess.)

> I tried doing an update on the first account, and nothing happened. Then I
> tried doing an update on the second account and the 1 gram of DigiGold
> appeared.

Hmm.  Update doesn't say anything if nothing happens, so this answers
the first question:  You actually have two accounts, rather than two
names.

So the next thing would be to check how different the names are and
how the address book handles the conflict.  It shouldn't permit the
same name, but you might have an extra invisible character or something...

(Which doesn't answer how they got there in the first place.)

> Then I tried deleting my first account, and a message came up saying that
> this would make me poorer. Then I tried deleting the second account and the
> same message came up.

If there is any money in the account, it won't let you delete.
You have to transfer all the money out first.  The message and
interface could be more helpful...

Even when empty, the first delete actually just freezes it.  It
takes a second delete to remove the data.

> Q: Why does the same account appear twice? Is this a bug?

I think you have two separate accounts.  Try transferring a zero payment
between the two and see if it correctly gets reflected in the history.

Ah, here's an idea:  did you ever have 2 copies of WebFunds running
at the same time?  It doesn't protect against this (not sure how to
do it in Java :() and will entirely correctly handle multiple accounts,
until you restart ...

iang

PS: At least in the old SepFileStore.  It would be worse in AppendFileStore,
we would need to protect in the store itself.  Hmm, tricky in Java.