Author

Topic: Coming soon : More orderly sync/ reset/ import. Close Wallet. Smaller download. (Read 2234 times)

newbie
Activity: 28
Merit: 0
To make it less likely you accidentally delete a wallet I have put a challenge question in the 'Delete confirm' dialog:

https://multibit.org/postImages/confirmDelete.png

It is a check just to make you stop and think. Also, perhaps your infant is playing around with your computer. If you don't know the creator of Bitcoin I figure you shouldn't be deleting wallets.

the challenge question is a good idea .

MY 2 C worth Jim

do NOT delete / allow deleting a wallet IF it has even 0.000001 bitcoin in it. only 0 wallets should be deletable





legendary
Activity: 1708
Merit: 1066
To make it less likely you accidentally delete a wallet I have put a challenge question in the 'Delete confirm' dialog:



It is a check just to make you stop and think. Also, perhaps your infant is playing around with your computer. If you don't know the creator of Bitcoin I figure you shouldn't be deleting wallets.
legendary
Activity: 1708
Merit: 1066
There is a confirmation screen after you press delete - it won't delete it immediately.

Sometimes people want to delete a wallet for privacy reasons.
It will delete it permanently from your machine - it writes over the bytes with nonsense bytes before deleting it.
newbie
Activity: 28
Merit: 0
I am now more-or-less feature complete on the ReplayManager work.

There is now a "File | Close Wallet":

https://multibit.org/postImages/fileMenu.png

When you close a wallet it stores the height of the blockchain it last saw.
Then when you open it again in the future it knows it is out of date and syncs it automatically.


Hi Jim

why do you have that delete wallet function on the menu ? to me that seems scary ...what IF some one presses that button accidentally ? what is lost and what is recoverable ?

legendary
Activity: 1708
Merit: 1066
Also, whilst I think about it:

One of the improvements in bitcoinj v0.8 is the ability to add a small checkpoint file (12 KB) rather than every block header that I have been shipping so far. The blockchain headers are now 24.4 MB.

It drops the installer size from about 30 MB to 12 MB.
legendary
Activity: 1708
Merit: 1066
I am now more-or-less feature complete on the ReplayManager work.

There is now a "File | Close Wallet":



When you close a wallet it stores the height of the blockchain it last saw.
Then when you open it again in the future it knows it is out of date and syncs it automatically.
legendary
Activity: 1708
Merit: 1066
I am about half way through introducing a "ReplayManager" that will improve synchronising, resetting the blockchain and private key imports in MultiBit.

You can get an idea with this screenshot:


Here you can see a 'deleteMe' wallet that is 76% of the way through a sync - due to an earlier 'reset blockchain and transactions'. The wallet 'deleteMe2' has just done an import of some keys and is queued up to wait for the first task to finish. When the first task completes the one that is waiting will start.

You can use the other wallets whilst the busy wallets are waiting/ syncing.
You can queue up one task per wallet.
The busy wallets have various buttons disabled - for instance you cannot do a send whilst it is working out what the wallet balance is.

There are some other things that having this ReplayManager enable:

DONE
+ when you open a wallet it'll sync from the last block the wallet saw.
+ you'll be able to close wallets (since they will resync properly when you open them)
+ better sync on start up for if you have out of date wallets.

FUTURE WORK
+ later on when Trezor/ HD wallets come on stream syncing will be smoother. You should be able to plug in your Trezor and it will sync in the background.
Jump to: