- 971B82BE435C99A1AF9D5CACC9C05AF7616F4AF7EE1466EFACD46D41EDDC1C4D7DA2FDB4A302AAB7C99933D33AD2D613F3BFBE76FEC67A71C6D4D1FE14AC142D
+ 2F6AB82EBAB26369954CF9CA518E536A03C2A989D978823D6D78E1A924E601C855A8598863A5845727A93A457D49537CA91E027D69603ABC1CB6F075E69AF8D0
bitcoin/src/init.cpp
(5 . 6)(5 . 7)
5 #include "headers.h"
6 #include "db.h"
7 #include "bitcoinrpc.h"
8 #include "shiva.h"
9 #include "net.h"
10 #include "init.h"
11 #include "strlcpy.h"
(177 . 6)(178 . 9)
13 " -verifyall \t\t " + _("Forbid the skipping of ECDSA signature verification between checkpoints.\n") +
14 " -setverstring \t\t " + _("Set a custom version string.\n") +
15 " -setvernum \t\t " + _("Set a custom version number.\n") +
16 " -shiva \t\t " + _("Enable the Shiva lisp listener (DANGEROUS!).\n") +
17 " -shivainit=<file>\t\t " + _("Init file for Shiva (default: shiva.scm)\n") +
18 " -shivaport=<port>\t\t " + _("Listen for Shiva connections on <port> (default: 1336)\n") +
19 " -highs \t\t " + _("Set all transactions to have DER 'S' Value set to 'high'.\n") +
20 " -lows \t\t " + _("Set all transactions to have DER 'S' Value set to 'low'.\n") +
21 " -logtimestamps \t " + _("Prepend debug output with timestamp\n") +
(202 . 6)(206 . 13)
23 fDaemon = GetBoolArg("-daemon");
24 fCanEat = GetBoolArg("-caneat");
25 fVerifyAll = GetBoolArg("-verifyall");
26 fShiva = GetBoolArg("-shiva");
27
28 if (!(mapArgs.count("-shivainit") && FileExists(mapArgs["-shivainit"].c_str()))) {
29 fprintf(stderr, "Error: If Shiva is enabled, MUST specify init file!\n");
30 return false;
31 }
32
33 fHighS = GetBoolArg("-highs");
34 fLowS = GetBoolArg("-lows");
35
(487 . 6)(498 . 10)
37 if (fServer)
38 CreateThread(ThreadRPCServer, NULL);
39
40 if (fShiva) {
41 CreateThread(ThreadShiva, NULL);
42 }
43
44 while (1)
45 Sleep(5000);
46