aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorHuang Le <4tarhl@gmail.com>2014-05-30 23:44:44 +0800
committerWladimir J. van der Laan <laanwj@gmail.com>2014-06-02 14:26:24 +0200
commitacb53560874f54a661a71532f5c446d33dd07c7f (patch)
treef92a1f833b5499880e08b9b5be954a2827c712f0 /src/wallet.h
parent41b96da2643dd94030b8cde789d59110917b5a0f (diff)
downloadbitcoin-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/wallet.h')
0 files changed, 0 insertions, 0 deletions