aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-04-17 15:57:19 -0400
committerJohn Newbery <john@johnnewbery.com>2018-04-04 16:52:40 -0400
commite0b66a3b7c5d3a079636d61fcf611bb6b36c7bc1 (patch)
tree4115ee48eb6dd0689d22a9029b27ecfffcdb8873 /src/net_processing.h
parentd7c2c9594897c39df6739b92610dfb5a7a1cb3ec (diff)
downloadbitcoin-e0b66a3b7c5d3a079636d61fcf611bb6b36c7bc1.tar.xz
Remove direct bitcoin calls from qt/peertablemodel.cpp
Diffstat (limited to 'src/net_processing.h')
-rw-r--r--src/net_processing.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net_processing.h b/src/net_processing.h
index 11543129cf..195d0d2033 100644
--- a/src/net_processing.h
+++ b/src/net_processing.h
@@ -86,9 +86,9 @@ private:
};
struct CNodeStateStats {
- int nMisbehavior;
- int nSyncHeight;
- int nCommonHeight;
+ int nMisbehavior = 0;
+ int nSyncHeight = -1;
+ int nCommonHeight = -1;
std::vector<int> vHeightInFlight;
};