diff options
| -rw-r--r-- | src/net.h | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -670,9 +670,13 @@ public: | |||
| 670 | string strBtfAddr; | 670 | string strBtfAddr; |
| 671 | string strBtfMeeting; | 671 | string strBtfMeeting; |
| 672 | 672 | ||
| 673 | // When this peer's message loop first rewound a header to wait for the | 673 | // When this peer's message loop last rewound a header without having made |
| 674 | // rest of a message, or 0 when it is not waiting. See ProcessMessages. | 674 | // progress, or 0 when it is not waiting, plus how much was buffered then. |
| 675 | // The pair times a STALL rather than a duration, so a large message | ||
| 676 | // arriving slowly is never mistaken for one that is never arriving. | ||
| 677 | // See ProcessMessages. | ||
| 675 | int64 nMsgWaitSince; | 678 | int64 nMsgWaitSince; |
| 679 | unsigned int nMsgWaitSize; | ||
| 676 | 680 | ||
| 677 | // Height this peer announced in its version message, or -1 if it sent a | 681 | // Height this peer announced in its version message, or -1 if it sent a |
| 678 | // version message that predates the field. Knowing how far along everyone | 682 | // version message that predates the field. Knowing how far along everyone |