diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-05-05 19:43:14 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-04 06:58:45 +0200 |
commit | 752ecec5cc055506bf9e905a60a96068ea9f92bc (patch) | |
tree | 357f8c13ba046df9fd0fac2dfe353891a5b7d3e4 /src/qt/bitcoingui.h | |
parent | 354c0f382b9a0d6701cb43a8ee379d7c0ef5d34d (diff) | |
download | bitcoin-752ecec5cc055506bf9e905a60a96068ea9f92bc.tar.xz |
Remove NumBlocksOfPeers
Generally useless information. Only updates on connect time, not after
that. Peers can easily lie and the median filter is not effective in
preventing that.
In the past it was used for progress display in the GUI but
`CheckPoints::guessVerificationProgress` provides a better way that is now used.
It was too easy to mislead it. Peers do lie about it in practice, see issue #4065.
From the RPC, `getpeerinfo` gives the peer raw values, which are more
useful.
Diffstat (limited to 'src/qt/bitcoingui.h')
-rw-r--r-- | src/qt/bitcoingui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h index 0cc1ebc502..b4675b95ac 100644 --- a/src/qt/bitcoingui.h +++ b/src/qt/bitcoingui.h @@ -130,7 +130,7 @@ public slots: /** Set number of connections shown in the UI */ void setNumConnections(int count); /** Set number of blocks shown in the UI */ - void setNumBlocks(int count, int nTotalBlocks); + void setNumBlocks(int count); /** Notify the user of an event from the core network or transaction handling code. @param[in] title the message box / notification title |