Add support for opening bitcoin: URIs directly.

This commit is contained in:
Matt Corallo
2011-12-23 20:27:12 -08:00
parent 9a93c4c024
commit 7d145a0f59
15 changed files with 202 additions and 5 deletions

View File

@@ -272,7 +272,7 @@ bool AppInit2(int argc, char* argv[])
#ifndef QT_GUI
for (int i = 1; i < argc; i++)
if (!IsSwitchChar(argv[i][0]))
if (!IsSwitchChar(argv[i][0]) && !(strlen(argv[i]) > 7 && strncasecmp(argv[i], "bitcoin:", 8) == 0))
fCommandLine = true;
if (fCommandLine)