diff options
author | Huang Le <4tarhl@gmail.com> | 2014-05-30 23:44:44 +0800 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-06-02 14:26:24 +0200 |
commit | acb53560874f54a661a71532f5c446d33dd07c7f (patch) | |
tree | f92a1f833b5499880e08b9b5be954a2827c712f0 /src/rpcrawtransaction.cpp | |
parent | 41b96da2643dd94030b8cde789d59110917b5a0f (diff) | |
download | bitcoin-acb53560874f54a661a71532f5c446d33dd07c7f.tar.xz |
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 <4tarhl@gmail.com>
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 09a54a6
Diffstat (limited to 'src/rpcrawtransaction.cpp')
0 files changed, 0 insertions, 0 deletions