이메일 #036 - #040
원본 출처: Satoshi - Sirius emails 2009-2011
이메일 #036
Date: Sun, 18 Oct 2009 18:59:42 +0100
From: Satoshi Nakamoto <[email protected]>
Subject: Re: Setup, Autorun, v0.1.6
To: Martti Malmi <[email protected]>
영어 원문
I got it, I see you checked in the startup folder code before changing
it to registry. I don't see any visible problems in the code. I guess
it depends what exactly the problem was with it not always working by
default. Was there a Vista/UAC security problem?
Satoshi Nakamoto wrote:
> What was the problem with the shortcut in the startup folder? If you
> could send me the code, I'd like to take another look and see if I can
> see what the problem was. The first strcat in the registry code should
> be strcpy, otherwise it would fail intermittently. If the same code was
> in the shortcut one, maybe that was the problem.
>
> [email protected] wrote:
>> I made a Windows installer for the latest version of Bitcoin, which
>> includes the autostart and minimize to tray features. The installer
>> makes a start menu shortcut and a startup registry entry. I first
>> implemented the autostart with a shortcut to the startup folder, but I
>> found out that it doesn't always work by default and ended up doing it
>> with a registry entry. The registry entry is removed by the
>> uninstaller and can be also disabled from the options menu, so I don't
>> think it's such a big menace to the user after all.
이메일 #037
Date: Mon, 19 Oct 2009 00:02:28 +0300
From: [email protected]
To: Satoshi Nakamoto <[email protected]>
Subject: Re: Setup, Autorun, v0.1.6
영어 원문
Well, the code worked and made a shortcut in the startup folder. For
some reason it didn't automatically start when booting, but worked
fine when you clicked on it in the menu. Now I tried making a shortcut
manually, and this time it works on autostart, don't know why. I could
try again with the older code.
> I got it, I see you checked in the startup folder code before changing
> it to registry. I don't see any visible problems in the code. I guess
> it depends what exactly the problem was with it not always working by
> default. Was there a Vista/UAC security problem?
>
> Satoshi Nakamoto wrote:
>> What was the problem with the shortcut in the startup folder? If
>> you could send me the code, I'd like to take another look and see
>> if I can see what the problem was. The first strcat in the
>> registry code should be strcpy, otherwise it would fail
>> intermittently. If the same code was in the shortcut one, maybe
>> that was the problem.
>>
>> [email protected] wrote:
>>> I made a Windows installer for the latest version of Bitcoin,
>>> which includes the autostart and minimize to tray features. The
>>> installer makes a start menu shortcut and a startup registry
>>> entry. I first implemented the autostart with a shortcut to the
>>> startup folder, but I found out that it doesn't always work by
>>> default and ended up doing it with a registry entry. The registry
>>> entry is removed by the uninstaller and can be also disabled from
>>> the options menu, so I don't think it's such a big menace to the
>>> user after all.
이메일 #038
Date: Mon, 19 Oct 2009 00:11:50 +0100
From: Satoshi Nakamoto <[email protected]>
Subject: Re: Setup, Autorun, v0.1.6
To: [email protected]
영어 원문
It's possible Bitcoin ran and bailed out because something was wrong.
debug.log should tell something if that was the case. What OS are you
using? I wonder if we need Admin privilege and don't realize it. Stuff
that requires Admin can't start on startup on Vista.
Program shortcuts have multiple tabs of settings with lots of little
details. I'll try the startup folder code and see if I can reproduce
the problem. Every other systray icon on my computer is in the startup
folder, and it makes it easy for users to manage all their autoruns in
one place. The things in the registry key tend to be devious hidden
bloatware.
I implemented the code to flush wallet.dat whenever it's closed so we'll
be able to tell users they only need to backup wallet.dat. You can
restore just wallet.dat and it'll re-download the rest. I'll have to do
another stress test before release.
[email protected] wrote:
> Well, the code worked and made a shortcut in the startup folder. For
> some reason it didn't automatically start when booting, but worked fine
> when you clicked on it in the menu. Now I tried making a shortcut
> manually, and this time it works on autostart, don't know why. I could
> try again with the older code.
>
>> I got it, I see you checked in the startup folder code before changing
>> it to registry. I don't see any visible problems in the code. I guess
>> it depends what exactly the problem was with it not always working by
>> default. Was there a Vista/UAC security problem?
>>
>> Satoshi Nakamoto wrote:
>>> What was the problem with the shortcut in the startup folder? If
>>> you could send me the code, I'd like to take another look and see
>>> if I can see what the problem was. The first strcat in the
>>> registry code should be strcpy, otherwise it would fail
>>> intermittently. If the same code was in the shortcut one, maybe
>>> that was the problem.
>>>
>>> [email protected] wrote:
>>>> I made a Windows installer for the latest version of Bitcoin,
>>>> which includes the autostart and minimize to tray features. The
>>>> installer makes a start menu shortcut and a startup registry
>>>> entry. I first implemented the autostart with a shortcut to the
>>>> startup folder, but I found out that it doesn't always work by
>>>> default and ended up doing it with a registry entry. The registry
>>>> entry is removed by the uninstaller and can be also disabled from
>>>> the options menu, so I don't think it's such a big menace to the
>>>> user after all.
>
>
>
>
이메일 #039
Date: Tue, 20 Oct 2009 21:38:56 +0300
From: [email protected]
To: Satoshi Nakamoto <[email protected]>
Subject: Re: Setup, Autorun, v0.1.6
영어 원문
> It's possible Bitcoin ran and bailed out because something was wrong.
> debug.log should tell something if that was the case. What OS are you
> using? I wonder if we need Admin privilege and don't realize it.
> Stuff that requires Admin can't start on startup on Vista.
I'm using XP. I recompiled the older revision and this time the
startup shortcut works. It also works when testing on Vista
(non-admin). Maybe I just missed something the previous time.
> Program shortcuts have multiple tabs of settings with lots of little
> details. I'll try the startup folder code and see if I can reproduce
> the problem. Every other systray icon on my computer is in the startup
> folder, and it makes it easy for users to manage all their autoruns in
> one place. The things in the registry key tend to be devious hidden
> bloatware.
Here it's the other way around, I have all my startup programs in the
registry. But maybe the shortcut method is nicer for the user, if it
works just as well
이메일 #040
Date: Wed, 21 Oct 2009 18:58:49 +0100
From: Satoshi Nakamoto <[email protected]>
Subject: Re: Setup, Autorun, v0.1.6
To: [email protected]
영어 원문
Yeah, I put back your startup folder shortcut code and it started fine
for me too on XP and Vista. For good measure, I changed it to make the
shortcut settings look identical to one I manually created. I set the
working directory to where the EXE is since that's where debug.log is
created, otherwise windows puts it in some weird directory. I didn't
change the setup script yet.
I checked everything in to SVN (thanks for setting that up)
- multi-proc generate
- flush wallet.dat after every change so the DB doesn't leave that stuff
in the transaction logs
- view menu checkbox to hide all generated coins so you can see just
your payment transactions
- disabled transaction fee option
- made the minimize to tray options similar to Firefox's MinimizeToTray
- bunch of other misc changes since the 0.1.5 release
I made it not show non-accepted generated coins. It won't show
generated coins until they have at least one confirmation (one block
linked after it), so usually they'll just never be seen. Occasionally a
generated coin that was displayed might disappear because it became not
accepted later. I don't think anyone would notice the occasional
non-accepteds if we didn't point them out in the UI. People have told
me they find it annoying to have to look at them, as they're permanently
displayed in the transaction record.
I still have more testing to do. I guess we gotta test Windows 7 now.
[email protected] wrote:
>> It's possible Bitcoin ran and bailed out because something was wrong.
>> debug.log should tell something if that was the case. What OS are you
>> using? I wonder if we need Admin privilege and don't realize it.
>> Stuff that requires Admin can't start on startup on Vista.
>
> I'm using XP. I recompiled the older revision and this time the startup
> shortcut works. It also works when testing on Vista (non-admin). Maybe I
> just missed something the previous time.
>
>> Program shortcuts have multiple tabs of settings with lots of little
>> details. I'll try the startup folder code and see if I can reproduce
>> the problem. Every other systray icon on my computer is in the startup
>> folder, and it makes it easy for users to manage all their autoruns in
>> one place. The things in the registry key tend to be devious hidden
>> bloatware.
>
> Here it's the other way around, I have all my startup programs in the
> registry. But maybe the shortcut method is nicer for the user, if it
> works just as well
>