Merge branch 'master' of https://github.com/bitcoin/bitcoin
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ or are controversial.
|
|||||||
The master branch is regularly built and tested, but is not guaranteed
|
The master branch is regularly built and tested, but is not guaranteed
|
||||||
to be completely stable. Tags are regularly created to indicate new
|
to be completely stable. Tags are regularly created to indicate new
|
||||||
official, stable release versions of Bitcoin. If you would like to
|
official, stable release versions of Bitcoin. If you would like to
|
||||||
help test the Bitcoin core, please contact QA@Bitcoin.org.
|
help test the Bitcoin core, please contact QA@BitcoinTesting.org.
|
||||||
|
|
||||||
Feature branches are created when there are major new features being
|
Feature branches are created when there are major new features being
|
||||||
worked on by several people.
|
worked on by several people.
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
name: bitcoin
|
||||||
|
urls:
|
||||||
|
- http://bitcoin.org/bitcoin-latest-linux-gitian.zip
|
||||||
|
rss:
|
||||||
|
- url: http://sourceforge.net/api/file/index/project-id/244765/mtime/desc/limit/100/rss
|
||||||
|
xpath: //item/link/text()
|
||||||
|
pattern: bitcoin-\d+.\d+.\d+-linux-gitian.zip
|
||||||
|
signers:
|
||||||
|
0A82509767C7D4A5D14DA2301AE1D35043E08E54:
|
||||||
|
weight: 40
|
||||||
|
name: BlueMatt
|
||||||
|
key: bluematt
|
||||||
|
BF6273FAEF7CC0BA1F562E50989F6B3048A116B5:
|
||||||
|
weight: 40
|
||||||
|
name: Devrandom
|
||||||
|
key: devrandom
|
||||||
|
D762373D24904A3E42F33B08B9A408E71DAAC974:
|
||||||
|
weight: 40
|
||||||
|
name: Sipa
|
||||||
|
key: sipa
|
||||||
|
77E72E69DA7EE0A148C06B21B34821D4944DE5F7:
|
||||||
|
weight: 40
|
||||||
|
name: tcatm
|
||||||
|
key: tcatm
|
||||||
|
01CDF4627A3B88AAE4A571C87588242FBE38D3A8:
|
||||||
|
weight: 40
|
||||||
|
name: "Gavin Andresen"
|
||||||
|
key: gavinandresen
|
||||||
|
minimum_weight: 120
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+910
-688
File diff suppressed because it is too large
Load Diff
+388
-279
File diff suppressed because it is too large
Load Diff
+5
-3
@@ -1751,9 +1751,10 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
|
|||||||
{
|
{
|
||||||
static map<unsigned int, vector<unsigned char> > mapReuseKey;
|
static map<unsigned int, vector<unsigned char> > mapReuseKey;
|
||||||
RandAddSeedPerfmon();
|
RandAddSeedPerfmon();
|
||||||
if (fDebug)
|
if (fDebug) {
|
||||||
printf("%s ", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str());
|
printf("%s ", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str());
|
||||||
printf("received: %s (%d bytes)\n", strCommand.c_str(), vRecv.size());
|
printf("received: %s (%d bytes)\n", strCommand.c_str(), vRecv.size());
|
||||||
|
}
|
||||||
if (mapArgs.count("-dropmessagestest") && GetRand(atoi(mapArgs["-dropmessagestest"])) == 0)
|
if (mapArgs.count("-dropmessagestest") && GetRand(atoi(mapArgs["-dropmessagestest"])) == 0)
|
||||||
{
|
{
|
||||||
printf("dropmessagestest DROPPING RECV MESSAGE\n");
|
printf("dropmessagestest DROPPING RECV MESSAGE\n");
|
||||||
@@ -1945,7 +1946,8 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
|
|||||||
pfrom->AddInventoryKnown(inv);
|
pfrom->AddInventoryKnown(inv);
|
||||||
|
|
||||||
bool fAlreadyHave = AlreadyHave(txdb, inv);
|
bool fAlreadyHave = AlreadyHave(txdb, inv);
|
||||||
printf(" got inventory: %s %s\n", inv.ToString().c_str(), fAlreadyHave ? "have" : "new");
|
if (fDebug)
|
||||||
|
printf(" got inventory: %s %s\n", inv.ToString().c_str(), fAlreadyHave ? "have" : "new");
|
||||||
|
|
||||||
if (!fAlreadyHave)
|
if (!fAlreadyHave)
|
||||||
pfrom->AskFor(inv);
|
pfrom->AskFor(inv);
|
||||||
|
|||||||
+1
-1
@@ -1713,7 +1713,7 @@ void StartNode(void* parg)
|
|||||||
printf("Error: CreateThread(ThreadIRCSeed) failed\n");
|
printf("Error: CreateThread(ThreadIRCSeed) failed\n");
|
||||||
|
|
||||||
// Send and receive from sockets, accept connections
|
// Send and receive from sockets, accept connections
|
||||||
CreateThread(ThreadSocketHandler, NULL, true);
|
CreateThread(ThreadSocketHandler, NULL);
|
||||||
|
|
||||||
// Initiate outbound connections
|
// Initiate outbound connections
|
||||||
if (!CreateThread(ThreadOpenConnections, NULL))
|
if (!CreateThread(ThreadOpenConnections, NULL))
|
||||||
|
|||||||
@@ -282,9 +282,10 @@ public:
|
|||||||
nHeaderStart = vSend.size();
|
nHeaderStart = vSend.size();
|
||||||
vSend << CMessageHeader(pszCommand, 0);
|
vSend << CMessageHeader(pszCommand, 0);
|
||||||
nMessageStart = vSend.size();
|
nMessageStart = vSend.size();
|
||||||
if (fDebug)
|
if (fDebug) {
|
||||||
printf("%s ", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str());
|
printf("%s ", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str());
|
||||||
printf("sending: %s ", pszCommand);
|
printf("sending: %s ", pszCommand);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AbortMessage()
|
void AbortMessage()
|
||||||
@@ -295,7 +296,9 @@ public:
|
|||||||
nHeaderStart = -1;
|
nHeaderStart = -1;
|
||||||
nMessageStart = -1;
|
nMessageStart = -1;
|
||||||
cs_vSend.Leave();
|
cs_vSend.Leave();
|
||||||
printf("(aborted)\n");
|
|
||||||
|
if (fDebug)
|
||||||
|
printf("(aborted)\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void EndMessage()
|
void EndMessage()
|
||||||
@@ -324,8 +327,9 @@ public:
|
|||||||
memcpy((char*)&vSend[nHeaderStart] + offsetof(CMessageHeader, nChecksum), &nChecksum, sizeof(nChecksum));
|
memcpy((char*)&vSend[nHeaderStart] + offsetof(CMessageHeader, nChecksum), &nChecksum, sizeof(nChecksum));
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("(%d bytes) ", nSize);
|
if (fDebug) {
|
||||||
printf("\n");
|
printf("(%d bytes)\n", nSize);
|
||||||
|
}
|
||||||
|
|
||||||
nHeaderStart = -1;
|
nHeaderStart = -1;
|
||||||
nMessageStart = -1;
|
nMessageStart = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user