This repository has been archived by the owner on Feb 21, 2019. It is now read-only.
forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
799c608
commit 95fe3e0
Showing
54 changed files
with
430 additions
and
431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Building ProtoShares | ||
Building BitShares PTS | ||
|
||
See doc/readme-qt.rst for instructions on building ProtoShares-Qt, | ||
See doc/readme-qt.rst for instructions on building BitShares PTS-Qt, | ||
the intended-for-end-users, nice-graphical-interface, reference | ||
implementation of ProtoShares. | ||
implementation of BitShares PTS. | ||
|
||
See doc/build-*.txt for instructions on building bitcoind, | ||
See doc/build-*.txt for instructions on building daemon, | ||
the intended-for-services, no-graphical-interface, reference | ||
implementation of ProtoShares. | ||
implementation of BitShares PTS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@echo off | ||
|
||
set MAKENSIS="C:\Program Files (x86)\NSIS\makensis.exe" | ||
if not exist %MAKENSIS% goto nonsis | ||
%MAKENSIS% setup.nsi | ||
goto end | ||
|
||
:nonsis | ||
echo Error: %MAKENSIS% not found | ||
echo Please download and install NSIS 2.46 from: | ||
echo http://nsis.sourceforge.net/download | ||
|
||
:end |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -183,10 +183,10 @@ Value stop(const Array& params, bool fHelp) | |
if (fHelp || params.size() > 1) | ||
throw runtime_error( | ||
"stop\n" | ||
"Stop ProtoShares server."); | ||
"Stop BitShares-PTS server."); | ||
// Shutdown will take long enough that the response should get back | ||
StartShutdown(); | ||
return "ProtoShares server stopping"; | ||
return "BitShares-PTS server stopping"; | ||
} | ||
|
||
|
||
|
@@ -295,7 +295,7 @@ string HTTPGet(const string& strUri) | |
{ | ||
ostringstream s; | ||
s << "GET " << strUri << " HTTP/1.1\r\n" | ||
<< "User-Agent: protoshares-json-rpc/" << FormatFullVersion() << "\r\n" | ||
<< "User-Agent: bitshares-pts-json-rpc/" << FormatFullVersion() << "\r\n" | ||
<< "Host: 127.0.0.1\r\n" | ||
<< "Connection: close\r\n" | ||
<< "Accept: */*\r\n" | ||
|
@@ -308,7 +308,7 @@ string HTTPPost(const string& strMsg, const map<string,string>& mapRequestHeader | |
{ | ||
ostringstream s; | ||
s << "POST / HTTP/1.1\r\n" | ||
<< "User-Agent: protoshares-json-rpc/" << FormatFullVersion() << "\r\n" | ||
<< "User-Agent: bitshares-pts-json-rpc/" << FormatFullVersion() << "\r\n" | ||
<< "Host: 127.0.0.1\r\n" | ||
<< "Content-Type: application/json\r\n" | ||
<< "Content-Length: " << strMsg.size() << "\r\n" | ||
|
@@ -339,7 +339,7 @@ static string HTTPReply(int nStatus, const string& strMsg, bool keepalive) | |
if (nStatus == HTTP_UNAUTHORIZED) | ||
return strprintf("HTTP/1.0 401 Authorization Required\r\n" | ||
"Date: %s\r\n" | ||
"Server: protoshares-json-rpc/%s\r\n" | ||
"Server: bitshares-pts-json-rpc/%s\r\n" | ||
"WWW-Authenticate: Basic realm=\"jsonrpc\"\r\n" | ||
"Content-Type: text/html\r\n" | ||
"Content-Length: 296\r\n" | ||
|
@@ -366,7 +366,7 @@ static string HTTPReply(int nStatus, const string& strMsg, bool keepalive) | |
"Connection: %s\r\n" | ||
"Content-Length: %"PRIszu"\r\n" | ||
"Content-Type: application/json\r\n" | ||
"Server: protoshares-json-rpc/%s\r\n" | ||
"Server: bitshares-pts-json-rpc/%s\r\n" | ||
"\r\n" | ||
"%s", | ||
nStatus, | ||
|
@@ -749,7 +749,7 @@ void StartRPCThreads() | |
{ | ||
unsigned char rand_pwd[32]; | ||
RAND_bytes(rand_pwd, 32); | ||
string strWhatAmI = "To use protosharesd"; | ||
string strWhatAmI = "To use bitshares-ptsd"; | ||
if (mapArgs.count("-server")) | ||
strWhatAmI = strprintf(_("To use the %s option"), "\"-server\""); | ||
else if (mapArgs.count("-daemon")) | ||
|
@@ -758,13 +758,13 @@ void StartRPCThreads() | |
_("%s, you must set a rpcpassword in the configuration file:\n" | ||
"%s\n" | ||
"It is recommended you use the following random password:\n" | ||
"rpcuser=protosharesrpc\n" | ||
"rpcuser=bitshares-ptsrpc\n" | ||
"rpcpassword=%s\n" | ||
"(you do not need to remember this password)\n" | ||
"The username and password MUST NOT be the same.\n" | ||
"If the file does not exist, create it with owner-readable-only file permissions.\n" | ||
"It is also recommended to set alertnotify so you are notified of problems;\n" | ||
"for example: alertnotify=echo %%s | mail -s \"ProtoShares Alert\" [email protected]\n"), | ||
"for example: alertnotify=echo %%s | mail -s \"BitShares-PTS Alert\" [email protected]\n"), | ||
strWhatAmI.c_str(), | ||
GetConfigFile().string().c_str(), | ||
EncodeBase58(&rand_pwd[0],&rand_pwd[0]+32).c_str()), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.