Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 661 Lines • ▼ Show 20 Lines | public: | ||||
CCriticalSection cs_SubVer; | CCriticalSection cs_SubVer; | ||||
// This peer can bypass DoS banning. | // This peer can bypass DoS banning. | ||||
bool fWhitelisted; | bool fWhitelisted; | ||||
// If true this node is being used as a short lived feeler. | // If true this node is being used as a short lived feeler. | ||||
bool fFeeler; | bool fFeeler; | ||||
bool fOneShot; | bool fOneShot; | ||||
bool m_manual_connection; | bool m_manual_connection; | ||||
bool fClient; | bool fClient; | ||||
// after BIP159 | |||||
bool m_limited_node; | |||||
const bool fInbound; | const bool fInbound; | ||||
std::atomic_bool fSuccessfullyConnected; | std::atomic_bool fSuccessfullyConnected; | ||||
std::atomic_bool fDisconnect; | std::atomic_bool fDisconnect; | ||||
// We use fRelayTxes for two purposes - | // We use fRelayTxes for two purposes - | ||||
// a) it allows us to not relay tx invs before receiving the peer's version | // a) it allows us to not relay tx invs before receiving the peer's version | ||||
// message. | // message. | ||||
// b) the peer may tell us in its version message that we should not relay | // b) the peer may tell us in its version message that we should not relay | ||||
// tx invs unless it loads a bloom filter. | // tx invs unless it loads a bloom filter. | ||||
▲ Show 20 Lines • Show All 190 Lines • Show Last 20 Lines |