본문으로 건너뛰기

이메일 #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]>

한글 번역

확인했습니다. 레지스트리 방식으로 바꾸기 전에 시작 폴더 코드를 체크인하신 걸 봤습니다. 코드에서 눈에 띄는 문제는 보이지 않습니다. 기본 설정에서 항상 동작하지 않았다는 게 정확히 어떤 문제였는지에 따라 달라질 것 같습니다. Vista/UAC 보안 문제였나요?

Satoshi Nakamoto 씀:

시작 폴더의 바로 가기에는 어떤 문제가 있었나요? 코드를 보내 주시면 다시 살펴보고 문제가 무엇이었는지 알 수 있을지 확인해 보고 싶습니다. 레지스트리 코드에서 첫 번째 strcat은 strcpy여야 합니다. 그렇지 않으면 간헐적으로 실패할 겁니다. 바로 가기 쪽 코드에도 같은 코드가 들어 있었다면 그게 문제였을지도 모릅니다.

[email protected] 씀:

최신 버전 비트코인용 Windows 설치 프로그램을 만들었는데, 자동 시작과 트레이로 최소화 기능이 들어 있습니다. 설치 프로그램은 시작 메뉴 바로 가기와 시작 레지스트리 항목을 만듭니다. 처음에는 시작 폴더로 가는 바로 가기로 자동 시작을 구현했는데, 기본 설정에서는 항상 동작하지 않는다는 걸 알고 결국 레지스트리 항목으로 처리했습니다. 레지스트리 항목은 제거 프로그램에서 삭제되고 옵션 메뉴에서도 끌 수 있으니, 결국 사용자에게 그렇게까지 큰 폐가 되지는 않으리라 생각합니다.

영어 원문

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

한글 번역

코드는 동작해서 시작 폴더에 바로 가기를 만들었습니다. 어째선지 부팅할 때는 자동으로 시작되지 않았는데, 메뉴에서 직접 클릭하면 잘 동작했습니다. 이번에는 바로 가기를 수동으로 만들어 봤는데, 이번에는 자동 시작으로 동작합니다. 왜 그런지는 모르겠습니다. 예전 코드로 다시 시도해 볼 수 있습니다.

확인했습니다. 레지스트리 방식으로 바꾸기 전에 시작 폴더 코드를 체크인하신 걸 봤습니다. 코드에서 눈에 띄는 문제는 보이지 않습니다. 기본 설정에서 항상 동작하지 않았다는 게 정확히 어떤 문제였는지에 따라 달라질 것 같습니다. Vista/UAC 보안 문제였나요?

Satoshi Nakamoto 씀:

시작 폴더의 바로 가기에는 어떤 문제가 있었나요? 코드를 보내 주시면 다시 살펴보고 문제가 무엇이었는지 알 수 있을지 확인해 보고 싶습니다. 레지스트리 코드에서 첫 번째 strcat은 strcpy여야 합니다. 그렇지 않으면 간헐적으로 실패할 겁니다. 바로 가기 쪽 코드에도 같은 코드가 들어 있었다면 그게 문제였을지도 모릅니다.

[email protected] 씀:

최신 버전 비트코인용 Windows 설치 프로그램을 만들었는데, 자동 시작과 트레이로 최소화 기능이 들어 있습니다. 설치 프로그램은 시작 메뉴 바로 가기와 시작 레지스트리 항목을 만듭니다. 처음에는 시작 폴더로 가는 바로 가기로 자동 시작을 구현했는데, 기본 설정에서는 항상 동작하지 않는다는 걸 알고 결국 레지스트리 항목으로 처리했습니다. 레지스트리 항목은 제거 프로그램에서 삭제되고 옵션 메뉴에서도 끌 수 있으니, 결국 사용자에게 그렇게까지 큰 폐가 되지는 않으리라 생각합니다.

영어 원문

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]

한글 번역

뭔가 잘못되어서 비트코인이 실행되다가 중단됐을 가능성이 있습니다. 그랬다면 debug.log에 뭔가 나와 있을 겁니다. 어떤 OS를 쓰고 계신가요? 관리자 권한이 필요한데 우리가 그걸 모르고 있는 건 아닌지 궁금합니다. 관리자 권한이 필요한 항목은 Vista에서 시작 시 시작될 수 없습니다.

