diff options
| author | Huang Le <[email protected]> | 2014-05-30 23:44:44 +0800 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-06-02 14:26:24 +0200 |
| commit | acb53560874f54a661a71532f5c446d33dd07c7f (patch) | |
| tree | f92a1f833b5499880e08b9b5be954a2827c712f0 /src/protocol.cpp | |
| parent | Periodic language update (diff) | |
| download | discoin-acb53560874f54a661a71532f5c446d33dd07c7f.tar.xz discoin-acb53560874f54a661a71532f5c446d33dd07c7f.zip | |
Use pnode->nLastRecv as sync score directly
NodeSyncScore() should find the node which we recv data most recently, so put a negative sign to pnode->nLastRecv is indeed wrong.
Also change the return value type to int64_t.
Signed-off-by: Huang Le <[email protected]>
Rebased-By: Wladimir J. van der Laan <[email protected]>
Rebased-From: 09a54a6
Diffstat (limited to 'src/protocol.cpp')
0 files changed, 0 insertions, 0 deletions