tree checksum vpatch file split hunks

all signers: mod6

antecedents: asciilifeform-kills-integer-retardation bitcoin-asciilifeform.4-goodbye-win32 asciilifeform_ver_now_5_4_and_irc_is_gone_and_now_must_give_ip mod6_fix_dumpblock_params

press order:

genesismod6
bitcoin-asciilifeform.1mod6
rm_rf_upnpmod6
bitcoin-asciilifeform.3-turdmeister-alert-snipmod6
bitcoin-asciilifeform.2-https_snipsnipmod6
bitcoin-v0_5_3_1-static_makefile_v002.8mod6
bitcoin-asciilifeform.4-goodbye-win32mod6
bitcoin-v0_5_3_1-rev_bump.7mod6
asciilifeform_dnsseed_snipsnipmod6
asciilifeform_zap_hardcoded_seedsmod6
asciilifeform_zap_showmyip_crudmod6
asciilifeform_dns_thermonyukyoolar_kleansingmod6
asciilifeform_ver_now_5_4_and_irc_is_gone_and_now_must_give_ipmod6
asciilifeform-kills-integer-retardationmod6
asciilifeform_and_now_we_have_block_dumper_correctedmod6
mod6_fix_dumpblock_paramsmod6
asciilifeform_and_now_we_have_eatblockmod6

patch:

- 4731466A24920C9320DC9F20D9537058DD693DA77B8646A3CC47A69D710217574452A18A45D81DE82231246FD402D7F80FCA14AA85EE14156FFA513E064BFC81
+ E3D08B1607A11BE7B3ABD68BDBD93CAA378C614C8855EE21BC6E1D8537E443C6F1D496BB9C86F240231065AD226A09F7F8288BB79923075492A2166A87F6DDCB
bitcoin/src/bitcoinrpc.cpp
(1817 . 6)(1817 . 28)
5 }
6
7
8 Value eatblock(const Array& params, bool fHelp)
9 {
10 if (fHelp || params.size() < 1 || params.size() > 1)
11 throw runtime_error(
12 "eatblock <filename>\n"
13 "Load a candidate for the next block directly from <filename>.");
14
15 if (!fCanEat)
16 throw runtime_error(
17 "'eatblock' is only permitted if bitcoind was started with -caneat flag!");
18
19 // path to load block from
20 string filename = params[0].get_str();
21
22 printf("Attempting to create block #%d from file %s\n", nBestHeight + 1, filename.c_str());
23 CAutoFile filein = fopen(filename.c_str(), "rb");
24 CBlock block;
25 filein >> block;
26 return ProcessBlock(NULL, &block); // note that 'true' even if it was rejected (bastard, etc)
27 } // ... but will return 'false' if we already have the block.
28
29
30
31 //
32 // Call Table
(1865 . 6)(1887 . 7)
34 make_pair("getmemorypool", &getmemorypool),
35 make_pair("listsinceblock", &listsinceblock),
36 make_pair("dumpblock", &dumpblock),
37 make_pair("eatblock", &eatblock),
38 };
39 map<string, rpcfn_type> mapCallTable(pCallTable, pCallTable + sizeof(pCallTable)/sizeof(pCallTable[0]));
40
- 4A6FD3869DB3A39835EDD505281AD25B8F0FEAFD30B035369C730E1AFADCD17FE3F1F49C8DA4B3F59D97DAABCA37C9B544F57E8E484A43811A8DCA044726BF45
+ C51B1B2A979B2DC9E720238808EE63D62037918CAFE23CACF018BB1F53CD5BF0706CEAB4E73B41AC0B6AEAEB03C38EF7F12399225DB8E01F9595AEDEEE825421
bitcoin/src/init.cpp
(174 . 6)(174 . 7)
45 " -daemon \t\t " + _("Run in the background as a daemon and accept commands\n") +
46 " -testnet \t\t " + _("Use the test network\n") +
47 " -debug \t\t " + _("Output extra debugging information\n") +
48 " -caneat \t\t " + _("Permit the use of 'eatblock'\n") +
49 " -logtimestamps \t " + _("Prepend debug output with timestamp\n") +
50 " -printtoconsole \t " + _("Send trace/debug info to console instead of debug.log file\n") +
51 " -rpcuser=<user> \t " + _("Username for JSON-RPC connections\n") +
(196 . 6)(197 . 7)
53 fTestNet = GetBoolArg("-testnet");
54 fDebug = GetBoolArg("-debug");
55 fDaemon = GetBoolArg("-daemon");
56 fCanEat = GetBoolArg("-caneat");
57
58 if (fDaemon)
59 fServer = true;
- 73BCE315476B665825604C1CFCB777A779DE476B774B92656F4C52A49DD6B0740132F73E2348599FECFD6702A1F1629B1F5237A11F3D98B516721C350C358B16
+ 813C57D2D79F725CCFE04AF8D7CEE5DFC73C9ABA6B3C958334CFC678AACBEEF96E9DCF37F78B596B7EB5D7B70E6F7FC3BCBF9C1EBBD2846E35CDB61786E4F801
bitcoin/src/util.cpp
(20 . 6)(20 . 7)
64 bool fDebug = false;
65 bool fPrintToConsole = false;
66 bool fPrintToDebugger = false;
67 bool fCanEat = false;
68 char pszSetDataDir[MAX_PATH] = "";
69 bool fRequestShutdown = false;
70 bool fShutdown = false;
- 52465EE0A39129774D7100A8731B84EBE0327C822F7B728D9576DB9DF878366D96F8D87F8A4D154D7F28BA4992FE9FD510641073E4035851CF3D8D82A36D6A3B
+ A3BBBD780CE698A1EC2FE7758063C42836B13A2785044250B504C520B64C07CD9F1BE985437A61CD3E72C655A063F21BBB336DD51204C88DC126031DC5AC4093
bitcoin/src/util.h
(110 . 6)(110 . 7)
75 extern bool fDebug;
76 extern bool fPrintToConsole;
77 extern bool fPrintToDebugger;
78 extern bool fCanEat;
79 extern char pszSetDataDir[MAX_PATH];
80 extern bool fRequestShutdown;
81 extern bool fShutdown;