프로그램 바로 가기에는 탭이 여러 개 있고 자잘한 설정 항목이 잔뜩 있습니다. 시작 폴더 코드를 직접 시험해 보고 문제를 재현할 수 있는지 확인해 보겠습니다. 제 컴퓨터의 다른 시스템 트레이 아이콘들은 전부 시작 폴더에 들어 있고, 사용자가 모든 자동 실행 항목을 한곳에서 관리하기에도 편합니다. 레지스트리 키에 들어 있는 것들은 교묘히 숨은 불필요한 프로그램인 경우가 많습니다.

종료할 때마다 wallet.dat를 플러시하도록 코드를 구현했으니, 이제 사용자들에게 wallet.dat만 백업하면 된다고 안내할 수 있을 겁니다. wallet.dat만 복원하면 나머지는 다시 내려받게 됩니다. 출시 전에 스트레스 테스트를 한 번 더 해야겠습니다.

[email protected] 씀:

코드는 동작해서 시작 폴더에 바로 가기를 만들었습니다. 어째선지 부팅할 때는 자동으로 시작되지 않았는데, 메뉴에서 직접 클릭하면 잘 동작했습니다. 이번에는 바로 가기를 수동으로 만들어 봤는데, 이번에는 자동 시작으로 동작합니다. 왜 그런지는 모르겠습니다. 예전 코드로 다시 시도해 볼 수 있습니다.

확인했습니다. 레지스트리 방식으로 바꾸기 전에 시작 폴더 코드를 체크인하신 걸 봤습니다. 코드에서 눈에 띄는 문제는 보이지 않습니다. 기본 설정에서 항상 동작하지 않았다는 게 정확히 어떤 문제였는지에 따라 달라질 것 같습니다. Vista/UAC 보안 문제였나요?

Satoshi Nakamoto 씀:

시작 폴더의 바로 가기에는 어떤 문제가 있었나요? 코드를 보내 주시면 다시 살펴보고 문제가 무엇이었는지 알 수 있을지 확인해 보고 싶습니다. 레지스트리 코드에서 첫 번째 strcat은 strcpy여야 합니다. 그렇지 않으면 간헐적으로 실패할 겁니다. 바로 가기 쪽 코드에도 같은 코드가 들어 있었다면 그게 문제였을지도 모릅니다.

[email protected] 씀:

최신 버전 비트코인용 Windows 설치 프로그램을 만들었는데, 자동 시작과 트레이로 최소화 기능이 들어 있습니다. 설치 프로그램은 시작 메뉴 바로 가기와 시작 레지스트리 항목을 만듭니다. 처음에는 시작 폴더로 가는 바로 가기로 자동 시작을 구현했는데, 기본 설정에서는 항상 동작하지 않는다는 걸 알고 결국 레지스트리 항목으로 처리했습니다. 레지스트리 항목은 제거 프로그램에서 삭제되고 옵션 메뉴에서도 끌 수 있으니, 결국 사용자에게 그렇게까지 큰 폐가 되지는 않으리라 생각합니다.

영어 원문

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

한글 번역

뭔가 잘못되어서 비트코인이 실행되다가 중단됐을 가능성이 있습니다. 그랬다면 debug.log에 뭔가 나와 있을 겁니다. 어떤 OS를 쓰고 계신가요? 관리자 권한이 필요한데 우리가 그걸 모르고 있는 건 아닌지 궁금합니다. 관리자 권한이 필요한 항목은 Vista에서 시작 시 시작될 수 없습니다.

XP를 쓰고 있습니다. 예전 리비전을 다시 컴파일해 봤는데 이번에는 시작 바로 가기가 동작합니다. Vista(관리자 권한 아님)에서 시험해도 동작합니다. 지난번에 제가 뭔가를 놓쳤을지도 모르겠습니다.

프로그램 바로 가기에는 탭이 여러 개 있고 자잘한 설정 항목이 잔뜩 있습니다. 시작 폴더 코드를 직접 시험해 보고 문제를 재현할 수 있는지 확인해 보겠습니다. 제 컴퓨터의 다른 시스템 트레이 아이콘들은 전부 시작 폴더에 들어 있고, 사용자가 모든 자동 실행 항목을 한곳에서 관리하기에도 편합니다. 레지스트리 키에 들어 있는 것들은 교묘히 숨은 불필요한 프로그램인 경우가 많습니다.

