- F72C255497921A2DBC173565EC31179D1E5959FA3D0BC61313F6D0AC168F471EE79DCE5EE92F51EE923DAF2E8B1959B8368E066FD177FFCB5C57136A211BC2F0
+ 38BE381DB84AB1B427105F665E9D0B98C8AC9841BB3847216896E007198371ED69930082466D80675CA1B80928395E3887EA48866F86BCB0D7F119B429599F75
bitcoin/src/net.h
(87 . 10)(87 . 21)
101 extern int fUseProxy;
102 extern CAddress addrProxy;
103
104
105
106
107
108 class CNodeStats
109 {
110 public:
111 uint64 nServices;
112 int64 nLastSend;
113 int64 nLastRecv;
114 int64 nTimeConnected;
115 CAddress addr;
116 int nVersion;
117 std::string strSubVer;
118 bool fInbound;
119 int64 nReleaseTime;
120 int nStartingHeight;
121 int nMisbehavior;
122 };
123
124 class CNode
125 {
(585 . 6)(596 . 7)
127 static void ClearBanned(); // needed for unit testing
128 static bool IsBanned(unsigned int ip);
129 bool Misbehaving(int howmuch); // 1 == a little, 100 == a lot
130 void CopyStats(CNodeStats &stats);
131 };
132
133