|
|
@ -224,7 +224,8 @@ bool AppInit2(int argc, char* argv[]) |
|
|
|
" -keypool=<n> \t " + _("Set key pool size to <n> (default: 100)") + "\n" + |
|
|
|
" -keypool=<n> \t " + _("Set key pool size to <n> (default: 100)") + "\n" + |
|
|
|
" -rescan \t " + _("Rescan the block chain for missing wallet transactions") + "\n" + |
|
|
|
" -rescan \t " + _("Rescan the block chain for missing wallet transactions") + "\n" + |
|
|
|
" -checkblocks=<n> \t\t " + _("How many blocks to check at startup (default: 2500, 0 = all)") + "\n" + |
|
|
|
" -checkblocks=<n> \t\t " + _("How many blocks to check at startup (default: 2500, 0 = all)") + "\n" + |
|
|
|
" -checklevel=<n> \t\t " + _("How thorough the block verification is (0-6, default: 1)") + "\n"; |
|
|
|
" -checklevel=<n> \t\t " + _("How thorough the block verification is (0-6, default: 1)") + "\n" + |
|
|
|
|
|
|
|
" -loadblock=<file>\t " + _("Imports blocks from external blk000?.dat file") + "\n"; |
|
|
|
|
|
|
|
|
|
|
|
strUsage += string() + |
|
|
|
strUsage += string() + |
|
|
|
_("\nSSL options: (see the Bitcoin Wiki for SSL setup instructions)") + "\n" + |
|
|
|
_("\nSSL options: (see the Bitcoin Wiki for SSL setup instructions)") + "\n" + |
|
|
@ -364,6 +365,16 @@ bool AppInit2(int argc, char* argv[]) |
|
|
|
} |
|
|
|
} |
|
|
|
printf(" block index %15"PRI64d"ms\n", GetTimeMillis() - nStart); |
|
|
|
printf(" block index %15"PRI64d"ms\n", GetTimeMillis() - nStart); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (mapArgs.count("-loadblock")) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
BOOST_FOREACH(string strFile, mapMultiArgs["-loadblock"]) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
FILE *file = fopen(strFile.c_str(), "rb"); |
|
|
|
|
|
|
|
if (file) |
|
|
|
|
|
|
|
LoadExternalBlockFile(file); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
InitMessage(_("Loading wallet...")); |
|
|
|
InitMessage(_("Loading wallet...")); |
|
|
|
printf("Loading wallet...\n"); |
|
|
|
printf("Loading wallet...\n"); |
|
|
|
nStart = GetTimeMillis(); |
|
|
|
nStart = GetTimeMillis(); |
|
|
|