여기는 반대입니다. 저는 시작 프로그램이 전부 레지스트리에 있습니다. 그래도 똑같이 잘 동작한다면 바로 가기 방식이 사용자에게 더 좋을지도 모르겠습니다.

영어 원문

> 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]

한글 번역

네, 시작 폴더 바로 가기 코드를 다시 살렸는데 저도 XP와 Vista에서 잘 시작됐습니다. 혹시 몰라서 바로 가기 설정을 제가 수동으로 만든 것과 똑같이 보이도록 바꿨습니다. debug.log가 만들어지는 곳이 EXE가 있는 곳이라 작업 디렉터리를 EXE가 있는 곳으로 지정했습니다. 그렇지 않으면 윈도우가 이상한 디렉터리에 넣어 버립니다. 설치 스크립트는 아직 바꾸지 않았습니다.

SVN에 모든 걸 체크인했습니다(설정해 주셔서 고맙습니다)

  • 다중 프로세서 생성(multi-proc generate)
  • DB가 트랜잭션 로그에 그런 내용을 남기지 않도록 변경될 때마다 wallet.dat 플러시
  • 생성된 코인을 전부 숨기고 지급 트랜잭션만 볼 수 있게 하는 보기 메뉴 체크박스
  • 트랜잭션 수수료 옵션 비활성화
  • 최소화하여 트레이로 보내는 옵션을 Firefox의 MinimizeToTray와 비슷하게 만듦
  • 0.1.5 릴리스 이후 기타 자잘한 변경 여러 가지

승인되지 않은 생성 코인은 표시되지 않게 만들었습니다. 최소 한 번의 확인(뒤에 블록 하나가 연결됨)을 받을 때까지는 생성 코인을 표시하지 않으니, 보통은 아예 눈에 띄지 않을 겁니다. 가끔 표시됐던 생성 코인이 나중에 승인되지 않게 되면서 사라질 수도 있습니다. UI에서 굳이 알려 주지 않으면 가끔씩 나오는 미승인 코인을 신경 쓰는 사람은 없으리라 생각합니다. 거래 내역에 계속 표시되니 봐야 하는 게 짜증난다는 말을 여러 사람에게 들었습니다.

아직 테스트할 게 더 남았습니다. 이제 Windows 7도 테스트해야 할 것 같습니다.

[email protected] 씀:

뭔가 잘못되어서 비트코인이 실행되다가 중단됐을 가능성이 있습니다. 그랬다면 debug.log에 뭔가 나와 있을 겁니다. 어떤 OS를 쓰고 계신가요? 관리자 권한이 필요한데 우리가 그걸 모르고 있는 건 아닌지 궁금합니다. 관리자 권한이 필요한 항목은 Vista에서 시작 시 시작될 수 없습니다.

XP를 쓰고 있습니다. 예전 리비전을 다시 컴파일해 봤는데 이번에는 시작 바로 가기가 동작합니다. Vista(관리자 권한 아님)에서 시험해도 동작합니다. 지난번에 제가 뭔가를 놓쳤을지도 모르겠습니다.

프로그램 바로 가기에는 탭이 여러 개 있고 자잘한 설정 항목이 잔뜩 있습니다. 시작 폴더 코드를 직접 시험해 보고 문제를 재현할 수 있는지 확인해 보겠습니다. 제 컴퓨터의 다른 시스템 트레이 아이콘들은 전부 시작 폴더에 들어 있고, 사용자가 모든 자동 실행 항목을 한곳에서 관리하기에도 편합니다. 레지스트리 키에 들어 있는 것들은 교묘히 숨은 불필요한 프로그램인 경우가 많습니다.

여기는 반대입니다. 저는 시작 프로그램이 전부 레지스트리에 있습니다. 그래도 똑같이 잘 동작한다면 바로 가기 방식이 사용자에게 더 좋을지도 모르겠습니다.

영어 원문

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
>
링크 복사하기X에 공유페이스북에 공유쓰레드에 공유