tree checksum vpatch file split hunks

all signers: mircea_popescu trinque asciilifeform ben_vulpes mod6

antecedents: mod6_der_high_low_s

press order:

genesisasciilifeform ben_vulpes mircea_popescu mod6 trinque
bitcoin-asciilifeform.1asciilifeform ben_vulpes mod6
rm_rf_upnpasciilifeform ben_vulpes mod6
bitcoin-asciilifeform.3-turdmeister-alert-snipasciilifeform ben_vulpes mod6
asciilifeform_orphanage_thermonukeasciilifeform ben_vulpes mod6
bitcoin-asciilifeform.2-https_snipsnipasciilifeform ben_vulpes mod6
bitcoin-v0_5_3_1-static_makefile_v002.8asciilifeform ben_vulpes mod6
bitcoin-asciilifeform.4-goodbye-win32asciilifeform ben_vulpes mod6
bitcoin-v0_5_3_1-rev_bump.7asciilifeform ben_vulpes mod6
asciilifeform_tx-orphanage_amputationasciilifeform ben_vulpes mod6
asciilifeform_dnsseed_snipsnipasciilifeform ben_vulpes mod6
asciilifeform_zap_hardcoded_seedsasciilifeform ben_vulpes mod6
asciilifeform_zap_showmyip_crudasciilifeform ben_vulpes mod6
asciilifeform_dns_thermonyukyoolar_kleansingasciilifeform ben_vulpes mod6
asciilifeform_ver_now_5_4_and_irc_is_gone_and_now_must_give_ipasciilifeform ben_vulpes mod6
asciilifeform-kills-integer-retardationasciilifeform ben_vulpes mod6
asciilifeform_and_now_we_have_block_dumper_correctedasciilifeform ben_vulpes mod6
mod6_fix_dumpblock_paramsasciilifeform ben_vulpes mod6
asciilifeform_and_now_we_have_eatblockasciilifeform ben_vulpes mod6
asciilifeform_lets_lose_testnetasciilifeform ben_vulpes mod6
asciilifeform_add_verifyall_optionasciilifeform ben_vulpes mod6
programmable-versionstringben_vulpes mod6
asciilifeform-programmable-versionstringasciilifeform
mod6_der_high_low_sben_vulpes mod6
polarbeard_remove_shrink_debug_file

patch:

- 971B82BE435C99A1AF9D5CACC9C05AF7616F4AF7EE1466EFACD46D41EDDC1C4D7DA2FDB4A302AAB7C99933D33AD2D613F3BFBE76FEC67A71C6D4D1FE14AC142D
+ 3AD5A434F08B5029A39BB0E57216A37AE0047CAF1F05CB2984796E9C80FC4CEB9FB9FFE3CA067C9BFFB12FFE465E3D92408A79A5E940C66253A358F393B6C29F
bitcoin/src/init.cpp
(262 . 8)(262 . 6)
5 fprintf(stderr, "Error: setsid() returned %d errno %d\n", sid, errno);
6 }
7
8 if (!fDebug && !pszSetDataDir[0])
9 ShrinkDebugFile();
10 printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
11 printf("Bitcoin version %s\n", FormatFullVersion().c_str());
12 printf("Default data directory %s\n", GetDefaultDataDir().c_str());
- 66A8AC388136ACEAC7D24BD73C18B06445C2580849DD6C548D6684B5F1E9C19EAFD3F71427476FD982383DCFD0425F34CE524EAC1D8320FD990A28A1E4933288
+ 737F20496467F30D16567D63D809FE08641D524903AE5EB425A9D209DA2E9524195D7B3364BF723BCE428621344CC6C4861C58D601BFCD93B2AF50C537D5D038
bitcoin/src/util.cpp
(764 . 35)(764 . 6)
17 return nFilesize;
18 }
19
20 void ShrinkDebugFile()
21 {
22 // Scroll debug.log if it's getting too big
23 string strFile = GetDataDir() + "/debug.log";
24 FILE* file = fopen(strFile.c_str(), "r");
25 if (file && GetFilesize(file) > 10 * 1000000)
26 {
27 // Restart the file with some of the end
28 char pch[200000];
29 fseek(file, -sizeof(pch), SEEK_END);
30 int nBytes = fread(pch, 1, sizeof(pch), file);
31 fclose(file);
32
33 file = fopen(strFile.c_str(), "w");
34 if (file)
35 {
36 fwrite(pch, 1, nBytes, file);
37 fclose(file);
38 }
39 }
40 }
41
42
43
44
45
46
47
48
49 //
50 // "Never go to sea with two chronometers; take one or three."
51 // Our three time sources are:
- F0C21C349B56516FEAC63C9CF8018C82B26583AD290A4B3610965E5A5A703D116671B1EF270395B8289C170B603630B5B7E493725E420E187BA1FBD326061FF5
+ E217371B4DA3B8F7B7FB1ACD0B281F361DE3854E91AF884BF70CB39267075A6BE1BB504DC9E4D3EEBEE60ECAF371AC8E83DAF88F69569A14C53FB189C4871A9F
bitcoin/src/util.h
(156 . 7)(156 . 6)
56 void ReadConfigFile(std::map<std::string, std::string>& mapSettingsRet, std::map<std::string, std::vector<std::string> >& mapMultiSettingsRet);
57 std::string GetDefaultDataDir();
58 std::string GetDataDir();
59 void ShrinkDebugFile();
60 int GetRandInt(int nMax);
61 uint64 GetRand(uint64 nMax);
62 int64 GetTime();