Wladimir J. van der Laan 13 years ago
parent
commit
0961c2fc0d
  1. 2
      README-original.md
  2. 0
      contrib/gitian-descriptors/boost-win32.yml
  3. 0
      contrib/gitian-descriptors/gitian-win32.yml
  4. 0
      contrib/gitian-descriptors/gitian.yml
  5. 0
      contrib/gitian-descriptors/wxwidgets-win32.yml
  6. 0
      contrib/gitian-descriptors/wxwidgets.yml
  7. 30
      contrib/gitian-downloader/bitcoin-download-config
  8. BIN
      contrib/gitian-downloader/bluematt-key.pgp
  9. BIN
      contrib/gitian-downloader/devrandom-key.pgp
  10. BIN
      contrib/gitian-downloader/gavinandresen-key.pgp
  11. BIN
      contrib/gitian-downloader/sipa-key.pgp
  12. BIN
      contrib/gitian-downloader/tcatm-key.pgp
  13. BIN
      locale/de/LC_MESSAGES/bitcoin.mo
  14. BIN
      locale/nl/LC_MESSAGES/bitcoin.mo
  15. 1120
      locale/nl/LC_MESSAGES/bitcoin.po
  16. 667
      locale/zh_cn/LC_MESSAGES/bitcoin.po
  17. 8
      src/main.cpp
  18. 2
      src/net.cpp
  19. 14
      src/net.h

2
README-original.md

@ -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
contrib/boost-win32.yml → contrib/gitian-descriptors/boost-win32.yml

0
contrib/gitian-win32.yml → contrib/gitian-descriptors/gitian-win32.yml

0
contrib/gitian.yml → contrib/gitian-descriptors/gitian.yml

0
contrib/wxwidgets-win32.yml → contrib/gitian-descriptors/wxwidgets-win32.yml

0
contrib/wxwidgets.yml → contrib/gitian-descriptors/wxwidgets.yml

30
contrib/gitian-downloader/bitcoin-download-config

@ -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

BIN
contrib/gitian-downloader/bluematt-key.pgp

Binary file not shown.

BIN
contrib/gitian-downloader/devrandom-key.pgp

Binary file not shown.

BIN
contrib/gitian-downloader/gavinandresen-key.pgp

Binary file not shown.

BIN
contrib/gitian-downloader/sipa-key.pgp

Binary file not shown.

BIN
contrib/gitian-downloader/tcatm-key.pgp

Binary file not shown.

BIN
locale/de/LC_MESSAGES/bitcoin.mo

Binary file not shown.

BIN
locale/nl/LC_MESSAGES/bitcoin.mo

Binary file not shown.

1120
locale/nl/LC_MESSAGES/bitcoin.po

File diff suppressed because it is too large Load Diff

667
locale/zh_cn/LC_MESSAGES/bitcoin.po

File diff suppressed because it is too large Load Diff

8
src/main.cpp

@ -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);

2
src/net.cpp

@ -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))

14
src/net.h

@ -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;

Loading…
Cancel
Save